/* =========================================================================
   Versa / SkidPick Landing — Stylesheet
   Sections: 1. Tokens  2. Base  3. Layout  4. Header  5. Hero  6. Sections
             7. Cards   8. Steps 9. CTA  10. Footer  11. Animations  12. RTL
             13. Responsive
   ========================================================================= */

/* ------------------------------ 1. Tokens ------------------------------ */
:root {
  --navy: #0b1e3f;
  --navy-2: #0f2a57;
  --blue: #0b3a8c;
  --blue-2: #1e56c9;
  --cyan: #22b6ff;
  --cyan-2: #3fb9ef;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --border: #e4ecf7;
  --text: #0b1e3f;
  --muted: #5b6b86;

  --grad-primary: linear-gradient(135deg, #0b3a8c 0%, #22b6ff 100%);
  --grad-dark: linear-gradient(135deg, #0b1e3f 0%, #0b3a8c 60%, #22b6ff 120%);

  --shadow-sm: 0 4px 14px rgba(11, 30, 63, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(11, 58, 140, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 58, 140, 0.35);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ 2. Base ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[lang="ar"] body,
html[lang="ar"] { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; color: var(--muted); }

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-2);
  background: rgba(34, 182, 255, 0.1);
  padding: .4rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ------------------------------ 3. Layout ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section-alt { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.grid-2.reverse > :first-child { order: 2; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(34, 182, 255, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(34, 182, 255, 0.7);
  background: linear-gradient(135deg, #22b6ff, #0b3a8c);
}
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--blue); transform: translateY(-2px); }
.btn-ghost.light {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost.light:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.chip.cyan { background: rgba(34,182,255,.1); border-color: rgba(34,182,255,.3); color: var(--blue); }

/* ------------------------------ 4. Header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.75);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: .8rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; color: var(--navy); font-weight: 800; letter-spacing: .02em; }
.brand-text small { font-size: .72rem; color: var(--cyan-2); font-weight: 600; }

.nav {
  display: flex;
  gap: 1.6rem;
  margin-inline-start: auto;
}
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: .3rem 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.lang-toggle {
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: .82rem;
  color: var(--navy);
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--cyan); color: var(--blue); }
.lang-toggle .lang-ar { display: none; }
html[lang="ar"] .lang-toggle .lang-en { display: none; }
html[lang="ar"] .lang-toggle .lang-ar { display: inline; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
}
.hamburger span {
  width: 18px; height: 2px; background: var(--navy);
  transition: transform .3s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------ 5. Hero ------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.blob-1 { width: 420px; height: 420px; background: #22b6ff; top: -120px; right: -80px; animation: float 14s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: #0b3a8c; bottom: -140px; left: -80px; animation: float 18s ease-in-out infinite reverse; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,58,140,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,58,140,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-title { margin-top: .5rem; }
.hero-title span { display: block; }
.hero-sub { font-size: 1.12rem; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

.hero-stats {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { font-size: .82rem; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.logo-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: min(440px, 100%);
  /* aspect-ratio fallback for older Safari: fixed min-height keeps the square */
  min-height: 380px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo {
  width: 78%;
  max-width: 320px;
  height: auto;
  position: relative;
  z-index: 1;
  object-fit: contain;
}
.pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--cyan);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  animation: pulse 3s ease-out infinite;
  -webkit-animation: pulse 3s ease-out infinite;
}
.pulse-2 {
  animation-delay: 1.5s;
  -webkit-animation-delay: 1.5s;
}

/* ------------------------------ 6. Sections ------------------------------ */
.section-highlight {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brand-statement {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.brand-statement::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  padding: 4px;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .3;
  pointer-events: none;
  z-index: 0;
}

.brand-statement h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.brand-declaration {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: left;
}

.brand-declaration strong {
  color: var(--blue);
  font-weight: 700;
}

.brand-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.brand-item {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-align: center;
}

.brand-item strong {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-2);
  font-weight: 700;
}

.brand-item span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.brand-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.brand-link-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
}

.brand-link-item strong {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-2);
  font-weight: 700;
}

.brand-link-item a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  transition: color .3s var(--ease), transform .3s var(--ease);
  display: inline-block;
}

