/* Plus Jakarta Sans — auto-hospedada (subconjuntos latin y latin-ext) */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/pjs-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/pjs-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/pjs-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/pjs-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/pjs-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/pjs-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/pjs-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/pjs-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/pjs-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/pjs-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ═══════════════════════════════════════════════════════════════
   TECZUN — HOME 3 · Azul estilo Roller / TechnologyAdvice / BCP
   Escala de azules tomada de la referencia (Roller):
   #011332 → #032663 → #033180 (royal) → #074DC5 → #6BA0FA → #CEDFFD
   Acento naranja de CTA (Roller/BCP). Tipografía única: Plus Jakarta Sans.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Paleta armonizada con el hero "galaxy" de TechnologyAdvice:
     superficies oscuras = #141E2D (su color de footer), azul interactivo
     índigo (alineado con su violeta #332FFF) y cian para acentos en oscuro. */
  --navy-70:  #141E2D;
  --navy-60:  #182538;
  --royal:    #141E2D;
  --blue:     #4353FF;
  --sky:      #2EE2E2;
  --ice-20:   #9FAFFF;
  --ice:      #DFE4FF;
  --ice-bg:   #F1F3FA;
  --white:    #FFFFFF;
  --ink:      #141E2D;
  --muted:    #515563;
  --border:   #E3E8F4;
  --accent:   #FF4D1C;
  --accent-dark: #E63E10;

  /* Hero "galaxy" (colores reales de TechnologyAdvice) */
  --galaxy-base:   #141E2D;
  --galaxy-violet: rgba(51, 47, 255, 0.6);
  --galaxy-cyan:   rgba(46, 226, 226, 0.8);
  --cyan-accent:   #2EE2E2;
  --amber:    #FFB020;
  --success:  #12B76A;

  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  /* Sombras azuladas (como las de Roller) */
  --shadow-card: 0 8px 16px rgba(18, 77, 178, 0.05), 0 24px 40px rgba(18, 77, 178, 0.10);
  --shadow-card-hover: 0 8px 24px rgba(18, 77, 178, 0.08), 0 24px 60px rgba(18, 77, 178, 0.16);
  --shadow-ondark: 0 8px 16px rgba(1, 19, 50, 0.25), 0 24px 40px rgba(1, 19, 50, 0.5);

  --radius: 20px;
  --container: 1250px;
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; line-height: 1.35; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

/* ── Botones (pill, como Roller) ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 2rem; font-size: 1.02rem; }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 77, 28, 0.3); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--royal); }
.btn-white:hover { background: var(--ice); }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--royal); }

.btn-outline-blue { border: 2px solid var(--ice-20); color: var(--blue); background: var(--white); }
.btn-outline-blue:hover { border-color: var(--blue); }

/* ── Top bar (anuncio, estilo Roller) ─────────────────────── */
.topbar {
  background: #0B121E;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  text-align: center;
}
.topbar-tag {
  background: rgba(46, 226, 226, 0.14);
  color: var(--cyan-accent);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.14rem 0.6rem;
  border-radius: 999px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--cyan-accent);
  font-weight: 700;
  transition: gap 0.15s ease;
}
.topbar a:hover { gap: 0.55rem; text-decoration: underline; }

/* ── Header: transparente, integrado en el hero (estilo Roller/TA) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(20, 30, 45, 0.92);      /* mismo #141E2D del hero, translúcido */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(7, 12, 22, 0.35);
}
.header-inner { display: flex; align-items: center; gap: 1.6rem; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand-name { font-weight: 800; font-size: 1.38rem; letter-spacing: -0.02em; color: var(--white); }
.main-nav { display: flex; gap: 1.7rem; margin-inline: auto; }
.main-nav a { font-weight: 600; font-size: 0.94rem; color: rgba(255, 255, 255, 0.78); transition: color 0.15s; }
.main-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 0.9rem; margin-left: auto; }

