/*
Theme Name:  Triparking
Template:    kadence
Description: Tema hijo de Kadence para Triparking. Tokens del manual de marca 2026, cabecera y pie propios.
Version:     1.5.2
Text Domain: triparking
*/

/* ---------------------------------------------------------------
 * Tipografías (servidas desde el propio servidor)
 * ------------------------------------------------------------- */
@font-face { font-family: 'Quicksand'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/quicksand-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/nunito-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/nunito-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/nunito-sans-700.woff2') format('woff2'); }

/* ---------------------------------------------------------------
 * Tokens del manual de marca
 * ------------------------------------------------------------- */
:root {
  --tp-surface: #ffffff;
  --tp-surface-alt: #f1f1f1;
  --tp-surface-navy: #eef4f6;
  --tp-surface-gold: #faf6ee;
  --tp-surface-inverse: #053343;

  --tp-navy-900: #053343;
  --tp-navy-700: #0a4a5f;
  --tp-navy-500: #1d6a80;
  --tp-navy-200: #c4d5db;
  --tp-sky-600: #1f7a94;
  --tp-sky-300: #8cc6d6;
  --tp-sky-100: #e3f2f6;
  --tp-gold-400: #c6ac73;
  --tp-gold-500: #b3965a;
  --tp-gold-700: #7d6430;

  --tp-ink: #0b2530;
  --tp-ink-muted: #55646b;
  --tp-ink-inverse: #ffffff;
  --tp-ink-inverse-muted: #b9cbd1;

  --tp-border: #e3ded3;
  --tp-border-strong: #7b878c;
  --tp-success: #1a7f4b;
  --tp-error: #b3261e;

  --tp-font-display: 'Quicksand', system-ui, sans-serif;
  --tp-font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --tp-space-1: 4px;  --tp-space-2: 8px;  --tp-space-3: 12px; --tp-space-4: 16px;
  --tp-space-5: 24px; --tp-space-6: 32px; --tp-space-7: 40px; --tp-space-8: 48px;
  --tp-space-10: 64px; --tp-space-12: 96px;

  --tp-radius-sm: 8px; --tp-radius-md: 14px; --tp-radius-lg: 22px; --tp-radius-pill: 999px;

  --tp-shadow-sm: 0 1px 2px rgba(5,51,67,.06), 0 1px 3px rgba(5,51,67,.08);
  --tp-shadow-md: 0 4px 12px rgba(5,51,67,.08), 0 2px 4px rgba(5,51,67,.06);
  --tp-shadow-lg: 0 12px 32px rgba(5,51,67,.12), 0 4px 8px rgba(5,51,67,.06);

  --tp-container: 1200px;
  --tp-gutter: var(--tp-space-4);
  --tp-header-h: 72px;
}
@media (min-width: 768px) { :root { --tp-gutter: var(--tp-space-6); --tp-header-h: 84px; } }

/* ---------------------------------------------------------------
 * Base
 * ------------------------------------------------------------- */
body {
  font-family: var(--tp-font-body);
  font-size: 16px;
  line-height: 27px;
  color: var(--tp-ink);
  background: var(--tp-surface);
  -webkit-font-smoothing: antialiased;
}
h1, h2, .tp-display { font-family: var(--tp-font-display); font-weight: 700; color: var(--tp-navy-900); }
h3, h4 { font-family: var(--tp-font-body); font-weight: 700; color: var(--tp-navy-900); }
h1 { font-size: 30px; line-height: 38px; letter-spacing: -.01em; }
h2 { font-size: 24px; line-height: 32px; }
h3 { font-size: 19px; line-height: 27px; }
h4 { font-size: 18px; line-height: 26px; }
.tp-display { font-size: 34px; line-height: 40px; letter-spacing: -.01em; }
@media (min-width: 768px) {
  h1 { font-size: 40px; line-height: 48px; }
  h2 { font-size: 30px; line-height: 38px; }
  h3 { font-size: 21px; line-height: 29px; }
  .tp-display { font-size: 52px; line-height: 58px; }
}
p, li { font-size: 16px; line-height: 27px; }
.tp-lead { font-size: 18px; line-height: 30px; color: var(--tp-ink-muted); }
.tp-small { font-size: 14px; line-height: 22px; }
.tp-label {
  font-family: var(--tp-font-body); font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tp-gold-700);
}
a { color: var(--tp-sky-600); text-underline-offset: 3px; }
a:hover { color: var(--tp-navy-700); }
:focus-visible { outline: 2px solid var(--tp-navy-500); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.tp-container { max-width: var(--tp-container); margin-inline: auto; padding-inline: var(--tp-gutter); }
.tp-section { padding-block: var(--tp-space-10); }
/* Escritorio: 48 px arriba y abajo (antes 96). En móvil se queda en 64 px. */
@media (min-width: 768px) { .tp-section { padding-block: 48px; } }
.tp-section--alt { background: var(--tp-surface-alt); }
.tp-section--navy { background: var(--tp-surface-navy); }
.tp-section--sky { background: var(--tp-sky-100); }
.tp-section--gold { background: var(--tp-surface-gold); }
.tp-section--band { background: var(--tp-sky-600); color: var(--tp-ink-inverse); }
.tp-section--band :is(h1,h2,h3,h4) { color: var(--tp-ink-inverse); }
.tp-rule { width: 56px; height: 4px; border: 0; border-radius: 2px; background: var(--tp-gold-400); margin: var(--tp-space-3) 0 var(--tp-space-6); }

/* ---------------------------------------------------------------
 * Botones
 * ------------------------------------------------------------- */
.tp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--tp-space-2);
  min-height: 48px; padding: 14px 28px; border-radius: var(--tp-radius-md); border: 2px solid transparent;
  font-family: var(--tp-font-body); font-size: 16px; line-height: 20px; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.tp-btn--primary { background: var(--tp-gold-400); color: var(--tp-navy-900); }
