:root {
  --bg: #080a0f;
  --surface: #0f1219;
  --surface2: #151b24;
  --ink: #e8e6e0;
  --muted: #6b7280;
  --accent: #4fffb0;
  --accent-dim: rgba(79,255,176,.12);
  --accent-glow: rgba(79,255,176,.06);
  --gold: #c9a84c;
  --border: rgba(232,230,224,.08);
  --border-accent: rgba(79,255,176,.2);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Syne', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* CURSOR */
a,
button,
[role="button"],
input[type="submit"] { cursor: pointer; }

/* GRID BG */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,255,176,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,255,176,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 4rem;
  background: rgba(8,10,15,.85);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 0.5px solid var(--border-accent);
  color: var(--accent);
  padding: .55rem 1.4rem;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
}
.nav-cta:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(79,255,176,.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(201,168,76,.04) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .8s .1s forwards;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 14ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .9s .25s forwards;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-headline .dim { color: var(--muted); }

.hero-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp .9s .4s forwards;
}
.hero-body strong { color: var(--ink); font-weight: 400; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  opacity: 0;
  animation: fadeUp .9s .55s forwards;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: .9rem 2.4rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s, transform .15s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: .9rem 2.4rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 0.5px solid var(--border);
  text-decoration: none;
  display: inline-block;
  transition: border-color .2s;
}
.btn-ghost:hover { border-color: rgba(232,230,224,.3); }