/* Selector de idioma */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
  padding: 0.5rem 0.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  transition: border-color 0.15s;
}
.lang-btn:hover { border-color: var(--cyan-accent); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 500;
}
.lang-menu a:hover { background: var(--ice-bg); }
.lang-menu a.is-active { color: var(--blue); font-weight: 700; }
/* Banderas SVG del selector de idioma */
.flag {
  flex-shrink: 0;
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(20, 30, 45, 0.12);
}
.lang-btn .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero: fondo "galaxy" de TechnologyAdvice, menú integrado ── */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 90%, var(--galaxy-violet) -50%, rgba(51, 47, 255, 0) 40%),
    radial-gradient(circle at 105% -10%, var(--galaxy-cyan) -50%, rgba(46, 226, 226, 0) 30%),
    var(--galaxy-base);
  color: var(--white);
  margin-top: -74px;                 /* el header se superpone: menú dentro del hero */
  padding: calc(7rem + 74px) 0 7.5rem;
  overflow: hidden;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.hero-deco svg { width: 100%; height: 100%; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero-mark { color: var(--cyan-accent); }
.hero-sub { font-size: 1.13rem; color: rgba(255, 255, 255, 0.82); max-width: 33rem; margin-bottom: 2.2rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-note { margin-top: 1.2rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* Panel de producto en el hero */
.hero-visual { position: relative; }
.panel-app {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-ondark);
  padding: 1.5rem;
  color: var(--ink);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.panel-title { font-weight: 800; font-size: 1.02rem; }
.panel-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(18, 183, 106, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.panel-kpis { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0.8rem; margin-bottom: 1rem; }
.kpi { background: var(--ice-bg); border-radius: 14px; padding: 0.85rem 1rem; display: flex; flex-direction: column; gap: 0.1rem; }
.kpi-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.kpi-value { font-weight: 800; font-size: 1.35rem; color: var(--royal); }
.kpi-delta { font-size: 0.72rem; font-weight: 600; color: var(--success); }
.panel-chart { border: 1px solid var(--border); border-radius: 14px; padding: 0.6rem; margin-bottom: 1rem; }
.panel-chart svg { width: 100%; height: 90px; display: block; }
.panel-rows { display: flex; flex-direction: column; }
.panel-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.5rem 0.2rem;
  border-top: 1px solid var(--border);
}
.panel-row b { color: var(--ink); }

.float-card {
  position: absolute;
  bottom: -22px;
  left: -26px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-ondark);
  padding: 0.85rem 1.15rem;
  color: var(--ink);
}
.float-num { font-weight: 800; font-size: 1.8rem; color: var(--blue); line-height: 1; }
.float-text { font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.float-text em { font-style: normal; font-weight: 600; font-size: 0.72rem; color: var(--success); }

/* ── Barra de confianza ───────────────────────────────────── */
.trust { padding: 2.2rem 0; border-bottom: 1px solid var(--border); }
.trust-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2.8rem; }
.trust-logos span { font-weight: 800; font-size: 1.05rem; color: #B9C6DC; transition: color 0.2s; }
.trust-logos span:hover { color: var(--blue); }

/* ── Secciones ─────────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-ice { background: var(--ice-bg); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head .section-sub { color: var(--muted); margin-top: 0.9rem; font-size: 1.05rem; }
.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-head-row > div { max-width: 640px; }

/* ── Tarjetas de servicios ────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: var(--ice-20); }
.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ice);
  color: var(--royal);
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  transition: gap 0.18s ease;
}
.card:hover .card-more, .blog-card:hover .card-more { gap: 0.7rem; }

/* ── Productos ────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.product-card {
  background: var(--navy-60);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}
.product-head h3 { font-size: 1.55rem; color: var(--white); }
.product-tag { color: var(--ice-20); font-weight: 600; font-size: 0.92rem; margin-top: 0.25rem; }
.check-list { display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}
.check-list svg { color: var(--sky); flex-shrink: 0; margin-top: 3px; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
  margin-top: auto;
}
.product-stat { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); max-width: 200px; }
.product-stat strong { display: block; font-weight: 800; font-size: 1.75rem; color: var(--amber); }
.product-card .btn-blue { background: var(--white); color: var(--royal); }
.product-card .btn-blue:hover { background: var(--ice); }

/* ── Banda de estadísticas ────────────────────────────────── */
.stats-band { background: var(--royal); color: var(--white); padding: 3.2rem 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-weight: 800; font-size: 2.7rem; line-height: 1.1; display: block; }
.stat-label { color: var(--ice-20); font-size: 0.9rem; font-weight: 600; }

/* ── Por qué Teczun ───────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.why-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 0.6rem 0; }
.why-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ice);
  color: var(--royal);
}
.why-item h3 { margin-bottom: 0.35rem; }
.why-item p { color: var(--muted); font-size: 0.94rem; }

/* ── Metodología ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.step-num {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--royal);
  background: var(--ice);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.45rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ── Testimonios ──────────────────────────────────────────── */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-card);
}
.quote-stars { color: var(--amber); letter-spacing: 3px; font-size: 0.95rem; }
.quote-card blockquote { font-size: 0.98rem; line-height: 1.6; flex-grow: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 0.85rem; }
.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--royal);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.quote-card figcaption strong { display: block; font-size: 0.93rem; }
.quote-card figcaption span { color: var(--muted); font-size: 0.84rem; }

