/* =====================================================================
   GRUPO AMARAL — Design System
   Glassmorphism + Claymorphism | Paleta tech/varejo (navy, azul, âmbar)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ---- Paleta ---- */
  --navy-900: #0B1220;
  --navy-800: #142850;
  --navy-700: #1B3B6F;
  --blue-500: #2E6FF2;
  --blue-300: #6FA0FF;
  --amber-600: #FF8A3D;
  --amber-400: #FFB56B;
  --amber-300: #FFD9AD;

  --ink: #10192E;
  --muted: #55618A;
  --bg-0: #F3F6FC;
  --bg-1: #E8EEFB;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-shadow: 0 8px 32px rgba(20, 40, 80, 0.14);

  --clay-bg: #EEF2FB;
  --clay-shadow-d: 10px 10px 22px rgba(163, 177, 208, 0.55);
  --clay-shadow-l: -10px -10px 22px rgba(255, 255, 255, 0.9);
  --clay-shadow-d-sm: 6px 6px 12px rgba(163, 177, 208, 0.5);
  --clay-shadow-l-sm: -6px -6px 12px rgba(255, 255, 255, 0.9);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --ff-heading: 'Poppins', 'Segoe UI', sans-serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1200px;
  --nav-h: 84px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #EAF0FF;
  --muted: #A9B6D8;
  --bg-0: #0A1120;
  --bg-1: #0F1A30;

  --glass-bg: rgba(20, 30, 55, 0.55);
  --glass-bg-strong: rgba(20, 30, 55, 0.78);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);

  --clay-bg: #101A30;
  --clay-shadow-d: 10px 10px 22px rgba(0, 0, 0, 0.55);
  --clay-shadow-l: -10px -10px 22px rgba(45, 62, 100, 0.35);
  --clay-shadow-d-sm: 6px 6px 12px rgba(0, 0, 0, 0.5);
  --clay-shadow-l-sm: -6px -6px 12px rgba(45, 62, 100, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #EAF0FF;
    --muted: #A9B6D8;
    --bg-0: #0A1120;
    --bg-1: #0F1A30;

    --glass-bg: rgba(20, 30, 55, 0.55);
    --glass-bg-strong: rgba(20, 30, 55, 0.78);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);

    --clay-bg: #101A30;
    --clay-shadow-d: 10px 10px 22px rgba(0, 0, 0, 0.55);
    --clay-shadow-l: -10px -10px 22px rgba(45, 62, 100, 0.35);
    --clay-shadow-d-sm: 6px 6px 12px rgba(0, 0, 0, 0.5);
    --clay-shadow-l-sm: -6px -6px 12px rgba(45, 62, 100, 0.3);
  }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg-0);
  background-image:
    radial-gradient(900px 500px at 85% -5%, rgba(46, 111, 242, 0.16), transparent 60%),
    radial-gradient(700px 460px at -5% 20%, rgba(255, 138, 61, 0.14), transparent 60%),
    radial-gradient(800px 500px at 50% 100%, rgba(27, 59, 111, 0.10), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}
h1, h2, h3, h4 { font-family: var(--ff-heading); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { line-height: 1.7; color: var(--muted); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--amber-300); color: var(--navy-900); }
.icon { flex-shrink: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-heading); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500);
  background: rgba(46, 111, 242, .1); padding: 6px 16px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }

