/* =========================================================================
   SPICY PRODUCTS — STYLESHEET
   -------------------------------------------------------------------------
   HOW TO REBRAND THIS SITE (no other file needed):
   1. Colors  -> edit the --accent / --ink / --bg values in :root below
   2. Fonts   -> change --font-display / --font-body (and the <link> in index.html)
   3. Logo    -> see README.md
   Everything else cascades automatically.
   ========================================================================= */

:root {
  /* ---- BRAND COLORS (sampled directly from the Spicy Products logo) ---- */
  --accent:        #BA1212;   /* Spicy Red — primary brand color */
  --accent-2:      #8E0D0D;   /* darker red — hovers / pressed */
  --accent-bright: #D22424;   /* brighter red (logo highlight) — for use on dark backgrounds */
  --accent-tint:   #F9E7E7;   /* light red wash */

  --ink:           #141414;   /* near-black — headings & body (logo black) */
  --ink-2:         #3A3A3A;   /* secondary text */
  --muted:         #6E6E6E;   /* muted text */

  --bg:            #FAF8F7;   /* page background */
  --surface:       #FFFFFF;   /* cards / panels */
  --surface-2:     #F3F1EF;   /* alternating section bg */
  --line:          #E8E4E1;   /* borders */
  --dark:          #141414;   /* dark sections (logo black) */
  --dark-2:        #1F1D1D;

  /* ---- TYPE (Calibri brand font; Carlito is the metric-compatible web twin) ---- */
  --font-display: "Calibri", "Carlito", system-ui, "Segoe UI", sans-serif;
  --font-body:    "Calibri", "Carlito", system-ui, "Segoe UI", sans-serif;

  /* ---- SYSTEM ---- */
  --container: 1180px;
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px -20px rgba(23, 18, 15, .22);
  --shadow-sm: 0 6px 22px -12px rgba(23, 18, 15, .25);
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

/* ----------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ----------------------------- LAYOUT ----------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--dark); color: #cfc6c0; }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-title { font-size: clamp(28px, 4vw, 46px); margin-bottom: 16px; }
.section-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.text-accent { color: var(--accent); }

/* ----------------------------- BUTTONS ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 100px;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--accent); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent); }

.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(0,0,0,.5); }

/* ----------------------------- HEADER ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 246, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -18px rgba(0,0,0,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: auto; height: 40px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.brand__name-accent { color: var(--accent); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name-accent { color: var(--accent-bright); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { color: var(--accent); }
.nav__cta { margin-left: 6px; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- HERO ----------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 5vw, 64px); }
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 820px; }
.hero__title { font-size: clamp(40px, 7vw, 76px); font-weight: 800; line-height: 1.02; margin-bottom: 22px; }
.hero__sub { font-size: clamp(17px, 2vw, 22px); color: var(--ink-2); max-width: 640px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__note { font-size: 14px; color: var(--muted); }

.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 1; pointer-events: none; }
.hero__blob--1 { width: 540px; height: 540px; background: radial-gradient(circle, var(--accent), transparent 70%); top: -180px; right: -120px; opacity: .35; }
.hero__blob--2 { width: 420px; height: 420px; background: radial-gradient(circle, #F0A0A0, transparent 70%); bottom: -160px; left: -120px; opacity: .3; }

/* Channel strip */
.channel-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 28px; border-top: 1px solid var(--line);
}
.channel-strip__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.channel-strip__items { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.channel { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); opacity: .55; transition: opacity .2s, color .2s; }
.channel:hover { opacity: 1; color: var(--accent); }
.channel-logo { height: 26px; width: auto; object-fit: contain; opacity: .9; transition: opacity .2s; }
.channel-logo--tiktok { height: 24px; }
.channel-logo:hover { opacity: 1; }

/* ----------------------------- STATS ----------------------------- */
.stats { padding: clamp(40px, 5vw, 56px) 0; background: var(--dark); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat__num .text-accent, .stat__num span { color: var(--accent-bright); }
.stat__label { margin-top: 10px; font-size: 14px; color: #b9aea7; letter-spacing: .01em; }

/* ----------------------------- TRUSTED / MARQUEE ----------------------------- */
.trusted { padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 60px); overflow: hidden; }
.trusted__label { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 34px; }
.marquee { position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-chip { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink); opacity: .32; letter-spacing: -.01em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Trusted-by logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 940px; margin: 6px auto 0; }
.logo-cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); height: 112px; display: grid; place-items: center; padding: 20px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.logo-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-cell img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 760px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .logo-wall { grid-template-columns: 1fr; } }

