/* ==========================================================================
   WitWay — Hoja de estilos principal
   Sitio estático (HTML5 + CSS3 + JavaScript vanilla). Sin frameworks.
   Orden: 1) Tokens  2) Reset  3) Base  4) Utilidades  5) Componentes
          6) Header/Nav  7) Hero  8) Secciones  9) Documentos legales
          10) Footer  11) Movimiento y accesibilidad  12) Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) Tokens de diseño
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --bg: #070b16;
  --bg-soft: #0b1122;
  --bg-elevated: #0f1730;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #e9edf7;
  --text-soft: #c3cbdd;
  --muted: #98a3bd;

  --violet: #8a63f2;
  --blue: #3b7bff;
  --brand-gradient: linear-gradient(115deg, #8a63f2 0%, #5b6cf5 48%, #3b7bff 100%);
  --brand-gradient-soft: linear-gradient(115deg, rgba(138, 99, 242, 0.18), rgba(59, 123, 255, 0.18));

  --focus: #9dbcff;

  /* Tipografía */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-h1: clamp(2.05rem, 1.35rem + 3.4vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem);
  --fs-h3: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Espaciado y forma */
  --container: 1140px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 22px 60px -30px rgba(0, 0, 0, 0.85);
  --header-h: 68px;
  --transition: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2) Reset ligero
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body,
h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; }

ul[class], ol[class] { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

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

/* --------------------------------------------------------------------------
   3) Base
   -------------------------------------------------------------------------- */
body {
  min-height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58rem 32rem at 78% -10%, rgba(59, 123, 255, 0.20), transparent 70%),
    radial-gradient(48rem 30rem at 8% 4%, rgba(138, 99, 242, 0.18), transparent 70%),
    linear-gradient(180deg, #070b16 0%, #070b16 55%, #050810 100%);
}

h1, h2, h3, h4 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 650;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { color: var(--text-soft); text-wrap: pretty; }

strong { color: var(--text); font-weight: 650; }

::selection { background: rgba(138, 99, 242, 0.35); color: #fff; }

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

/* --------------------------------------------------------------------------
   4) Utilidades
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.section__head { max-width: 62ch; }

.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.lead {
  margin-top: 1rem;
  font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.15rem);
  color: var(--text-soft);
}

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -140%;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 12px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  font-weight: 600;
  transition: translate var(--transition);
}

.skip-link:focus { translate: -50% 0; }

/* Tarjeta base (superficie tipo vidrio, uso moderado) */
.card {
  position: relative;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.965rem; }

.card--interactive:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--brand-gradient-soft);
  color: #fff;
}

.icon-badge svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   5) Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 620;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn--primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 16px 36px -20px rgba(91, 108, 245, 0.95);
}

.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 20px 42px -20px rgba(91, 108, 245, 1); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover { background: var(--surface-strong); transform: translateY(-1px); }

.btn--link {
  padding-inline: 0;
  min-height: 0;
  background: none;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(157, 188, 255, 0.5);
  text-underline-offset: 4px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

/* --------------------------------------------------------------------------
   6) Header y navegación
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 22, 0.55);
  backdrop-filter: blur(14px);
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(6, 9, 18, 0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 30px -24px rgba(0, 0, 0, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.18rem;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
}

.brand__name { font-weight: 700; }

.brand__name-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% + 8px);
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 15, 30, 0.97);
  box-shadow: var(--shadow);
}

.nav.is-open { display: flex; }

.nav__list { display: flex; flex-direction: column; gap: 0.15rem; }

.nav__link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 550;
  transition: background-color var(--transition), color var(--transition);
}

.nav__link:hover { background: var(--surface); color: var(--text); }

.nav__link[aria-current="page"],
.nav__link.is-active { color: var(--text); background: var(--surface-strong); }

.nav__cta { margin-top: 0.5rem; width: 100%; }

/* --------------------------------------------------------------------------
   7) Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 9vw, 6.5rem);
  overflow: hidden;
}

/* Retícula técnica sutil de fondo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 6vw, 3.5rem);
  align-items: center;
}

.hero__content { max-width: 60ch; }

.hero__title { margin-bottom: 0.35rem; }

.hero__title-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text { max-width: 54ch; font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.16rem); }

.hero__note {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 550;
}

/* Visual del hero: SVG + superficies glass */
.hero-visual {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.hero-visual__frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 70% at 30% 22%, rgba(138, 99, 242, 0.22), transparent 70%),
    radial-gradient(70% 70% at 78% 80%, rgba(59, 123, 255, 0.24), transparent 72%),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.hero-visual__svg { position: absolute; inset: 8%; width: 84%; height: 84%; }

.hero-visual__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}

