/* ============================================================
   SuFera. — Brand landing page
   Palette derived from the SuFera identity guidelines
   ============================================================ */

:root {
  /* Brand palette */
  --maroon:      #7c1f2b;   /* Primary — Redoubt */
  --maroon-deep: #5f1620;   /* Darker maroon */
  --maroon-tint: #a23644;   /* Hover / lighter */
  --charcoal:    #262427;   /* Obsidian */
  --ink:         #1c1a1c;
  --pink:        #f4d7dc;   /* Blush */
  --pink-soft:   #faeef0;
  --paper:       #ffffff;
  --mist:        #ece9e7;   /* Light grey */
  --mist-soft:   #f6f4f2;
  --line:        #e3ded9;
  --muted:       #6c6569;

  /* Type */
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --font: var(--font-en);

  /* Layout */
  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(28,26,28,.06), 0 1px 2px rgba(28,26,28,.04);
  --shadow-md: 0 12px 30px rgba(28,26,28,.10);
  --shadow-lg: 0 30px 60px rgba(95,22,32,.16);
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] { --font: var(--font-ar); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 6px 16px rgba(124,31,43,.25); }
.btn-primary:hover { background: var(--maroon-tint); box-shadow: 0 10px 24px rgba(124,31,43,.32); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--maroon); color: var(--maroon); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; font-weight: 800; }
.brand-logo { height: 46px; width: auto; }
.brand-word { font-size: 1.22rem; letter-spacing: -.02em; font-family: var(--font-en); white-space: nowrap; }
.brand-dot { color: var(--maroon); }

.main-nav { display: flex; gap: 28px; margin-inline-start: auto; }
.main-nav a {
  font-size: .95rem; font-weight: 500; color: var(--muted);
  position: relative; transition: color .2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--maroon); transition: width .25s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: 0; }
.main-nav + .header-actions { margin-inline-start: 0; }

.lang-toggle {
  background: var(--mist-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .85rem;
  cursor: pointer; color: var(--ink); transition: background .2s, border-color .2s;
  min-width: 58px;
}
.lang-toggle:hover { background: var(--pink-soft); border-color: var(--maroon); color: var(--maroon); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0; background:
  radial-gradient(1000px 500px at 85% -10%, var(--pink-soft), transparent 60%),
  linear-gradient(180deg, #fff, var(--mist-soft)); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 40px;
}
.hero-copy { max-width: 560px; }

/* Super Future logo — its own right-hand column, so text can never overlap it */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; min-width: 0; }
.hero-visual img { width: 100%; max-width: 500px; height: auto; opacity: .14; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--maroon); background: var(--pink); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.03em; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { font-size: .95rem; color: var(--maroon); font-weight: 600; border-inline-start: 3px solid var(--pink); padding-inline-start: 14px; letter-spacing: .01em; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--charcoal); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-inline-end: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-inline-end: 0; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; color: #fff; font-family: var(--font-en); letter-spacing: -.02em; }
.stat-label { display: block; font-size: .85rem; color: #b8b2b4; margin-top: 6px; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 110px) 0; position: relative; overflow: hidden;
  /* blueprint-style dot grid */
  background-image: radial-gradient(rgba(38,36,39,.10) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
}
.section-alt { background-color: var(--mist-soft); }

/* Decorative geometry — a distinct accent per section */
.section::before, .section::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.section > .container { position: relative; z-index: 1; }

/* About — rounded aperture frame (top-right) + soft pink glow */
#about::before { width: 320px; height: 320px; border: 2px solid rgba(124,31,43,.18); border-radius: 30px; top: -110px; inset-inline-end: 6%; animation: drift 20s ease-in-out infinite alternate; }
#about::after  { width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244,215,220,.8), transparent 70%); bottom: -260px; inset-inline-start: -170px; animation: drift 26s ease-in-out infinite alternate-reverse; }

/* Divisions — concentric rings (top-left) + maroon glow */
#divisions::before { width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(124,31,43,.16); box-shadow: 0 0 0 26px rgba(124,31,43,.05); top: 14%; inset-inline-start: -70px; animation: drift 22s ease-in-out infinite alternate; }
#divisions::after  { width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,31,43,.10), transparent 70%); bottom: -220px; inset-inline-end: -160px; animation: drift 24s ease-in-out infinite alternate-reverse; }

/* Industries — rotated square / diamond (bottom-right) + pink glow */
#industries::before { width: 260px; height: 260px; border: 2px solid rgba(124,31,43,.15); bottom: -80px; inset-inline-end: 9%; transform: rotate(45deg); animation: spinDrift 28s ease-in-out infinite alternate; }
#industries::after  { width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244,215,220,.7), transparent 70%); top: -240px; inset-inline-start: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }

/* Why — large sweeping arc (top-right) + maroon glow */
#why::before { width: 520px; height: 520px; border-radius: 50%; border: 2px solid rgba(124,31,43,.13); top: -280px; inset-inline-end: -140px; animation: drift 30s ease-in-out infinite alternate; }
#why::after  { width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,31,43,.08), transparent 70%); bottom: -180px; inset-inline-start: -120px; animation: drift 26s ease-in-out infinite alternate-reverse; }

/* Process — circle (bottom-left) + pink glow top-right */
#process::before { width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(124,31,43,.16); bottom: -110px; inset-inline-start: 4%; animation: drift 24s ease-in-out infinite alternate; }
#process::after  { width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244,215,220,.75), transparent 70%); top: -260px; inset-inline-end: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }

@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-44px, 34px); } }
@keyframes spinDrift { from { transform: rotate(45deg) translate(0, 0); } to { transform: rotate(45deg) translate(-28px, 26px); } }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-alt .section-head { }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 14px;
}
.kicker::before { content: "— "; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Platform features */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
}
.platform-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pf-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--pink);
  color: var(--maroon); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px;
}
.platform-feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.platform-feature p { color: var(--muted); }

/* Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--maroon-tint));
  transform: scaleX(0); transform-origin: inline-start; transition: transform .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar-tag { font-size: .85rem; font-weight: 800; color: var(--maroon); font-family: var(--font-en); }
.pillar h3 { font-size: 1.35rem; margin: 8px 0 12px; }
.pillar > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.pillar ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pillar li { font-size: .92rem; padding-inline-start: 22px; position: relative; }
.pillar li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 3px; background: var(--pink); border: 1.5px solid var(--maroon);
}

/* Work — single feature */
.work-feature-lg {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.work-feature-lg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wf-media {
  background: #fff; display: grid; place-items: center; padding: 48px 32px;
  border-inline-end: 1px solid var(--line);
}
.fmf-logo { width: 82%; max-width: 380px; height: auto; }
.wf-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.work-tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: var(--maroon); text-transform: uppercase; }
.wf-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 14px; }
.wf-body p { color: var(--muted); font-size: 1.02rem; }

/* Strengths (About) */
.strengths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.strengths-grid h3 { text-wrap: balance; }

/* Divisions */
.divisions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar.division { padding: 34px; }
.pillar.division h3 { font-size: 1.5rem; }
.conv-band {
  margin-top: 24px; background: var(--maroon); color: #fff;
  border-radius: var(--radius); padding: 28px 32px;
}
.conv-label {
  display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 10px;
}
.conv-band p { font-size: 1.05rem; max-width: 80ch; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 16px; text-align: center; font-weight: 600; font-size: 1rem; color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s, color .2s;
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--maroon); color: var(--maroon); }

/* Steps — two columns with divider lines between stages */
.steps { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 4px;
  align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line);
}
.step:nth-child(odd) { padding-inline-end: 36px; border-inline-end: 1px solid var(--line); }
.step:nth-child(even) { padding-inline-start: 36px; }
.step-no {
  grid-row: 1 / span 2; align-self: start;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--charcoal); color: #fff; font-weight: 800; font-family: var(--font-en);
  font-size: 1.1rem;
}
.step h3 { grid-column: 2; font-size: 1.2rem; margin: 0; }
.step p { grid-column: 2; color: var(--muted); font-size: .97rem; margin: 0; }

