/* base.css — lo que comparten todas las secciones de la página de inicio final (10-PAGINA-PERSONALIZADA/inicio-final).
   La marca no cambia: papel blanco, tinta, petróleo #005E6E (el único color que se lee) y el punto azul #13C5F4
   solo como punto; League Spartan para títulos y Titillium Web para texto. Lo nuevo de esta página: esquinas con
   curva sutil (10 / 16, la que eligió Tom), dos medidas y siempre las mismas: --r1 (botones, chips, campos, fotos
   pequeñas) y --r2 (contenedores y fotos grandes). Las fotos siguen la esquina del contenedor donde están. */

@font-face { font-family: 'League Spartan'; font-weight: 300; font-display: swap; src: url(../fuentes/league-spartan-300.woff2) format('woff2'); }
@font-face { font-family: 'League Spartan'; font-weight: 500; font-display: swap; src: url(../fuentes/league-spartan-500.woff2) format('woff2'); }
@font-face { font-family: 'League Spartan'; font-weight: 600; font-display: swap; src: url(../fuentes/league-spartan-600.woff2) format('woff2'); }
@font-face { font-family: 'League Spartan'; font-weight: 700; font-display: swap; src: url(../fuentes/league-spartan-700.woff2) format('woff2'); }
@font-face { font-family: 'Titillium Web'; font-weight: 300; font-display: swap; src: url(../fuentes/titillium-web-300.woff2) format('woff2'); }
@font-face { font-family: 'Titillium Web'; font-weight: 400; font-display: swap; src: url(../fuentes/titillium-web-400.woff2) format('woff2'); }
@font-face { font-family: 'Titillium Web'; font-weight: 600; font-display: swap; src: url(../fuentes/titillium-web-600.woff2) format('woff2'); }

:root {
  /* color: la marca */
  --papel: #FFFFFF;
  --papel-2: #F4F3F0;       /* segundo papel: bandas y paneles */
  --tinta: #1B1B1B;
  --tinta-2: #55555A;       /* texto medio (7,4:1 sobre blanco) */
  --gris: #666666;          /* texto secundario y rótulos (5,7:1 sobre blanco; 5,2:1 sobre el segundo papel) */
  --linea: #E0DFD8;
  --linea-2: #CFCEC6;       /* línea que tiene que verse sobre el segundo papel */
  --petroleo: #005E6E;
  --punto: #13C5F4;
  /* esquinas: curva sutil (propuesta 10 / 16 px) */
  --r1: 10px;
  --r2: 16px;
  /* letra */
  --f-titulo: 'League Spartan', 'Segoe UI', system-ui, sans-serif;
  --f-texto: 'Titillium Web', 'Segoe UI', system-ui, sans-serif;
  --t-display: clamp(46px, 7.4vw, 112px);
  --t-h2: clamp(36px, 5.4vw, 76px);
  --t-h3: clamp(21px, 1.9vw, 27px);
  --t-cuerpo: 17px;
  /* espacio */
  --margen: clamp(20px, 5.2vw, 84px);
  --ancho: 1320px;
  --aire: clamp(88px, 10.5vw, 152px);
  /* movimiento */
  --facil: cubic-bezier(.22, 1, .36, 1);
  --suave: cubic-bezier(.65, 0, .35, 1);       /* entra y sale despacio: para los rellenos que se tienen que ver */
  --cab-alto: 64px;                              /* alto del menú arriba del todo (lo ajusta la clase del <body>) */
  --cab-fijo: 64px;                              /* alto del menú cuando ya se bajó (los enlaces internos paran ahí) */
  --d-gap: clamp(10px, 1.4vw, 20px);             /* el espacio del héroe D, igual arriba y a los lados */
  color-scheme: light;
}
/* el alto del menú B, para que el héroe empiece justo debajo: logo arriba (96) y la franja de los enlaces (58); al
   bajar solo queda la franja. Antes de 1200 px, una sola barra de 64. */
@media (min-width: 1200px) { .menu-b { --cab-alto: 154px; --cab-fijo: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font: 400 var(--t-cuerpo)/1.65 var(--f-texto);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-titulo); font-weight: 600; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--petroleo); color: var(--papel); }

/* foco del teclado: siempre visible, en petróleo */
:focus { outline: none; }
[tabindex="-1"]:focus-visible { outline: none; }           /* la sección que recibe el foco de un enlace interno */
:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 3px; border-radius: 4px; }

.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--tinta); color: var(--papel); padding: 12px 16px; border-radius: var(--r1); }
.saltar:focus-visible { top: 16px; }

/* ---------- maquetación ---------- */
.contenedor { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }
.seccion { padding-block: var(--aire); }
.papel-2 { background: var(--papel-2); }