/* ---- Utility ---- */
.grad-text {
  background: linear-gradient(100deg, var(--navy-700), var(--blue-500) 55%, var(--amber-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-center { text-align: center; }

/* =====================================================================
   GLASSMORPHISM
   ===================================================================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}
.glass-strong { background: var(--glass-bg-strong); }

/* =====================================================================
   CLAYMORPHISM
   ===================================================================== */
.clay {
  background: var(--clay-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow-d), var(--clay-shadow-l);
  border: 1px solid rgba(255,255,255,0.5);
}
.clay-icon {
  width: 68px; height: 68px; border-radius: var(--radius-md);
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-d-sm), var(--clay-shadow-l-sm);
}
.clay-icon svg { width: 32px; height: 32px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-heading); font-weight: 600; font-size: .95rem;
  padding: 15px 30px; border-radius: var(--radius-pill); border: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, filter .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(2px) scale(.98); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  box-shadow: 0 10px 24px rgba(46, 111, 242, 0.35), var(--clay-shadow-l-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(46, 111, 242, 0.4); }
.btn-accent {
  color: #3A1F00;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: 0 10px 24px rgba(255, 138, 61, 0.35);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(255, 138, 61, 0.4); }
.btn-ghost {
  color: var(--ink); background: var(--glass-bg);
  border: 1px solid var(--glass-border); backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--glass-bg-strong); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.nav-inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav.scrolled {
  height: 70px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 4px 24px rgba(20,40,80,.1);
  border-bottom: 1px solid var(--glass-border);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--ff-heading); }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.brand-tag { font-size: .66rem; color: var(--muted); letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--ff-heading); font-weight: 500; font-size: .92rem;
  color: var(--ink); padding: 10px 16px; border-radius: var(--radius-pill);
  position: relative; transition: background .25s ease, color .25s ease;
}
.nav-links a:hover { background: rgba(46,111,242,.1); color: var(--blue-500); }
.nav-links a.active { color: var(--blue-500); background: rgba(46,111,242,.12); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  display: grid; place-items: center; background: var(--clay-bg);
  box-shadow: var(--clay-shadow-d-sm), var(--clay-shadow-l-sm);
  color: var(--blue-500); transition: transform .3s ease;
}
.theme-toggle:hover { transform: rotate(15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }

.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--clay-bg); box-shadow: var(--clay-shadow-d-sm), var(--clay-shadow-l-sm);
  position: relative; flex-shrink: 0;
}
.nav-burger span, .nav-burger::before, .nav-burger::after {
  content: ''; position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all .3s ease;
}
.nav-burger::before { top: 15px; }
.nav-burger span { top: 21px; }
.nav-burger::after { top: 27px; }
.nav-burger.open::before { transform: translateY(6px) rotate(45deg); }
.nav-burger.open::after { transform: translateY(-6px) rotate(-45deg); }
.nav-burger.open span { opacity: 0; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(46,111,242,.25), transparent 60%),
    radial-gradient(50% 45% at 10% 25%, rgba(255,138,61,.22), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(27,59,111,.18), transparent 60%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(2px);
  z-index: -1; opacity: .55; will-change: transform;
}
.blob-1 { width: 280px; height: 280px; top: 12%; right: 8%; background: radial-gradient(circle at 30% 30%, var(--amber-400), var(--amber-600)); }
.blob-2 { width: 200px; height: 200px; bottom: 14%; left: 6%; background: radial-gradient(circle at 30% 30%, var(--blue-300), var(--blue-500)); }
.blob-3 { width: 140px; height: 140px; top: 55%; right: 22%; background: radial-gradient(circle at 30% 30%, var(--navy-700), var(--navy-900)); opacity: .35; }

.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  width: 100%;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}
.hero-copy p.lead { font-size: 1.12rem; max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600; font-family: var(--ff-heading);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500, var(--amber-600)); }

/* Hero visual: floating glass panel with clay app icons */
.hero-visual { position: relative; height: 460px; }
.hv-card {
  position: absolute; inset: 6% 4%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 18px; padding: 32px; text-align: center;
}
.hv-mark { width: 88px; height: 88px; }
.hv-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.hv-card p { font-size: .88rem; max-width: 260px; }

.hv-chip {
  position: absolute; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); width: 76px; height: 76px;
  will-change: transform;
}
.hv-chip svg { width: 34px; height: 34px; }
.chip-1 { top: -6%; left: -4%; }
.chip-2 { top: 6%; right: -8%; }
.chip-3 { bottom: 4%; left: -10%; }
.chip-4 { bottom: -6%; right: 6%; }

