/* ============================================================
   ESSENS — style.css  (essens_site_2)
   Fonts: Playfair Display (headings) · DM Sans (body + UI)
   Colors: #003468 primary · #dc2569 accent
   ============================================================ */

/* ── LOCAL FONTS ─────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #434e5e;
  background: #fff;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  --primary:   #003468;
  --primary-d: #002047;
  --primary-l: #00469a;
  --accent:    #dc2569;
  --accent-d:  #b81e57;
  --bg-light:  #f4f7fc;
  --bg-dark:   #001835;
  --white:     #ffffff;
  --gray-100:  #f7f9fc;
  --gray-200:  #e8eef6;
  --gray-400:  #96a3b5;
  --gray-600:  #5b6778;
  --gray-800:  #2a3344;
  --r-sm:      10px;
  --r-md:      18px;
  --r-lg:      28px;
  --r-xl:      40px;
  --sh-sm:     0 2px 16px rgba(0,52,104,.07);
  --sh-md:     0 8px 36px rgba(0,52,104,.13);
  --sh-lg:     0 24px 72px rgba(0,52,104,.2);
  --sh-hero:   0 32px 96px rgba(0,24,56,.35);
  --tr:        .3s ease;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
}
h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
h5 { font-size: 1rem; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* ── UTILITY ─────────────────────────────────────────────── */
.clr-accent { color: var(--accent); }
.clr-white  { color: var(--white); }
.fw-700     { font-weight: 700; }

/* ── SECTION HEADING ─────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-label-light {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.section-head::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--tr);
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: transparent;
  color: var(--accent);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: .95rem;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(220,37,105,.45);
  animation: btn-pulse 2s ease-out infinite;
}
@keyframes btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(220,37,105,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(220,37,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,37,105,0); }
}
.btn-submit svg { flex-shrink: 0; }

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.form-group { margin-bottom: 22px; position: relative; }
.form-group label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 7px;
}
.lbl-num { color: var(--accent); margin-right: 3px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 11px 2px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gray-200);
  color: var(--gray-800);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--tr);
  border-radius: 0;
}
.form-group input:focus { border-bottom-color: var(--primary); }
.form-group input::placeholder { color: var(--gray-400); font-size: .88rem; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.form-check label {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-600);
  cursor: pointer;
}
.form-check label a { color: var(--accent); text-decoration: underline; }

/* ── HEADER ──────────────────────────────────────────────── */
#main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--tr);
}
#main-header.scrolled { box-shadow: var(--sh-sm); }

.header-top {
  background: var(--primary);
  padding: 8px 0;
}
.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-top__slogan {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-style: italic;
  color: rgba(255,255,255,.6);
}
.header-top__contact a {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--tr);
}
.header-top__contact a:hover { color: var(--accent); }
.header-top__contact svg { width: 14px; height: 14px; flex-shrink: 0; }

.header-main { padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.header-logo__name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .5px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 7px 10px;
  border-radius: var(--r-sm);
  transition: all var(--tr);
  white-space: nowrap;
}
.header-nav a:hover { color: var(--primary); background: var(--bg-light); }

.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.header-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--tr);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,24,56,.97);
  z-index: 2000;
  padding: 60px 28px 32px;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s ease;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: color var(--tr);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
  padding: 6px 10px;
  opacity: .6;
  transition: opacity var(--tr);
}
.nav-close-btn:hover { opacity: 1; }

/* ── HERO SECTION ────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(220,37,105,.15) 0, rgba(220,37,105,0) 22%),
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.07) 0, rgba(255,255,255,0) 18%),
    radial-gradient(circle at 72% 74%, rgba(220,37,105,.12) 0, rgba(220,37,105,0) 18%),
    linear-gradient(135deg, rgba(0,24,56,.98) 0%, rgba(0,52,104,.95) 52%, rgba(25,42,97,.93) 100%);
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,37,105,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14) 0 3px, transparent 3px 72px),
    linear-gradient(45deg, rgba(220,37,105,.16) 0 3px, transparent 3px 88px),
    radial-gradient(circle at 24% 30%, rgba(255,255,255,.10) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 76% 68%, rgba(255,255,255,.08) 0 2px, transparent 2px 100%);
  background-size: 210px 210px, 260px 260px, 140px 140px, 180px 180px;
  background-position: 0 0, 24px 18px, 0 0, 18px 24px;
  opacity: .85;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-panels {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Left panel */
