/* IMPORTANTE — unidades en este tema:
   Casper fija html{font-size:62.5%} → 1rem = 10px (no 16).
   · texto: SIEMPRE px (12px mínimo legible; 11-12px solo para
     etiquetas en mayúscula con letter-spacing)
   · espaciados, radios y sombras: rem (10px cada uno)
   Regla verificada por tests/test_theme.py:UnidadesTests */
@import url('tokens.css?v=2.261117.0317');
/* ==========================================================================
   Casa Quero — Luxury Boutique Hotel Theme
   Inspired by: Aman, Six Senses, My Arbor, Praia Art Resort
   ========================================================================== */

/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@300;400;500;600&display=swap'); */

/* ─── Derivadas de tokens.css (NUNCA redefinir aquí las base: --cq-navy,
   --cq-gold/accent, --cq-cream, --cq-charcoal, --cq-primary/bg/text,
   --font-*, --ghost-accent-color — custom.css carga DESPUÉS del @import
   y una redefinición PISA la paleta del hotel; lección islacapri 19-oct:
   footer navy Casa Quero + CTA dorado). ─── */
:root {
    --cq-navy-soft: color-mix(in srgb, var(--cq-navy) 88%, #ffffff);
    --cq-gold-soft: color-mix(in srgb, var(--cq-gold) 82%, #ffffff);
    --cq-linen: color-mix(in srgb, var(--cq-cream) 94%, var(--cq-charcoal));
    --cq-white: #ffffff;
    --cq-gray: color-mix(in srgb, var(--cq-charcoal) 55%, #ffffff);
    --cq-gray-light: color-mix(in srgb, var(--cq-charcoal) 30%, #ffffff);
    --cq-border: color-mix(in srgb, var(--cq-navy) 10%, transparent);
    --cq-border-gold: color-mix(in srgb, var(--cq-gold) 32%, transparent);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 4px 24px color-mix(in srgb, var(--cq-navy) 7%, transparent);
    --shadow-medium: 0 8px 40px color-mix(in srgb, var(--cq-navy) 12%, transparent);
}

/* ─── Base & Typography ─────────────────────────────────────────────────── */

body {
    font-family: var(--font-sans);
    color: var(--cq-charcoal);
    background-color: var(--cq-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.article-title,
.post-card-title,
.footer-cta-title {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--cq-navy);
    line-height: 1.2;
}

/* La cara de display solo para H1/H2 (≥24px). H3-H6 en sans: en una cara de
   inscripción sin minúsculas reales, los subtítulos de un artículo se vuelven
   una pared de versalitas. */
h1 { font-weight: 400; font-size: clamp(3.2rem, 6vw, 5rem); letter-spacing: 0; }
h2 { font-weight: 400; font-size: clamp(2.4rem, 3.5vw, 3rem); letter-spacing: 0; }
h3 { font-size: clamp(1.8rem, 2.2vw, 2rem); }
h3, h4, h5, h6, .post-card-title, .cq-footer-h {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0;
}

a {
    color: var(--cq-navy);
    transition: var(--transition-smooth);
    text-decoration: none;
}

a:hover {
    color: var(--cq-gold-ink, var(--cq-gold));
}

/* ─── Header / Navigation ───────────────────────────────────────────────── */

.gh-head {
    background: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.gh-head.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cq-border);
}

.gh-head.scrolled .gh-head-menu a,
.gh-head.scrolled .gh-head-logo {
    color: var(--cq-navy);
}

.gh-head-inner {
    padding: 1.5rem 4vw;
}

.gh-head-logo img {
    max-height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.gh-head.scrolled .gh-head-logo img {
    filter: none;
}

.gh-head-logo {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--cq-white);
    letter-spacing: 0.04em;
}

.gh-head-menu a {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    margin: 0 1.2rem;
    position: relative;
}

.gh-head-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cq-gold);
    transition: width 0.3s ease;
}

.gh-head-menu a:hover::after {
    width: 100%;
}

.gh-head-menu a:hover {
    color: var(--cq-white);
}

.gh-head.scrolled .gh-head-menu a {
    color: var(--cq-navy);
}

.gh-head.scrolled .gh-head-menu a:hover {
    color: var(--cq-gold);
}

.gh-head-button {
    background: transparent;
    color: var(--cq-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 15px;
    padding: 12px 28px;
    transition: var(--transition-smooth);
}

.gh-head-button:hover {
    background: var(--cq-gold);
    border-color: var(--cq-gold);
    color: var(--cq-navy);
}

.gh-head.scrolled .gh-head-button {
    color: var(--cq-navy);
    border-color: var(--cq-navy);
}

.gh-head.scrolled .gh-head-button:hover {
    background: var(--cq-navy);
    border-color: var(--cq-navy);
    color: var(--cq-white);
}

.gh-icon-btn {
    color: var(--cq-white);
    opacity: 0.8;
}

.gh-head.scrolled .gh-icon-btn {
    color: var(--cq-navy);
}

/* ─── Hero Section ──────────────────────────────────────────────────────── */

.cq-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background-color: var(--cq-navy);
}
.cq-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1.02);
    transition: transform 8s ease;
}
.cq-hero:hover .cq-hero-image {
    transform: scale(1.06);
}
.cq-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay, linear-gradient(
        to bottom,
        rgba(18, 21, 48, 0.2) 0%,
        rgba(18, 21, 48, 0.1) 40%,
        rgba(18, 21, 48, 0.6) 80%,
        rgba(18, 21, 48, 0.85) 100%
    ));
}
.cq-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem 6rem;
    max-width: 900px;
    animation: fadeInUp 1s ease 0.3s both;
}
.cq-hero-tagline {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cq-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.cq-hero-tagline::before,
.cq-hero-tagline::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--cq-gold);
    opacity: 0.6;
}
.cq-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 300;
    color: var(--cq-white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.cq-hero-title em {
    font-style: italic;
    font-weight: 400;
}
.cq-hero-description {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    letter-spacing: 0.01em;
}
.cq-hero-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cq-gold);
    background: transparent;
    padding: 16px 40px;
    border: 1px solid var(--cq-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.cq-hero-cta:hover {
    background: var(--cq-gold);
    color: var(--cq-navy);
    border-color: var(--cq-gold);
}

/* Scroll indicator */
.cq-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}
.cq-scroll-hint span {
    font-family: var(--font-sans);
    font-size: 16px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cq-white);
}
.cq-scroll-hint svg {
    width: 20px;
    height: 20px;
    stroke: var(--cq-white);
}

