/* =========================================================
   Cortés Accounting — hoja de estilos
   Paleta oficial del logo: índigo profundo, negro y naranja
   ========================================================= */

:root {
  --ind-950: #0d0c20;
  --ind-900: #131129;
  --ind-800: #1a1740;
  --ind-700: #241f63;
  --ind-600: #322b8f;   /* índigo del logo */
  --ind-500: #4038b8;
  --acc-700: #b03d06;
  --acc-600: #d64a0a;
  --acc-500: #e8630a;   /* naranja del logo */
  --acc-400: #f0812a;
  --acc-300: #f6a54e;
  --paper: #f7f6f2;
  --paper-2: #efeee7;
  --white: #ffffff;
  --ink: #14141c;
  --ink-2: #48485e;
  --ink-brand: #211d5e;
  --line: #e4e2d9;
  --d-ink: #eef0f7;
  --d-ink-2: #a9adc9;
  --d-line: rgba(255, 255, 255, 0.14);
  --ok: #1e7f4f;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(13, 12, 32, 0.06), 0 8px 24px rgba(13, 12, 32, 0.07);
  --shadow-2: 0 2px 6px rgba(13, 12, 32, 0.1), 0 20px 48px rgba(13, 12, 32, 0.16);
  --container: 1160px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: rgba(232, 99, 10, 0.28); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 36px);
}

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc-700);
  margin-bottom: 14px;
}

.section-dark .eyebrow, .hero .eyebrow { color: var(--acc-300); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--d-ink-2); max-width: 54ch; }

.fine { font-size: 0.84rem; color: var(--ink-2); opacity: 0.85; }

.section-dark .fine { color: var(--d-ink-2); }

.hl { background: linear-gradient(transparent 76%, rgba(232, 99, 10, 0.5) 0); }

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--acc-500); color: var(--white);
  padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--acc-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem; font-family: var(--font-body);
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 19px; height: 19px; fill: currentColor; }

.btn-cta {
  background: linear-gradient(180deg, var(--acc-400), var(--acc-600));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232, 99, 10, 0.38);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232, 99, 10, 0.48); }

.btn-ghost { border-color: var(--d-line); color: var(--d-ink); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: var(--acc-400); color: var(--acc-300); }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13, 12, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--d-line);
  box-shadow: 0 6px 24px rgba(13, 12, 32, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 2px 6px rgba(13, 12, 32, 0.35)); }
.brand-name { display: flex; flex-direction: column; line-height: 1.04; }
.brand-name strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.14rem;
  letter-spacing: 0.09em; color: var(--white);
}
.brand-name em {
  font-family: var(--font-display); font-style: normal; font-weight: 500;
  font-size: 0.98rem; letter-spacing: 0.02em; color: #9d97f2;
}

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.site-nav > a:not(.btn) {
  color: var(--d-ink-2); font-weight: 500; font-size: 0.95rem;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav > a:not(.btn):hover { color: var(--acc-300); }
.site-nav > a:not(.btn).active { color: var(--white); border-bottom-color: var(--acc-500); }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--d-ink); margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.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;
  background: var(--ind-900);
  color: var(--d-ink);
  padding: calc(var(--header-h) + clamp(48px, 9vh, 96px)) 0 clamp(64px, 10vh, 110px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(232, 99, 10, 0.13), transparent 60%),
    radial-gradient(700px 500px at -8% 110%, rgba(64, 56, 184, 0.4), transparent 60%),
    linear-gradient(180deg, var(--ind-950), var(--ind-900) 40%, var(--ind-800));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(75% 65% at 50% 35%, #000 30%, transparent 100%);
}
.hero-mark {
  position: absolute; right: -140px; bottom: -160px;
  width: 560px; height: 560px; opacity: 0.07;
  transform: rotate(12deg); pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats { display: flex; gap: clamp(24px, 4vw, 52px); flex-wrap: wrap; }
.hero-stats > div { border-left: 2px solid var(--acc-500); padding-left: 16px; }
.hero-stats dt { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--acc-300); line-height: 1; }
.hero-stats dd { font-size: 0.85rem; color: var(--d-ink-2); max-width: 15ch; margin-top: 6px; }

