/* ============================================================
   AMOR² · parfum español — редизайн 2026
   Palette extracted from the original site — no off-brand hues.
   ============================================================ */

:root {
  --white: #FFFFFF;
  --black: #1A1A1A;
  --ink: #0B2740;            /* deepened navy from hero overlay */
  --grey-light: #F5F5F3;
  --grey-mid: #b7b9ba;
  --grey-dark: #6B6B6B;
  --blue: #1B6CA8;
  --blue-dark: #154F7A;
  --gold: #C9A84C;
  --gold-light: #F0E4C0;
  --gold-text: #8A6B1E; /* darkened brand gold — AA-compliant for text on light bg */
  --cream: #FDF8EE;
  --mist: #EAF3FA;
  --stock-green: #16a34a;
  --stock-green-light: #4ade80;
  --wa-green: #25D366;
  --wa-green-dark: #1da851;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --shadow-card: 0 18px 50px -18px rgba(11, 39, 64, 0.28);
  --shadow-card-hover: 0 30px 70px -20px rgba(11, 39, 64, 0.38);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
/* NB: no `scroll-behavior: smooth` here — Lenis handles smooth scroll.
   The two together freeze the page. */

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }

::selection { background: var(--gold-light); color: var(--ink); }

/* ─── FOCUS VISIBILITY (keyboard) ─── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ─── GRAIN OVERLAY (procedural, dark sections only) ─── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ─── SCROLL PROGRESS HAIRLINE ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ─── LANGUAGE SWITCH ─── */
.lang-switch {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--grey-mid);
  flex-shrink: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lang-switch button {
  background: none;
  border: none;
  padding: 7px 15px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  cursor: pointer;
  color: var(--grey-dark);
  transition: all 0.25s var(--ease-out);
}
.lang-switch button.active {
  background: var(--blue);
  color: var(--white);
}
.lang-switch button:hover:not(.active) { color: var(--blue); }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 0 40px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out), height 0.45s var(--ease-out);
}
nav.solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(183,185,186,0.3);
  box-shadow: 0 2px 24px rgba(11,39,64,0.07);
  height: 66px;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav-logo-main {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 6px;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 1px;
  transition: color 0.45s var(--ease-out);
}
nav.solid .nav-logo-main { color: var(--blue); }
.nav-logo-main sup { font-size: 14px; color: var(--gold); font-weight: 400; margin-top: 2px; }
.nav-logo-sub {
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--gold-light);
  font-weight: 300;
  margin-top: 3px;
  text-transform: lowercase;
  transition: color 0.45s var(--ease-out);
}
nav.solid .nav-logo-sub { color: var(--blue); }