.tp-btn--primary:hover { background: var(--tp-gold-500); color: var(--tp-navy-900); }
.tp-btn--secondary { background: var(--tp-navy-900); color: var(--tp-ink-inverse); }
.tp-btn--secondary:hover { background: var(--tp-navy-700); color: var(--tp-ink-inverse); }
.tp-btn--ghost { background: transparent; border-color: var(--tp-navy-900); color: var(--tp-navy-900); }
.tp-btn--ghost:hover { background: var(--tp-navy-900); color: var(--tp-ink-inverse); }
.tp-btn--pill { border-radius: var(--tp-radius-pill); }

/* ---------------------------------------------------------------
 * Formularios
 * ------------------------------------------------------------- */
.tp-field { display: grid; gap: var(--tp-space-2); }
.tp-field label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-ink); }
.tp-field :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  min-height: 48px; padding: 12px 14px; border: 1px solid var(--tp-border-strong); border-radius: var(--tp-radius-sm);
  font: 16px/22px var(--tp-font-body); color: var(--tp-ink); background: var(--tp-surface);
}
.tp-field :is(input:not([type=checkbox]):not([type=radio]), select, textarea):focus { outline: 2px solid var(--tp-navy-500); outline-offset: 1px; border-color: var(--tp-navy-500); }
.tp-field .tp-hint { font-size: 14px; line-height: 22px; color: var(--tp-ink-muted); }
.tp-field .tp-error { font-size: 14px; line-height: 22px; color: var(--tp-error); }

/* ---------------------------------------------------------------
 * Cabecera
 * ------------------------------------------------------------- */
.tp-header { position: sticky; top: 0; z-index: 50; background: var(--tp-surface); border-bottom: 1px solid var(--tp-border); }
.admin-bar .tp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tp-header { top: 0; } }
.tp-header__inner { display: flex; align-items: center; gap: var(--tp-space-5); height: var(--tp-header-h); }
.tp-header__logo { display: block; flex: none; }
.tp-header__logo img { display: block; height: 44px; width: auto; }
@media (min-width: 768px) { .tp-header__logo img { height: 52px; } }
.tp-nav { margin-left: auto; }
.tp-nav ul { display: flex; gap: var(--tp-space-6); list-style: none; margin: 0; padding: 0; }
.tp-nav a { white-space: nowrap; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--tp-navy-900); text-decoration: none; padding-block: var(--tp-space-2); border-bottom: 2px solid transparent; }
.tp-nav a:hover, .tp-nav .current-menu-item > a { border-bottom-color: var(--tp-gold-400); }
.tp-header__actions { display: flex; align-items: center; gap: var(--tp-space-3); }
.tp-header__phone { font-size: 15px; font-weight: 700; color: var(--tp-navy-900); text-decoration: none; white-space: nowrap; }
@media (max-width: 1199px) { .tp-header__phone { display: none; } .tp-nav ul { gap: var(--tp-space-5); } }
.tp-header__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: var(--tp-radius-sm); background: transparent; color: var(--tp-navy-900); cursor: pointer; }
.tp-header__toggle svg { width: 26px; height: 26px; }