/* Composición visual del hero */
.hero-visual { position: relative; min-height: 380px; }
.panel {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-2);
  border: 1px solid rgba(13, 12, 32, 0.06);
}
.panel-main { position: relative; padding: 22px 22px 14px; max-width: 400px; margin-inline: auto; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel-title { font-weight: 600; font-size: 0.95rem; }
.tag { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.tag-ok { background: rgba(30, 127, 79, 0.12); color: var(--ok); }

.bars { width: 100%; height: 110px; }
.bars .axis { stroke: var(--line); stroke-width: 1; }
.bars .bar { fill: var(--ind-600); opacity: 0.85; }
.bars .bar-acc { fill: var(--acc-500); }
.bars .spark { fill: none; stroke: var(--acc-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 4 5; }

.panel-rows { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 6px; }
.prow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 0.86rem; color: var(--ink-2); }
.prow b { color: var(--ok); font-weight: 600; white-space: nowrap; }

.panel-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; font-size: 0.86rem; line-height: 1.3;
}
.panel-float small { color: var(--ink-2); display: block; margin-top: 2px; }
.panel-cal { top: -26px; right: -6px; animation: floaty 7s ease-in-out infinite; }
.panel-check { bottom: -22px; left: -4px; animation: floaty 8s ease-in-out 1.2s infinite; }
.cal-ico { font-size: 1.4rem; }
.check-ico {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 700;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Franja de trayectoria ---------- */
.cred { background: var(--paper); border-bottom: 1px solid var(--line); }
.cred-inner { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding-block: 22px; flex-wrap: wrap; }
.cred-label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.cred-list { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; }
.cred-list li { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink-brand); }
.cred-list small { font-family: var(--font-body); font-weight: 400; color: var(--ink-2); font-size: 0.8rem; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 10vh, 118px); }
.section-paper { background: var(--paper); }
.section-dark { background: linear-gradient(180deg, var(--ind-900), var(--ind-800)); color: var(--d-ink); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vh, 56px); }
.section-sub { color: var(--ink-2); margin-top: 16px; font-size: 1.04rem; }
.section-dark .section-sub { color: var(--d-ink-2); }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Servicios ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(232, 99, 10, 0.45); }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--ind-700), var(--ind-500));
  color: var(--acc-300); display: grid; place-items: center;
  transition: background 0.22s ease;
}
.card:hover .card-ico { background: linear-gradient(135deg, var(--acc-600), var(--acc-400)); color: var(--white); }
.card-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; color: var(--ink-brand); }
.card > p { color: var(--ink-2); font-size: 0.95rem; }
.card-list { list-style: none; margin: 16px 0 18px; display: grid; gap: 8px; }
.card-list li { padding-left: 26px; position: relative; font-size: 0.93rem; }
.card-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--acc-600); font-weight: 700;
}
.plain {
  margin-top: auto; background: var(--paper); border-left: 3px solid var(--acc-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; font-size: 0.9rem; color: var(--ink-2);
}
.plain b { color: var(--ink-brand); }
.section .fine { margin-top: 26px; }

/* ---------- Quiénes somos ---------- */
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(48px, 6vh, 64px); }
.founder {
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--d-line);
  border-radius: var(--radius); padding: 28px 26px;
}
.founder-avatar {
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--acc-400), var(--acc-600)); color: var(--white);
}
.founder-team { background: linear-gradient(135deg, var(--ind-500), var(--ind-700)); color: var(--acc-300); border: 1px solid var(--d-line); }
.founder h3 { margin-bottom: 4px; }
.founder-role { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc-300); margin-bottom: 12px; }
.founder p:last-child { color: var(--d-ink-2); font-size: 0.94rem; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(44px, 6vh, 60px); }
.timeline li { position: relative; padding-top: 22px; border-top: 2px solid var(--d-line); }
.timeline li::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--acc-500); box-shadow: 0 0 0 5px rgba(232, 99, 10, 0.18);
}
.timeline b { font-family: var(--font-display); font-size: 1.15rem; color: var(--acc-300); display: block; margin-bottom: 6px; }
.timeline span { color: var(--d-ink-2); font-size: 0.94rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  text-align: center; padding: 22px 18px;
  border: 1px solid var(--d-line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.value b { font-family: var(--font-display); font-size: 1.12rem; color: var(--acc-300); display: block; margin-bottom: 6px; }
.value span { color: var(--d-ink-2); font-size: 0.9rem; }

/* ---------- Metodología ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step { position: relative; padding-top: 8px; }
.step::before {
  content: ""; position: absolute; top: 33px; left: 58px; right: -14px;
  border-top: 2px dashed var(--line);
}
.step:last-child::before { display: none; }
.step-n {
  position: relative; z-index: 1;
  width: 50px; height: 50px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  background: var(--ind-700); color: var(--acc-300);
  box-shadow: 0 0 0 6px var(--white), var(--shadow-1);
}
.step h3 { margin-bottom: 8px; color: var(--ink-brand); }
.step p { font-size: 0.93rem; color: var(--ink-2); }

/* ---------- Aprenda ---------- */
.didactic-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }

.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1); overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(232, 99, 10, 0.5); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 1rem; color: var(--ink-brand);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line); position: relative; transition: transform 0.25s ease, background 0.25s ease;
}
.faq-chevron::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 8px; height: 8px; border-right: 2px solid var(--acc-600); border-bottom: 2px solid var(--acc-600);
  transform: rotate(45deg) translate(-1.5px, -1.5px);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); background: var(--paper); }