.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
  transition: color 0.35s var(--ease-out);
}
nav.solid .nav-links a { color: var(--black); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-links a:hover { color: var(--gold-light); }
nav.solid .nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 11px 24px !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
  overflow: hidden;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ─── MOBILE NAV ─── */
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
nav.solid .nav-burger span { background: var(--blue-dark); }
nav.menu-open .nav-burger span { background: var(--white); }
nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
nav.menu-open .nav-burger span:nth-child(2) { transform: translateY(-7.5px) rotate(-45deg); }
nav.menu-open { background: transparent; border-bottom-color: transparent; box-shadow: none; }
nav.menu-open .nav-logo-main { color: var(--white); }
nav.menu-open .nav-logo-sub { color: var(--gold-light); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: linear-gradient(170deg, var(--ink) 0%, var(--blue-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(240,228,192,0.14); }
.mobile-menu a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 5.5vw, 26px);
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  white-space: normal; /* cloned nav links carry nowrap */
  line-height: 1.35;
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
.mobile-menu a:hover { color: var(--gold-light); padding-left: 8px; }
.mobile-menu a.nav-cta {
  background: none;
  color: var(--gold) !important;
  padding: 20px 0 !important;
  font-family: var(--font-display);
  font-size: clamp(19px, 5.5vw, 26px) !important;
  letter-spacing: 2px !important;
}
@media (max-width: 900px) {
  .nav-burger { display: flex; }
}

/* ─── BUTTONS (shared) ─── */
.btn-primary, .btn-secondary, .btn-gold, .contact-wa-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before, .btn-gold::before, .contact-wa-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.28) 50%, transparent 80%);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
  z-index: -1;
}
.btn-primary:hover::before, .btn-gold:hover::before, .contact-wa-btn:hover::before { left: 120%; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 17px 42px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(11,39,64,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 17px 42px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.35s var(--ease-out);
}
.btn-secondary:hover { background: var(--white); color: var(--blue-dark); border-color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  padding: 17px 42px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.btn-gold:hover {
  background: #b8923e;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(201,168,76,0.55);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 130px 40px 90px;
  background-color: var(--blue-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,20,42,0.66) 0%,
    rgba(10,30,70,0.42) 16%,
    rgba(10,40,80,0.26) 45%,
    rgba(7,22,48,0.7) 100%
  );
  z-index: 1;
}
.hero-leak {
  position: absolute;
  inset: -10%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
.hero-line-top {
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 960px; }
/* soft scrim keeps white type legible over the video's bright sky */
.hero-content::before {
  content: '';
  position: absolute;
  inset: -14% -22%;
  z-index: -1;
  background: radial-gradient(ellipse 62% 58% at 50% 44%,
    rgba(9,28,54,0.5), rgba(9,28,54,0.26) 55%, rgba(9,28,54,0) 78%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 34px;
  display: block;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(76px, 13vw, 158px);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 0.11em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  margin-right: -0.11em; /* optical centering vs tracking */
  text-shadow: 0 2px 34px rgba(0,0,0,0.3);
}
.hero-title sup {
  font-size: 0.38em;
  color: var(--gold);
  font-weight: 400;
  margin-top: 0.09em;
  display: inline-block;
}
.hero-subtitle-line {
  width: 200px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto;
}
.hero-subtitle {
  font-size: 11px;
  letter-spacing: 7px;
  color: rgba(255,255,255,0.88);
  font-weight: 300;
  margin-bottom: 50px;
  text-transform: lowercase;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.94);
  line-height: 1.6;
  margin-bottom: 58px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 14px rgba(0,0,0,0.35);
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.22);
  overflow: hidden;
}
.hero-scroll-cue::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: cue-drop 2.2s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { top: -40%; }
  70%, 100% { top: 110%; }
}

/* ─── SECTION BASE ─── */
section { padding: 110px 40px; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--gold-text);
  font-weight: 400;
  display: block;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 26px;
  color: var(--black);
}
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 34px;
  transform-origin: 0 50%;
}
.section-text {
  font-size: 15px;
  line-height: 2;
  color: var(--grey-dark);
  max-width: 640px;
  font-weight: 300;
}

/* ─── ABOUT (pinned story) ─── */
.about { background: var(--white); overflow: clip; }
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-visual { position: relative; padding: 40px 0 20px; }
.about-atmo {
  position: absolute;
  inset: -8% -14%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 78%);
  will-change: transform;
  pointer-events: none;
}
.about-big-number {
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 210px);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  position: absolute;
  top: -52px;
  right: -10px; /* top-right of the column, clear of the quote mark */
  z-index: 0;
  user-select: none;
  font-variant-numeric: tabular-nums;
}
.about-quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--blue);
  padding-top: 64px;
}
.about-quote::before {
  content: '\201C';
  font-size: 120px;
  color: var(--gold);
  line-height: 0.5;
  display: block;
  margin-bottom: 20px;
  font-style: normal;
}

/* ─── ADVANTAGES ─── */
.advantages {
  background:
    linear-gradient(180deg, rgba(245,245,243,0.92), rgba(253,248,238,0.94)),
    var(--grey-light);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(183,185,186,0.55);
  margin-top: 64px;
  border: 1px solid rgba(183,185,186,0.55);
}
.advantage-item {
  background: var(--white);
  padding: 52px 38px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease-out);
}
.advantage-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}
.advantage-item:hover { background: var(--cream); }
.advantage-item:hover::before { transform: scaleX(1); }
.advantage-icon {
  font-size: 28px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(240,228,192,0.55), rgba(234,243,250,0.5));
  border: 1px solid rgba(201,168,76,0.35);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.advantage-item:hover .advantage-icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(201,168,76,0.45);
}
.advantage-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.advantage-text {
  font-size: 13px;
  line-height: 1.85;
  color: var(--grey-dark);
  font-weight: 300;
}