.hero-panel-left {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-panel-left::after {
  display: none;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-panel-left h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.hero-panel-left h1 .accent-block {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 2px 14px;
  border-radius: 6px;
  font-style: italic;
  line-height: 1.3;
}
.hero-subtext {
  color: rgba(255,255,255,.72);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

/* Timer in hero-left */
.hero-timer {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md);
  padding: 22px 26px 18px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  max-width: 400px;
}
.timer-fire {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}
.timer-digits {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.t-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  text-align: center;
}
.t-unit span {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}
.t-unit em {
  font-style: normal;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 5px;
}
.t-sep {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  padding-bottom: 16px;
  line-height: 1;
}
.timer-offer {
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}
.timer-offer strong { color: var(--accent); }

/* Right panel — form */
.hero-panel-right {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--sh-lg);
  border-top: 4px solid var(--accent);
  position: relative;
}
.form-card-badge {
  position: absolute;
  bottom: calc(100% - 56px);
  right: 0;
  width: 105px;
  height: auto;
  z-index: 10;
  animation: badge-float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,24,56,.3));
  pointer-events: none;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.form-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 26px;
  line-height: 1.4;
}

/* ── STATS SECTION ───────────────────────────────────────── */
.stats-section {
  padding: 0;
  background: var(--primary);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
}
.stat-divider {
  height: 60px;
  background: rgba(255,255,255,.15);
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
}
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ── STEPS SECTION ───────────────────────────────────────── */
.steps-section { background: var(--bg-light); }
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 8px;
  margin-bottom: 40px;
}
.step-connector {
  align-self: start;
  margin-top: 56px;
  height: 2px;
  width: 100%;
  min-width: 16px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0, var(--accent) 4px,
    transparent 4px, transparent 12px
  );
  opacity: .4;
}
.step-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 30px 18px 26px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform var(--tr), box-shadow var(--tr);
  border-bottom: 3px solid transparent;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-bottom-color: var(--accent);
}
.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}
.step-num.accent { background: var(--accent); }
.step-icon-box {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--primary);
}
.step-icon-box svg { width: 100%; height: 100%; }
.step-card h5 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--primary);
  margin-bottom: 8px;
}
.step-card p { font-size: .82rem; color: var(--gray-600); line-height: 1.55; }
.steps-desc {
  text-align: center;
  color: var(--gray-600);
  font-size: .92rem;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.steps-cta { text-align: center; }

/* ── BENEFITS SECTION ────────────────────────────────────── */
.benefits-section { background: var(--white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
.benefit-card {
  border-radius: var(--r-md);
  padding: 30px 24px 26px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: all var(--tr);
  background: var(--white);
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.benefit-card:hover {
  box-shadow: var(--sh-md);
  border-color: transparent;
  transform: translateY(-4px);
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
  transition: background var(--tr), color var(--tr);
}
.benefit-card:hover .benefit-icon {
  background: var(--primary);
  color: var(--white);
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-card h5 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary);
  margin-bottom: 8px;
}
.benefit-card p { font-size: .85rem; color: var(--gray-600); line-height: 1.65; }
.benefits-cta { text-align: center; }

/* ── COLLECTION SECTION ──────────────────────────────────── */
.collection-section { background: var(--bg-light); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--tr);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  color: var(--white);
}
.product-badge.hit  { background: var(--accent); }
.product-badge.new  { background: var(--primary); }
.product-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body {
  padding: 16px 18px 14px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.product-discount {
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(220,37,105,.08);
  padding: 3px 10px;
  border-radius: 50px;
}
.collection-note {
  text-align: center;
  color: var(--gray-600);
  font-size: .88rem;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.collection-cta { text-align: center; }

/* ── PODBOR SECTION ──────────────────────────────────────── */
.podbor-section { background: var(--white); }
.podbor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.podbor-text .section-label { display: block; margin-bottom: 10px; }
.podbor-text h2 { margin-bottom: 18px; }
.podbor-text p {
  color: var(--gray-600);
  font-size: .97rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.podbor-btn-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.podbor-note {
  font-size: .78rem;
  color: var(--gray-400);
}
.podbor-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  position: relative;
}
.podbor-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -60px 60px rgba(0,52,104,.1);
  pointer-events: none;
}
.podbor-img img { width: 100%; height: 400px; object-fit: cover; }

/* ── JOIN SECTION ────────────────────────────────────────── */
.join-section { background: var(--bg-light); }
.join-intro {
  max-width: 700px;
  margin: 0 auto 44px;
  text-align: center;
}
.join-intro p {
  color: var(--gray-600);
  font-size: .97rem;
  line-height: 1.8;
}
.tabs {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-200);
}
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
}
.tab-btn {
  flex: 1;
  padding: 18px 24px;
  background: var(--gray-100);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--tr);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--primary); background: var(--white); }