/* ─── Story Section ─────────────────────────────────────────────────────── */

.cq-story {
    padding: 6rem 4vw;
    background: var(--cq-cream);
    text-align: center;
}
.cq-story-inner {
    max-width: 700px;
    margin: 0 auto;
}
.cq-story-label {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cq-gold-ink, var(--cq-gold));
    margin-bottom: 1.5rem;
}
.cq-story-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    color: var(--cq-navy);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.cq-story-text {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--cq-gray);
    line-height: 1.8;
}
.cq-story-divider {
    width: 60px;
    height: 1px;
    background: var(--cq-gold);
    margin: 2rem auto;
    opacity: 0.5;
}

/* ─── Post Feed ─────────────────────────────────────────────────────────── */

.site-main {
    background: var(--cq-cream);
    padding: 4rem 0 6rem;
}

.post-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4vw;
}

@media (max-width: 768px) {
    .post-feed {
        gap: 2.5rem;
        padding: 0 5vw;
    }
}

.post-card {
    background: var(--cq-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    grid-column: auto !important;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 260px;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.post-card-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    width: 320px;
    flex-shrink: 0;
    min-height: 240px;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-card:hover .post-card-image {
    transform: scale(1.05);
}

.post-card-image-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 21, 48, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.post-card:hover .post-card-image-link::after {
    opacity: 1;
}

.post-card-content {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card-header {
    margin-bottom: 1.25rem;
}

.post-card-tags {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cq-gold-ink, var(--cq-gold));
    margin-bottom: 1rem;
}

.post-card-primary-tag {
    color: var(--cq-gold-ink, var(--cq-gold));
}

.post-card-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 2.1rem;
    line-height: 1.2;
    color: var(--cq-navy);
    margin-bottom: 0.75rem;
}

.post-card-title a {
    color: inherit;
}

.post-card-title a:hover {
    color: var(--cq-gold-ink, var(--cq-gold));
}

.post-card-excerpt {
    font-family: var(--font-sans);
    color: var(--cq-gray);
    font-size: 20px;
    line-height: 1.65;
    font-weight: 300;
}

.post-card-meta {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--cq-gray-light);
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cq-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-card-featured {
    color: var(--cq-gold-ink, var(--cq-gold));
    font-weight: 500;
}

/* ─── Article / Post Page ───────────────────────────────────────────────── */

.article {
    background: var(--cq-white);
}

.article-header {
    padding-top: 3rem;
}

.article-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 4rem);
    /* Cinzel/Playfair no traen 300: el navegador ya renderizaba 400. */
    font-weight: 400;
    letter-spacing: 0;
    color: var(--cq-navy);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.article-excerpt {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--cq-gray);
    line-height: 1.65;
    max-width: 680px;
}

.article-byline {
    margin: 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cq-border);
}

.author-name {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--cq-navy);
    letter-spacing: 0.05em;
}

.byline-meta-content {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--cq-gray-light);
    letter-spacing: 0.03em;
}

.article-image {
    margin: 2rem 0 3rem;
}

.article-image img {
    border-radius: 0;
}

.gh-content {
    font-family: var(--font-sans);
    font-size: 20px;
    line-height: 1.75;
    color: var(--cq-charcoal);
    font-weight: 400;
}

/* Medida de lectura: 68 caracteres. En una columna de 765px con Jost a 20px se
   pasaba de 80 y el ojo perdía el renglón al volver. */
.gh-content > p,
.gh-content > ul,
.gh-content > ol {
    /* 68ch con Jost a 20px se iba a 748px: el contenedor mide 720 y no limitaba. */
    max-width: 660px;
}

.gh-content h2 {
    font-family: var(--font-serif);
    color: var(--cq-navy);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    font-weight: 400;
    letter-spacing: 0;
}

.gh-content h3 {
    font-family: var(--font-sans);
    color: var(--cq-navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0;
}

.gh-content h2 {
    font-size: 2.6rem;
}

.gh-content h3 {
    font-size: 1.7rem;
}

.gh-content p {
    margin-bottom: 1.75rem;
}

.gh-content blockquote {
    border-left: none;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 1.7rem;
    color: var(--cq-navy);
    background: var(--cq-linen);
    line-height: 1.5;
    position: relative;
}

.gh-content blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--cq-gold);
}

.gh-content a {
    color: var(--cq-navy);
    text-decoration: none;
    border-bottom: 1px solid var(--cq-border-gold);
    padding-bottom: 1px;
    transition: var(--transition-smooth);
}