/* ─── EN STOCK (dark) ─── */
.instock {
  background: var(--black);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.instock-sea {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  will-change: transform;
}
.instock::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 4;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue), var(--gold), var(--blue));
  background-size: 200% 100%;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}
.instock::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26,26,26,0.55), rgba(11,39,64,0.35) 50%, rgba(26,26,26,0.75));
}
.instock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}
.instock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--stock-green);
  color: var(--white);
  padding: 9px 20px;
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 500;
}
.instock-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stock-green-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.instock .section-eyebrow { color: var(--gold); }
.instock .section-title { color: var(--white); }
.instock-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.instock-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 22px 12px;
  text-align: center;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
}
.instock-card:hover {
  background: rgba(27,108,168,0.22);
  border-color: rgba(201,168,76,0.6);
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -22px rgba(0,0,0,0.8);
}
.instock-card-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--stock-green);
  color: var(--white);
  font-size: 8px;
  letter-spacing: 1px;
  padding: 3px 8px;
  font-weight: 500;
  z-index: 2;
}
.instock-card img {
  width: 100%;
  max-width: 90px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5));
  transition: transform 0.5s var(--ease-out);
}
.instock-card:hover img { transform: scale(1.09) translateY(-3px); }
.instock-card-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 6px;
  line-height: 1.2;
}
.instock-card-units {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 13px;
  font-variant-numeric: tabular-nums;
}
.instock-card-ask {
  display: block;
  background: var(--blue);
  color: var(--white);
  font-size: 8px;
  letter-spacing: 2px;
  padding: 8px 4px;
  text-decoration: none;
  transition: background 0.3s var(--ease-out);
  font-weight: 400;
}
.instock-card-ask:hover { background: var(--blue-dark); }

/* ─── STOCK BADGE IN CATALOGUE ─── */
.product-stock-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--stock-green);
  color: #ffffff;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 500;
  padding: 5px 10px;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.product-stock-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stock-green-light);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* ─── CATALOGUE ─── */
.catalogue { background: var(--white); }
.catalogue-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--grey-mid);
  position: relative;
}
.tab-btn {
  background: none;
  border: none;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 400;
  cursor: pointer;
  color: var(--grey-dark);
  transition: color 0.3s var(--ease-out);
  position: relative;
}
.tab-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
  transform-origin: 0 50%;
}
.tab-btn.active { color: var(--blue); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover { color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 26px;
}
.product-card { text-align: center; position: relative; }
.product-img-wrap {
  background: linear-gradient(165deg, var(--grey-light) 0%, var(--cream) 100%);
  padding: 28px 16px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0);
  transition: border-color 0.5s var(--ease-out);
  pointer-events: none;
}
.product-card:hover .product-img-wrap {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.product-card:hover .product-img-wrap::after { border-color: rgba(201,168,76,0.55); }
.product-img-wrap img {
  width: 100%;
  max-width: 160px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
  filter: drop-shadow(0 6px 18px rgba(11,39,64,0.14));
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-family {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--grey-dark);
  font-weight: 400;
  margin-bottom: 6px;
  display: block;
}
.product-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 1px;
}
.product-ask {
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), letter-spacing 0.3s var(--ease-out);
}
.product-ask:hover { border-bottom-color: var(--gold); letter-spacing: 4px; }

/* ─── MEDITERRANEAN (cinematic) ─── */
.mediterranean {
  color: var(--white);
  text-align: center;
  padding: 170px 40px;
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
}
.med-bg {
  position: absolute;
  inset: -14% 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.med-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,39,64,0.72), rgba(21,79,122,0.45) 50%, rgba(11,39,64,0.78));
}
.med-leak {
  position: absolute;
  inset: -10%;
  z-index: 2;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.38;
  transform: scaleX(-1); /* keep the golden glow away from the centred text */
  pointer-events: none;
  will-change: transform;
}
.mediterranean::before, .mediterranean::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.mediterranean::before { top: 0; }
.mediterranean::after { bottom: 0; }
.mediterranean .section-eyebrow { color: var(--gold); }
.mediterranean .section-title {
  color: var(--white);
  margin: 0 auto 24px;
  max-width: 760px;
  text-shadow: 0 2px 26px rgba(0,0,0,0.4);
}
.mediterranean .section-divider { background: var(--gold); margin: 0 auto 34px; }
.mediterranean-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 31px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  max-width: 720px;
  margin: 0 auto 52px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.45);
}