.brand-link-item a:hover {
  color: var(--blue);
  transform: translateY(-2px);
  text-decoration: underline;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card svg { width: 28px; height: 28px; color: var(--cyan); margin-bottom: .6rem; }
.stat-card h3 { margin-bottom: .25rem; font-size: 1rem; }
.stat-card p { margin: 0; font-size: .88rem; }
.stat-card.wide { grid-column: 1 / -1; }

.skidpick-visual { display: flex; justify-content: center; }
.logo-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  width: min(420px, 100%);
  position: relative;
}
.logo-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .4;
  pointer-events: none;
}
.logo-frame img { width: 100%; height: auto; }

/* ------------------------------ 7. Cards ------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34,182,255,.4);
}
.card:hover::before { transform: scaleX(1); }
.card.accent { background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%); }

.icon-chip {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px -8px rgba(34,182,255,.6);
}
.icon-chip svg { width: 26px; height: 26px; }

/* Benefits grid has 5 items -> make 3-2 on desktop */
#benefits .cards { grid-template-columns: repeat(6, 1fr); }
#benefits .card { grid-column: span 2; }
#benefits .card:nth-child(4) { grid-column: 2 / span 2; }
#benefits .card:nth-child(5) { grid-column: 4 / span 2; }

/* ------------------------------ 8. Steps ------------------------------ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  z-index: 0;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.4rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(34,182,255,.7);
}
.step h3 { margin-top: .8rem; }

/* ------------------------------ 9. CTA Band ------------------------------ */
.cta-band {
  background: var(--grad-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(34,182,255,.3), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.12), transparent 40%);
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-meta li { display: flex; flex-direction: column; font-size: .9rem; }
.contact-meta strong { color: var(--cyan-2); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.contact-meta a { color: #fff; font-weight: 600; }
.contact-meta a:hover { color: var(--cyan-2); }

.cta-form {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px);
  padding: 1.8rem;
  border-radius: var(--radius);
  display: grid;
  gap: .9rem;
}
.cta-form label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); }
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(11,30,63,.35);
  color: #fff;
  font: inherit;
  transition: border-color .2s, background .2s;
}
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(11,30,63,.55);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,.5); }
.form-status { margin: 0; font-size: .85rem; min-height: 1.2em; color: var(--cyan-2); }

/* ------------------------------ 10. Footer ------------------------------ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding-top: 3.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand img { width: 52px; height: 52px; border-radius: 10px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan-2); }

.social { display: flex; gap: .6rem; }
.social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .25s, transform .25s;
}
.social a:hover { background: var(--grad-primary); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.2rem;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}

/* ------------------------------ 11. Animations ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-20px) scale(1.08); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@-webkit-keyframes pulse {
  0%   { -webkit-transform: scale(1);    transform: scale(1);    opacity: .5; }
  100% { -webkit-transform: scale(1.25); transform: scale(1.25); opacity: 0;  }
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: .5; }
  100% { transform: scale(1.25); opacity: 0;  }
}
@-webkit-keyframes bob {
  0%, 100% { -webkit-transform: translateY(0);     transform: translateY(0); }
  50%      { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    -webkit-animation: none !important;
    animation: none !important;

    -webkit-transition: none !important;
    transition: none !important;

    scroll-behavior: auto !important;
  }
}

/* ------------------------------ 12. RTL ------------------------------ */
html[dir="rtl"] .grid-2.reverse > :first-child { order: 0; }
html[dir="rtl"] .nav a::after { transform-origin: right; }
html[dir="rtl"] .card::before { transform-origin: right; }
html[dir="rtl"] .hero-stats { direction: rtl; }

/* ------------------------------ 13. Responsive ------------------------------ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: start; }
  .hero-visual { order: -1; }
  .logo-card { width: min(340px, 100%); padding: 1.8rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse > :first-child { order: 0; }
  .cards, .cards.three { grid-template-columns: repeat(2, 1fr); }
  #benefits .cards { grid-template-columns: repeat(2, 1fr); }
  #benefits .card,
  #benefits .card:nth-child(4),
  #benefits .card:nth-child(5) { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .8rem 1.2rem 1.2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: 0; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }

  .hamburger { display: inline-flex; }
  .header-actions .btn { display: none; }

  .brand-meta { grid-template-columns: 1fr; gap: 1rem; }
  .brand-links { grid-template-columns: 1fr; gap: 1rem; }
  .brand-declaration { font-size: .95rem; }

  .cards, .cards.three { grid-template-columns: 1fr; }
  #benefits .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr; }
  .stat-card.wide { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats strong { font-size: 1.3rem; }
}

@media (max-width: 420px) {
  .brand-text small { display: none; }
  .btn { padding: .8rem 1.2rem; }
}