.gh-content a:hover {
    color: var(--cq-gold-ink, var(--cq-gold));
    border-bottom-color: var(--cq-gold-ink, var(--cq-gold));
}

.gh-content hr {
    border: none;
    height: 1px;
    background: var(--cq-border);
    margin: 3rem auto;
    max-width: 120px;
}

/* ─── Booking CTA ───────────────────────────────────────────────────────── */

.cq-booking-cta {
    margin: 4rem 0;
    padding: 4rem 3rem;
    background: var(--cq-navy);
    text-align: center;
    color: var(--cq-white);
    position: relative;
    overflow: hidden;
}
.cq-booking-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.cq-booking-cta h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 300;
    color: var(--cq-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.cq-booking-cta p {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.cq-booking-cta .cq-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cq-navy);
    background: var(--cq-gold);
    padding: 16px 40px;
    border-radius: 0;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}
.cq-booking-cta .cq-btn:hover {
    background: var(--cq-white);
    color: var(--cq-navy);
}

/* ─── Read More / Related Posts ─────────────────────────────────────────── */

.read-more-wrap {
    background: var(--cq-cream);
    padding: 4rem 0;
    border-top: 1px solid var(--cq-border);
}

.read-more {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tarjetas de "leer más": la imagen tenía 320px fijos dentro de una columna de
   ~348px, dejando 94px para el texto; la tarjeta crecía a 1500px de alto y la
   foto se recortaba a un primer plano (w100 15-nov). En grid angosto apilamos. */
.read-more .post-card {
    flex-direction: column;
}
.read-more .post-card-image-link {
    width: 100%;
    min-height: 200px;
    max-height: 220px;
}

/* Ghost no localiza {{reading_time}} (siempre "4 min read") y el helper ignora
   los labels custom en 5.130: en sitios en español se oculta. */
.byline-reading-time,
.post-card-meta-length { display: none; }

/* CTA de registro de miembros (Portal, en inglés) — fuera de un sitio de hotel */
.nav-sign-up, .gh-portal-trigger { display: none !important; }

/* ── Valoración Booking: cuarta columna del footer (fondo navy) ─────────── */
.cq-ba-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cq-ba-badge {
    height: 58px;
    width: auto;
    display: block;
    flex: none;
    margin-bottom: 0.35rem;
}
.cq-ba-score {
    flex: none;
    display: inline-block;
    background: #fff;
    color: #003580;
    border-radius: 8px 8px 8px 2px;
    padding: 0.45rem 0.6rem;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
}
.cq-ba-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.cq-ba-label {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}
.cq-ba-meta {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    line-height: 1.35;
}
@media (max-width: 480px) {
.cq-ba-inline { justify-content: center; }
.cq-ba-badge { height: 52px; }
.cq-ba-score { font-size: 16px; }
.cq-ba-label { font-size: 13px; }
.cq-ba-meta { font-size: 13px; }
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--cq-navy);
    color: rgba(255, 255, 255, 0.5);
    padding: 5rem 0 3rem;
    font-family: var(--font-sans);
    font-weight: 300;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
    color: var(--cq-gold);
}

.site-footer .copyright {
    margin-bottom: 2rem;
    font-size: 13px;
}

.site-footer .copyright a {
    color: var(--cq-white);
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
}
.cq-footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
    padding-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 3rem;
}
.cq-footer-info h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--cq-gold);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}
.cq-footer-info p,
.cq-footer-info a {
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 0.4rem;
    font-size: 17px;
    letter-spacing: 0.02em;
}
.cq-footer-info a:hover {
    color: var(--cq-gold);
}

.gh-powered-by {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.gh-powered-by a {
    color: rgba(255, 255, 255, 0.3);
}

/* ─── Pagination ────────────────────────────────────────────────────────── */

.pagination {
    font-family: var(--font-sans);
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cq-border);
}

.pagination a {
    color: var(--cq-navy);
    border: 1px solid var(--cq-border);
    border-radius: 0;
    padding: 0.6rem 1.5rem;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.pagination a:hover {
    background: var(--cq-navy);
    color: var(--cq-white);
    border-color: var(--cq-navy);
}

/* ─── Footer CTA (Ghost default) overrides ──────────────────────────────── */

.footer-cta {
    background: var(--cq-linen);
    padding: 4rem 0;
    text-align: center;
}

.footer-cta-title {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--cq-navy);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--cq-navy);
    padding: 14px 28px;
    color: var(--cq-navy);
    font-size: 15px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.footer-cta-button:hover {
    background: var(--cq-navy);
    color: var(--cq-white);
}

.footer-cta-input {
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    color: inherit;
}

/* ─── Site Header (Ghost default cover) ─────────────────────────────────── */

.site-header-content {
    display: none;
}

/* Hide Ghost default header since we have custom hero */

/* ─── Animations ────────────────────────────────────────────────────────── */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Fade in elements on scroll */
.cq-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.cq-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
.cq-hero {
        min-height: 500px;
        height: 80vh;
    }
.cq-hero-title {
        font-size: 2.6rem;
    }
.cq-hero-content {
        padding-bottom: 4rem;
    }
    .gh-head-inner {
        padding: 1rem 5vw;
    }
    .post-feed {
        gap: 2rem;
    }
    .post-card {
        flex-direction: column;
        min-height: auto;
    }
    .post-card-image-link {
        width: 100%;
        min-height: auto;
        aspect-ratio: 16 / 9;
    }
    .post-card-content {
        padding: 1.5rem;
    }
    .post-card-title {
        font-size: 1.6rem;
    }
.cq-story {
        padding: 4rem 5vw;
    }