/* ─── PARTNERS ─── */
.partners {
  background: var(--grey-light);
  overflow: hidden;
}
.partners-atmo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}
.partners::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(245,245,243,0.6), rgba(253,248,238,0.35));
  pointer-events: none;
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 64px;
}
.partners-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.partners-list li {
  padding: 21px 0;
  border-bottom: 1px solid rgba(183,185,186,0.45);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-dark);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-weight: 300;
  transition: padding-left 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.partners-list li:hover { padding-left: 8px; color: var(--black); }
.partners-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.partners-cta-box {
  background:
    linear-gradient(160deg, rgba(21,79,122,0.94), rgba(27,108,168,0.9)),
    var(--blue);
  background-size: cover;
  padding: 60px 50px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.partners-cta-box:hover {
  box-shadow: 0 40px 80px -28px rgba(11,39,64,0.55);
  transform: translateY(-4px);
}
.partners-cta-silk {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.partners-cta-box > * { position: relative; z-index: 1; }
.partners-cta-box h3 {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.3;
}
.partners-cta-box p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.82);
  margin-bottom: 38px;
  font-weight: 300;
}

/* ─── CONTACT ─── */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; }
.contact-label { font-size: 9px; letter-spacing: 4px; color: var(--gold-text); font-weight: 400; }
.contact-value {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 300;
  color: var(--black);
}
.contact-email-link { text-decoration: none; transition: color 0.2s; word-break: break-word; }
.contact-email-link:hover { color: var(--blue); }
.contact-wa-btn {
  background: var(--wa-green);
  color: var(--white);
  padding: 21px 42px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  margin-top: 16px;
  width: fit-content;
}
.contact-wa-btn:hover {
  background: var(--wa-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(37,211,102,0.6);
}
.contact-wa-icon { font-size: 22px; }
.contact-visual {
  background: linear-gradient(135deg, var(--mist), var(--cream));
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-visual-atmo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}
.contact-visual::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201,168,76,0.4);
  pointer-events: none;
}
.contact-visual > * { position: relative; z-index: 1; }
.contact-visual-logo {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  color: var(--blue);
  letter-spacing: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.contact-visual-logo sup { font-size: 32px; color: var(--gold); margin-top: 4px; }
.contact-visual-line { width: 80px; height: 1px; background: var(--gold); margin: 20px auto; }
.contact-visual-sub { font-size: 10px; letter-spacing: 6px; color: var(--blue); font-weight: 300; }
.contact-visual-desc {
  font-size: 13px;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-top: 32px;
  font-weight: 300;
}

/* ─── FOOTER ─── */
footer {
  background: linear-gradient(180deg, var(--black), #10151b);
  color: rgba(255,255,255,0.6);
  padding: 56px 40px 48px;
  text-align: center;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
}
footer .footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 6px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}
footer .footer-logo sup { font-size: 14px; color: var(--gold); }
footer .footer-line { width: 60px; height: 1px; background: var(--gold); margin: 16px auto; }
footer p { font-size: 12px; letter-spacing: 2px; line-height: 2; }
.footer-details {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.footer-details-label {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 400;
}
.footer-details-text { font-size: 12px; line-height: 2; color: rgba(255,255,255,0.74); }
.footer-details-text a { color: inherit; text-decoration: underline; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 11px; color: rgba(255,255,255,0.66); letter-spacing: 1px; }
.footer-privacy-link {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.66);
  text-decoration: none;
  display: inline-block;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.3s;
}
.footer-privacy-link:hover { color: var(--gold-light); }

/* ─── PRIVACY MODAL ─── */
.privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,17,27,0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.privacy-modal.open,
.privacy-modal:target { display: flex; } /* :target = no-JS fallback */
.privacy-modal-box {
  background: var(--white);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,0.7);
}
.privacy-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--black);
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}
.privacy-modal-close:hover { color: var(--gold); transform: rotate(90deg); }
.privacy-h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.privacy-sub { font-size: 11px; letter-spacing: 3px; color: var(--gold-text); margin-bottom: 32px; }
.privacy-h3 { font-size: 13px; letter-spacing: 3px; color: var(--blue); margin-bottom: 12px; margin-top: 28px; font-weight: 500; }
.privacy-p { font-size: 13px; line-height: 2; color: #444; }
.privacy-p + .privacy-p { margin-top: 20px; }
.privacy-meta { font-size: 11px; color: #999; margin-top: 32px; }

/* ─── WA FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: var(--wa-green);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: wa-ring 3.4s var(--ease-out) infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.7; }
  55%, 100% { transform: scale(1.65); opacity: 0; }
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

/* ─── STORY PAGE (pochemu-ispaniya) ─── */
.story-header {
  position: relative;
  height: 72vh;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  background: var(--blue-dark);
}
.story-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 65%;
  will-change: transform;
}
.story-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,30,70,0.3) 0%, rgba(10,30,70,0.18) 40%, rgba(9,22,48,0.85) 100%);
}
.story-header .section-eyebrow {
  color: var(--gold-light);
  text-shadow: 0 1px 14px rgba(0,0,0,0.55);
}
.story-header-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px 64px;
  width: 100%;
}
.story-header .section-title { color: var(--white); margin: 0 auto; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.story-header .section-divider { margin: 26px auto 0; background: var(--gold); }
.story-body { padding: 90px 40px 70px; background: var(--white); }
.story-body .section-inner { max-width: 720px; }
.story-body .section-text { margin-bottom: 22px; max-width: none; }
.story-pull {
  font-family: var(--font-display) !important;
  font-style: italic;
  color: var(--blue-dark) !important;
  position: relative;
  padding-left: 26px;
}
.story-pull::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}
.story-atmo-break {
  position: relative;
  height: 52vh;
  min-height: 340px;
  overflow: hidden;
  padding: 0;
}
.story-atmo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}
.story-atmo-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 86%, rgba(255,255,255,1) 100%);
}

