/* =====================================================
   Unika · Hoja de estilos principal
   ===================================================== */

:root {
  --navy:        #0b2033;
  --navy-2:      #0e2b45;
  --navy-3:      #123a5c;
  --blue:        #1ea7e0;
  --blue-deep:   #0c7cb5;
  --blue-grad:   linear-gradient(135deg, #33b4e8 0%, #0c7cb5 100%);
  --ink:         #16232f;
  --muted:       #5b6b7a;
  --muted-light: #9fb0bd;
  --bg:          #ffffff;
  --bg-soft:     #f3f8fb;
  --bg-dark:     #0b2033;
  --border:      #e3ecf2;
  --grey-accent: #9aa5ad;

  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 2px rgba(16, 42, 66, .06), 0 4px 16px rgba(16, 42, 66, .06);
  --shadow-md:   0 12px 40px rgba(12, 45, 77, .12);
  --container:   1140px;

  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head:   'Sora', var(--font-body);
}

/* ---------- 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);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { color: var(--muted); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.container.narrow { max-width: 820px; }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: radial-gradient(1200px 600px at 15% 0%, #12395c 0%, var(--navy) 55%);
  color: #dce7ef;
}
.section-dark h2 { color: #fff; }
.section-dark p  { color: #b6c7d4; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head .section-sub { margin-top: 12px; font-size: 1.05rem; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: #5fc4ec; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue-grad); color: #fff; box-shadow: 0 10px 24px rgba(12, 124, 181, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(12, 124, 181, .45); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-light { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 32, 51, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.brand img { height: 38px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.main-nav a {
  color: #cddae4;
  font-size: .95rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.main-nav .nav-cta {
  background: var(--blue-grad);
  color: #fff;
  margin-left: 8px;
  padding: 10px 20px;
  border-radius: 999px;
}
.main-nav .nav-cta:hover { background: var(--blue-grad); filter: brightness(1.05); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s 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;
  background: var(--navy);
  color: #fff;
  padding: clamp(80px, 13vw, 150px) 0 clamp(70px, 11vw, 130px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.hero-bg .blob-1 { width: 520px; height: 520px; background: #1ea7e0; top: -160px; right: -120px; }
.hero-bg .blob-2 { width: 420px; height: 420px; background: #0c7cb5; bottom: -180px; left: -100px; opacity: .4; }
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: #7fd0f0; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #c3d3de;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-trust {
  list-style: none;
  padding: 0;
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.hero-trust li {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #d7e4ec;
  background: rgba(255, 255, 255, .04);
}

/* ---------- Cards (servicios) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cfe6f4;
}
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8f6fd, #d2ecfa);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .97rem; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split-text h2 { margin-bottom: 16px; }
.split-text > p { margin-bottom: 20px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: #cfdde7;
}
.section-dark .check-list li { color: #cfdde7; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-grad);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.split-media { display: grid; gap: 14px; }
.stack-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  color: #e7f1f7;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .2s ease, background .2s ease;
}
.stack-card:hover { transform: translateX(6px); background: rgba(255, 255, 255, .1); }
.stack-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4fc3ec;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(79, 195, 236, .2);
}

/* ---------- Steps (proceso) ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: var(--blue-grad);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .95rem; }

/* ---------- Tecnologías ---------- */
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tags span {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}
.kit-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}
.kit-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.kit-box p { color: #bcccd8; margin-bottom: 22px; }

/* ---------- Value grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.value {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.value h3 { margin-bottom: 8px; }
.value p { font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 18px 34px 18px 0;
  position: relative;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-deep);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue-grad);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 0;
}
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .9); margin-bottom: 26px; }

/* ---------- Contacto ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 20px;
}
.contact-list li { display: grid; gap: 2px; }
.contact-list .c-label {
  font-family: var(--font-head);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.contact-list a { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.contact-list a:hover { color: var(--blue-deep); }
.contact-list .c-inline { font-size: .9rem; font-weight: 500; color: var(--blue-deep); }

.form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-md);
}
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fdfefe;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 167, 224, .15);
}
.field textarea { resize: vertical; min-height: 120px; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--muted);
}
.consent input { margin-top: 3px; flex-shrink: 0; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-legal { font-size: .82rem; color: var(--muted-light); margin-top: 4px; }

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
}
.form-status.is-ok { background: #e7f7ee; color: #1b7a45; border: 1px solid #b9e5cc; }
.form-status.is-error { background: #fdecec; color: #b3261e; border: 1px solid #f3c2c0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b6c7d4;
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #8ba1b1; font-size: .95rem; max-width: 320px; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-nav h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-nav a { color: #b6c7d4; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .85rem;
}
.footer-bottom ul { list-style: none; padding: 0; display: flex; gap: 18px; }
.footer-bottom a { color: #8ba1b1; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Enlace en tarjeta de servicio ---------- */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--blue-deep);
}
.card-link:hover { text-decoration: none; gap: 10px; }

/* ---------- Página de servicio ---------- */
.subhero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1000px 500px at 12% -10%, #12395c 0%, var(--navy) 58%);
  color: #fff;
  padding: clamp(64px, 10vw, 120px) 0 clamp(52px, 8vw, 90px);
}
.subhero .container { position: relative; z-index: 1; max-width: 780px; }
.subhero h1 { color: #fff; margin: 8px 0 18px; }
.subhero p { color: #c3d3de; font-size: clamp(1.02rem, 1.8vw, 1.2rem); max-width: 620px; }
.subhero .hero-actions { margin-top: 30px; }
.subhero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
  background: #1ea7e0;
  width: 460px;
  height: 460px;
  top: -180px;
  right: -120px;
}

.breadcrumb {
  font-size: .85rem;
  color: #8fb8d0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #8fb8d0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #5f829a; }

/* Rejilla de prestaciones */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.feat .feat-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f6fd, #d2ecfa);
  margin-bottom: 14px;
}
.feat h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feat p { font-size: .93rem; }

/* Lista con checks sobre fondo claro */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 28px;
}
.tick-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: .96rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-grad);
}
.tick-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Paquetes orientativos */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: start;
}
.plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.plan.is-featured {
  border-color: var(--blue);
  box-shadow: 0 16px 44px rgba(12, 124, 181, .18);
  position: relative;
}
.plan .plan-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--blue-grad);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .plan-for { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan .plan-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.plan .plan-price small { font-weight: 500; font-size: .8rem; color: var(--muted); }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}
.plan ul li {
  position: relative;
  padding-left: 26px;
  font-size: .93rem;
  color: var(--muted);
}
.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-deep);
  font-weight: 700;
}

/* Integraciones / add-ons */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.addon {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 20px;
}
.addon h4 { font-size: 1rem; margin-bottom: 4px; }
.addon p { font-size: .88rem; }

.section-dark .feat,
.section-dark .plan { color: var(--ink); }

/* ---------- Páginas legales ---------- */
.legal-main { padding: clamp(48px, 8vw, 90px) 0; }
.legal-main .container { max-width: 800px; }
.legal-main h1 { margin-bottom: 8px; }
.legal-main .updated { color: var(--muted-light); font-size: .9rem; margin-bottom: 36px; }
.legal-main h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main ul { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.legal-main a { color: var(--blue-deep); }
.back-home {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-head);
  font-weight: 600;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--navy);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Anchor offset ---------- */
:target { scroll-margin-top: 90px; }
section[id] { scroll-margin-top: 84px; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--navy-2);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 80vh; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 22px 22px;
  }
  .main-nav a { padding: 14px 12px; font-size: 1rem; }
  .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