.cq-booking-cta {
        padding: 3rem 1.5rem;
    }
.cq-footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .read-more {
        grid-template-columns: 1fr;
    }
}

/* Hide default Ghost site header when custom hero is present */
body.has-cover .site-header-content {
    display: none !important;
}

/* ── Botón flotante WhatsApp ─────────────────────────────── */
.cq-wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cq-wa-float:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}
@media (max-width: 768px) {
.cq-wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* ── Mapa embebido Google Maps ───────────────────────────── */
.cq-map-embed {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 2.5rem auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    aspect-ratio: 16 / 9;
}
.cq-map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Bloque sede (reutilizable para hoteles multi-sede) ──── */
.cq-sede {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 4vw;
}
.cq-sede-header {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.cq-sede-name { font-family: var(--font-serif, serif); font-size: 2rem; margin: 0; }
.cq-sede-meta { color: var(--mid-grey, #666); font-size: 15px; }
.cq-sede-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.cq-sede-room {
    border: 1px solid var(--cq-border);
    border-radius: 14px;
    padding: 0 0 1.4rem;
    background: var(--cq-white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.cq-sede-room:hover { box-shadow: var(--shadow-medium); transform: translateY(-3px); }
.cq-sede-room img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}
.cq-room-img-link { cursor: zoom-in; display: block; }
.cq-room-img-link img { transition: transform 0.35s ease; }
.cq-room-img-link:hover img { transform: scale(1.03); }
.cq-sede-room h4 {
    margin: 1.1rem 1.3rem 0.5rem;
    font-size: 1.9rem;          /* 19px reales — html 62.5% */
    font-weight: 600;
    color: var(--cq-navy);
    line-height: 1.25;
}
.cq-sede-room p {
    margin: 0 1.3rem;
    color: var(--cq-text);
    font-size: 1.45rem;         /* 14.5px reales */
    line-height: 1.55;
}
.cq-sede-room .cq-sede-price {
    margin-top: 0.6rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cq-accent-ink, var(--cq-accent));
}
.cq-room-cta {
    display: inline-block;
    margin: 1.2rem 1.3rem 0;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    background: var(--cq-accent);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: var(--transition-smooth);
    align-self: flex-start;
}
.cq-room-cta:hover {
    background: var(--cq-navy);
    color: #ffffff;
}

/* ── Selector de idioma ES/EN ────────────────────────────── */
.nav-lang {
    margin-left: 1.2rem;
    font-size: 13px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.nav-lang a { color: inherit; text-decoration: none; opacity: 0.65; }
.nav-lang a:hover { opacity: 1; }
.nav-lang .lang-sep { opacity: 0.4; margin: 0 0.25rem; }

/* ── Fix i18n nav: EN labels via slug swap (bug 1) ───────── */
/* En páginas EN (url /en/) el nav muestra labels EN usando attr data */
.nav-lang a.lang-active,
.nav-lang a[aria-current="true"] { opacity: 1; font-weight: 600; }
.nav-lang a:not(.lang-active) { opacity: 0.55; }
/* Conmutador generado: el activo lo decide el idioma del documento, así
   el partial es uno solo para ES y EN (sin duplicar markup). */
.nav-lang a.lang-en,
.nav-lang a.lang-es { opacity: 0.55; }
html[lang|="en"] .nav-lang a.lang-en,
html[lang|="es"] .nav-lang a.lang-es { opacity: 1; font-weight: 600; }

/* ── Fix header: prevenir colapso logo bajo hero (bug 4) ─── */
/* En EN home el body no traía home-template (ya fixeado en hbs);
   refuerzo: header siempre sobre hero con altura mínima */
.gh-head {
    min-height: 72px;
    /* box-sizing: content-box desbordaba 19px en móvil (390px): el inner
       sumaba su padding al 100% y arrastraba el scroll horizontal en TODOS
       los sitios del theme (verificado w100 + islacapri 15-nov). */
    box-sizing: border-box;
}
.gh-head-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 32px;
    width: 100%;
}
.gh-head-brand { grid-column-start: 1; }
.gh-head-menu  { grid-column-start: 2; justify-self: center; }
.gh-head-actions { grid-column-start: 3; justify-self: end; }
/* El menú nunca debe saltar de línea en desktop */
@media (min-width: 992px) {
    .gh-head-menu .nav { flex-wrap: nowrap; gap: 24px; }
    .gh-head-menu .nav a { margin: 0 0.45rem; font-size: 16px; letter-spacing: 0.1em; }
    .nav-lang { margin-left: 0.5rem; font-size: 13px; }
}

/* ── Menú móvil en UNA sola columna (16-nov-2026, los tres hoteles) ──────
   Las tres reglas de arriba (.gh-head-brand/menu/actions con
   grid-column-start 1/2/3) valen para escritorio, pero sin media query.
   En móvil Casper deja UNA columna explícita
   (#gh-head .gh-head-inner{grid-template-columns:1fr}), así que los ítems
   colocados en las columnas 2 y 3 generaban columnas IMPLÍCITAS: el menú
   aparecía a la derecha pisando el logo y el selector de idioma se iba
   fuera del viewport (había que arrastrar el dedo para verlo). Aquí se
   apila todo: marca, ítems y selector. */
@media (max-width: 767px) {
    #gh-head .gh-head-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        column-gap: 0;
    }
    #gh-head .gh-head-brand,
    #gh-head .gh-head-menu,
    #gh-head .gh-head-actions {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
    }
    /* el buscador de .gh-head-actions duplica el del brand en móvil */
    #gh-head .gh-head-actions { display: none; }
    /* El panel abierto cubre el viewport: con 72px de alto los ítems se
       pintaban fuera de la caja y el tap caía en la página de atrás.
       `#gh-head` (id) gana a `.gh-head-open #gh-head`, así que el selector
       lleva body + id para imponerse. */
    body.gh-head-open #gh-head {
        height: 100vh;
        min-height: 100vh;
        /* dvh después de vh: navegadores viejos ignoran la línea y se
           quedan con vh (el headless no soporta dvh y el panel se veía
           recortado a 72px). */
        height: 100dvh;
        min-height: 100dvh;
        background: var(--ghost-accent-color, #121530);
    }
    /* En páginas internas (sin portada) Casper NO pinta el fondo del panel
       abierto: los ítems quedaban flotando sobre el contenido. El alto y el
       fondo se fijan también en el grid, que es la caja que realmente crece
       (el alto de #gh-head lo pisa su propia regla con id en algunos
       navegadores). */
    body.gh-head-open #gh-head .gh-head-inner {
        min-height: 100vh;
        min-height: 100dvh;
        align-content: start;
        background: var(--ghost-accent-color, #121530);
        padding-bottom: 2.4rem;
    }
    .gh-head-open #gh-head .gh-head-menu,
    .gh-head-open #gh-head .gh-head-menu .nav,
    .gh-head-open #gh-head .gh-head-menu .nav li,
    .gh-head-open #gh-head .gh-head-menu .nav a,
    .gh-head-open #gh-head .nav-lang,
    .gh-head-open #gh-head .nav-lang a {
        visibility: visible;
        pointer-events: auto;
    }
    .gh-head-open #gh-head .gh-head-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .gh-head-open #gh-head .nav {
        align-items: center;
        width: 100%;
    }
    .gh-head-open #gh-head .nav-lang {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        margin: 1.8rem 0 0;
        font-size: 1.4rem;
        letter-spacing: 0.08em;
    }
}

