/* ============================================================
   Икра и Море — style.css
   Стиль: спокойный морской, тёмно-синий + белый + золото
   Mobile-first, без зависимостей
   ============================================================ */

/* ---------- Шрифт (self-hosted, положить в /fonts/) ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Переменные ---------- */
:root {
  --c-deep: #0b1e33;        /* глубокий морской синий */
  --c-deep-2: #12293f;      /* чуть светлее для карточек */
  --c-ice: #f4f7fa;         /* светлый фон секций */
  --c-white: #ffffff;
  --c-gold: #c9a25e;        /* золотой акцент */
  --c-gold-hover: #b8904c;
  --c-text: #1a2a3a;
  --c-text-muted: #5a6b7a;
  --c-border: #d9e1e8;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(11, 30, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 30, 51, 0.14);

  --container: 1200px;
  --container-narrow: 800px;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition: 0.25s ease;
}

/* ---------- Сброс ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

ul { list-style: none; }

/* ---------- Утилиты ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding: 64px 0; }

.section--ice { background: var(--c-ice); }

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-deep);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  margin-bottom: 32px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-deep);
  border-color: var(--c-gold);
}
.btn--gold:hover { background: var(--c-gold-hover); border-color: var(--c-gold-hover); }

.btn--ghost {
  background: transparent;
  color: var(--c-deep);
  border-color: var(--c-deep);
}
.btn--ghost:hover { background: var(--c-deep); color: var(--c-white); }

.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: 0 1px 0 var(--c-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-deep);
  letter-spacing: 0.01em;
}
.logo__slogan {
  font-size: 0.7rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: none;
  gap: 28px;
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--c-gold); }

.header__contacts {
  display: none;
  align-items: center;
  gap: 20px;
}
.header__phone {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-deep);
  white-space: nowrap;
}
.header__phone:hover { color: var(--c-gold); }

/* Бургер */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-deep);
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.nav--open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-white);
  padding: 20px;
  gap: 16px;
  box-shadow: var(--shadow);
  border-top: 1px solid var(--c-border);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--c-deep);
  color: var(--c-white);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201, 162, 94, 0.15), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero__points {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}
.hero__points li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--c-gold);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.5 3 8l1.4-1.4 2.1 2.1 5.1-5.1L13 5z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.5 3 8l1.4-1.4 2.1 2.1 5.1-5.1L13 5z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__media { display: none; }

.hero__frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* ---------- Заголовки секций (split) ---------- */
.split-head { margin-bottom: 40px; max-width: 720px; }
.split-head__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.split-head__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-deep);
  margin-bottom: 14px;
}
.split-head__lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
}

/* ---------- Преимущества ---------- */
.advantages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.advantage {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.advantage:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.advantage__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 10px;
}
.advantage__text { color: var(--c-text-muted); font-size: 0.98rem; }

/* ---------- Каталог ---------- */
.catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: var(--c-ice);
  border: 1px dashed var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.product-card__placeholder { color: var(--c-text-muted); font-size: 0.85rem; }
.product-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 8px;
}
.product-card__desc {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
  flex-grow: 1;
}
.product-card__meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
}
.product-card__btn { width: 100%; }

.catalog__actions {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Доставка ---------- */
.delivery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.delivery__card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.delivery__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 10px;
}
.delivery__text { color: var(--c-text-muted); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.faq__question {
  font-weight: 700;
  color: var(--c-deep);
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-gold);
  transition: transform var(--transition);
}
.faq__item[open] .faq__question::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer {
  padding: 0 0 18px;
  color: var(--c-text-muted);
  font-size: 0.98rem;
}

/* ---------- Лид-форма ---------- */
.section--lead { background: var(--c-deep); color: var(--c-white); }
.lead__center { text-align: center; }
.lead__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.lead__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.lead__subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.lead__form { max-width: 640px; margin: 0 auto; text-align: left; }
.lead__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.lead__row input,
.lead__row select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-white);
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.lead__row input::placeholder { color: rgba(255, 255, 255, 0.5); }
.lead__row input:focus,
.lead__row select:focus {
  outline: none;
  border-color: var(--c-gold);
  background: rgba(255, 255, 255, 0.1);
}
.lead__row select option { color: var(--c-text); background: var(--c-white); }

.lead__form .btn { width: 100%; margin-bottom: 16px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--c-gold); }
.consent a { color: var(--c-gold); text-decoration: underline; }

.lead__success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(201, 162, 94, 0.15);
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-sm);
  color: var(--c-white);
  font-weight: 600;
}

/* Honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contacts__info { display: grid; gap: 20px; }
.contacts__block { display: grid; gap: 4px; }
.contacts__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.contacts__link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-deep);
}
.contacts__link:hover { color: var(--c-gold); }

/* ---------- Подвал ---------- */
.footer {
  background: var(--c-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 4px;
}
.footer__col a { font-size: 0.95rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--c-gold); }
.footer__desc, .footer__addr { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.logo--footer .logo__name { color: var(--c-white); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.footer__legal a { text-decoration: underline; }
.footer__legal a:hover { color: var(--c-gold); }

/* ---------- Cookie-баннер ---------- */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  animation: cookieIn 0.4s ease;
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie__inner {
  display: grid;
  gap: 16px;
}
.cookie__text {
  font-size: 0.9rem;
  color: var(--c-text);
}
.cookie__text a { color: var(--c-gold); text-decoration: underline; }
.cookie__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie__btn { flex: 1; min-width: 120px; padding: 12px 20px; font-size: 0.95rem; }

/* ---------- Адаптив ---------- */
@media (min-width: 640px) {
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .delivery { grid-template-columns: repeat(2, 1fr); }
  .lead__row { grid-template-columns: 1fr 1fr; }
  .lead__row select { grid-column: 1 / -1; }
  .cookie__inner { grid-template-columns: 1fr auto; align-items: center; }
  .cookie__btns { flex-wrap: nowrap; }
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .hero { padding: 72px 0 80px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero__media { display: block; }
  .nav { display: flex; }
  .header__contacts { display: flex; }
  .burger { display: none; }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
  .cookie { left: auto; right: 24px; bottom: 24px; max-width: 480px; }
}

@media (min-width: 1100px) {
  .catalog { grid-template-columns: repeat(4, 1fr); }
  .delivery { grid-template-columns: repeat(3, 1fr); }
  .advantages { grid-template-columns: repeat(4, 1fr); }
}