/* =====================================================================
   tema.css — capa «negro y oro» de toda la web (28-nov-2026)
   Se carga AL FINAL del <head> de cada página pública, después de su <style>,
   para poder afinar encima de los estilos propios de cada plantilla.
   Idea (referencias de Victor: pangea.es y tandemluxurytravel.com): mismo negro
   y dorado, otra manera. Menú transparente sobre la foto, titulares finos,
   fotos con el nombre encima, líneas finas en vez de cajas y botones rectos.
   La portada lleva además su propia capa dentro de index.html.
   Página nueva: copiar la línea <link rel="stylesheet" href="/tema.css"> de
   cualquier página, justo antes de </head>.
   ===================================================================== */
:root {
    --dark: #0b0a09; --dark-soft: #131210; --dark-card: #131210;
    --text: #d8d3ca; --text-muted: #9d978d; --white: #f6f1e8;
    --radius: 0px; --linea: rgba(201,169,110,0.24);
}
body { background: #0b0a09; }
h1, h2, h3, h4 { font-weight: 400; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.btn { border-radius: 0; padding: 18px 34px; font-size: 0.74rem; font-weight: 500; letter-spacing: 3px; }
.btn-primary:hover { box-shadow: none; }
main input, main textarea, main select { border-radius: 0; }

/* --- Menú transparente sobre la foto de cabecera (hasta que se baja) --- */
body:has(.hero, .dest-hero, .region-hero) .navbar:not(.scrolled):not(.menu-open) { background: transparent; border-bottom-color: transparent; }
body:has(.hero, .dest-hero, .region-hero) .navbar:not(.scrolled):not(.menu-open)::before { content: ''; position: absolute; inset: 0 0 -50px 0; background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0)); pointer-events: none; z-index: -1; }

/* --- Cabeceras de destino, región y guías --- */
/* La foto se centra: antes iba 60px más abajo para compensar el menú opaco y ahora dejaría una franja negra arriba */
.dest-hero, .region-hero { min-height: 84vh; margin-top: 0; padding: 120px 0 64px; background-position: center center; }
.dest-hero::after, .region-hero::after { background: linear-gradient(180deg, rgba(8,7,6,0.5) 0%, rgba(8,7,6,0.24) 30%, rgba(8,7,6,0.42) 62%, #0b0a09 100%); }
.dest-hero-content, .region-hero-content { max-width: 980px; }
.dest-hero-content h1, .region-hero-content h1 { font-weight: 400; font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 24px; text-shadow: 0 2px 44px rgba(0,0,0,0.4); }
/* Siempre en claro: en alguna página (Disney) el subtítulo iba en gris y no se leía sobre la foto */
.dest-hero-content p, .region-hero-content p { color: var(--white); font-weight: 400; text-shadow: 0 1px 4px rgba(0,0,0,0.55), 0 2px 22px rgba(0,0,0,0.6); }
.dest-hero-content .section-label, .region-hero-content .section-label { font-size: 0.72rem; font-weight: 400; letter-spacing: 5px; }
.dest-hero-content .dest-duration { font-weight: 400; letter-spacing: 4px; color: var(--gold-light); text-shadow: none; }

/* --- Cabeceras de sección: a la izquierda, con línea fina --- */
.section-label { font-weight: 400; }
.section-header { text-align: left; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 72px; align-items: end; margin-bottom: 64px; padding-top: 30px; border-top: 1px solid var(--linea); }
.section-header > .section-label { grid-column: 1 / -1; font-size: 0.7rem; letter-spacing: 5px; margin-bottom: 32px; }
.section-header > .section-title, .section-header > h1, .section-header > h2 { font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
.section-header > .divider { display: none; }
.section-header > .section-subtitle, .section-header > p { margin: 0; max-width: 430px; justify-self: end; padding-bottom: 10px; font-size: 1rem; font-weight: 300; line-height: 1.75; color: var(--text-muted); }

/* --- Tarjetas de destino: láminas con el nombre encima --- */
.destinations-grid { gap: 14px; }
.destination-card:has(.card-features) { background: none; border: 0; border-radius: 0; }
.destination-card:has(.card-features):hover { transform: none; box-shadow: none; }
.destination-card:has(.card-features) > a { display: block; position: relative; overflow: hidden; }
.destination-card:has(.card-features) .card-image { height: auto; aspect-ratio: 3 / 4; }
.destination-card:has(.card-features) .card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,7,6,0.96) 0%, rgba(8,7,6,0.68) 36%, rgba(8,7,6,0) 74%); }
.destination-card:has(.card-features) .card-badge { display: none; }
.destination-card:has(.card-features) .card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 30px 30px 28px; }
.destination-card:has(.card-features) .card-location { font-weight: 400; letter-spacing: 4px; color: var(--gold-light); }
.destination-card:has(.card-features) .card-body h3 { font-weight: 400; font-style: italic; font-size: 2rem; line-height: 1.15; margin-bottom: 14px; }
.destination-card:has(.card-features) .card-body p { max-height: 0; opacity: 0; margin: 0; color: var(--text); transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease; }
.destination-card:has(.card-features):hover .card-body p { max-height: 6em; opacity: 1; margin-bottom: 14px; }
.destination-card:has(.card-features) .card-features { gap: 0; }
.destination-card:has(.card-features) .card-features span { background: none; border: 0; padding: 0; font-size: 0.74rem; letter-spacing: 0.6px; color: var(--text); }
.destination-card:has(.card-features) .card-features span::before { content: none; }
.destination-card:has(.card-features) .card-features span + span::before { content: '·'; margin: 0 9px; color: var(--gold); }
.destination-card:has(.card-features) .card-link { display: none; }
/* Tarjetas sin datos de viaje (blog, guías): caja sobria */
.destination-card:not(:has(.card-features)) { background: none; border: 0; border-bottom: 1px solid var(--linea); }
.destination-card:not(:has(.card-features)):hover { transform: none; box-shadow: none; }
.destination-card:not(:has(.card-features)) .card-body { padding: 24px 0 28px; }
.destination-card:not(:has(.card-features)) .card-body h3 { font-weight: 400; font-size: 1.45rem; }

