/* ===== SeaLion V101 — морской стиль ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0b1f3a;
  --navy-2: #123059;
  --accent: #1e88e5;
  --accent-2: #4fc3f7;
  --text: #1c2733;
  --muted: #5b6b7c;
  --light: #f4f7fb;
  --border: #dde5ee;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== Шапка ===== */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
}
.logo-text strong { font-size: 18px; letter-spacing: .5px; display: block; }
.logo-text small { font-size: 11px; color: #9fb4cc; }
.nav a { color: #cfe0f2; text-decoration: none; margin-left: 26px; font-size: 15px; }
.nav a:hover { color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.lang-switch { margin-left: 26px; font-size: 14px; white-space: nowrap; }
.lang-switch a { margin-left: 6px; color: #cfe0f2; }
.lang-switch a.active { color: #fff; font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(30,136,229,.35), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
}
.hero-tag { color: var(--accent-2); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 18px; }
.hero .accent { color: var(--accent-2); }
.hero-sub { font-size: 19px; color: #c9d9ec; margin-bottom: 30px; }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badge { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-cert {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px; padding: 8px 18px; font-size: 14px;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 6px;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; transition: .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1565c0; }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== Секции ===== */
.section { padding: 70px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-contact { background: var(--light); }
.section-title { font-size: 30px; font-weight: 800; text-align: center; margin-bottom: 14px; }
.section-lead { text-align: center; max-width: 760px; margin: 0 auto 40px; color: var(--muted); font-size: 16px; }
.section-dark .section-lead { color: #b9cbe0; }
.section-dark .section-title { color: #fff; }

/* ===== Продукт ===== */
.product-img-placeholder {
  height: 220px; border: 2px dashed var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 18px; letter-spacing: 2px;
  margin-bottom: 36px; background: #fafcfe;
}
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(11,31,58,.08); }
.spec-table th { background: var(--navy); color: #fff; text-align: left; padding: 12px 16px; font-size: 14px; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 15px; }
.spec-table tr:nth-child(even) td { background: #f7fafd; }
.spec-table tr td:first-child { font-weight: 600; color: var(--navy); width: 42%; }
.note { font-size: 13px; color: var(--muted); }

/* ===== Сертификат ===== */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cert-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 26px; }
.cert-card h3 { margin-bottom: 14px; color: var(--accent-2); font-size: 18px; }
.cert-card ul { padding-left: 20px; }
.cert-card li { margin-bottom: 8px; color: #d6e3f2; }

/* ===== О компании ===== */
.about-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.point { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px 14px; }
.point span { font-size: 30px; display: block; margin-bottom: 10px; }
.point p { font-size: 14px; font-weight: 600; }

/* ===== Контакты ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 34px; }
.contact-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; text-align: center; }
.contact-item a { color: var(--accent); }
.contact-form { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 15px; font-family: inherit;
}
.contact-form button { justify-self: center; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb857; }

/* ===== Футер ===== */
.site-footer { background: var(--navy); color: #9fb4cc; text-align: center; padding: 26px 0; font-size: 14px; }
.site-footer .note { color: #6d84a0; }

/* ===== Преимущества ===== */
.section-light { background: var(--light); }
.sub-title { font-size: 20px; font-weight: 700; color: var(--navy); margin: 30px 0 12px; }
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.adv-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; padding: 22px; }
.adv-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--muted); }
.note a { color: var(--accent); }

/* ===== Фотогалерея ===== */
.photo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.photo-item { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(11,31,58,.12); background: #fff; }
.photo-item img { width: 100%; height: 270px; object-fit: cover; display: block; }
.photo-item figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ===== Продукция (страница) ===== */
.hero-small { padding: 56px 0 44px; }
.hero-small h1 { font-size: 34px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(11,31,58,.06); }
.prod-img { height: 180px; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; letter-spacing: 1px; background: #f2f6fb; border-bottom: 1px dashed var(--border); }
.prod-card h3 { padding: 14px 18px 4px; font-size: 18px; color: var(--navy); }
.prod-type { padding: 0 18px; font-size: 13px; color: var(--accent); font-weight: 700; }
.prod-points { padding: 10px 18px 14px 38px; font-size: 13px; color: var(--muted); flex: 1; }
.prod-points li { margin-bottom: 4px; }
.prod-card .btn { margin: 0 18px 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-ghost-dark { border: 1px solid var(--border); color: var(--navy); background: transparent; }
.btn-ghost-dark:hover { background: var(--light); }
.nav a.active { color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ===== 二级菜单（下拉） ===== */
.nav-item { position: relative; display: inline-block; margin-left: 26px; }
.nav-item > a { color: #cfe0f2; text-decoration: none; font-size: 15px; }
.nav-item > a:hover, .nav-item > a.active { color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--navy-2); min-width: 190px; box-shadow: 0 8px 20px rgba(0,0,0,.35); border-radius: 0 0 8px 8px; z-index: 200; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 11px 18px; color: #cfe0f2; text-decoration: none; font-size: 14px; margin: 0; }
.dropdown a:hover { background: var(--accent); color: #fff; border: none; }

/* ===== 产品中心（系列入口） ===== */
.series-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.series-card { display: block; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px; padding: 26px; text-decoration: none; color: var(--text); transition: .2s; box-shadow: 0 2px 10px rgba(11,31,58,.06); }
.series-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(11,31,58,.14); }
.series-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; }
.series-card p { font-size: 14px; color: var(--muted); }
.series-count { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--accent); font-weight: 700; }

/* ===== 系列页 / 详情页 ===== */
.prod-desc { padding: 0 18px 12px; font-size: 13px; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--accent); text-decoration: none; }
.detail-img { max-width: 520px; margin: 0 auto 26px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(11,31,58,.15); }
.detail-img img { width: 100%; display: block; }

/* ===== Адаптивность ===== */
@media (max-width: 820px) {
  .nav-wrap { flex-direction: column; gap: 10px; }
  .nav a { margin: 0 12px; }
  .hero h1 { font-size: 32px; }
  .cert-grid, .contact-grid, .adv-grid, .photo-gallery { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: repeat(2, 1fr); }
}