.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.tab-pane { display: none; padding: 40px 44px; }
.tab-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tab-img {
  border-radius: var(--r-md);
  overflow: hidden;
}
.tab-img img { width: 100%; height: 300px; object-fit: cover; object-position: top; }
.tab-text h3 { margin-bottom: 14px; }
.tab-divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 18px;
}
.tab-text p {
  color: var(--gray-600);
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── FAQ SECTION ─────────────────────────────────────────── */
.faq-section { background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: color var(--tr);
}
.faq-q:hover { color: var(--primary); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--tr);
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  color: var(--gray-600);
  font-size: .92rem;
  line-height: 1.75;
  padding-bottom: 22px;
}
.faq-cta { text-align: center; margin-top: 44px; }

/* ── CONTACTS SECTION ────────────────────────────────────── */
.contacts-section {
  background: var(--primary);
  padding: 88px 0;
  text-align: center;
}
.contacts-section .section-head::before {
  background: var(--accent);
}
.contacts-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  flex-wrap: wrap;
}
.contacts-photo { flex-shrink: 0; }
.contacts-photo img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-lg);
  border: 3px solid rgba(255,255,255,.18);
  box-shadow: var(--sh-lg);
}
.contacts-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50px;
  transition: all var(--tr);
  color: var(--white);
  text-decoration: none;
}
.contact-item:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.24);
  transform: translateX(6px);
}
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-icon--tg { background: #229ED9; }
.contact-icon--em { background: var(--accent); }
.contact-icon--tg svg { fill: #fff; }
.contact-icon--em svg { stroke: #fff; fill: none; }
.contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.45);
  padding: 32px 0;
  text-align: center;
  font-size: .82rem;
}
footer p { margin-bottom: 6px; line-height: 1.6; }
footer a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  transition: color var(--tr);
}
footer a:hover { color: var(--white); }