/* --- Página de destino --- */
.dest-intro-text { max-width: 880px; font-family: 'Playfair Display', serif; font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 400; line-height: 1.65; color: var(--white); }
.itinerary-content h3 { font-weight: 400; font-size: 2.1rem; }
.itinerary-content .section-label { letter-spacing: 4px; }
.includes-grid { gap: 0 32px; }
.include-card { background: none; border: 0; border-top: 1px solid var(--linea); border-radius: 0; text-align: left; padding: 28px 0 8px; }
.include-card:hover { transform: none; border-color: var(--linea); }
.include-card .include-icon { display: none; }
.include-card h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 400; letter-spacing: 0; margin-bottom: 12px; }
.dest-cta, .tips-section.alt-bg { border-color: var(--linea); }
.dest-cta h2, .dest-protips h2, .tips-cta h2, .cta-final-content h2, .blog-cta h2 { font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.01em; }
.tips-section-title { font-weight: 400; }
.tips-intro-content p { color: var(--text); }

/* --- Preguntas frecuentes --- */
.faq-item { border-bottom-color: var(--linea); }
.faq-question { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 400; }
.faq-answer p { font-weight: 300; }

/* --- Iconos: de línea y dorados en vez de emojis (28-nov-2026) ---
   En las guías el emoji sigue escrito en el HTML (lo leen los lectores de pantalla y la copia en
   Markdown), pero no se pinta: la clase dice qué icono va. i-ok = recomendación, i-aviso =
   advertencia, i-idea = truco, i-punto = cualquier otro. */
.tip-icon[class*="i-"] { font-size: 0; width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; background: center / contain no-repeat; }
.tip-icon.i-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.8 2.8L16 9.8'/%3E%3C/svg%3E"); }
.tip-icon.i-aviso { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 21.5 20h-19z'/%3E%3Cpath d='M12 10v4.5M12 17.2v.1'/%3E%3C/svg%3E"); }
.tip-icon.i-idea { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c.6 4.6 2.4 6.400 9 9-6.600 2.600-8.400 4.400-9 9-.6-4.600-2.400-6.400-9-9 6.600-2.600 8.400-4.400 9-9z'/%3E%3C/svg%3E"); }
.tip-icon.i-punto { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 6 6 6-6 6-6-6z'/%3E%3C/svg%3E"); }
.contact-icon { background: none; border: 1px solid var(--linea); }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer-review-link::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 9px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.700 5.800 6.300.800-4.600 4.400 1.200 6.300L12 17.300 6.400 20.300l1.200-6.300L3 9.600l6.300-.800z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* --- Móvil --- */
@media (max-width: 768px) {
    .btn { padding: 16px 22px; letter-spacing: 2px; }
    .dest-hero, .region-hero { min-height: 74vh; padding: 104px 0 48px; background-attachment: scroll; }
    .section-header { grid-template-columns: 1fr; margin-bottom: 44px; }
    .section-header > .section-subtitle, .section-header > p { justify-self: start; margin-top: 18px; }
    .destination-card:has(.card-features) .card-image { aspect-ratio: 4 / 5; }
    .includes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .includes-grid { grid-template-columns: 1fr; }
}
