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

:root {
  --black: #0a0a0a;
  --white: #e8eaf0;
  --accent: #1D4E89;
  --accent2: #2563a8;
  /* Versión clara de --accent, solo para texto/iconos de UI sobre fondos oscuros.
     #1D4E89 da 2.36:1 sobre #0a0a0a (falla WCAG AA). #4E8DD9 da ~5.8:1. */
  --accent-text: #4E8DD9;
  --steel: #141414;
  --steel2: #1e1e1e;
  --muted: #7a7e8a;
  --border: rgba(220,228,255,0.1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-height: 6rem;
}

html {
  scroll-behavior: smooth;
  /* Compensa el nav fijo para que el título de cada sección no quede tapado al navegar por anclas */
  scroll-padding-top: var(--nav-height);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw + 0.5rem, 18px);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--accent-text);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* ── FOCUS VISIBLE (accesibilidad de teclado) ── */
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 0.9vw, 0.78rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 0.9vw, 0.78rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-text);
  border: 1px solid var(--accent-text);
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--white);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* evita el salto por la barra de URL en móvil */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem,8vw,8rem) clamp(1.5rem,5vw,5rem) clamp(3rem,5vw,5rem);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(29,78,137,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 90% 20%, rgba(37,99,168,0.07) 0%, transparent 60%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,240,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,232,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 0.9vw, 0.78rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw + 1rem, 9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-title .accent { color: var(--accent-text); }

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  margin-top: 1.5rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--accent2); }

.btn-outline {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--white); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.8vw, 0.7rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 3rem;
  background: var(--muted);
}

/* ── TICKER ── */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--steel);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.9vw, 0.76rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ticker-item .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── MOTION TOGGLE (WCAG 2.2.2 — pausar contenido en movimiento) ── */
.motion-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .2s, border-color .2s;
}
.motion-toggle:hover { color: var(--white); border-color: var(--white); }
body.motion-paused .ticker-track { animation-play-state: paused; }

/* ── SECTIONS ── */
section {
  padding: 8rem 4rem;
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.8vw, 0.7rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

/* ── ABOUT ── */
#nosotros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  color: rgba(245,240,232,0.65);
  font-weight: 300;
  font-size: clamp(0.92rem, 1.3vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
}

.stat-box {
  background: var(--steel);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--accent-text);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.8vw, 0.7rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── SERVICES ── */
#servicios { background: var(--steel); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}

.service-card {
  background: var(--black);
  padding: 2.5rem;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover { background: #111; }

.service-num {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.8vw, 0.7rem);
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 2rem;
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-text);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.service-desc {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── WHY ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  margin-top: 4rem;
}

.why-item {
  background: var(--steel);
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.why-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
}

.why-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.why-desc {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── FAQ ── */
#faq { background: var(--steel); }

.faq-list {
  max-width: 900px;
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
}

.faq-question-icon {
  flex-shrink: 0;
  font-family: var(--font-mono);
  color: var(--accent-text);
  transition: transform 0.2s;
}
.faq-item.open .faq-question-icon { transform: rotate(45deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  color: rgba(245,240,232,0.65);
  font-weight: 300;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.75;
  padding-bottom: 1.5rem;
  max-width: 720px;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--accent);
  padding: clamp(2.5rem,4vw,3.5rem) clamp(1.5rem,5vw,5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.cta-band .cta-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  max-width: 600px;
}

.btn-dark {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-dark:hover { background: var(--steel2); }

/* ── CONTACT ── */
#contacto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info { padding-top: 1rem; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-line:first-of-type { border-top: 1px solid var(--border); }

.contact-line-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  opacity: 0.5;
}

.contact-line-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-value {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: var(--white);
}

.contact-value a {
  color: var(--accent-text);
  text-decoration: none;
}

.contact-value a:hover { text-decoration: underline; }

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea,
form select {
  background: var(--steel);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  width: 100%;
  transition: border-color 0.2s;
}

form input::placeholder,
form textarea::placeholder { color: var(--muted); }

form input:focus,
form textarea:focus,
form select:focus { border-color: var(--accent-text); }

form textarea { resize: vertical; min-height: 140px; }

form select { color: var(--muted); } /* placeholder hasta elegir un valor real */
form select.has-value { color: var(--white); }

form button {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

form button:hover:not(:disabled) { background: var(--accent2); }
form button:disabled { opacity: 0.6; cursor: not-allowed; }

.form-rescue {
  display: none;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-text);
  text-decoration: underline;
}
.form-rescue.show { display: inline-block; }

/* ── FOOTER ── */
footer {
  background: var(--steel);
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.8vw, 0.7rem);
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.8vw, 0.7rem);
  letter-spacing: 0.15em;
  color: var(--muted);
  text-align: right;
}

.footer-links {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--white); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  h1 { line-height: 0.95; }
}

@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-scroll { display: none; }
  section { padding: 5rem 1.5rem; }
  #nosotros { grid-template-columns: 1fr; gap: 3rem; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; padding: 2.5rem 1.5rem !important; }
  #contacto { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
  .footer-tagline { text-align: center; }
  .lang-switcher { display: none; }
}

