/* ===================================================
   FABERLIC & AVON — LANDING PAGE STYLES
   Aesthetic: Luxury Cosmetics Editorial
   Fonts: Cormorant Garamond (display) + Jost (body)
   =================================================== */

:root {
  --grad-start: #e5004b;
  --grad-end:   #4e0a74;
  --discount:   #009c43;
  --accent:     #ffc94d;
  --bg:         #ffffff;
  --text:       #000000;
  --gradient:   linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  --gradient-r: linear-gradient(315deg, var(--grad-start) 0%, var(--grad-end) 100%);

  --section-alt-bg: #faf8fc;
  --border-light:   rgba(78, 10, 116, 0.10);
  --shadow-card:    0 8px 40px rgba(78, 10, 116, 0.10);
  --shadow-hover:   0 16px 56px rgba(78, 10, 116, 0.18);
  --shadow-btn:     0 6px 28px rgba(229, 0, 75, 0.35);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── BASE ─── */
body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  overflow-x: hidden;
}
body.loaded { opacity: 1; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-weight: 600;
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s;
  cursor: pointer;
  border: none;
}

.btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(229, 0, 75, 0.45);
}
.btn-gradient:active { transform: translateY(0); }

.btn-white {
  background: #fff;
  color: var(--grad-end);
  box-shadow: 0 6px 28px rgba(255,255,255,0.25);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.35);
}

.btn-full { width: 100%; }

/* ─── BADGES ─── */
.badge {
  display: inline-block;
  border-radius: 100px;
  padding: 6px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-discount {
  background: var(--discount);
  color: #fff;
}
.badge-gift {
  background: var(--accent);
  color: #2a0840;
}

/* ─── SECTION TITLE ─── */
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ─── HIDDEN ─── */
.hidden { display: none !important; }

/* Принудительный перенос только на мобиле */
.mob-br { display: none; }
@media (max-width: 900px) {
  .mob-br { display: block; }
}

/* ===================================================
   SITE HEADER
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(78, 10, 116, 0.06);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

.header-logo-img.logo-avon {
  height: 54px;
}

/* Brand dropdown */
.brand-dropdown {
  position: relative;
  flex-shrink: 0;
}

.brand-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #666;
  border: 1.5px solid var(--border-light);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.brand-dropdown-toggle:hover,
.brand-dropdown-toggle[aria-expanded="true"] {
  border-color: var(--grad-start);
  color: var(--grad-start);
}
.brand-dropdown-toggle svg {
  transition: transform 0.25s var(--ease);
  color: inherit;
}
.brand-dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.brand-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 140px;
  overflow: hidden;
  z-index: 200;
}
.brand-dropdown-menu.open { display: block; }

