/* Tipografías y escala de teyracreative.com, confirmadas por el usuario. Se carga al final. */
:root {
  --t-hero: clamp(3rem, 8vw, 6.5rem);
  --t-seccion: clamp(2rem, 5vw, 3.5rem);
  --t-bloque: clamp(1.5rem, 3vw, 2.2rem);
  --t-sub: 1.2rem;
  --t-bajada: clamp(1rem, 1.8vw, 1.15rem);
  --t-texto: 1rem;
  --t-chico: 0.88rem;
  --t-menu: 0.85rem;
  --t-boton: 0.9rem;
  --t-rotulo: 0.82rem;
  --t-nota: 0.8rem;
}

body, body.portada, body.clara { font-size: var(--t-texto); line-height: 1.6; }

/* Título principal de cada portada */
body .titulo h1 {
  font-size: var(--t-hero);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
/* Contacto va al tamaño de sección (pedido del usuario) */
body .portadilla h1 { font-size: var(--t-seccion); line-height: 1.15; letter-spacing: -0.02em; }
/* La portada de la colaboración va al tamaño de sección (pedido del usuario) */
body .colab-portada .colab-bajada {
  max-width: 20ch;
  font-size: var(--t-seccion);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Títulos de sección y de página */
body.clara .cabeza h1, body.clara .titular h1, body .seccion h2, body.clara .otras h2,
body .colab-historia h2, body .colab-piezas h2, body .colab-cierre h2, body .vacio h1,
body.clara .ficha > h1 {
  font-size: var(--t-seccion);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
body.clara .ficha .bloque h2, body .contactos h2, body .contactos a, body .contactos p {
  font-size: var(--t-bloque);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body h3, body.clara h3, body .seccion h3, body .tarjeta h3, body .puntos h3,
body .colab-historia h3, body .ficha h3, body .tarjeta__precio, body .colab-datos dd {
  font-size: var(--t-sub);
  line-height: 1.3;
  letter-spacing: normal;
}

body .titulo p, body .portadilla p, body .alianza p, body .cabeza p {
  font-size: var(--t-bajada);
  line-height: 1.7;
}
body .puntos p, body .tarjeta__zona, body .datos, body .detalles, body .comodidades,
body .indice a, body .volver {
  font-size: var(--t-chico);
  line-height: 1.7;
}

body .nav a { font-size: var(--t-menu); letter-spacing: 0.03em; }
body .accion, body .boton, body .enlace, body .mas, body .nav a.nav__accion { font-size: var(--t-boton); }
body .titulo .accion, body .colab-cierre .accion { font-size: var(--t-texto); }

body .barra input, body .barra select, body .panel input, body .panel select,
body .orden select, body .ficha-filtro, body .segmentos span { font-size: var(--t-boton); }
body .panel label, body .panel legend, body .lateral label, body .lateral__tipo,
body .colab-datos dt, body .sello, body .puntos span { font-size: var(--t-rotulo); }

body .pie { font-size: var(--t-chico); }
body .pie h2 { font-size: var(--t-rotulo); letter-spacing: 0.08em; }
body .pie__base, body .pie__fuente, body .pie thead th { font-size: var(--t-nota); }

@media (max-width: 820px) {
  body .nav a { font: 700 1.6rem/1.3 "Space Grotesk", system-ui, sans-serif; letter-spacing: normal; }
}
@media (max-width: 768px) {
  :root { --t-seccion: clamp(1.8rem, 7vw, 2.5rem); }
  /* 16px en campos: evita que el teléfono haga zoom al escribir */
  body input, body select, body textarea, body .barra input, body .barra select,
  body .panel input, body .panel select { font-size: 1rem; }
}

/* Igualado tras auditar cada página contra teyracreative.com */
/* El título de Propiedades va al tamaño de sección (lo pidió el usuario: en grande tapaba el listado) */
body.clara .zona h2 { font-size: var(--t-seccion); line-height: 1.15; letter-spacing: -0.02em; }
body.clara .mensaje h2 { font-size: var(--t-bloque); line-height: 1.2; letter-spacing: normal; }
body .seccion > p, body .seccion__cabeza p { font-size: var(--t-texto); line-height: 1.6; }
body.clara .lateral__precio { font-size: 2rem; }

/* Portada: título en dos o tres líneas, "Río Turbio" en dorado y bajada más corta */
body .titulo { gap: 0; }
body .titulo h1 { max-width: 18ch; line-height: 1.04; text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); }
body .titulo h1 span { color: #e4c885; white-space: nowrap; }
body .titulo p { max-width: 44ch; margin-top: 20px; color: #e6e3da; text-wrap: pretty; text-shadow: 0 1px 12px rgb(0 0 0 / 0.5); }
body .titulo p strong { color: #fff; font-weight: 600; }
body .titulo__acciones { margin-top: 32px; }

/* Teléfonos bajos: el título no se mete debajo del menú */
@media (max-width: 820px) and (max-height: 620px) {
  body .titulo h1 { font-size: 2.4rem; }
}