/* ── BACK TO TOP ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--tr);
  z-index: 500;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--accent); transform: translateY(-3px); }
#back-to-top svg { width: 18px; height: 18px; }

/* ── FLOATING TELEGRAM BUTTON ────────────────────────────── */
#tg-float {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #229ED9;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(34,158,217,.5);
  z-index: 499;
  transition: transform var(--tr), box-shadow var(--tr);
}
#tg-float:hover { transform: scale(1.1); box-shadow: 0 10px 36px rgba(34,158,217,.6); }
#tg-float svg { width: 28px; height: 28px; fill: #fff; }
#tg-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(34,158,217,.4);
  animation: tg-ring 2.5s ease-out infinite;
}
@keyframes tg-ring {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── MOBILE STICKY BAR ───────────────────────────────────── */
#mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  z-index: 600;
  box-shadow: 0 -4px 24px rgba(0,52,104,.12);
  transform: translateY(100%);
  transition: transform var(--tr);
}
#mobile-bar.visible { transform: translateY(0); }
.mob-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}
.mob-bar-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--gray-600);
  border-right: 1px solid var(--gray-200);
  transition: all var(--tr);
  cursor: pointer;
  background: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
  text-decoration: none;
}
.mob-bar-btn:last-child { border-right: none; }
.mob-bar-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mob-bar-tg { color: #229ED9; }
.mob-bar-tg svg { fill: #229ED9; }
.mob-bar-cta {
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  border-radius: 0;
}
.mob-bar-cta:hover { background: var(--accent-d); color: var(--white); }

/* ── QUIZ MODAL ──────────────────────────────────────────── */
#quiz-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,20,48,.82);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
#quiz-modal.open { display: flex; }
.quiz-dialog {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  position: relative;
  animation: dialogIn .3s ease;
}
@keyframes dialogIn {
  from { opacity:0; transform:translateY(20px) scale(.96); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.quiz-dialog h3 { text-align: center; margin-bottom: 6px; }
.quiz-progress-bar {
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width .4s ease;
  width: 33.3%;
}
.quiz-close-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  transition: all var(--tr);
  line-height: 1;
}
.quiz-close-btn:hover { background: var(--accent); color: var(--white); }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-q {
  font-size: .97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  text-align: center;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-800);
  text-align: center;
  transition: all var(--tr);
  line-height: 1.3;
}
.quiz-option:hover { border-color: var(--primary); background: rgba(0,52,104,.05); }
.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(0,52,104,.07);
  color: var(--primary);
  font-weight: 600;
}
.quiz-emoji { font-size: 1.6rem; line-height: 1; }
.quiz-back-btn {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: .8rem;
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: color var(--tr);
  text-decoration: underline;
  width: 100%;
}
.quiz-back-btn:hover { color: var(--primary); }
.quiz-form-title {
  text-align: center;
  font-size: .97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
  line-height: 1.4;
}
.quiz-success {
  text-align: center;
  padding: 16px;
  background: rgba(0,168,72,.08);
  border-radius: var(--r-sm);
  color: #00a848;
  font-weight: 600;
  font-size: .9rem;
  margin-top: 12px;
}
.quiz-error {
  text-align: center;
  padding: 12px;
  background: rgba(220,37,105,.08);
  border-radius: var(--r-sm);
  color: var(--accent);
  font-size: .88rem;
  margin-top: 10px;
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-animate].in-view { opacity: 1; transform: none; }
[data-animate-delay="1"] { transition-delay: .1s; }
[data-animate-delay="2"] { transition-delay: .2s; }
[data-animate-delay="3"] { transition-delay: .3s; }
[data-animate-delay="4"] { transition-delay: .4s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-panels { grid-template-columns: 1fr 1fr; gap: 32px; padding: 64px 24px; }
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .step-connector { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  /* Hero: убираем min-height, сжимаем отступ сверху */
  .hero-section {
    min-height: auto;
    align-items: flex-start;
    padding: 44px 0 0;
  }

  /* display:contents делает дочерние элементы левой панели
     прямыми flex-детьми .hero-panels — это позволяет
     перестроить порядок через order без изменения HTML */
  .hero-panels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px 48px;
  }
  .form-card-title { font-size: .82rem; }
  .form-card-badge { width: 75px; bottom: calc(100% - 44px); }
  .hero-panel-left { display: contents; }

  /* Новый порядок на мобильном: eyebrow → h1 → форма → subtext → timer */
  .hero-eyebrow          { order: 1; margin-bottom: 4px; }
  .hero-panel-left > h1  { order: 2; margin-bottom: 0; }
  .hero-panel-right      { order: 3; }
  .hero-subtext          { order: 4; margin-bottom: 0; }
  .hero-timer            { order: 5; }

  .hero-timer { max-width: 100%; }
  .steps-row { grid-template-columns: 1fr; gap: 14px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .podbor-grid { grid-template-columns: 1fr; gap: 32px; }
  .podbor-img { order: -1; }
  .podbor-img img { height: 260px; }
  .tab-pane.active { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .tab-img img { height: 210px; }
  .contacts-layout { gap: 36px; flex-direction: column; }
  .contacts-photo { order: 1; }
  .contacts-items { order: 0; }
  .contacts-photo img { width: 160px; height: 200px; }
  .footer-sep { display: none; }
  .footer-line { display: block; }
  .header-nav { display: none; }
  .header-burger { display: flex; }
  .nav-mobile { display: flex; }
  .header-top__slogan { display: none; }
  #back-to-top { bottom: 80px; right: 16px; }
  #tg-float { bottom: 80px; right: 16px; display: none; }
  #mobile-bar { display: block; }
  .faq-list { padding: 0 4px; }
}

@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-panels { padding: 0 16px 44px; }
  .form-card-badge { width: 66px; bottom: calc(100% - 40px); }
  .quiz-options { grid-template-columns: 1fr 1fr; }
  .t-unit span { font-size: 2.2rem; }
  .quiz-dialog { padding: 32px 20px 28px; }
  .form-card { padding: 32px 22px; }
}