/* =====================================================================
   REVEAL ANIMATIONS
   ===================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(.9); }
[data-reveal="scale"].in-view { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-blob, .hv-chip, .float-y { animation: none !important; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-y { animation: floatY 5s ease-in-out infinite; }
.float-y.delay-1 { animation-delay: .6s; }
.float-y.delay-2 { animation-delay: 1.2s; }
.float-y.delay-3 { animation-delay: 1.8s; }

/* =====================================================================
   CARDS — services / values / units
   ===================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  padding: 36px 30px; transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-8px); }
.card h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.card p { font-size: .95rem; margin-bottom: 0; }
.card .btn { margin-top: 20px; }

.card-list { margin-top: 16px; }
.card-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .92rem; color: var(--muted); padding: 6px 0;
}
.card-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--blue-500); }

/* ---- Unit card ---- */
.unit-card { padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.unit-card .unit-tag {
  align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue-500); background: rgba(46,111,242,.1);
  padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 10px;
}
.unit-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.unit-card .unit-addr { font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.unit-card .unit-cnpj { font-size: .78rem; color: var(--muted); opacity: .8; margin-bottom: 16px; }
.unit-card-actions { display: flex; gap: 10px; margin-top: auto; }
.unit-card iframe { width: 100%; height: 190px; border: 0; border-radius: var(--radius-md); margin-bottom: 16px; }

.unit-card.featured { border: 1px solid rgba(255, 138, 61, 0.4); }
.unit-tag-sede { background: rgba(255, 138, 61, 0.14); color: var(--amber-600); }
.unit-card.featured .unit-card-actions { margin-top: 20px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

/* ---- Steps ---- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.steps::before {
  content: ''; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--amber-600));
  opacity: .3; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 28px 20px; }
.step-num {
  width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--ff-heading); font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
}
.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .85rem; }

/* ---- Value props (sobre) ---- */
.value-card { text-align: center; padding: 34px 26px; }
.value-card .clay-icon { margin: 0 auto 18px; }

/* =====================================================================
   CTA BANNER
   ===================================================================== */
.cta-banner {
  position: relative; padding: 64px; text-align: center; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(27,59,111,.9), rgba(46,111,242,.85) 55%, rgba(255,138,61,.85));
  z-index: -1;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 520px; margin: 0 auto 30px; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.24); }

/* =====================================================================
   FORM (contato)
   ===================================================================== */
.form-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.form-card { padding: 40px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--ff-heading); font-weight: 600; font-size: .85rem;
  margin-bottom: 8px; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; font-family: var(--ff-body); font-size: .95rem;
  color: var(--ink); background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); outline: none; transition: box-shadow .25s ease, border-color .25s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(46,111,242,.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-hp { position: absolute; left: -9999px; opacity: 0; }

.form-msg {
  display: none; align-items: center; gap: 10px; padding: 14px 18px;
  border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; margin-bottom: 18px;
}
.form-msg.show { display: flex; }
.form-msg.success { background: rgba(34, 197, 94, .12); color: #16803c; }
.form-msg.error { background: rgba(239, 68, 68, .12); color: #b91c1c; }
:root[data-theme="dark"] .form-msg.success { color: #4ade80; }
:root[data-theme="dark"] .form-msg.error { color: #f87171; }

.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; gap: 14px; padding: 20px; align-items: flex-start; }
.info-item .clay-icon { width: 52px; height: 52px; }
.info-item .clay-icon svg { width: 24px; height: 24px; }
.info-item h4 { font-size: .95rem; margin-bottom: 4px; }
.info-item p { font-size: .84rem; margin: 0; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { padding-top: 72px; position: relative; }
.footer-top { padding-bottom: 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-col h5 {
  font-family: var(--ff-heading); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px;
}
.footer-col p, .footer-col a { font-size: .88rem; color: var(--muted); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--blue-500); }
.footer-legal-line { font-size: .82rem; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid var(--glass-border); padding: 24px 0 40px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; margin: 0; }

/* =====================================================================
   PAGE HERO (inner pages)
   ===================================================================== */
.page-hero { padding: calc(var(--nav-h) + 72px) 0 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--blue-500); }

/* ---- CNAE / expertise blocks ---- */
.expertise-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 40px 0; }
.expertise-block:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.expertise-block:nth-child(even) .expertise-visual { order: 2; }
.expertise-visual { padding: 48px; display: grid; place-items: center; min-height: 300px; }
.expertise-visual svg { width: 100%; max-width: 260px; }
.expertise-text .eyebrow { margin-bottom: 14px; }
.expertise-text h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 16px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; margin-top: 20px; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .expertise-block, .expertise-block:nth-child(even) { grid-template-columns: 1fr; }
  .expertise-block:nth-child(even) .expertise-visual { order: 0; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: block; }
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 44px 24px; }

  .nav-mobile {
    position: fixed; inset: 70px 16px auto 16px; z-index: 99;
    padding: 20px; display: flex; flex-direction: column; gap: 6px;
    transform: translateY(-16px) scale(.98); opacity: 0; pointer-events: none;
    transition: all .3s ease;
  }
  .nav-mobile.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  .nav-mobile a {
    padding: 14px 16px; border-radius: var(--radius-sm); font-family: var(--ff-heading);
    font-weight: 500; color: var(--ink);
  }
  .nav-mobile a.active, .nav-mobile a:hover { background: rgba(46,111,242,.1); color: var(--blue-500); }
  .nav-mobile .btn { margin-top: 10px; }
}

@media (min-width: 721px) {
  .nav-mobile { display: none; }
}