@media (max-width: 1023px) {
  .tp-header__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .tp-header__actions { display: none; }
  .tp-nav { position: fixed; inset: var(--tp-header-h) 0 auto 0; margin: 0; background: var(--tp-surface); border-bottom: 1px solid var(--tp-border); box-shadow: var(--tp-shadow-md); display: none; }
  .admin-bar .tp-nav { top: calc(var(--tp-header-h) + 46px); }
  .tp-nav.is-open { display: block; }
  .tp-nav ul { flex-direction: column; gap: 0; padding: var(--tp-space-2) var(--tp-gutter) var(--tp-space-4); }
  .tp-nav a { display: block; padding: var(--tp-space-3) 0; border-bottom: 1px solid var(--tp-border); font-size: 17px; }
}

/* Barra fija en móvil: llamar + reservar */
.tp-mobilebar { display: none; }
@media (max-width: 1023px) {
  .tp-mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--tp-space-2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: var(--tp-space-2) var(--tp-gutter) calc(var(--tp-space-2) + env(safe-area-inset-bottom));
    background: var(--tp-surface); box-shadow: var(--tp-shadow-lg);
  }
  body { padding-bottom: 72px; }
}

/* ---------------------------------------------------------------
 * Pie: foto del aeropuerto con capa navy (contraste ≥ 10:1 medido)
 * ------------------------------------------------------------- */
.tp-footer {
  position: relative; color: var(--tp-ink-inverse);
  background-color: var(--tp-surface-inverse);
  background-image:
    linear-gradient(180deg, rgba(5,51,67,.84) 0%, rgba(5,51,67,.92) 100%),
    image-set(url('assets/img/triparking-footer-aeropuerto-malaga-1200.jpg') 1x, url('assets/img/triparking-footer-aeropuerto-malaga.jpg') 2x);
  background-size: cover; background-position: center;
}
@media (min-width: 1024px) {
  .tp-footer { background-image:
    linear-gradient(180deg, rgba(5,51,67,.84) 0%, rgba(5,51,67,.92) 100%),
    url('assets/img/triparking-footer-aeropuerto-malaga.jpg'); }
}
.tp-footer a { color: var(--tp-ink-inverse); text-decoration: none; }
.tp-footer a:hover { color: var(--tp-gold-400); }
.tp-footer :focus-visible { outline-color: #fff; }
.tp-footer__grid { display: grid; gap: var(--tp-space-8); padding-block: var(--tp-space-10) var(--tp-space-8); }
@media (min-width: 768px) { .tp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; padding-block: var(--tp-space-12) var(--tp-space-10); } }
.tp-footer__brand img { width: 230px; height: auto; display: block; }
.tp-footer__brand p { color: var(--tp-ink-inverse-muted); margin: var(--tp-space-5) 0 var(--tp-space-6); max-width: 30ch; }
.tp-footer__title { font-family: var(--tp-font-body); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-gold-400); margin: 0 0 var(--tp-space-4); }
.tp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--tp-space-2); }
.tp-footer address { font-style: normal; display: grid; gap: var(--tp-space-2); }
.tp-footer__strong { font-weight: 600; }
.tp-footer__social { display: flex; gap: var(--tp-space-4); margin-top: var(--tp-space-5); }
.tp-footer__social svg { width: 22px; height: 22px; fill: currentColor; }
.tp-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--tp-space-3); padding-block: var(--tp-space-5); border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; line-height: 20px; color: var(--tp-ink-inverse-muted); }
.tp-footer__legal a { color: var(--tp-ink-inverse-muted); }
.tp-footer__legal nav { display: flex; flex-wrap: wrap; gap: var(--tp-space-4); }

/* Utilidades */
.screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp-footer__legal nav ul { display: flex; flex-wrap: wrap; gap: var(--tp-space-4); }