.faq-body { padding: 0 22px 20px; color: var(--ink-2); font-size: 0.95rem; }

.didactic-side { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.know, .glossary {
  border-radius: var(--radius); padding: 26px 24px;
}
.know { background: var(--ind-800); color: var(--d-ink); }
.know-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 14px; color: var(--acc-300); }
.know ul { list-style: none; display: grid; gap: 14px; }
.know li { padding-left: 24px; position: relative; font-size: 0.92rem; color: var(--d-ink-2); }
.know li::before { content: "→"; position: absolute; left: 0; color: var(--acc-400); font-weight: 700; }
.know li b { color: var(--d-ink); }

.glossary { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.glossary .know-title { color: var(--ink-brand); }
.glossary dl { display: grid; gap: 14px; }
.glossary dt { font-weight: 700; font-size: 0.9rem; color: var(--ink-brand); }
.glossary dt::after { content: ""; display: block; width: 26px; border-top: 2px solid var(--acc-500); margin-top: 4px; }
.glossary dd { font-size: 0.88rem; color: var(--ink-2); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(232, 99, 10, 0.18), transparent 60%),
    linear-gradient(120deg, var(--ind-950), var(--ind-700));
  color: var(--d-ink);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding-block: clamp(48px, 7vh, 72px); flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--d-ink-2); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; }
.contact-info h2 { margin-bottom: 26px; color: var(--ink-brand); }
.contact-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.c-ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ind-600); display: grid; place-items: center;
}
.c-ico svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 3px; }
.contact-list a { color: var(--ink-brand); font-weight: 500; }
.contact-list a:hover { color: var(--acc-600); }

.contact-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.btn-outline { border-color: var(--ind-600); color: var(--ind-600); background: transparent; }
.btn-outline:hover { background: var(--ind-600); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ind-950); color: var(--d-ink-2); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-block: clamp(48px, 7vh, 68px) 36px;
}
.footer-brand p { font-size: 0.92rem; margin-top: 16px; max-width: 30ch; }
.footer-title { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc-400); margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.93rem; }
.footer-col a:hover { color: var(--acc-300); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--d-line); padding-block: 22px; font-size: 0.85rem;
}
.footer-base .fine { color: var(--d-ink-2); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(13, 12, 32, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(13, 12, 32, 0.4); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-mark { width: 420px; right: -120px; bottom: -130px; }
  .founders, .timeline, .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px; }
  .step::before { display: none; }
  .didactic-grid { grid-template-columns: 1fr; }
  .didactic-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(13, 12, 32, 0.98); backdrop-filter: blur(12px);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 24px 26px; border-bottom: 1px solid var(--d-line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav > a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .site-header { background: rgba(13, 12, 32, 0.92); backdrop-filter: blur(10px); }

  .cards-grid, .founders, .timeline, .values, .steps, .contact-list { grid-template-columns: 1fr; }
  .panel-cal { top: -18px; right: 0; }
  .panel-check { bottom: -16px; left: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-base { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .cta-band { display: none; }
  .section-dark, .hero { background: #fff; color: #000; }
}