.brand-option {
  display: block;
  padding: 12px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.brand-option:hover { background: #faf8fc; color: var(--grad-end); }
.brand-option.active { color: var(--grad-start); font-weight: 600; }

/* Header nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--grad-end); background: rgba(78,10,116,0.05); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grad-end);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
  background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover { color: var(--grad-end); background: #faf8fc; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 20px 0;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(229, 0, 75, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(78, 10, 116, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 85%, rgba(255, 201, 77, 0.07) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* Centered heading block */
.hero-heading-wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding: 20px 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-heading-text {
  flex: 1;
}

.hero-brand-block {
  animation: fadeSlideUp 0.5s var(--ease) both;
}

.hero-title {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-accent {
  background: #009c43;
  color: #fff;
  -webkit-text-fill-color: #fff;
  border-radius: 4px;
  padding: 0 6px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  color: #555;
  line-height: 1.5;
}

/* Two-column row */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 72px;
}

/* ── Countdown ── */
.countdown-box {
  text-align: center;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 24px 14px;
  box-shadow: 0 4px 20px rgba(78,10,116,0.08);
}

.countdown-label {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.countdown-timer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.countdown-seg {
  font-family: ui-monospace, 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', monospace;
  font-size: 52px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 2ch;
  text-align: center;
}

.countdown-sep {
  font-family: ui-monospace, 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', monospace;
  font-size: 52px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-units {
  display: flex;
  justify-content: space-between;
  padding: 4px 4px 0;
  margin-top: 4px;
}

.countdown-units span {
  font-size: 10px;
  font-weight: 500;
  color: #aaa;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  flex: 1;
  text-align: center;
}

.countdown-hint {
  font-size: 11px;
  color: #bbb;
  margin-top: 6px;
}

/* ── Gift image with badges ── */
.gift-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.gift-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.trigger-badge {
  position: absolute;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 100px;
  padding: 8px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  pointer-events: none;
  white-space: nowrap;
}

.trigger-discount {
  background: var(--discount);
  color: #fff;
  top: 14px;
  right: 14px;
  font-size: 18px;
  padding: 10px 20px;
  transform: rotate(6deg);
}

.trigger-gift {
  background: var(--accent);
  color: #2a0840;
  bottom: 20px;
  left: 14px;
  transform: rotate(-4deg);
}

/* ── Mobile gift peek (скрыт на десктопе) ── */
.mobile-gift-peek {
  display: none;
}
.gift-peek-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Steps block ── */
.reg-steps {
  margin-top: 16px;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 4px 20px rgba(78,10,116,0.07);
}

.reg-steps-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--grad-end);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.reg-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(78,10,116,0.05);
}
.reg-step:last-child { border-bottom: none; padding-bottom: 0; }

.reg-step-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
}

.reg-step-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--grad-end);
  opacity: 0.7;
}
.reg-step-icon svg { width: 100%; height: 100%; }

.reg-step-text {
  font-size: 13px;
  font-weight: 400;
  color: #444;
  line-height: 1.35;
}

/* Form card */
.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  animation: fadeSlideUp 0.7s 0.15s var(--ease) both;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}

.form-card-header {
  margin-bottom: 28px;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--grad-end);
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 14px;
  color: #888;
  font-weight: 300;
}

/* Form fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}

.field-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e8e0f0;
  border-radius: var(--radius-sm);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fdfcff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.field-group input:focus {
  border-color: var(--grad-start);
  box-shadow: 0 0 0 3px rgba(229, 0, 75, 0.10);
}
.field-group input.error {
  border-color: #e5004b;
}

.form-privacy {
  margin-bottom: 18px;
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

.privacy-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--grad-start);
  cursor: pointer;
}

.privacy-row a {
  color: var(--grad-start);
  text-decoration: underline;
  text-decoration-color: rgba(229, 0, 75, 0.4);
}

.form-response {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
  text-align: center;
  font-weight: 500;
}
.form-response.success { color: var(--discount); }
.form-response.error   { color: var(--grad-start); }

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  z-index: 2;
}
.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* ===================================================
   CONDITIONS
   =================================================== */
.conditions {
  background: var(--section-alt-bg);
  padding: 96px 20px;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.condition-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  text-align: center;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.condition-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(229,0,75,0.04) 0%, rgba(78,10,116,0.06) 100%);
  pointer-events: none;
}
.condition-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.condition-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 20px rgba(229,0,75,0.28);
  position: relative;
}
.condition-icon svg { width: 34px; height: 34px; }

.condition-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.condition-text {
  font-size: 14px;
  color: #555;
  font-weight: 400;
  line-height: 1.4;
}

/* ===================================================
   BENEFITS
   =================================================== */
.benefits {
  background: #fff;
  padding: 96px 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.benefit-card:hover {
  border-color: rgba(229, 0, 75, 0.3);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  color: #fff;
}
.benefit-icon svg { width: 26px; height: 26px; }

.benefit-body {
  flex: 1;
  min-width: 0;
}

.benefit-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefit-text {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 1.5;
}

/* ===================================================
   CATEGORIES
   =================================================== */
.categories {
  background: var(--section-alt-bg);
  padding: 96px 20px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-card:hover::after { transform: scaleX(1); }

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f6fb;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.category-card:hover .product-img { transform: scale(1.05); }

.product-info {
  padding: 14px 16px 18px;
}

.product-brand-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
  line-height: 1.3;
}

/* ===================================================
   COOPERATION
   =================================================== */
.cooperation {
  padding: 96px 20px;
  background: #fff;
}

.coop-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0;
}