/* Quote band */
.quote-band { background: var(--maroon); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.quote-band blockquote { max-width: 820px; margin: 0 auto; text-align: center; }
.vision-kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 22px;
}
.quote-band p { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; color: var(--pink); font-size: .95rem; letter-spacing: .04em; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--maroon); box-shadow: var(--shadow-md); }
.price-card .badge {
  position: absolute; top: 18px; inset-inline-end: 18px; background: var(--pink); color: var(--maroon);
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.price { font-size: 2.2rem; font-weight: 800; font-family: var(--font-en); letter-spacing: -.02em; }
.price-desc { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-card li { font-size: .95rem; padding-inline-start: 26px; position: relative; }
.price-card li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; color: var(--maroon); font-weight: 800;
}

/* CTA */
/* Contact — dark, premium treatment with the logo as a large faint watermark */
.cta { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0; background:
  radial-gradient(900px 500px at 80% 8%, #353236, transparent 60%), var(--charcoal); color: #fff; }
/* Super Future logo centred behind the whole section */
.cta-bg-mark {
  position: absolute; z-index: 0; top: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: min(82vw, 900px);
  opacity: .05; pointer-events: none; user-select: none;
}
.cta-bg-mark img { width: 100%; height: auto; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-copy .kicker { color: var(--pink); }
.cta-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 16px; color: #fff; }
.cta-copy p { color: #c9c3c6; font-size: 1.1rem; max-width: 44ch; }

/* Contact details list — icon boxes + divider lines between rows */
.contact-details { list-style: none; margin: 32px 0 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-details li {
  display: flex; align-items: center; gap: 16px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cd-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: var(--pink);
}
.cd-icon svg { width: 21px; height: 21px; }
.cd-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cd-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #a9a2a5; }
.cd-value { font-size: 1.05rem; color: #f2eff0; font-weight: 500; width: fit-content; }
a.cd-value { transition: color .2s; }
a.cd-value:hover { color: var(--pink); }
.cta-tagline { margin-top: 30px; font-style: italic; font-weight: 600; color: #e8e3e5; font-size: 1.02rem; }

.cta-form {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 32px; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: #e3dfe1; }
.field input, .field textarea {
  font-family: inherit; font-size: .98rem; padding: 12px 14px; color: #fff;
  border: 1.5px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); background: rgba(255,255,255,.06);
  transition: border-color .2s, background .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--maroon-tint); background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 4px rgba(162,54,68,.18);
}
.form-note { font-size: .9rem; text-align: center; min-height: 1.2em; color: #cfc9cb; }
.form-note.ok { color: #6ee7a0; }
.form-note.err { color: #ff9aa6; }

/* Footer */
.site-footer { background: var(--charcoal); color: #cfc9cb; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-top: 64px; padding-bottom: 44px;
}
.footer-logo { width: 172px; height: auto; }
.footer-brand p { margin-top: 16px; color: #a49ea0; font-size: .95rem; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; letter-spacing: .02em; }
.footer-col a { color: #a49ea0; font-size: .92rem; transition: color .2s; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 30px; border-top: 1px solid rgba(255,255,255,.09);
  font-size: .82rem; color: #8f898b;
}
.footer-badge { letter-spacing: .12em; font-weight: 600; font-size: .72rem; color: var(--pink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .section::before, .section::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 340px; grid-row: 1; }
  .hero-sub { max-width: none; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .divisions-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .work-feature-lg { grid-template-columns: 1fr; }
  .wf-media { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 40px 24px; }
  .pillars-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-bg-mark { width: min(92vw, 560px); opacity: .045; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform .3s var(--ease); box-shadow: var(--shadow-md);
    margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 560px) {
  .pillars-grid, .steps, .footer-inner, .platform-grid, .strengths-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(odd) { padding-inline-end: 0; border-inline-end: 0; }
  .step:nth-child(even) { padding-inline-start: 0; }
  .container { padding-inline: 18px; }
}