/* ── Blog ─────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.blog-cover { height: 150px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.9); }
.blog-cover-1 { background: var(--blue); }
.blog-cover-2 { background: var(--royal); }
.blog-cover-3 { background: #536FC9; }  /* periwinkle de TechnologyAdvice */
.blog-body { display: flex; flex-direction: column; flex-grow: 1; padding: 1.5rem 1.7rem 1.7rem; }
.blog-body time {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.blog-body h3 { font-size: 1.06rem; margin-bottom: 0.45rem; }
.blog-card:hover .blog-body h3 { color: var(--blue); }
.blog-body p { color: var(--muted); font-size: 0.91rem; flex-grow: 1; }

/* ── CTA final: tarjeta redondeada con gradiente galaxy (estilo
   "partner-with-us" de TechnologyAdvice) ──────────────────── */
.cta-wrap { padding: 3rem 0 3.5rem; }
.cta {
  position: relative;
  background:
    radial-gradient(circle at 15% 90%, var(--galaxy-violet) -50%, rgba(51, 47, 255, 0) 40%),
    radial-gradient(circle at 105% -10%, var(--galaxy-cyan) -50%, rgba(46, 226, 226, 0) 30%),
    var(--galaxy-base);
  border-radius: 1.25rem;
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}
/* Órbitas decorativas sutiles, como en el hero */
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.cta::before {
  top: -110px;
  right: -90px;
  width: 300px;
  height: 300px;
  border: 1.5px dashed rgba(46, 226, 226, 0.25);
}
.cta::after {
  bottom: -100px;
  left: -80px;
  width: 260px;
  height: 260px;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
}
.cta-inner { position: relative; }
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { color: rgba(255, 255, 255, 0.72); max-width: 34rem; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ── Footer (navy oscuro estilo TechnologyAdvice) ─────────── */
.site-footer {
  background: var(--navy-70);
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 1.9rem;
}
.site-footer .brand-name { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.6rem; padding-bottom: 2.6rem; }
.footer-tagline { margin: 1rem 0 1rem; font-size: 0.92rem; max-width: 300px; }
.footer-contact { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-contact a { font-size: 0.92rem; transition: color 0.15s; }
.footer-contact a:hover { color: var(--sky); }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h3 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.footer-col a { font-size: 0.92rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a:hover { color: var(--sky); }

/* ── Animación de aparición (requiere html.js) ────────────── */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal:not(.in-view) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal:not(.in-view) { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { max-width: 540px; margin-inline: auto; }
  .float-card { left: 0; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* En móvil el menú vive en su propia capa a pantalla completa */
  .main-nav { display: none; }
  .header-cta { display: none; }
  /* El selector de idioma sigue visible junto al botón del menú */
  .cards-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: calc(3.5rem + 74px) 0 4.5rem; }
  .hero-ctas .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2.1rem; }
  .float-card { position: static; margin-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-logos { gap: 0.7rem 1.8rem; }
  .trust-logos span { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINAS INTERIORES (blog, artículo, 404)
   Comparten el header transparente, así que necesitan un hero
   oscuro propio con la compensación de los 74px del header.
   ═══════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 90%, var(--galaxy-violet) -50%, rgba(51, 47, 255, 0) 40%),
    radial-gradient(circle at 105% -10%, var(--galaxy-cyan) -50%, rgba(46, 226, 226, 0) 30%),
    var(--galaxy-base);
  color: var(--white);
  margin-top: -74px;
  padding: calc(4.5rem + 74px) 0 4.5rem;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin: 0.6rem 0 0.8rem; }
.page-hero .eyebrow { color: var(--cyan-accent); }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 38rem; font-size: 1.05rem; }
.page-hero time { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; font-weight: 600; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  transition: gap 0.15s ease;
}
.back-link:hover { gap: 0.7rem; }

/* Contenido del artículo */
.container-narrow { width: min(100% - 2.5rem, 950px); margin-inline: auto; }
.post-content { font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.post-content h2 { font-size: 1.5rem; margin: 2.4rem 0 0.9rem; }
.post-content h3 { font-size: 1.2rem; margin: 1.8rem 0 0.7rem; }
.post-content p { margin-bottom: 1.15rem; }
.post-content ul, .post-content ol { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.15rem; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 0.45rem; }
.post-content a { color: var(--blue); text-decoration: underline; }
.post-content strong { font-weight: 700; }

/* 404 */
.section-404 { padding: 6rem 0 7rem; text-align: center; }
.err-code { font-weight: 800; font-size: 5.5rem; line-height: 1; color: var(--blue); }
.section-404 h1 { margin: 0.5rem 0 0.7rem; }
.section-404 p { color: var(--muted); margin-bottom: 1.9rem; }

@media (max-width: 560px) {
  .page-hero { padding: calc(3rem + 74px) 0 3rem; }
  .err-code { font-size: 4rem; }
}

/* ── Artículo: portada, autor, medios incrustados ─────────── */
.blog-cover-photo { padding: 0; background: var(--ice-bg); }
.blog-cover-photo img { width: 100%; height: 100%; object-fit: cover; }

.post-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  font-weight: 600;
}
.post-author { display: inline-flex; align-items: center; gap: .5rem; }
.post-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
}
.post-sep { opacity: .5; }

.post-cover {
  width: 100%;
  border-radius: var(--radius);
  margin-top: -3rem;
  position: relative;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-section { padding-top: 3rem; }

/* Medios dentro del contenido del artículo */
.post-content img { border-radius: var(--radius); margin: 1.6rem 0; }
.post-content blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.2rem;
  margin: 1.6rem 0;
  color: var(--muted);
  font-style: italic;
}
.post-content .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1.8rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.post-content .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ═══════════════════════════════════════════════════════════════
   PÁGINAS INTERNAS: Servicios, Nosotros, Contacto y paginación
   ═══════════════════════════════════════════════════════════════ */

/* Enlace activo del menú */
.main-nav a.is-current { color: var(--white); }
.main-nav a.is-current::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-accent);
  margin-top: 3px;
}

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