.coop-tab {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.coop-tab.active {
  color: var(--grad-start);
  border-bottom-color: var(--grad-start);
}

.coop-panel {
  display: none;
}

.coop-panel.active {
  display: block;
}

.coop-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-width: 0;
}

.coop-inner > * { min-width: 0; }

.coop-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.coop-img {
  width: 100%;
  height: auto;
  display: block;
}

.coop-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.coop-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.categories-cta {
  margin-top: 36px;
  text-align: center;
}

.categories-cta-text {
  font-size: 17px;
  color: #555;
  margin-bottom: 20px;
}

/* ===================================================
   FINAL CTA
   =================================================== */
.final-cta {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  z-index: 0;
}
.final-cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255,201,77,0.15) 0%, transparent 45%);
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta-title {
  font-size: clamp(36px, 5vw, 60px);
  color: #fff;
  margin-bottom: 16px;
  font-style: italic;
}

.final-cta-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin-bottom: 40px;
}

.final-cta-btn {
  font-size: 15px;
  padding: 18px 48px;
}

/* ===================================================
   CONTACTS
   =================================================== */
.contacts {
  background: #fff;
  padding: 96px 20px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease);
}
.contact-item:hover {
  border-color: rgba(229, 0, 75, 0.35);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 12px;
  color: #fff;
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: #222;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: #faf8fc;
  border-top: 1px solid var(--border-light);
  padding: 28px 20px;
  text-align: center;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
}

.footer-contacts {
  font-size: 13px;
  color: #aaa;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.footer-sep {
  color: #ccc;
}

.site-footer a {
  color: var(--grad-start);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-contacts { flex-direction: column; gap: 4px; }
  .footer-sep { display: none; }
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes brandSwitch {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-brand-block:not(.hidden) {
  animation: brandSwitch 0.4s var(--ease) both;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 60px;
  }

  .hero { padding-top: 40px; }

  .hero-heading-wrap {
    display: block;
    position: relative;
    padding: 8px 20px 24px;
    text-align: left;
    overflow: visible;
  }

  .hero-heading-text {
    text-align: left;
    position: relative;
    z-index: 1;
  }

  .hero-subtitle {
    padding-right: 40%;
  }

  .mobile-gift-peek {
    display: block;
    position: absolute;
    right: 0;
    top: 40%;
    width: 30%;
    z-index: 0;
  }

  .form-card {
    position: relative;
    z-index: 1;
    background: #fff;
  }

  .countdown-seg, .countdown-sep { font-size: 44px; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }

  .coop-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .coop-tab { padding: 10px 20px; font-size: 15px; }
}

@media (max-width: 640px) {
  .conditions { padding: 72px 20px; }
  .benefits   { padding: 72px 20px; }
  .categories { padding: 72px 20px; }
  .final-cta  { padding: 72px 20px; }
  .contacts   { padding: 72px 20px; }

  .form-card { padding: 28px 20px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .benefit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 16px;
  }

  .benefit-body { width: 100%; }
  .contacts-grid { grid-template-columns: 1fr; max-width: 360px; }

  .header-logo-img { height: 38px; }
  .header-logo-img.logo-avon { height: 46px; }
  .countdown-seg, .countdown-sep { font-size: 38px; }

  .trigger-discount { font-size: 15px; padding: 8px 14px; }
  .trigger-gift     { font-size: 13px; padding: 7px 14px; }

  .final-cta-btn { font-size: 12px; padding: 16px 28px; letter-spacing: 0.02em; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 30px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