/* Móvil angosto: el selector EN · ES + logo 180px empujaban el inner fuera
   del viewport (390px). Compactar el selector y dar aire al menú. */
@media (max-width: 480px) {
    .nav-lang { margin-left: 0.4rem; font-size: 12px; letter-spacing: 0.04em; }
    .nav-lang .lang-sep { margin: 0 0.15rem; }
    .gh-head-inner { padding-left: 1.2rem; padding-right: 1.2rem; }
}

/* ── Best practices: social proof + booking benefits + sticky CTA ── */
.cq-proof {
    max-width: 1000px;
    margin: 0 auto 1rem;
    padding: 1.1rem 4vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.4rem 2.2rem;
}
.cq-proof-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 17px;
}
.cq-proof-stars { color: var(--cq-gold, #c9a227); letter-spacing: 0.12em; }
.cq-proof-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.cq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}
/* barra sticky móvil de reserva */
.cq-book-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    display: none;
    gap: 0.7rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(10, 14, 20, 0.92);
    backdrop-filter: blur(10px);
}
.cq-book-bar a {
    flex: 1;
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.cq-book-bar .cq-bb-reserva { background: var(--cq-gold, #c9a227); color: #10131a; }
.cq-book-bar .cq-bb-wa { background: #25d366; color: #fff; }
@media (max-width: 767px) {
.cq-book-bar { display: flex; }
.cq-wa-float { display: none; }  /* evita duplicar WA en móvil */
    body { padding-bottom: 64px; }
}

/* ── Fix tipografía base + traslape CTA (auditoría 28-ago) ── */
/* El sistema rem de Casper (62.5% = 10px) dejaba todo un escalón pequeño */
/* logo grande: 64px normal, 52px al hacer scroll (header comprimido) */
.gh-head-logo img { max-height: 80px !important; width: auto; }
/* tope de ancho por hotel (--logo-max-width en tokens.css): logos apaisados
   (p.ej. 600x206) a 80px de alto se comen la nav y pisan el h1 del hero.
   Sin token el fallback es `none` → el resto de sitios no cambia. */
.gh-head-logo img { max-width: var(--logo-max-width, none); height: auto; }
.gh-head.scrolled .gh-head-logo img { max-height: 56px !important; }
.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-logo { display: block; }
.gh-head-brand { height: auto; min-height: 72px; }

.gh-head-menu a {
    font-size: 1.5rem;   /* 15px */
    font-weight: 500;
    letter-spacing: 0.12em;
}
.nav-lang { font-size: 1.3rem; }
.nav-lang a { font-size: 1.3rem; }
.cq-hero-tagline { font-size: 1.6rem; letter-spacing: 0.25em; }
.cq-hero-description { font-size: 1.8rem; font-weight: 400; line-height: 1.6; }
.cq-hero-cta { font-size: 1.7rem; padding: 1.6rem 3.6rem; }

/* Scroll hint: bajar para no invadir al CTA (traslape 3px medido) */
/* traslape CTA/Explorar: hint pegado abajo + contenido con aire */
.cq-hero .cq-scroll-hint { bottom: 1.4rem; }
.cq-hero .cq-hero-content { padding-bottom: 6.5rem; }
@media (max-width: 767px) {
.cq-hero .cq-hero-content { padding-bottom: 7.5rem; }
}
/* nav links: 15px reales (rem base 62.5%) — con !importante por la cascada de Casper */
.gh-head-menu .nav li a { font-size: 1.5rem !important; font-weight: 500 !important; letter-spacing: 0.12em !important; }
.cq-story-label { font-size: 1.4rem; letter-spacing: 0.22em; }
.cq-story-text { font-size: 1.7rem; line-height: 1.75; }
.cq-proof-rating { font-size: 1.5rem; }
.cq-badge { font-size: 19px; }

/* Post cards: títulos gigantes (44px) → jerarquía correcta */
.post-card .post-card-title { font-size: 2.4rem; }
.post-card .post-card-excerpt { font-size: 1.6rem; line-height: 1.55; }

/* ── Fix header EN: transparente sobre el hero (lección islacapri QA3) ──
   /en/ es colección custom: Ghost NO le pone home-template, así que
   screen.css (.has-cover:not(.home-template) .gh-head) la pinta con el
   accent. Cualquier página que renderiza .cq-hero (home ES y EN) debe
   llevar el header transparente como el home raíz. Las internas sin hero
   (habitaciones/contacto/…) mantienen el fondo accent. */
body:has(.cq-hero) .gh-head {
    background: transparent !important;
}

/* ── Fix footer: layout horizontal compacto (lección islacapri QA3) ──
   Casper pinta .site-footer .inner como GRID de 3 columnas heredada
   (copyright|nav|social ~154/745/220px) que aplasta nuestros bloques:
   cq-footer-info quedaba en una celda de 220px y colapsaba a 1 columna
   (footer altísimo con textos apilados). Bloques full-width en fila. */
.site-footer .inner {
    display: block;
}
.site-footer {
    padding: 2.75rem 0 1.75rem;
}
.site-footer .copyright {
    margin-bottom: 1rem;
}
.cq-footer-info {
    padding-top: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    gap: 1.75rem 2.5rem;
}

/* ── Testimonios Booking en "Sobre nosotros" ──────────────────────── */
.cq-testimonials blockquote {
    margin: 0;
    padding: 1.4rem 1.6rem;
    border: 1px solid color-mix(in srgb, var(--cq-navy) 14%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--cq-navy) 4%, #fff);
    box-shadow: 0 6px 18px rgba(14, 42, 78, 0.06);
}
.cq-testimonials blockquote p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--cq-charcoal, #2c3345);
}
.cq-testimonials blockquote footer {
    margin-top: 0.6rem;
    font-size: 14px;
    letter-spacing: 0.03em;
    color: color-mix(in srgb, var(--cq-navy) 65%, transparent);
    font-weight: 600;
}
@media (min-width: 768px) {
.cq-testimonials {
        columns: 2;
        column-gap: 1.75rem;
    }
.cq-testimonials h3,
    .cq-testimonials .cq-booking-band {
        column-span: all;
    }
.cq-testimonials blockquote {
        break-inside: avoid;
        margin-bottom: 1.25rem;
    }
}

/* Banda de puntuación Booking */
.cq-booking-band {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding: 1.1rem 1.5rem;
    margin: 0.5rem 0 1.5rem;
    border-radius: 14px;
    background: var(--cq-navy);
    color: #fff;
}
.cq-booking-band .cq-score-big {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.cq-booking-band .cq-score-meta {
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
}
.cq-booking-band .cq-score-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: auto;
}
.cq-score-chip {
    font-size: 13px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}
.cq-score-chip strong {
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SLIDER (portada con slides) — D1/D2
   Se activa con @custom.hero_mode = slider. Slides = posts #slider.
   Sin JS: la primera imagen queda como hero (nunca una franja vacía);
   .is-ready lo pone el propio slider al inicializarse.
   ═══════════════════════════════════════════════════════════════════════════ */
.cq-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--cq-navy);
    isolation: isolate;
}
.cq-slider:focus-visible {
    outline: 2px solid var(--cq-gold);
    outline-offset: -2px;
}
.cq-slider-track {
    position: absolute;
    inset: 0;
}
.cq-slider-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.9s ease, transform 0.9s ease, visibility 0.9s;
    z-index: 1;
}
.cq-slider:not(.is-ready) .cq-slider-slide:first-child,
.cq-slider-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}
.cq-slider[data-transition="slide"] .cq-slider-slide {
    transform: translateX(8%);
}
.cq-slider[data-transition="slide"] .cq-slider-slide.is-active,
.cq-slider[data-transition="slide"]:not(.is-ready) .cq-slider-slide:first-child {
    transform: translateX(0);
}
.cq-slider-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}
.cq-slider-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay, linear-gradient(
        to bottom,
        rgba(18, 21, 48, 0.25) 0%,
        rgba(18, 21, 48, 0.15) 40%,
        rgba(18, 21, 48, 0.78) 100%
    ));
}
.cq-slider-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 6.5rem;
    text-align: center;
}
.cq-slider-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: var(--display-weight, 300);
    line-height: 1.05;
    color: var(--cq-white);
    margin: 0 0 1.2rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.cq-slider-desc {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
    max-width: 60ch;
    margin: 0 auto 2.2rem;
}
.cq-slider-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cq-white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1.2rem 2.6rem;
    transition: var(--transition-smooth);
}
.cq-slider-cta:hover {
    background: var(--cq-gold);
    border-color: var(--cq-gold);
    color: var(--cq-navy);
}
.cq-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 4.6rem;
    height: 4.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(15, 18, 35, 0.35);
    color: var(--cq-white);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}