.hero-stats {
  display: flex;
  gap: 3rem;
  opacity: 0;
  animation: fadeIn 1s .7s forwards;
  border-top: 0.5px solid var(--border);
  padding-top: 3rem;
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .3rem;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* TICKER */
.ticker-wrap {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: .85rem 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 2rem;
  flex-shrink: 0;
}
.ticker-sep { color: var(--accent); padding: 0; }

/* SECTION WRAPPER */
section { position: relative; z-index: 1; }

/* PROBLEM */
.problem {
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  border-bottom: 0.5px solid var(--border);
}
.problem-eyebrow {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.section-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}
.section-headline em { font-style: italic; color: var(--accent); }
.section-headline .dim { color: var(--muted); }

.pain-list { list-style: none; margin-top: 1.5rem; }
.pain-list li {
  padding: 1.2rem 0;
  border-bottom: 0.5px solid var(--border);
  font-size: .9rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.6;
}
.pain-list li:last-child { border-bottom: none; }
.pain-list li::before {
  content: '×';
  color: rgba(255,80,80,.5);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: .1rem;
}
.pain-list li strong { color: var(--ink); font-weight: 400; }

/* WHAT WE DO */
.what {
  padding: 8rem 4rem;
  border-bottom: 0.5px solid var(--border);
}
.what-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.what-body {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1.5rem;
}
.what-body strong { color: var(--ink); font-weight: 400; }
.what-tagline {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-style: italic;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.service-card {
  background: var(--bg);
  padding: 2.5rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.service-card:hover { background: var(--surface); }
.service-card:hover::after { transform: scaleX(1); }

.service-index {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.service-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.service-price {
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .08em;
  border-top: 0.5px solid var(--border);
  padding-top: 1rem;
}
.service-items { list-style: none; margin-bottom: 1.5rem; }
.service-items li {
  font-size: .78rem;
  color: rgba(107,114,128,.8);
  padding: .28rem 0;
  padding-left: .9rem;
  position: relative;
}
.service-items li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CASES */
.cases {
  padding: 8rem 4rem;
  border-bottom: 0.5px solid var(--border);
}
.cases-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.case-card {
  background: var(--bg);
  padding: 2rem 1.8rem;
  transition: background .2s;
}
.case-card:hover { background: var(--surface); }
.case-co {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.case-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: .7rem;
  line-height: 1.3;
}
.case-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.case-result {
  font-size: .78rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.case-result::before {
  content: '';
  display: block;
  width: 1.2rem;
  height: 1px;
  background: var(--accent);
}

/* PROCESS */
.process {
  padding: 8rem 4rem;
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.process-steps {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 12%;
  right: 12%;
  height: 0.5px;
  background: var(--border-accent);
}
.process-step { padding: 0 1.5rem; }
.step-dot {
  width: 3rem;
  height: 3rem;
  border: 0.5px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  background: var(--surface);
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: .6rem;
}
.step-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ABOUT */
.about {
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  align-items: center;
  border-bottom: 0.5px solid var(--border);
}
.about-eyebrow {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.about-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.about-headline em { font-style: italic; color: var(--accent); }
.about-body {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.credentials { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.cred {
  background: var(--surface);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: background .2s;
}
.cred:hover { background: var(--surface2); }
.cred-badge {
  width: 38px; height: 38px;
  border: 0.5px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  color: var(--accent);
  letter-spacing: .06em;
  flex-shrink: 0;
  font-family: var(--sans);
}
.cred-name {
  font-size: .82rem;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 2px;
}
.cred-detail {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* CTA */
.cta-section {
  padding: 10rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 20vw;
  font-weight: 700;
  color: rgba(79,255,176,.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -.03em;
  user-select: none;
}
.cta-eyebrow {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.cta-eyebrow::before, .cta-eyebrow::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}
.cta-headline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 auto 1.5rem;
}
.cta-headline em { font-style: italic; color: var(--accent); }
.cta-sub {
  font-size: .95rem;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.cta-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto 1rem;
  border: 0.5px solid var(--border-accent);
}
.cta-form input {
  flex: 1;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: none;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink);
  outline: none;
}
.cta-form input::placeholder { color: var(--muted); }
.cta-form button {
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}
.cta-form button:hover { opacity: .88; }
.cta-note {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .06em;
}

/* FOOTER */
footer {
  padding: 2.5rem 4rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
}
.footer-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.footer-copy { font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: .7rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-links a:hover { color: var(--ink); }

/* MODIFIERS — new sections, same design system */
.process-steps.steps-8 { grid-template-columns: repeat(4, 1fr); row-gap: 3.5rem; }
.process-steps.steps-8::before { display: none; }
.cases-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
.services-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.pain-list.list-positive li::before { content: '✓'; color: var(--accent); }
.section-label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.section-tag {
  display: inline-block;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 0.5px solid var(--border);
  padding: .25rem .7rem;
  margin-top: .5rem;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s, transform .75s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .15s; }
.reveal-delay2 { transition-delay: .3s; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-stats { flex-wrap: wrap; gap: 2rem; }
  .problem, .what-intro, .cases-intro, .about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .process { padding: 5rem 1.5rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-steps::before { display: none; }
  .what, .cases { padding: 5rem 1.5rem; }
  .cta-section { padding: 6rem 1.5rem; }
  .cta-form { flex-direction: column; border: none; gap: 8px; }
  .cta-form input { border: 0.5px solid var(--border-accent); }
  .cta-form button { padding: .9rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem 1.5rem; }
  .process-steps.steps-8 { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .cases-grid.grid-4 { grid-template-columns: 1fr; }
  .services-grid.grid-3 { grid-template-columns: 1fr; }
}

/* ===== FORM COMPONENTS ===== */
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  width: 100%;
}
.form-row input {
  flex: 1;
  width: 100%;
  display: block;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: none;
  border-bottom: 0.5px solid var(--border-accent);
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink);
  outline: none;
  border-right: 0.5px solid var(--border);
}
.form-row input::placeholder { color: var(--muted); }
.form-row input:focus { background: var(--surface2); }
.form-row button {
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  transition: opacity .2s;
  flex: 1;
  min-width: 0;
}
.form-row button:hover { opacity: .88; }
.form-row button:disabled,
.form-row button[aria-busy="true"] {
  opacity: .55;
  cursor: not-allowed;
  background: var(--muted);
  color: var(--surface);
}
#diagnostico-form {
  max-width: 600px;
  margin: 0 auto 1rem;
  border: 0.5px solid var(--border-accent);
  display: flex;
  flex-direction: column;
}
/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: var(--bg);
  padding: .8rem 1.4rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
  z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ===== HERO STAT LABEL (was inline) ===== */
.hero-stat-num--label { font-size: 1.6rem; letter-spacing: -.02em; }
.accent-dot { color: var(--accent); }

/* ===== WHATSAPP BUTTON (was inline + onmouseover) ===== */
.contact-links {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border: 0.5px solid var(--border-accent);
  color: var(--accent);
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.btn-whatsapp:hover { background: rgba(79,255,176,.08); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  letter-spacing: .1em;
  margin-right: 1.5rem;
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: .2rem .3rem;
  transition: color .2s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] {
  color: var(--accent);
  font-weight: 500;
}
.lang-sep { color: var(--border-accent); }

/* ===== MOBILE MENU ===== */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0.5px solid var(--border);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 200;
}
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform .25s, opacity .25s, top .25s;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5.5px; }
.nav-toggle-bars span:nth-child(3) { top: 11px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 5.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 5.5px; transform: rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 6rem 2rem 3rem;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  text-decoration: none;
}
.mobile-panel .nav-cta {
  font-family: var(--sans);
  font-size: .8rem;
}
.mobile-panel .lang-switch {
  font-size: .8rem;
  margin-top: 1rem;
}
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .lang-switch { display: none; }
}
@media (min-width: 901px) {
  .mobile-panel, .nav-toggle { display: none; }
}

/* ===== FORM STATES ===== */
.form-hidden-field { display: none !important; }
.form-status {
  margin-top: 1rem;
  font-size: .8rem;
  letter-spacing: .04em;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #f87171; }
#diagnostico-form.is-submitting { opacity: .6; pointer-events: none; }

/* ===== FORM UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.form-field { flex: 1; min-width: 0; }
.cta-form-wrap { max-width: 600px; margin: 0 auto 1rem; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .72rem;
  color: var(--muted);
  margin-top: .75rem;
  text-align: left;
}
.consent-label input { margin-top: .2rem; }

/* ===== THANK-YOU PAGES ===== */
.thanks-wrap {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.thanks-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(79,255,176,.10) 0%, transparent 70%);
  pointer-events: none;
}
.thanks-check {
  width: 56px; height: 56px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent);
  position: relative;
}
.thanks-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 1.2rem;
  position: relative;
}
.thanks-body {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
  max-width: 48ch;
  margin-bottom: .75rem;
  position: relative;
}
.thanks-alt {
  color: var(--ink);
  font-size: .9rem;
  margin-bottom: 2rem;
  position: relative;
}
.thanks-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/* ===== LEGAL PAGES ===== */
.legal { max-width: 68ch; margin: 0 auto; padding: 9rem 1.5rem 6rem; }
.legal h1 { font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 1rem; }
.legal h2 { font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 2.2rem 0 .8rem; }
.legal p, .legal li { color: var(--muted); font-size: .92rem; line-height: 1.85; margin-bottom: .8rem; }
.legal ul { margin: 0 0 1rem 1.2rem; }
.legal a { color: var(--ink); }
.legal .notice { border-left: 2px solid var(--accent); padding-left: 1.2rem; color: var(--ink); margin-bottom: 2rem; }

/* ===== FRAMEWORK INTRO BODY (EN) ===== */
.framework-intro-body { margin-top: 1rem; max-width: 56ch; }