/* ===============================================================
 * Secciones de página (Home y resto). HTML corto, todo desde tokens.
 * ============================================================= */
.tp-eyebrow { display: block; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-gold-700); margin-bottom: var(--tp-space-3); }
.tp-head { max-width: 720px; margin-bottom: var(--tp-space-8); }
.tp-head--center { margin-inline: auto; text-align: center; }
.tp-head--center .tp-rule { margin-inline: auto; }
.tp-head h2 { margin: 0; }
.tp-head p { margin: 0; }
.tp-actions { display: flex; flex-wrap: wrap; gap: var(--tp-space-3); margin-top: var(--tp-space-6); }

/* Hero con vídeo y capa navy */
.tp-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--tp-ink-inverse); background: var(--tp-navy-900); }
.tp-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,51,67,.92) 0%, rgba(5,51,67,.78) 55%, rgba(5,51,67,.55) 100%); }
.tp-hero__inner { padding-block: var(--tp-space-12) var(--tp-space-10); max-width: 760px; }
@media (min-width: 768px) { .tp-hero__inner { padding-block: 128px; } }
.tp-hero .tp-eyebrow { color: var(--tp-gold-400); }
.tp-hero h1 { color: var(--tp-ink-inverse); margin: 0 0 var(--tp-space-5); font-size: 34px; line-height: 40px; }
@media (min-width: 768px) { .tp-hero h1 { font-size: 52px; line-height: 58px; } }
.tp-hero p { font-size: 18px; line-height: 30px; color: #e3edf0; margin: 0; max-width: 56ch; }
.tp-hero .tp-btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.tp-hero .tp-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.tp-hero__trust { display: flex; flex-wrap: wrap; gap: var(--tp-space-2) var(--tp-space-6); margin-top: var(--tp-space-6); font-size: 15px; color: var(--tp-ink-inverse-muted); }
.tp-hero__trust strong { color: #fff; }
@media (prefers-reduced-motion: reduce) { .tp-hero__media { display: none; } }

/* Pasos */
.tp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--tp-space-5); counter-reset: paso; }
@media (min-width: 768px) { .tp-steps { grid-template-columns: repeat(4, 1fr); } }
.tp-steps li { counter-increment: paso; padding: var(--tp-space-5); background: var(--tp-surface); border: 1px solid var(--tp-border); border-radius: var(--tp-radius-md); }
.tp-steps li::before { content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--tp-space-4); border-radius: var(--tp-radius-sm); background: var(--tp-sky-300); color: var(--tp-navy-900); font: 700 18px/1 var(--tp-font-display); }
.tp-steps h3 { margin: 0 0 var(--tp-space-2); }
.tp-steps p { margin: 0; color: var(--tp-ink-muted); }