/* ---------- letra ---------- */
.rotulo { font: 600 13px/1.3 var(--f-texto); letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
.rotulo-petroleo { color: var(--petroleo); }
.display { font-size: var(--t-display); line-height: .98; letter-spacing: -.025em; }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.18; letter-spacing: -.005em; }
.ligero { font-weight: 300; }
.medio { font-weight: 500; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--tinta-2); max-width: 56ch; }
.texto { color: var(--tinta-2); max-width: 60ch; }
.chico { font-size: 14px; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- el punto azul y «Disponible» ---------- */
.pt { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--punto); }
.disponible { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--f-texto); letter-spacing: .24em; text-transform: uppercase; color: var(--gris); }

/* ---------- íconos ---------- */
.ico { flex: none; width: 16px; height: 16px; }
.ico-18 { width: 18px; height: 18px; }
.ico-20 { width: 20px; height: 20px; }
.ico-24 { width: 24px; height: 24px; }

/* ---------- títulos de sección («Mezcla»: un solo diseño, el escudo entre dos líneas; la alineación sigue a lo de abajo) ---------- */
.tit { display: flex; flex-direction: column; gap: 20px; }
.tit-centro { align-items: center; text-align: center; }
.tit-izq { align-items: flex-start; text-align: left; }
.tit .h2 { max-width: 16ch; }
.tit-centro .h2 { max-width: 18ch; }
.escudo-lineas { display: flex; align-items: center; gap: 18px; color: var(--tinta); }
.escudo-lineas::before, .escudo-lineas::after { content: ''; height: 1px; width: 72px; background: currentColor; opacity: .55; }
.escudo-lineas img { width: 30px; height: auto; }
.tit-izq .escudo-lineas::before { width: 28px; }
.tit-izq .escudo-lineas::after { width: 120px; }
.tit-centro .escudo-lineas::before, .tit-centro .escudo-lineas::after { width: 72px; }
/* a la derecha: solo como acento, una vez por página («Mezcla»; 18-oct-2026, la franja del Xiaomi en el inicio) */
.tit-der { align-items: flex-end; text-align: right; }
.tit-der .escudo-lineas::before { width: 120px; }
.tit-der .escudo-lineas::after { width: 28px; }

/* ---------- lo que falta del cliente: un aviso pequeño y claro ---------- */
.pendiente {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: var(--r1); background: var(--papel);
  border: 1px dashed var(--tinta-2); font: 600 13px/1 var(--f-texto); letter-spacing: .08em; color: var(--tinta);
}
.pendiente::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--punto); }
/* lo que es propuesta (texto nuevo que confirma el cliente): en todas las páginas, también el cierre del inicio */
.propuesta {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r1); border: 1px solid var(--petroleo);
  background: var(--papel); font: 600 13px/1.1 var(--f-texto); letter-spacing: .06em; color: var(--petroleo); width: fit-content;
}
.propuesta::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--petroleo); }
.aviso { margin: auto; max-width: min(420px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: var(--r2); background: var(--papel); color: var(--tinta);
  box-shadow: 0 24px 60px rgba(14, 14, 16, .25); font: 400 16px/1.55 var(--f-texto); }
.aviso::backdrop { background: rgba(14, 14, 16, .35); }
.aviso p { margin-bottom: 18px; }
.aviso-cerrar { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r1); background: var(--tinta); color: var(--papel); cursor: pointer;
  font: 600 13px/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- botones: el botón universal está en botones.css; aquí, las flechas redondas de los carruseles ---------- */
.btn-redondo {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linea-2);
  background: var(--papel); color: var(--tinta); cursor: pointer; transition: background-color .3s var(--facil), color .3s var(--facil), border-color .3s var(--facil);
}
.btn-redondo:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .btn-redondo:not(:disabled):hover { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
}
.btn-redondo:not(:disabled):active { transform: translateY(1px); }
.btn-redondo:focus-visible { outline-offset: 3px; border-radius: 50%; }
.botones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* ---------- fotos ---------- */
.foto { position: relative; overflow: hidden; border-radius: var(--r2); background: var(--papel-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-chica { border-radius: var(--r1); }

/* ---------- sin movimiento: «reducir movimiento» del sistema ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ---------- la página ---------- */
.pz { min-width: 0; }
.bloque { position: relative; scroll-margin-top: var(--cab-fijo); }
.nota-ejemplo { font: 400 13px/1.45 var(--f-texto); color: var(--gris); }

/* ---------- la política de datos: un enlace a su página (la página dice qué falta del cliente) ---------- */
.politica-linea { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.politica {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline 1px; text-underline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) { .politica:hover { color: var(--petroleo); } }
.pendiente-chico { padding: 5px 9px; }