/* Draggable, auto-scrolling partner banner */
.logo-marquee { margin-top: 12px; overflow: hidden; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-marquee.is-dragging { cursor: grabbing; }
.logo-marquee__track { display: flex; gap: 16px; width: max-content; padding: 8px 0; will-change: transform; user-select: none; }
.logo-marquee .logo-cell { flex: none; width: 220px; }
.logo-marquee .logo-cell:hover { transform: none; box-shadow: var(--shadow-sm); }
.logo-marquee img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
@media (max-width: 480px) { .logo-marquee .logo-cell { width: 168px; } }

/* ----------------------------- TABS / SERVICES ----------------------------- */
.tabs__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tab-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 100px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.tabs__panels { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .4s var(--ease); }

.feature { display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: start; }
.feature__icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--accent-tint); color: var(--accent);
  display: grid; place-items: center;
}
.feature__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature__body h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.feature__body > p { color: var(--muted); max-width: 640px; margin-bottom: 22px; font-size: 17px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15.5px; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BA1212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ----------------------------- STEPS ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; background: var(--accent); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.step__title { font-size: 21px; margin-bottom: 10px; }
.step__text { color: var(--muted); font-size: 15.5px; }

/* ----------------------------- MODEL / PLANS ----------------------------- */
.model__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 42px); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--accent); box-shadow: 0 24px 60px -28px var(--accent); }
.plan__tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); padding: 6px 12px; border-radius: 100px; margin-bottom: 18px; }
.plan__name { font-size: 30px; margin-bottom: 12px; }
.plan__desc { color: var(--muted); margin-bottom: 22px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 26px; }
.plan__list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BA1212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ----------------------------- CASES / RESULTS ----------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case__tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.case__stat { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6vw, 62px); color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.case__label { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 10px 0 14px; }
.case__text { color: var(--muted); font-size: 15.5px; }

.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3.2vw, 32px); color: var(--ink); line-height: 1.35; letter-spacing: -.02em; }
.quote__author { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* ----------------------------- ABOUT ----------------------------- */
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__text p { color: var(--muted); margin-bottom: 18px; max-width: 560px; }
.about__text .btn { margin-top: 10px; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about__stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 24px; }
.about__stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); color: var(--accent); line-height: 1; }
.about__stat-label { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ----------------------------- MISSION / VISION / VALUES ----------------------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto clamp(44px, 6vw, 68px); }
.mv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 42px); box-shadow: var(--shadow-sm); }
.mv-card__icon { display: block; width: 38px; height: 38px; margin-bottom: 16px; }
.mv-card__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mv-card__label { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); padding: 6px 14px; border-radius: 100px; margin-bottom: 18px; }
.mv-card__text { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.28; letter-spacing: -.01em; color: var(--ink); }

.values-title { text-align: center; font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 26px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.4); border-radius: var(--radius); overflow: hidden; max-width: 1000px; margin: 0 auto; box-shadow: 0 24px 60px -28px rgba(186,18,18,.55); }
.value { background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px 22px; transition: background .25s var(--ease); }
.value:hover { background: var(--accent-2); }
.value__icon { width: 46px; height: 46px; display: block; }
.value__icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.value h4 { font-size: 19px; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
@media (max-width: 760px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mv-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .values-grid { grid-template-columns: 1fr; } }

/* ----------------------------- CTA BAND ----------------------------- */
.cta-band { background: var(--dark); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .4; top: -160px; right: -80px; filter: blur(40px); }
.cta-band__inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; padding: clamp(60px, 8vw, 100px) 0; }
.cta-band__title { color: #fff; font-size: clamp(28px, 4.4vw, 48px); margin-bottom: 16px; }
.cta-band__sub { color: #cbbfb8; font-size: 18px; margin-bottom: 32px; }

/* ----------------------------- CONTACT ----------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact__details { display: grid; gap: 16px; margin: 28px 0; }
.contact__detail { display: flex; align-items: center; gap: 13px; color: var(--ink-2); }
.contact__detail svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact__detail a:hover { color: var(--accent); }
.contact__hint, .form__hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.form__hint a { color: var(--accent); }
.hp { display: none !important; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form__row .field { margin-bottom: 0; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--ink); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid #d6452f; border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field input:invalid:not(:placeholder-shown) { border-color: #d6452f; }
.form__success { margin-top: 16px; background: var(--accent-tint); color: var(--accent-2); padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 15px; }

/* ----------------------------- FOOTER ----------------------------- */
.site-footer { background: var(--dark); color: #b4a9a2; padding: clamp(56px, 7vw, 84px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__tagline { margin-top: 18px; max-width: 320px; font-size: 15px; color: #9b8f88; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 15px; color: #b4a9a2; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.social a:hover { background: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: #fff; stroke: #fff; }
.social a[aria-label="X"] svg { fill: none; stroke-width: 2; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 14px; color: #8a7e77; gap: 16px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--accent); }

/* ----------------------------- REVEAL ANIMATION ----------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ----------------------------- RESPONSIVE ----------------------------- */
@media (max-width: 980px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Nav collapses to a menu earlier — 6 items + CTA need room */
@media (max-width: 920px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 24px 26px;
    transform: translateY(-130%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow); z-index: 99;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__link { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 12px; }
  .nav__toggle { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .feature { grid-template-columns: 1fr; gap: 18px; }
  .feature-list { grid-template-columns: 1fr; }
  .model__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .tabs__panels { padding: 26px 20px; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .channel { font-size: 17px; }
}

/* ----------------------------- REDUCED MOTION ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .marquee__track { animation: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