/* ─── REVEAL SYSTEM ───
   html.anim is added by a tiny inline head script ONLY when JS runs
   and the user does not prefer reduced motion; main.js removes it as
   a 3.5s safety net. No-JS / reduced-motion = everything visible.
   GSAP writes inline styles, which win over these rules. */
html.anim [data-anim],
html.anim [data-anim-child],
html.anim .hero-line-top,
html.anim .hero-eyebrow,
html.anim .hero-title,
html.anim .hero-subtitle-line,
html.anim .hero-subtitle,
html.anim .hero-tagline,
html.anim .hero-buttons > *,
html.anim .hero-scroll-cue,
html.anim .wa-float { opacity: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .instock-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  nav > .nav-links { display: none; }
  section { padding: 80px 24px; }
  .about-grid, .contact-grid, .partners-grid { grid-template-columns: 1fr; gap: 48px; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .instock-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 120px 24px 70px; }
  .about-big-number { font-size: 110px; top: -34px; right: 0; }
  .mediterranean { padding: 120px 24px; }
  .footer-details { grid-template-columns: 1fr; gap: 28px; }
  .story-header { height: 56vh; }
}
@media (max-width: 600px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .instock-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-title { letter-spacing: 0.08em; margin-right: -0.08em; }
  .catalogue-tabs { justify-content: center; }
  .tab-btn { padding: 14px 20px; }
  .partners-cta-box { padding: 44px 30px; }
  .privacy-modal-box { padding: 36px 24px; }
  .wa-float { bottom: 22px; right: 22px; width: 54px; height: 54px; font-size: 24px; }
  .contact-visual { padding: 48px 24px; }
  .contact-visual-logo { font-size: 56px; }
}

/* ─── REDUCED MOTION: everything static, everything visible ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-scroll-cue { display: none; }
  .instock::before { animation: none; background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue)); }
  .wa-float::after { display: none; }
}

/* ════════════════════════════════════════════════════════════
   LANGUAGE VISIBILITY — keep these rules LAST.
   Only the INACTIVE language is ever hidden; the active language
   keeps each component's natural display (no `revert`, no
   per-component override list, no specificity races).
   ════════════════════════════════════════════════════════════ */
body:not(.kz) [data-lang="kz"] { display: none !important; }
body.kz [data-lang="ru"] { display: none !important; }