/* Bloque foto + texto */
.tp-split { display: grid; gap: var(--tp-space-8); align-items: center; }
@media (min-width: 900px) { .tp-split { grid-template-columns: 1fr 1fr; gap: var(--tp-space-12); } .tp-split--rev > :first-child { order: 2; } }
.tp-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--tp-radius-lg); display: block; }
.tp-checks { list-style: none; margin: var(--tp-space-5) 0 0; padding: 0; display: grid; gap: var(--tp-space-3); }
.tp-checks li { position: relative; padding-left: 32px; }
.tp-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--tp-sky-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23053343' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Tarjetas de plaza */
.tp-cards { display: grid; gap: var(--tp-space-5); }
@media (min-width: 768px) { .tp-cards { grid-template-columns: repeat(3, 1fr); } }
.tp-card { display: flex; flex-direction: column; background: var(--tp-surface); border: 1px solid var(--tp-border); border-radius: var(--tp-radius-lg); overflow: hidden; }
.tp-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.tp-card__body { display: flex; flex-direction: column; gap: var(--tp-space-3); padding: var(--tp-space-5); flex: 1; }
.tp-card h3 { margin: 0; }
.tp-card p { margin: 0; color: var(--tp-ink-muted); }
.tp-card__precio { margin-top: auto; padding-top: var(--tp-space-3); border-top: 1px solid var(--tp-border); font-size: 15px; color: var(--tp-ink-muted); }
.tp-card__precio strong { font-family: var(--tp-font-display); font-size: 24px; color: var(--tp-navy-900); }
.tp-card--destacada { border: 2px solid var(--tp-navy-900); }
.tp-tag { align-self: flex-start; padding: 4px 10px; border-radius: var(--tp-radius-pill); background: var(--tp-gold-400); color: var(--tp-navy-900); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Tiles de duración */
.tp-tiles { display: grid; gap: var(--tp-space-4); }
@media (min-width: 768px) { .tp-tiles { grid-template-columns: repeat(3, 1fr); } }
.tp-tile { display: flex; flex-direction: column; gap: var(--tp-space-2); padding: var(--tp-space-6) var(--tp-space-5); border-radius: var(--tp-radius-lg); background: var(--tp-surface); border: 1px solid var(--tp-border); color: var(--tp-ink); text-decoration: none; transition: border-color .15s; }
.tp-tile:hover { border-color: var(--tp-navy-900); color: var(--tp-ink); }
.tp-tile strong { font-family: var(--tp-font-display); font-size: 22px; line-height: 28px; color: var(--tp-navy-900); }
.tp-tile span { color: var(--tp-ink-muted); }
.tp-tile em { margin-top: auto; padding-top: var(--tp-space-3); font-style: normal; font-weight: 700; color: var(--tp-sky-600); }

/* Ventajas */
.tp-features { display: grid; gap: var(--tp-space-6); }
@media (min-width: 768px) { .tp-features { grid-template-columns: repeat(4, 1fr); } }
.tp-features h3 { margin: 0 0 var(--tp-space-2); font-size: 18px; line-height: 26px; }
.tp-features p { margin: 0; color: var(--tp-ink-muted); }

/* Banda de llamada a la acción */
.tp-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--tp-space-5); }
.tp-band h2 { margin: 0; color: #fff; }
.tp-band p { margin: var(--tp-space-2) 0 0; color: #e3f2f6; }

/* Preguntas frecuentes */
.tp-faq { max-width: 820px; margin-inline: auto; display: grid; gap: var(--tp-space-3); }
.tp-faq details { background: var(--tp-surface); border: 1px solid var(--tp-border); border-radius: var(--tp-radius-md); }
.tp-faq summary { list-style: none; cursor: pointer; padding: var(--tp-space-4) var(--tp-space-5); display: flex; justify-content: space-between; gap: var(--tp-space-4); align-items: center; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary h3 { margin: 0; font-size: 18px; line-height: 26px; }
.tp-faq summary::after { content: "+"; flex: none; font: 700 24px/1 var(--tp-font-display); color: var(--tp-navy-900); }
.tp-faq details[open] summary::after { content: "−"; }
.tp-faq details > div { padding: 0 var(--tp-space-5) var(--tp-space-5); }
.tp-faq details p { margin: 0 0 var(--tp-space-3); }
.tp-faq details p:last-child { margin-bottom: 0; }

/* El filete dorado bajo los titulares: Kadence pone margen 0 a los <hr> del contenido. */
.single-content .tp-head .tp-rule, .single-content .tp-split .tp-rule { margin: var(--tp-space-4) 0 var(--tp-space-5); }
.single-content .tp-head--center .tp-rule { margin: var(--tp-space-4) auto var(--tp-space-5); }

/* Antetítulo + titular: Kadence añade margen superior a los h2 del contenido. */
.single-content .tp-eyebrow + :is(h1, h2, h3) { margin-top: 0; }

/* Cabecera de páginas interiores: imagen fija en lugar de vídeo, algo más baja. */
@media (min-width: 768px) { .tp-hero--pagina .tp-hero__inner { padding-block: 96px; } }
.tp-hero--pagina h1 { font-size: 32px; line-height: 38px; }
@media (min-width: 768px) { .tp-hero--pagina h1 { font-size: 46px; line-height: 52px; } }

/* Nota bajo tablas de precios. */
.tp-nota { margin: var(--tp-space-4) 0 0; font-size: 14px; line-height: 22px; color: var(--tp-ink-muted); max-width: 80ch; }

/* Ventajas a dos columnas (textos más largos). */
.tp-features--2 { margin-top: var(--tp-space-8); }
@media (min-width: 768px) { .tp-features.tp-features--2 { grid-template-columns: repeat(2, 1fr); } }
.tp-section .tp-tabla-wrap + .tp-actions, .tp-section .tp-nota + .tp-actions, .tp-features + .tp-actions { margin-top: var(--tp-space-6); }

/* Línea de precios dentro de los bloques de cada plaza. */
.tp-precios-linea { margin: var(--tp-space-5) 0 0; padding-top: var(--tp-space-4); border-top: 1px solid var(--tp-border); color: var(--tp-ink-muted); font-size: 15px; }
.tp-precios-linea strong { font-family: var(--tp-font-display); font-size: 22px; color: var(--tp-navy-900); }

/* Contenedor estrecho (calculadora) y bloque partido solo de texto. */
.tp-container--estrecho { max-width: 880px; }
.tp-split--texto { align-items: start; }
.tp-split--texto h3 { margin: 0 0 var(--tp-space-4); font-size: 20px; }
.tp-split--texto .tp-tabla tbody th { width: 70%; }

/* Cabecera simple (Reservar, Contacto): sin foto, para ir directo al formulario. */
.tp-cabecera h1 { margin: 0 0 var(--tp-space-4); font-size: 32px; line-height: 38px; }
@media (min-width: 768px) { .tp-cabecera h1 { font-size: 44px; line-height: 50px; } }
.tp-cabecera .tp-lead { max-width: 60ch; }
.tp-garantias { list-style: none; margin: var(--tp-space-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--tp-space-2) var(--tp-space-6); font-weight: 600; color: var(--tp-navy-900); }
.tp-garantias li::before { content: "✓"; margin-right: 8px; color: var(--tp-gold-500); font-weight: 700; }

/* Formulario + columna lateral. */
.tp-reservar { display: grid; gap: var(--tp-space-8); align-items: start; }
@media (min-width: 1000px) { .tp-reservar { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .tp-reservar__lado { position: sticky; top: 100px; } }
.tp-reservar__form > h2 { margin-top: 0; }
.tp-reservar__lado { display: grid; gap: var(--tp-space-4); }
.tp-caja { padding: var(--tp-space-5); background: var(--tp-surface-alt); border-radius: var(--tp-radius-lg); }
.tp-caja h2 { margin: 0 0 var(--tp-space-3); font-size: 20px; line-height: 28px; }
.tp-caja p { margin: 0 0 var(--tp-space-3); }
.tp-caja p:last-child { margin-bottom: 0; }
.tp-caja .tp-btn { width: 100%; justify-content: center; }
.tp-caja--nota { background: var(--tp-surface-gold); text-align: center; }
.tp-pasos-mini { margin: 0; padding-left: 1.2em; display: grid; gap: var(--tp-space-2); }

/* Mapa de contacto. */
.tp-mapa iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--tp-radius-lg); }

/* Páginas legales: texto a una columna, cómodo de leer. */
.tp-legal { max-width: 820px; }
.tp-legal h2 { margin: var(--tp-space-8) 0 var(--tp-space-3); font-size: 22px; line-height: 30px; }
.tp-legal h2:first-child { margin-top: 0; }
.tp-legal ul { padding-left: 1.2em; }
.tp-legal li { margin-bottom: var(--tp-space-2); }

/* Aviso de cookies. */
.tp-cookies { position: fixed; z-index: 1000; left: var(--tp-space-4); right: var(--tp-space-4); bottom: var(--tp-space-4); max-width: 560px; margin-inline: auto; padding: var(--tp-space-5); background: #fff; border: 1px solid var(--tp-border); border-radius: var(--tp-radius-lg); box-shadow: 0 12px 40px rgba(5, 51, 67, .18); }
.tp-cookies[hidden] { display: none; }
.tp-cookies p { margin: 0 0 var(--tp-space-4); font-size: 15px; line-height: 24px; color: var(--tp-ink); }
.tp-cookies__botones { display: flex; gap: var(--tp-space-3); }
.tp-cookies__botones .tp-btn { flex: 1; justify-content: center; }
@media (max-width: 1199px) { .tp-cookies { bottom: 80px; } }
.tp-footer__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Mapa bajo demanda. */
.tp-mapa__boton { display: grid; place-items: center; gap: var(--tp-space-3); height: 320px; border-radius: var(--tp-radius-lg); background: var(--tp-sky-100); text-align: center; padding: var(--tp-space-5); }
.tp-mapa__boton p { margin: 0; color: var(--tp-ink-muted); font-size: 14px; }