/* ── Servicios: filas de detalle ──────────────────────────── */
.service-list { display: flex; flex-direction: column; gap: 1.2rem; }
.service-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  scroll-margin-top: 100px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.service-row:hover { box-shadow: var(--shadow-card); border-color: var(--ice-20); }
.service-media { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ice);
  color: var(--royal);
}
.service-num { font-weight: 800; font-size: .9rem; color: var(--ice-20); }
.service-body h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.service-long { color: var(--muted); margin-bottom: 1.2rem; max-width: 52rem; }
.service-includes-label {
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .5rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.tag-list li {
  background: var(--ice-bg);
  color: var(--royal);
  font-size: .84rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 999px;
}

/* ── Nosotros: historia y estadísticas ────────────────────── */
.story-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3.5rem; align-items: start; }
.story-text h2 { margin-bottom: 1.2rem; }
.story-text p { color: var(--muted); margin-bottom: 1rem; }
.story-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.story-card {
  background: var(--navy-70);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  text-align: center;
}
.story-num, .story-plus { font-weight: 800; font-size: 2.1rem; line-height: 1.1; }
.story-plus { color: var(--cyan-accent); }
.story-label { display: block; margin-top: .2rem; color: var(--ice-20); font-size: .82rem; font-weight: 600; }

.team-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.role-chip {
  background: var(--ice);
  color: var(--royal);
  font-weight: 700;
  font-size: .88rem;
  padding: .5rem 1.1rem;
  border-radius: 999px;
}