.cq-slider-arrow:hover {
    background: var(--cq-gold);
    border-color: var(--cq-gold);
    color: var(--cq-navy);
}
.cq-slider-arrow svg {
    width: 1.8rem;
    height: 1.8rem;
}
.cq-slider-prev { left: 2.4rem; }
.cq-slider-next { right: 2.4rem; }
.cq-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.6rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.9rem;
}
.cq-slider-dot {
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.cq-slider-dot.is-active {
    background: var(--cq-gold);
    border-color: var(--cq-gold);
    transform: scale(1.2);
}
.cq-slider-dot:focus-visible,
.cq-slider-arrow:focus-visible {
    outline: 2px solid var(--cq-gold);
    outline-offset: 3px;
}
@media (max-width: 767px) {
.cq-slider {
        height: 80vh;
        min-height: 500px;
    }
.cq-slider-content { padding-bottom: 7.5rem; }
.cq-slider-title { font-size: 2.6rem; }
.cq-slider-desc { font-size: 1.4rem; }
.cq-slider-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.cq-slider-slide { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOME DE CONVERSIÓN (D29) — banda de reserva directa, habitaciones,
   estadía larga, ubicación con mapa raster y cierre.
   Se renderiza solo con @custom.home_layout = "conversion".
   ═══════════════════════════════════════════════════════════════════════════ */
.cq-conv-band,
.cq-conv-rooms,
.cq-conv-longstay,
.cq-conv-location,
.cq-conv-cta {
    width: min(1180px, 92vw);
    margin: 0 auto;
}
.cq-conv-eyebrow {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cq-gold);
    margin: 0 0 0.6rem;
}

/* 1 · banda de reserva */
.cq-conv-band {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.6rem clamp(1.4rem, 4vw, 3.2rem);
    margin: 3.2rem auto 0;
    border-radius: 18px;
    background: var(--cq-navy);
    color: var(--cq-white);
}
.cq-conv-band-title {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin: 0 0 0.7rem;
    /* el h2 global del tema pinta navy: sobre la banda oscura desaparecía */
    color: var(--cq-white);
}
.cq-conv-band-text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.84;
    margin: 0 0 1.5rem;
    max-width: 46ch;
}
.cq-conv-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.cq-conv-band-actions-center { justify-content: center; }
.cq-conv-btn {
    display: inline-block;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    /* px a propósito: Casper fija html{font-size:62.5%}, así que 0.95rem = 9.5px */
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.cq-conv-btn-primary {
    /* blanco sobre el acento vivo daba 3.41:1; --cq-gold-ink deja ≥4.5:1.
       El texto va en BLANCO: la tinta oscura sobre este relleno da 3.8-4.0:1
       (Lighthouse lo marcó el 17-nov en w100). */
    background: var(--cq-gold-ink, var(--cq-gold));
    color: #fff;
}
.cq-conv-btn-primary:hover { filter: brightness(1.08); }
.cq-conv-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--cq-white);
}
.cq-conv-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.cq-conv-band-side { border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: 2rem; }
.cq-conv-price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.cq-conv-price-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
.cq-conv-price-value { font-family: var(--font-serif); font-size: 2.3rem; line-height: 1; }
.cq-conv-price-unit { font-size: 13px; opacity: 0.7; }
.cq-conv-facts {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.86;
}
.cq-conv-facts-dark { color: var(--cq-charcoal); opacity: 0.9; }
.cq-conv-facts strong { color: var(--cq-white); }
.cq-conv-facts-dark strong { color: var(--cq-navy); }