/* ── IA Carousel ── */
.ia-carousel-wrap {
  flex-shrink: 0;
  width: 100%;
}
.ia-carousel {
  background: rgba(29,78,137,0.10);
  border: 1px solid rgba(29,78,137,0.38);
  padding: clamp(1.25rem,2vw,1.75rem);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ia-slide {
  display: none;
  animation: iaFadeIn 0.35s ease;
  flex-direction: column;
  flex: 1;
}
.ia-slide.active { display: flex; flex-direction: column; }
@keyframes iaFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.ia-slide-label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.75vw, 0.62rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ia-line { display:inline-block; width:12px; height:1px; background:var(--accent); flex-shrink:0; }
.ia-stat-val {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,2.5vw,2.2rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.ia-accent { color: var(--accent-text); }
.ia-stat-desc {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.9vw, 0.78rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.ia-divider { height:1px; background:rgba(29,78,137,0.22); margin:0.65rem 0; }
.ia-bullets {
  list-style: none;
  padding: 0; margin: 0 0 0.75rem;
}
.ia-bullets li {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.72vw, 0.6rem);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
  margin-bottom: 5px;
}
.ia-bullets li::before {
  content:'';
  position:absolute; left:0; top:50%;
  transform:translateY(-50%);
  width:4px; height:4px;
  background:var(--accent);
  border-radius:50%;
}
.ia-cta {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.75vw, 0.62rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
  border: 1px solid rgba(29,78,137,0.38);
  padding: 7px 12px;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
  margin-top: auto;
}
.ia-cta:hover { background: rgba(29,78,137,0.18); }
.ia-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 2px;
  gap: 6px;
}
.ia-prev, .ia-next {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  transition: color .2s;
}
.ia-prev:hover, .ia-next:hover { color: var(--white); }
.ia-dots { display:flex; gap:6px; align-items:center; }
.ia-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
  opacity: 0.4;
}
.ia-dot.active { background: var(--accent-text); opacity: 1; transform: scale(1.3); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ── */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a, .nav-mobile-overlay button {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-mobile-overlay a:hover, .nav-mobile-overlay button:hover { color: var(--accent-text); }
.nav-mobile-lang {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.nav-mobile-lang button {
  font-family: var(--font-mono) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.15em !important;
  color: var(--muted) !important;
}
.nav-mobile-lang button.active { color: var(--accent-text) !important; }
.nav-mobile-lang span { color: var(--border); }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.8vw, 0.68rem);
  letter-spacing: .12em;
  color: var(--muted);
  padding: 2px;
  transition: color .2s;
}
.lang-btn.active { color: var(--accent-text); font-weight: 500; }
.lang-btn:hover { color: var(--white); }
.lang-sep { color: var(--border); font-size: 0.75rem; user-select:none; }

@media (max-width: 768px) {
  .ia-carousel-wrap { width: 100%; }
  .ia-carousel { min-height: 280px; }
}

/* ── Hero two-column layout ── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr clamp(220px, 22vw, 280px);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-right {
  display: flex;
  flex-direction: column;
  align-self: center;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { width: 100%; }
  .ia-carousel-wrap { width: 100%; }
}
@media (max-width: 768px) {
  .hero {
    padding: 5.5rem 1.5rem 3rem;
    justify-content: flex-start;
  }
  .hero-title {
    font-size: clamp(2.8rem, 11vw, 5rem) !important;
  }
  .hero-scroll { display: none; }
}

/* ── PREFERS REDUCED MOTION (WCAG 2.3.3) ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { animation: none; }
}

/* ── PRINT ── */
@media print {
  body::before, .hero-bg, .hero-grid, nav, .ticker, .ia-carousel-wrap,
  .cta-band, form, .nav-mobile-overlay, .skip-link, .motion-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding: 1.5rem 0; page-break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
  .hero { min-height: 0; padding: 0; }
}