/* ── Contacto ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.2rem;
}
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form-card .field { display: block; margin-bottom: 1.1rem; }
.contact-form-card .field > span {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.contact-form-card .field em { font-style: normal; font-weight: 500; color: var(--muted); }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: .75rem .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(67, 83, 255, .12);
}
.contact-form-card textarea { resize: vertical; min-height: 140px; }
.field.has-error input, .field.has-error textarea { border-color: #E5484D; }
.btn-block { width: 100%; }
.form-note { color: var(--muted); font-size: .82rem; margin-top: .9rem; text-align: center; }

.form-alert {
  background: #FDECEC;
  color: #B42318;
  border-radius: 12px;
  padding: .9rem 1.1rem;
  margin-bottom: 1.3rem;
  font-size: .9rem;
}
.form-alert ul { list-style: disc; padding-left: 1.2rem; margin-top: .3rem; }

/* Campo trampa anti-spam: fuera de la vista, pero visible para robots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-success { text-align: center; padding: 2rem 0; }
.success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(18, 183, 106, .12);
  color: var(--success);
  margin: 0 auto 1.2rem;
}
.contact-success h2 { margin-bottom: .6rem; }
.contact-success p { color: var(--muted); margin-bottom: 1.6rem; }

.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--navy-70);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.contact-card h2 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.3rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  transition: color .15s;
}
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item strong { display: block; font-size: .93rem; }
.contact-item em { font-style: normal; font-size: .85rem; color: rgba(255, 255, 255, .65); }
a.contact-item:hover strong { color: var(--cyan-accent); }
.contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--cyan-accent);
}
.contact-note {
  background: var(--ice-bg);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}

/* ── Paginación del blog ──────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue);
  padding: .6rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  transition: border-color .15s, color .15s;
}
.page-btn:hover { border-color: var(--blue); }
.page-btn.is-disabled { color: #B9C6DC; cursor: default; }
.page-numbers { display: flex; gap: .35rem; }
.page-num {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.page-num:hover { background: var(--ice-bg); color: var(--blue); }
.page-num.is-active { background: var(--blue); color: #fff; }

/* ── Responsive de las páginas internas ───────────────────── */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .service-row { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.6rem; }
  .service-media { flex-direction: row; justify-content: flex-start; align-items: center; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 1.6rem; }
  .pagination { gap: .6rem; }
  .page-btn { padding: .5rem .9rem; font-size: .84rem; }
}

/* ── Idioma sugerido según el navegador ───────────────────────
   Vive dentro del selector que ya existe: no añade nada a la página
   ni desplaza contenido (cero impacto en CLS). */
.lang-menu a.is-suggested { background: var(--ice-bg); font-weight: 700; }
.lang-suggested {
  margin-left: auto;
  padding-left: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* Punto en el botón del idioma: la única señal visible en la página */
.lang-btn.has-suggestion { position: relative; }
.lang-btn.has-suggestion::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 0 2px rgba(20, 30, 45, 0.9);
}

/* ═══════════════════════════════════════════════════════════════
   MENÚ MÓVIL A PANTALLA COMPLETA
   Toma la identidad del hero y entra con los enlaces escalonados.
   ═══════════════════════════════════════════════════════════════ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  /* El contenido fluye desde arriba: los enlaces empiezan justo bajo la
     cabecera y el pie los sigue, en vez de repartirse por toda la pantalla. */
  justify-content: flex-start;
  padding: 0 1.5rem 2.5rem;
  background:
    radial-gradient(circle at 15% 90%, var(--galaxy-violet) -50%, rgba(51, 47, 255, 0) 45%),
    radial-gradient(circle at 105% -10%, var(--galaxy-cyan) -50%, rgba(46, 226, 226, 0) 35%),
    var(--galaxy-base);
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Se despliega desde arriba, no aparece de golpe */
  clip-path: inset(0 0 100% 0);
  transition: clip-path .45s cubic-bezier(.4, 0, .2, 1);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }

.mobile-menu-bg { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.mobile-menu-bg svg { width: 100%; height: 100%; }

/* ── Enlaces ── */
.mobile-nav { position: relative; display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  /* Cada enlace entra un poco después que el anterior */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
  transition-delay: calc(var(--i) * 55ms + 120ms);
}
.mobile-menu.is-open .mobile-nav a { opacity: 1; transform: translateY(0); }

.mobile-nav-label {
  flex: 1;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.mobile-nav-arrow { color: rgba(255, 255, 255, .3); flex-shrink: 0; transition: transform .2s ease, color .2s ease; }
.mobile-nav a:active .mobile-nav-arrow { transform: translateX(5px); color: var(--cyan-accent); }
.mobile-nav a.is-current .mobile-nav-label { color: var(--cyan-accent); }

/* ── Pie del menú ── */
.mobile-menu-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;      /* todo centrado: botón, banderas y correo */
  gap: 2rem;                /* aire entre el botón, las banderas y el correo */
  padding-top: 2.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
  transition-delay: calc(var(--i) * 55ms + 120ms);
}
.mobile-menu.is-open .mobile-menu-foot { opacity: 1; transform: translateY(0); }

.mobile-langs { display: flex; justify-content: center; gap: .7rem; }
.mobile-lang {
  display: grid;
  place-items: center;
  width: 46px;
  height: 34px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 255, 255, .16);
  transition: border-color .15s ease, transform .15s ease;
}
.mobile-lang .flag { width: 26px; height: auto; border-radius: 3px; }
.mobile-lang.is-active { border-color: var(--cyan-accent); background: rgba(46, 226, 226, .1); }
.mobile-lang:active { transform: scale(.94); }

.mobile-contact {
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
  font-weight: 600;
}
.mobile-contact:hover { color: var(--cyan-accent); }

/* ── Botón hamburguesa: dos trazos que se cruzan ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  z-index: 201;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-left: auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), width .35s ease;
}
.nav-toggle span:last-child { width: 16px; }          /* asimetría: se ve menos genérico */
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { width: 24px; transform: translateY(-4px) rotate(-45deg); }

/* Con el menú abierto se bloquea el desplazamiento del fondo */
body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
}
@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}
/* Pantallas bajas: los enlaces se compactan para que quepa todo */
@media (max-height: 700px) {
  .mobile-nav a { padding: .85rem 0; }
  .mobile-nav-label { font-size: 1.4rem; }
  .mobile-menu-foot { padding-top: 1.2rem; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-nav a, .mobile-menu-foot, .nav-toggle span { transition: none; }
}

/* ── Cabecera propia del menú móvil ───────────────────────────
   Reemplaza a la del sitio mientras el menú está abierto, para que
   la alineación no dependa de si la página está arriba o abajo. */
.mobile-menu-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  flex-shrink: 0;
  margin-bottom: .5rem;
}
.mobile-menu-head .brand { display: inline-flex; align-items: center; gap: .55rem; }
.mobile-menu-head .brand-name { color: #fff; font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }

.mobile-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .18);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.mobile-close:hover { border-color: var(--cyan-accent); color: var(--cyan-accent); }
.mobile-close:active { transform: scale(.92); background: rgba(255, 255, 255, .06); }

/* Los enlaces ya no llevan numeración: el texto manda */
.mobile-nav a { gap: .75rem; }
.mobile-nav-label { flex: 1; }

/* El botón hamburguesa queda debajo del menú: al abrirse, la X del
   menú es la única forma de cerrarlo y no se ven dos controles. */
.nav-toggle { z-index: auto; }

/* En móvil el selector de idioma se compacta para caber junto al botón */
@media (max-width: 860px) {
  .header-inner { gap: .75rem; }
  .lang-btn { padding: .42rem .55rem; font-size: .78rem; }
  .lang-btn .flag { width: 18px; height: auto; }
  .lang-menu { min-width: 168px; }
}
@media (max-width: 359px) {
  /* En pantallas muy estrechas ocultamos el código de idioma y dejamos la bandera */
  .lang-btn > span { display: none; }
}

/* ── Foto real en los testimonios ─────────────────────────── */
.quote-photo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--ice-bg);
}
/* Las estrellas que no cuentan quedan apagadas */
.stars-off { color: rgba(255, 176, 32, .28); }