.hero-visual__badge--top { top: 8%; right: -2%; }
.hero-visual__badge--bottom { bottom: 9%; left: -2%; }

.hero-visual__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

/* --------------------------------------------------------------------------
   8) Secciones: servicios, nosotros, valores, CTA, contacto
   -------------------------------------------------------------------------- */
.section__head + .grid { margin-top: clamp(1.75rem, 4vw, 2.75rem); }

.service-card { display: flex; flex-direction: column; }

.values { display: grid; gap: clamp(0.85rem, 2vw, 1.15rem); }

.value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: clamp(1.15rem, 2.6vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.value__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--brand-gradient-soft);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.value h3 { margin-bottom: 0.3rem; }
.value p { font-size: 0.95rem; }

.about__layout {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: start;
}

.about__text p + p { margin-top: 1rem; }

.facts {
  display: grid;
  gap: 0.15rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.facts__title { margin-bottom: 0.85rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.facts__row {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.facts__row:last-child { border-bottom: 0; padding-bottom: 0; }

.facts__label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.facts__value { font-weight: 600; word-break: break-word; }

.facts__value a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(157, 188, 255, 0.45); text-underline-offset: 3px; }
.facts__value a:hover { text-decoration-color: var(--focus); }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(138, 99, 242, 0.28), transparent 62%),
    radial-gradient(80% 120% at 90% 100%, rgba(59, 123, 255, 0.28), transparent 62%),
    rgba(255, 255, 255, 0.02);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band p { max-width: 58ch; margin-inline: auto; margin-top: 0.9rem; }

.cta-band .btn-row { justify-content: center; }

.contact-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.35rem); }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: clamp(1.1rem, 2.6vw, 1.45rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--transition), background-color var(--transition);
}

.contact-item:hover { border-color: var(--border-strong); background: var(--surface-strong); }

.contact-item .icon-badge { margin-bottom: 0; flex: 0 0 auto; }

.contact-item__label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.contact-item__value { font-weight: 620; overflow-wrap: anywhere; }

.contact-item__value a:hover { color: var(--focus); }

.copy-btn {
  margin-top: 0.4rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.copy-btn:hover { color: var(--text); border-color: var(--focus); }

.legal-note {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9) Páginas de documento (legales)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(2.5rem, 7vw, 4.25rem) clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(138, 99, 242, 0.10), transparent);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.9rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.breadcrumb a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.doc-meta { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); }

.prose {
  max-width: 78ch;
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
}

.prose h2 {
  margin-top: clamp(2rem, 4vw, 2.6rem);
  padding-top: 0.35rem;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
}

.prose h2:first-of-type { margin-top: 0; }

.prose h3 { margin-top: 1.5rem; font-size: 1.075rem; }

.prose p, .prose li { color: var(--text-soft); }

.prose p + p, .prose ul + p, .prose ol + p, .prose p + ul, .prose p + ol { margin-top: 0.9rem; }

.prose ul, .prose ol { margin-top: 0.9rem; padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.prose ul { list-style: none; padding-left: 0; }

.prose ul li { position: relative; padding-left: 1.5rem; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--muted); font-weight: 600; }

.prose a { color: #cbd8ff; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }

.doc-callout {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.doc-callout p { font-size: 0.95rem; }

.doc-actions { margin-top: 1.75rem; }

.doc-toc {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.doc-toc__title { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }

.doc-toc ol { margin-top: 0; font-size: 0.93rem; }

/* --------------------------------------------------------------------------
   10) Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.25));
}

.footer__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}

.footer__brand p { margin-top: 0.75rem; max-width: 34ch; font-size: 0.95rem; }

.footer__col { min-width: 0; }

.footer__col-title {
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__links { display: grid; gap: 0.5rem; font-size: 0.95rem; }

.footer__links a { color: var(--text-soft); transition: color var(--transition); }
.footer__links a:hover { color: var(--text); }

.footer__contact { display: grid; gap: 0.5rem; font-size: 0.95rem; color: var(--text-soft); }
.footer__contact a:hover { color: var(--text); }

.footer__social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.social-link:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-strong); }
.social-link svg { width: 16px; height: 16px; }

.footer__bottom {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.1rem 1.6rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11) Movimiento y accesibilidad
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   12) Responsive (mobile-first)
   -------------------------------------------------------------------------- */
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }

  .nav-toggle { display: none; }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .nav__list { flex-direction: row; align-items: center; gap: 0.2rem; }

  .nav__link { padding: 0.55rem 0.9rem; }

  .nav__cta { margin-top: 0; width: auto; margin-left: 0.6rem; }

  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }

  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .about__layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1100px) {
  .hero-visual { max-width: 520px; }
}