/* 2 · habitaciones */
.cq-conv-rooms { margin-top: 4.2rem; }
.cq-conv-head { max-width: 620px; margin-bottom: 1.8rem; }
.cq-conv-head h2,
.cq-conv-longstay h2,
.cq-conv-location h2,
.cq-conv-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.2;
    color: var(--cq-navy);
    margin: 0 0 0.6rem;
}
.cq-conv-sub { font-size: 14px; line-height: 1.65; opacity: 0.8; margin: 0; }
.cq-conv-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}
.cq-conv-room {
    background: var(--cq-white);
    border: 1px solid var(--cq-border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.cq-conv-room:hover { box-shadow: var(--shadow-medium); transform: translateY(-3px); }
.cq-conv-room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cq-conv-room-body { padding: 1.1rem 1.3rem 1.4rem; }
.cq-conv-room h3 { font-family: var(--font-serif); font-size: 1.3rem; margin: 0 0 0.35rem; color: var(--cq-navy); }
.cq-conv-room-meta { font-size: 13px; line-height: 1.55; opacity: 0.78; margin: 0 0 0.8rem; }
.cq-conv-link {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cq-gold);
    text-decoration: none;
    font-weight: 600;
}

/* 3 · estadía larga */
.cq-conv-longstay {
    margin-top: 4.2rem;
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: 18px;
    background: var(--cq-cream);
    border: 1px solid var(--cq-border);
}
.cq-conv-longstay-inner { max-width: 760px; }
.cq-conv-longstay-text { font-size: 14px; line-height: 1.7; opacity: 0.85; margin: 0 0 1.5rem; }

/* 4 · ubicación + mapa */
.cq-conv-location {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.4rem;
    align-items: stretch;
    margin-top: 4.2rem;
}
.cq-conv-location-info { display: flex; flex-direction: column; justify-content: center; }
.cq-map {
    width: 100%;
    min-height: 360px;
    border-radius: 16px;
    overflow: hidden;
    background: #e9ecef;
    z-index: 0;
}
.cq-map .leaflet-container { background: #e9ecef; font-family: var(--font-sans); }

/* 5 · cierre */
.cq-conv-cta {
    margin: 4.2rem auto 1rem;
    padding: clamp(2rem, 5vw, 3.4rem) 1.5rem;
    text-align: center;
    background: var(--cq-navy);
    border-radius: 20px;
    color: var(--cq-white);
}
.cq-conv-cta h2 { color: var(--cq-white); }
.cq-conv-cta p { max-width: 55ch; margin: 0 auto 1.6rem; opacity: 0.85; line-height: 1.65; }

@media (max-width: 860px) {
.cq-conv-band { grid-template-columns: 1fr; gap: 1.6rem; }
.cq-conv-band-side { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 1.4rem 0 0; }
.cq-conv-location { grid-template-columns: 1fr; }
.cq-map { min-height: 300px; }
}

/* /en/ es una colección (template index-en) con portada: Ghost no le pone
   `home-template`, así que `.has-cover:not(.home-template) .gh-head` le pintaba
   el header con el color de acento — el "listón verde" del menú EN. Cualquier
   colección con cover se comporta como la home: header transparente. */
body.has-cover:not(.home-template):not(.post-template):not(.page-template):not(.tag-template):not(.author-template):not(.error-template) .gh-head {
    background: transparent;
    box-shadow: none;
}

/* El header va en posición absoluta: en los artículos el h1 quedaba a 2px del
   borde inferior del menú (se recortaban las mayúsculas de la serif). */
body.post-template .site-main { padding-top: 4rem; }
/* el padding del main lo pisa una regla con shorthand: el margen del
   encabezado asegura el aire bajo el header en cualquier caso */
body.post-template .article-header { margin-top: 1.6rem; }

/* Tablet (768-991): Casper solo colapsa a burger por debajo de 768 y el menú
   inline no cabe, así que saltaba a 2-3 líneas y se montaba sobre la portada.
   Se compacta en una sola línea; el burger sigue entrando por debajo de 767. */
@media (min-width: 768px) and (max-width: 991px) {
    .gh-head-inner { column-gap: 6px; }
    /* centrado, el menú ES (más largo) desbordaba hacia el logo; alineado
       al inicio de su columna desborda hacia el espacio libre de la derecha */
    .gh-head-menu { min-width: 0; justify-self: start; margin-left: 6px; }
    .gh-head-menu .nav { flex-wrap: nowrap; gap: 4px; }
    .gh-head-menu .nav a { font-size: 12px; letter-spacing: 0.01em; margin: 0 0.08rem; }
    .gh-head-brand { max-width: 120px; }
    .gh-head-brand .gh-search,
    .gh-head-actions .gh-search { display: none; }  /* libera el ancho del menú ES */
    /* los links no se parten en dos líneas ("BOOK / NOW") */
    .gh-head-menu .nav a { white-space: nowrap; }
    /* el wordmark es muy ancho (5.6:1): a 32px de alto medía 180px y se
       montaba sobre el primer link; se acota por ancho */
    .gh-head-logo img { max-width: 110px; max-height: none; }
    .nav-lang { font-size: 12px; margin-left: 0.2rem; letter-spacing: 0; }
}

/* Casper esconde el logo en la home y corre el menú -40px para pegarlo al
   borde. Aquí el logo SÍ se muestra, así que ese corrimiento montaba el menú
   encima del logo (solo en ES, que es la única con home-template). */
/* La regla de screen.css es
   .is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-menu
   (5 clases): hay que igualarla y forzarla para que el logo y el menú no se pisen. */
body.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-menu {
    margin-left: 0 !important;
}

/* Los links del menú nunca se parten en dos líneas (a 1024 "BOOK NOW" y
   "ABOUT US" se partían y el header crecía a 2 filas). */
.gh-head-menu .nav a { white-space: nowrap; }


/* ─── Accesibilidad: auditoría Lighthouse 16-nov-2026 ──────────────────────
   Tres hallazgos del informe y su corrección. Las reglas van al final para
   ganar por orden a las de arriba sin tocar los selectores originales. */

/* Texto solo para lectores de pantalla (h1 de la portada). */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Barra de WhatsApp: blanco sobre #25d366 daba 1,9:1. */
.cq-book-bar .cq-bb-wa { color: #10131a; }

/* Pie: rgba(...,0.3) sobre el fondo oscuro daba 2,9:1. */
.gh-powered-by,
.gh-powered-by a { color: rgba(255, 255, 255, 0.62); }

/* Los títulos del pie eran <h4> sueltos y rompían el orden de encabezados;
   ahora son párrafos con el mismo aspecto. */
.cq-footer-info .cq-footer-h {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 400;
    color: var(--cq-gold);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

/* Puntos del slider: 16 px de área táctil, por debajo del mínimo de 24 px
   (WCAG 2.2). El punto visible sigue midiendo lo mismo. */
.cq-slider-dot {
    width: 26px;   /* px, no rem: Casper fija html{font-size:62.5%} y 1rem=10px */
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
}
.cq-slider-dot::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: transparent;
    transition: var(--transition-smooth);
}
.cq-slider-dot.is-active { background: transparent; border-color: transparent; }
.cq-slider-dot.is-active::before { background: var(--cq-gold); border-color: var(--cq-gold); }

/* Enlaces del pie: en línea el área táctil era la altura del texto (~17 px).
   Con inline-block + padding vertical queda sobre el mínimo de 24 px. */
.cq-footer-info p a {
    display: inline-block;
    padding: 4px 0;
    line-height: 1.5;
}

/* Leaflet hereda el 62.5% de Casper: su 11px por defecto caía a 7.5px */
/* La atribución del mapa la inyecta Leaflet con su propia hoja (11px, y su
   selector gana por orden de carga): se sube a 12px con !important. */
.leaflet-container .leaflet-control-attribution { font-size: 12px !important; }
