/* ==========================================================================
   Pontarró — capa de diseño
   --------------------------------------------------------------------------
   Reconstruye la identidad visual de villapollensa.es con CSS propio.
   NO contiene código del tema Hongo: solo tipografía de Google Fonts
   (Playfair Display + Poppins, ambas SIL OFL) y la paleta de la marca.

   Se carga DESPUÉS de frontend.css y redefine sus variables, así que el
   diseño anterior sigue intacto si se quita este fichero.
   ========================================================================== */

:root {
    /* ── Paleta ─────────────────────────────────────────────────── */
    --pt-ink:        #2b2926;   /* casi negro cálido: barra y titulares */
    --pt-ink-soft:   #3a3835;
    --pt-body:       #6f6f6f;   /* texto corrido */
    /* 6b6b6b y no 8d8d8d: el anterior daba 3,31:1 sobre blanco y 3,07:1
       sobre el fondo alterno, por debajo del 4,5:1 que pide WCAG AA. Y no
       es texto de adorno —lleva las condiciones de los precios—, que
       ademas se leen al sol. Este da 5,33:1 y 4,93:1. */
    --pt-muted:      #6b6b6b;
    --pt-white:      #ffffff;
    --pt-off:        #f7f6f4;   /* fondo alterno */
    --pt-cream:      #f5f1ea;   /* fondo cálido (alrededores) */
    --pt-line:       #e6e3de;

    /* Calendario de disponibilidad */
    --pt-free:       #dff3c8;
    --pt-free-ink:   #4a6b2f;
    --pt-booked:     #f7c9c9;
    --pt-booked-ink: #8c3a3a;

    /* ── Tipografía ─────────────────────────────────────────────── */
    --pt-display: 'Recoleta', 'Playfair Display', Georgia, serif;
    --pt-sans:    'Poppins', 'Inter', system-ui, -apple-system, sans-serif;

    /* ── Ritmo ──────────────────────────────────────────────────── */
    --pt-gutter:  clamp(20px, 4vw, 48px);
    --pt-section: clamp(44px, 6.5vw, 92px);
    --pt-max:     1480px;
}

/* ══════════════════════════════════════════════════════════════════
   Complementos al reset de UIkit
   --------------------------------------------------------------------
   El layout carga uikit.min.css ANTES que este fichero: de ahí salen
   el body sin margen, las imágenes fluidas y los formularios
   normalizados. Aquí solo va lo que UIkit no aporta:
   - border-box universal (UIkit lo fija por componente, no global):
     sin esto .pt-container (width:100% + padding) mide más que el
     viewport → franja blanca a la derecha y scroll horizontal;
   - el color de marca para los enlaces (UIkit los pinta de azul).
   ══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

body {
    /* Cinturón extra contra el scroll lateral: clip no crea un scroll
       container, así que la cabecera sticky sigue funcionando. */
    overflow-x: clip;
}

a { color: var(--pt-ink); }
a:hover { color: var(--pt-ink); }

/* ══════════════════════════════════════════════════════════════════
   Base
   ══════════════════════════════════════════════════════════════════ */

.pt body,
body.pt-theme {
    font-family: var(--pt-sans);
    color: var(--pt-body);
    background: var(--pt-white);
}

.pt-container {
    width: 100%;
    max-width: var(--pt-max);
    margin-inline: auto;
    padding-inline: var(--pt-gutter);
}

/* Rejilla editorial: titular a la izquierda, texto a la derecha.
   Es el patrón que se repite en todas las secciones interiores. */
.pt-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 56px);
}

@media (min-width: 960px) {
    .pt-split {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(36px, 5vw, 80px);
    }
    /* Sangrado interior: en el original el bloque no toca los bordes. */
    .pt-split--inset { padding-inline: clamp(0px, 4vw, 80px); }
}

.pt-section    { padding-block: var(--pt-section); }
.pt-section--off   { background: var(--pt-off); }
.pt-section--cream { background: var(--pt-cream); }
.pt-section--ink   { background: var(--pt-ink); color: rgba(255,255,255,.75); }

/* ══════════════════════════════════════════════════════════════════
   Tipografía
   ══════════════════════════════════════════════════════════════════ */

.pt-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pt-sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pt-ink);
    margin: 0 0 14px;
}
.pt-eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    background: currentColor;
    flex: none;
}
.pt-eyebrow--light { color: rgba(255,255,255,.9); }

.pt-display {
    font-family: var(--pt-display);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.015em;
    color: var(--pt-ink);
    margin: 0;
}
.pt-display--xl { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.pt-display--lg { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.pt-display--md { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

.pt-prose {
    font-size: clamp(.95rem, 1vw, 1.02rem);
    line-height: 1.7;
    color: var(--pt-body);
}
.pt-prose p { margin: 0 0 1.5em; }
.pt-prose p:last-child { margin-bottom: 0; }
.pt-prose strong { color: var(--pt-ink); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   Cabecera
   ══════════════════════════════════════════════════════════════════ */

.pt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--pt-ink);
    transition: background .3s ease;
}
/* Sobre el hero arranca transparente y se solidifica al bajar. */
.pt-header--over {
    position: fixed;
    inset: 0 0 auto;
    background: transparent;
}
.pt-header--over.is-stuck { background: var(--pt-ink); }

.pt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.pt-logo {
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: clamp(1.3rem, 1.9vw, 1.7rem);
    letter-spacing: -.01em;
    color: var(--pt-white);
    text-decoration: none;
    line-height: 1;
}
.pt-logo:hover { color: var(--pt-white); text-decoration: none; }
.pt-logo img { display: block; height: 32px; width: auto; }

.pt-nav {
    display: none;
    align-items: center;
    gap: clamp(20px, 2.6vw, 46px);
}
@media (min-width: 1200px) { .pt-nav { display: flex; } }

.pt-nav a {
    font-family: var(--pt-display);
    font-size: 1.06rem;
    font-weight: 400;
    color: var(--pt-white);
    text-decoration: none;
    opacity: .92;
    transition: opacity .2s ease;
    white-space: nowrap;
}
.pt-nav a:hover,
.pt-nav a.is-active { opacity: 1; text-decoration: none; }

.pt-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    color: var(--pt-white);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.pt-burger:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); }
@media (min-width: 1200px) { .pt-burger { display: none; } }

/* ══════════════════════════════════════════════════════════════════
   Hero
   ══════════════════════════════════════════════════════════════════ */

.pt-hero {
    position: relative;
    min-height: min(92svh, 780px);
    display: flex;
    align-items: flex-end;
    /* Color de respaldo: si aún no hay foto subida, el texto blanco
       del hero sigue leyéndose. */
    background-color: var(--pt-ink);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.pt-hero::after {
    /* El original usa una veladura muy suave: 0.2 */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.10) 38%, rgba(0,0,0,.22) 100%);
}

.pt-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: clamp(48px, 9vh, 110px);
}

.pt-hero-eyebrow {
    color: var(--pt-white);
    font-family: var(--pt-display);
    font-size: clamp(.95rem, 1.2vw, 1.1rem);
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
}
.pt-hero-eyebrow::before { width: 34px; background: var(--pt-white); }

.pt-hero-title {
    color: var(--pt-white);
    /* 22ch y no 15: el titular era «Villas Pollensa» y cabía de sobra. El de
       ahora dice qué se alquila y dónde —46 caracteres— y con el ancho viejo
       se partía en cuatro líneas que no cabían en el hero. */
    max-width: 22ch;
    text-shadow: 0 2px 24px rgba(0,0,0,.22);
}

.pt-hero-meta {
    margin: 16px 0 0;
    font-size: clamp(.9rem, 1vw, 1rem);
    color: rgba(255,255,255,.94);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.pt-hero-meta span:not(:last-child)::after {
    content: '|';
    margin-left: 12px;
    opacity: .55;
}


/* Botón de galería del hero: abre el visor con todas las fotos de la casa.
   Cristal esmerilado sobre la foto para que se lea con cualquier imagen
   detrás, sin tapar el titular. */
.pt-hero-gallery {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 999px;
    background: rgba(0,0,0,.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.pt-hero-gallery:hover,
.pt-hero-gallery:focus-visible {
    background: rgba(0,0,0,.46);
    border-color: rgba(255,255,255,.7);
    color: #fff;
    transform: translateY(-1px);
}
.pt-hero-gallery:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.pt-hero-gallery svg { flex: none; }

/* Quien prefiere menos movimiento no lo tiene. */
@media (prefers-reduced-motion: reduce) {
    .pt-hero-gallery { transition: none; }
    .pt-hero-gallery:hover { transform: none; }
}

/* El año gigante detrás del primer plano: da profundidad al hero. */
.pt-hero-year {
    position: absolute;
    left: 50%;
    bottom: -.18em;
    transform: translateX(-50%);
    z-index: 1;
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: clamp(3.6rem, 12vw, 9rem);
    line-height: .8;
    white-space: nowrap;
    color: rgba(255,255,255,.82);
    pointer-events: none;
    user-select: none;
}

/* ══════════════════════════════════════════════════════════════════
   Franja de características
   ══════════════════════════════════════════════════════════════════ */

.pt-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding-block: clamp(16px, 2.4vw, 30px);
    background: var(--pt-white);
}
.pt-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-inline: clamp(16px, 3vw, 44px);
    font-size: .92rem;
    color: var(--pt-ink);
    white-space: nowrap;
}
/* La cifra manda: es lo que se lee de un vistazo al bajar del hero. Va en la
   tipografía de titulares y en su único grosor, el 400. */
.pt-feature-cifra {
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--pt-ink);
}
.pt-feature + .pt-feature { border-left: 1px solid var(--pt-line); }
.pt-feature svg { width: 22px; height: 22px; stroke: var(--pt-ink); fill: none; stroke-width: 1.4; flex: none; }
@media (max-width: 639px) {
    .pt-feature { flex: 1 1 100%; justify-content: center; padding-block: 12px; }
    .pt-feature + .pt-feature { border-left: 0; border-top: 1px solid var(--pt-line); }
}

/* ══════════════════════════════════════════════════════════════════
   Cifras
   ══════════════════════════════════════════════════════════════════ */

.pt-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(18px, 3vw, 36px);
    margin-top: clamp(28px, 4.5vw, 56px);
}
.pt-stat { display: flex; align-items: flex-start; gap: 18px; }
.pt-stat-value {
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    line-height: 1;
    color: var(--pt-ink);
}
.pt-stat-body { border-left: 1px solid var(--pt-line); padding-left: 18px; }
.pt-stat-label { font-weight: 600; color: var(--pt-ink); font-size: .95rem; line-height: 1.3; }
.pt-stat-note  { font-size: .84rem; color: var(--pt-muted); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════════
   Botones
   ══════════════════════════════════════════════════════════════════ */

.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 26px;
    border: 1px solid var(--pt-ink);
    border-radius: 999px;
    background: var(--pt-ink);
    color: var(--pt-white);
    font-family: var(--pt-sans);
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.pt-btn:hover { background: transparent; color: var(--pt-ink); text-decoration: none; }
.pt-btn--ghost { background: transparent; color: var(--pt-ink); }
.pt-btn--ghost:hover { background: var(--pt-ink); color: var(--pt-white); }
.pt-btn--light { background: var(--pt-white); border-color: var(--pt-white); color: var(--pt-ink); }
.pt-btn--light:hover { background: transparent; color: var(--pt-white); }
/* Talla de tarjeta: el pt-btn de 46px repetido seis veces en la retícula
   del blog gritaría; este remata la tarjeta sin competir con el titular. */
.pt-btn--peque { min-height: 36px; padding: 0 18px; font-size: .8rem; }

/* ══════════════════════════════════════════════════════════════════
   Precios
   ══════════════════════════════════════════════════════════════════ */

.pt-prices-head { border-bottom: 1px solid var(--pt-line); padding-bottom: 14px; margin-bottom: clamp(20px, 3vw, 34px); }

.pt-prices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.4vw, 28px) clamp(20px, 3vw, 40px);
}
.pt-price-month { font-size: 1rem; font-weight: 600; color: var(--pt-ink); margin: 0 0 8px; }
.pt-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-block: 7px;
    font-size: .88rem;
    border-bottom: 1px solid var(--pt-line);
    font-size: 1.02rem;
    color: var(--pt-muted);
}
.pt-price-row b { font-weight: 600; color: var(--pt-ink); font-size: .98rem; }

.pt-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 10px clamp(22px, 4vw, 56px);
    margin-top: clamp(22px, 3.4vw, 40px);
    padding-top: clamp(16px, 2.4vw, 28px);
    border-top: 1px solid var(--pt-line);
    font-size: .86rem;
    color: var(--pt-muted);
}
.pt-extras b { color: var(--pt-ink); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   Calendario de disponibilidad
   ══════════════════════════════════════════════════════════════════ */

.pt-legend { display: inline-flex; gap: 18px; align-items: center; padding: 8px 14px; border: 1px solid var(--pt-line); border-radius: 999px; margin-bottom: 18px; font-size: .82rem; }
.pt-legend span { display: inline-flex; align-items: center; gap: 10px; }
.pt-legend i { width: 18px; height: 13px; border-radius: 2px; display: inline-block; }
.pt-legend .is-free   { background: var(--pt-free); }
.pt-legend .is-booked { background: var(--pt-booked); }

.pt-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 12px; }
@media (min-width: 640px)  { .pt-months { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px)  { .pt-months { grid-template-columns: repeat(4, 1fr); } }
/* 12 meses en dos filas de 6 */
@media (min-width: 1200px) { .pt-months { grid-template-columns: repeat(6, 1fr); } }
.pt-month { border: 1px solid var(--pt-line); border-radius: 4px; overflow: hidden; background: var(--pt-white); }
.pt-month-name { text-align: center; padding: 8px; background: var(--pt-off); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--pt-ink); }
.pt-month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 8px; }
.pt-dow { text-align: center; font-size: .64rem; font-weight: 600; color: var(--pt-muted); padding-block: 4px; }
.pt-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    border-radius: 3px;
    color: var(--pt-ink-soft);
    background: var(--pt-off);
}
.pt-day--free   { background: var(--pt-free);   color: var(--pt-free-ink); }
.pt-day--booked { background: var(--pt-booked); color: var(--pt-booked-ink); }
.pt-day--empty  { background: transparent; }

/* Día de cambio: sale un huésped por la mañana y entra otro por la tarde.
   Sin esto se pierde una noche vendible en cada cambio de reserva. */
.pt-day--checkout { background: linear-gradient(to bottom right, var(--pt-booked) 0 49.5%, var(--pt-free) 50.5% 100%); }
.pt-day--checkin  { background: linear-gradient(to bottom right, var(--pt-free) 0 49.5%, var(--pt-booked) 50.5% 100%); }

/* ══════════════════════════════════════════════════════════════════
   Testimonios (reseñas de Google)
   ══════════════════════════════════════════════════════════════════ */

.pt-testimonials { text-align: center; }
.pt-testimonials-intro { max-width: 34ch; margin: 18px auto 0; color: var(--pt-body); }

.pt-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: clamp(26px, 4vw, 48px); }
.pt-review { background: var(--pt-off); border-radius: 6px; padding: 44px 20px 24px; position: relative; text-align: center; }
.pt-review-avatar {
    position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--pt-sans); font-size: 1.3rem; font-weight: 600; color: #fff;
    border: 3px solid var(--pt-white);
}
.pt-review-name { font-weight: 600; color: var(--pt-ink); font-size: .95rem; }
.pt-review-date { font-size: .8rem; color: var(--pt-muted); margin-top: 2px; }
.pt-review-stars { color: #f5b301; letter-spacing: 2px; margin: 8px 0 10px; font-size: .92rem; }
.pt-review-text { font-size: .9rem; line-height: 1.6; color: var(--pt-body); }
.pt-review-more { display: inline-block; margin-top: 14px; color: var(--pt-muted); font-size: .95rem; }

/* ══════════════════════════════════════════════════════════════════
   Tarjetas de blog
   ══════════════════════════════════════════════════════════════════ */

/* Tres columnas y no auto-fill: con minmax(250px) el contenedor de 1480px
   metía cinco columnas apretadas, y en los «relacionados» (tres artículos)
   dejaba dos huecos vacíos al final de la fila. */
.pt-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 44px); }
@media (max-width: 980px) { .pt-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pt-posts { grid-template-columns: 1fr; } }
.pt-post-media {
    display: block;
    width: 100%;
    /* Sin tope de alto: con aspect-ratio, capar la altura capaba también
       el ancho y la foto quedaba más estrecha que la columna. */
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 4px;
}
.pt-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pt-post:hover .pt-post-media img { transform: scale(1.04); }
/* Etiqueta en voz baja: la píldora negra pesaba más que los titulares y,
   multiplicada por columna, hacía muro. La categoría es un susurro. */
.pt-post-tag {
    display: inline-block;
    margin: 16px 0 0;
    color: var(--pt-muted);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.pt-post-title { font-family: var(--pt-sans); font-size: 1.16rem; font-weight: 600; line-height: 1.4; color: var(--pt-ink); margin: 8px 0 8px; }
.pt-post-title a { color: inherit; text-decoration: none; }
.pt-post-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pt-post-excerpt { font-size: .92rem; line-height: 1.65; color: var(--pt-body); margin: 0; max-width: 44ch; }

/* El último artículo, en grande: media a un lado y titular en serifa al
   otro. Es la portada del blog, no una celda más de la retícula. */
.pt-destacado {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: clamp(44px, 6vw, 80px);
}
.pt-destacado-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
}
.pt-destacado-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pt-destacado:hover .pt-destacado-media img { transform: scale(1.03); }
.pt-destacado-titulo {
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.015em;
    color: var(--pt-ink);
    margin: 10px 0 14px;
    text-wrap: balance;
}
.pt-destacado-titulo a { color: inherit; text-decoration: none; }
.pt-destacado-titulo a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pt-destacado-extracto { font-size: 1rem; line-height: 1.7; color: var(--pt-body); margin: 0; max-width: 52ch; }
@media (max-width: 860px) {
    .pt-destacado { grid-template-columns: 1fr; gap: 4px; align-items: start; }
}

/* ══════════════════════════════════════════════════════════════════
   Volver arriba
   ══════════════════════════════════════════════════════════════════ */

.pt-scrollup {
    position: fixed;
    right: 14px;
    bottom: 40px;
    z-index: 60;
    display: none;
    align-items: center;
    gap: 10px;
    writing-mode: vertical-rl;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pt-muted);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
}
.pt-scrollup.is-visible { display: flex; }
@media (max-width: 959px) { .pt-scrollup { display: none !important; } }

/* ══════════════════════════════════════════════════════════════════
   Accesibilidad
   ══════════════════════════════════════════════════════════════════ */

.pt-btn:focus-visible,
.pt-nav a:focus-visible,
.pt-logo:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .pt-header, .pt-post-media img, .pt-destacado-media img { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════
   Preguntas frecuentes
   ══════════════════════════════════════════════════════════════════ */

.pt-faq { list-style: none; margin: 0; padding: 0; }

/* UIkit separa cada elemento del acordeon con 20 px de margen. Aqui las
   preguntas ya van separadas por su linea inferior, asi que ese margen solo
   estira la lista y obliga a hacer scroll para ver ocho preguntas que caben
   de sobra. Se anula en vez de tocar el CSS de UIkit, que es de la libreria. */
.pt-faq > :nth-child(n+2) { margin-top: 0; }

.pt-faq li { border-bottom: 1px solid var(--pt-line); }
/* UIkit pinta su propio chevrón en ::before; aquí el indicador es el +/− */
.pt-faq .uk-accordion-title::before { display: none; }
.pt-faq-q {
    display: block;
    padding: 12px 30px 12px 0;
    font-family: var(--pt-sans);
    font-size: .92rem;
    font-weight: 500;
    color: var(--pt-ink);
    text-decoration: none;
    position: relative;
}
.pt-faq-q:hover { color: var(--pt-ink); text-decoration: none; }
.pt-faq-q::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--pt-muted);
}
.pt-faq .uk-open > .pt-faq-q::after { content: '−'; }
.pt-faq-a { padding-bottom: 14px; }
.pt-faq-a p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--pt-body); }

/* ══════════════════════════════════════════════════════════════════
   Cabecera de página interior
   ══════════════════════════════════════════════════════════════════ */

.pt-page-head { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(18px, 2.6vw, 32px); }
.pt-page-lead { max-width: 58ch; margin-top: 14px; }

/* ══════════════════════════════════════════════════════════════════
   Contacto
   ══════════════════════════════════════════════════════════════════ */

.pt-contact-data { list-style: none; margin: 26px 0 0; padding: 0; }
.pt-contact-data li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .92rem; }
.pt-contact-data li:last-child { border-bottom: 0; }
.pt-contact-data a { color: #fff; text-decoration: none; }
.pt-contact-data a:hover { text-decoration: underline; }
.pt-contact-data--dark li { border-bottom-color: var(--pt-line); color: var(--pt-ink); }
.pt-contact-data--dark a { color: var(--pt-ink); }

/* ── Formulario ───────────────────────────────────────────────── */

.pt-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) {
    .pt-form-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-field-wide { grid-column: 1 / -1; }
}

.pt-field { display: flex; flex-direction: column; }
.pt-field label {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: inherit;
    opacity: .7;
}
.pt-field input,
.pt-field select,
.pt-field textarea {
    width: 100%;
    /* 16px para que iOS no haga zoom al enfocar */
    font-size: 16px;
    font-family: inherit;
    padding: 0 14px;
    height: 46px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    color: var(--pt-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-field textarea { height: auto; padding: 14px 15px; line-height: 1.6; }
.pt-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}
.pt-field input::placeholder,
.pt-field textarea::placeholder { color: #a8a49e; }
.pt-field textarea { min-height: auto; resize: vertical; }
.pt-field input:focus,
.pt-field select:focus,
.pt-field textarea:focus {
    outline: none;
    border-color: var(--pt-ink);
    box-shadow: 0 0 0 3px rgba(43, 41, 38, .18);
}
.pt-section--ink .pt-field input:focus,
.pt-section--ink .pt-field select:focus,
.pt-section--ink .pt-field textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
}

/* Sobre fondo oscuro, los campos eran cajas casi blancas: contra una sección
   casi negra daban más de quince a uno de contraste y el formulario gritaba
   más que el texto que lo acompaña. Se invierten —fondo apenas aclarado y
   borde fino— para que el bloque se lea como una pieza. El texto que se
   escribe sigue en blanco puro, que es lo que de verdad hay que leer. */
.pt-section--ink .pt-field label,
.pt-section--ink .pt-check { color: rgba(255,255,255,.82); }
.pt-section--ink .pt-check a { color: #fff; }

.pt-section--ink .pt-field input,
.pt-section--ink .pt-field select,
.pt-section--ink .pt-field textarea {
    background-color: rgba(255,255,255,.07);
    /* .36 y no menos: es el punto donde el borde llega a 3:1 contra la
       sección y el campo se ve como campo. Por debajo queda bonito y no se
       sabe dónde hay que escribir. */
    border-color: rgba(255,255,255,.36);
    color: var(--pt-white);
}
.pt-section--ink .pt-field input::placeholder,
.pt-section--ink .pt-field textarea::placeholder {
    /* .66 y no menos: por debajo de ahí el texto de ayuda deja de cumplir
       el contraste mínimo y se convierte en decoración. */
    color: rgba(255,255,255,.66);
}
.pt-section--ink .pt-field input:hover,
.pt-section--ink .pt-field select:hover,
.pt-section--ink .pt-field textarea:hover {
    background-color: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.55);
}

/* La flecha del desplegable venía en gris oscuro, invisible sobre el campo. */
.pt-section--ink .pt-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='.75' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

/* Las opciones del desplegable las pinta el sistema: sin esto, en Windows
   salen en negro sobre negro. */
.pt-section--ink .pt-field select option {
    background-color: var(--pt-ink);
    color: var(--pt-white);
}

/* El navegador rellena los campos recordados con fondo blanco y se cargaba
   todo lo anterior. No hay propiedad para cambiarlo: se tapa con una sombra
   interior del color del campo. */
.pt-section--ink .pt-field input:-webkit-autofill,
.pt-section--ink .pt-field input:-webkit-autofill:hover,
.pt-section--ink .pt-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--pt-white);
    -webkit-box-shadow: 0 0 0 100px #35322e inset;
    caret-color: var(--pt-white);
}

.pt-section--ink .pt-check input { accent-color: var(--pt-white); }

.pt-check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.5; cursor: pointer; }
.pt-check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; }

.pt-field-error { display: block; margin-top: 6px; font-size: .84rem; color: #d05a45; }
.pt-form-ok,
.pt-form-error {
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: .95rem;
}
.pt-form-ok    { background: rgba(122,132,113,.16); color: #3f4a37; }
.pt-form-error { background: rgba(208,90,69,.14); color: #8c2f1d; }

/* ── reCAPTCHA v3 ─────────────────────────────────────────────────
   El distintivo flotante de Google, fuera. Se pintaba abajo a la
   derecha, justo encima del boton de WhatsApp, y ademas es feo.

   Esconderlo esta permitido, pero NO es gratis: los terminos de Google
   lo condicionan a que el aviso salga junto al formulario. De eso se
   encarga partials/pt-recaptcha-aviso, que va debajo del boton de
   enviar en los tres formularios. Si alguna vez se quita ese aviso,
   hay que devolver el distintivo o se incumple el acuerdo de uso.

   visibility y no display: con display:none el script de Google se
   queja por consola. Asi ocupa su hueco fuera de la vista y calla. */
.grecaptcha-badge { visibility: hidden; }

.pt-recaptcha-aviso {
    margin: 10px 0 0;
    font-size: .74rem;
    line-height: 1.5;
    color: var(--pt-muted);
}

.pt-recaptcha-aviso a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pt-section--ink .pt-form-ok    { background: rgba(255,255,255,.14); color: #fff; }
.pt-section--ink .pt-form-error { background: rgba(255,255,255,.14); color: #ffd9d2; }

/* ── Mapa ─────────────────────────────────────────────────────── */

.pt-map { line-height: 0; }
.pt-map iframe { width: 100%; height: clamp(280px, 42vh, 460px); border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ══════════════════════════════════════════════════════════════════
   WhatsApp flotante
   ══════════════════════════════════════════════════════════════════ */

.pt-whatsapp {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 20px 0 16px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18);
    transition: transform .2s ease;
}
.pt-whatsapp:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.pt-whatsapp svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.pt-whatsapp-label { font-size: .95rem; font-weight: 500; white-space: nowrap; }

/* En móvil solo el icono: la etiqueta se comería la pantalla */
@media (max-width: 639px) {
    .pt-whatsapp { padding: 0; width: 54px; justify-content: center; left: 16px; bottom: 16px; }
    .pt-whatsapp-label { display: none; }
}

@media (prefers-reduced-motion: reduce) { .pt-whatsapp { transition: none; } }

/* Enlace bajo el mapa */
.pt-map-link { text-align: center; padding: 16px; margin: 0; font-size: .95rem; }
.pt-map-link a { color: var(--pt-ink); }

/* ══════════════════════════════════════════════════════════════════
   Galería
   ══════════════════════════════════════════════════════════════════ */

.pt-gallery-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.pt-gallery-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--pt-line);
    border-radius: 999px;
    font-size: .92rem;
    color: var(--pt-ink);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.pt-gallery-nav a:hover { background: var(--pt-ink); color: #fff; text-decoration: none; }
.pt-gallery-nav span { font-size: .78rem; opacity: .55; }

.pt-gallery-block { scroll-margin-top: 100px; }
.pt-gallery-title { margin-bottom: clamp(24px, 3vw, 40px); }

/* Rejilla fluida: se adapta al número de fotos sin dejar huecos raros */
.pt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: clamp(10px, 1.4vw, 18px);
}
.pt-gallery-item { margin: 0; }
.pt-gallery-item a {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 4px;
    background: var(--pt-off);
}
.pt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.pt-gallery-item a:hover img { transform: scale(1.04); }
.pt-gallery-item a:focus-visible { outline: 2px solid var(--pt-ink); outline-offset: 3px; }

/* ── Visor a pantalla completa ────────────────────────────────── */

.pt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 56px);
    background: rgba(20, 19, 18, .94);
}
.pt-lightbox[hidden] { display: none; }
.pt-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 3px;
}
.pt-lightbox button {
    position: absolute;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    opacity: .8;
    transition: opacity .2s ease;
}
.pt-lightbox button:hover { opacity: 1; }
.pt-lightbox-close { top: 16px; right: 20px; font-size: 2.4rem; }
.pt-lightbox-prev,
.pt-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.4rem;
    padding: 12px 18px;
}
.pt-lightbox-prev { left: 4px; }
.pt-lightbox-next { right: 4px; }

@media (prefers-reduced-motion: reduce) {
    .pt-gallery-item img,
    .pt-gallery-nav a { transition: none; }
}

/* Resumen de la estancia bajo el calendario */
.pt-stay-summary {
    margin: 0;
    padding: 12px 14px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .05);
    font-size: .95rem;
    color: inherit;
}
.pt-stay-summary.is-warning { background: rgba(208, 90, 69, .14); color: #8c2f1d; }
.pt-section--ink .pt-stay-summary { background: rgba(255, 255, 255, .12); color: rgba(255,255,255,.9); }
.pt-section--ink .pt-stay-summary.is-warning { background: rgba(255, 190, 175, .2); color: #ffd9d2; }

/* flatpickr: campo de solo lectura, pero debe verse editable.
   Sin fondo propio: lo forzaba a blanco y, como esta regla va despues de las
   del bloque oscuro y pesa lo mismo, ganaba por orden. El campo de fechas se
   quedaba blanco entre seis campos oscuros. El resto de estilos ya vienen de
   .pt-field input, que es lo que hace que parezca editable. */
.pt-field input[readonly] { cursor: pointer; }
.flatpickr-day.flatpickr-disabled { text-decoration: line-through; opacity: .45; }

/* En el bloque oscuro de la portada el botón negro se perdía sobre el fondo */
.pt-section--ink .pt-form .pt-btn {
    background: var(--pt-white);
    border-color: var(--pt-white);
    color: var(--pt-ink);
    min-height: 54px;
    padding-inline: 40px;
}
.pt-section--ink .pt-form .pt-btn:hover { background: transparent; color: var(--pt-white); }

/* Más aire entre filas del formulario */
.pt-form-grid { row-gap: 14px; }

/* El widget de reCAPTCHA mide 304px fijos y desborda en móviles estrechos */
.pt-form .g-recaptcha { transform-origin: left top; }
@media (max-width: 400px) { .pt-form .g-recaptcha { transform: scale(.87); } }

/* ══════════════════════════════════════════════════════════════════
   Consentimiento de cookies
   ══════════════════════════════════════════════════════════════════ */

.pt-cookies {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: var(--pt-white);
    border-top: 1px solid var(--pt-line);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .1);
    padding: clamp(18px, 2.4vw, 26px) var(--pt-gutter);
    padding-bottom: calc(clamp(18px, 2.4vw, 26px) + env(safe-area-inset-bottom));
}
.pt-cookies[hidden] { display: none; }

.pt-cookies-inner {
    max-width: var(--pt-max);
    margin-inline: auto;
    display: grid;
    gap: 16px;
}
@media (min-width: 960px) {
    .pt-cookies-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .pt-cookies-options { grid-column: 1 / -1; }
}

.pt-cookies-title { font-family: var(--pt-display); font-weight: 400; font-size: 1.1rem; margin: 0 0 5px; color: var(--pt-ink); }
.pt-cookies-text p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--pt-body); }
.pt-cookies-text a { color: var(--pt-ink); text-decoration: underline; text-underline-offset: 2px; }

.pt-cookies-options { display: grid; gap: 10px; padding-top: 4px; }
.pt-cookies-option { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; line-height: 1.5; color: var(--pt-body); }
.pt-cookies-option input { margin-top: 3px; width: 17px; height: 17px; flex: none; }
.pt-cookies-option strong { display: block; color: var(--pt-ink); font-weight: 600; }

.pt-cookies-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-cookies-actions .pt-btn { min-height: 46px; padding-inline: 22px; font-size: .92rem; }
@media (max-width: 639px) {
    .pt-cookies-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .pt-cookies-actions .pt-btn:last-child { grid-column: 1 / -1; }
}

/* Reabrir: obligatorio poder retirar el consentimiento después */
.pt-cookies-reopen {
    position: fixed;
    left: 16px; bottom: 84px;
    z-index: 60;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--pt-line);
    border-radius: 50%;
    background: var(--pt-white);
    color: var(--pt-body);
    cursor: pointer;
    opacity: .65;
}
.pt-cookies-reopen[hidden] { display: none; }
.pt-cookies-reopen:hover { opacity: 1; }

@media (prefers-color-scheme: dark) {
    .pt-cookies { background: #1f1f23; border-top-color: rgba(255,255,255,.1); }
    .pt-cookies-title { color: #ececed; }
    .pt-cookies-text p { color: rgba(255,255,255,.7); }
    .pt-cookies-text a, .pt-cookies-option strong { color: #fff; }
}

/* ══════════════════════════════════════════════════════════════════
   Menú móvil — piel sobre el offcanvas de UIkit
   ══════════════════════════════════════════════════════════════════ */

/* Solo piel: el ancho y los offsets de animación los pone UIkit
   (270px, 350px en ≥960px) y deben coincidir entre sí. */
.uk-offcanvas-bar.pt-menu-bar {
    background: var(--pt-ink);
    padding: 72px 28px 36px;
}

.pt-menu-bar nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pt-menu-bar nav a {
    font-family: var(--pt-display);
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: padding-left .2s ease, color .2s ease;
}
.pt-menu-bar nav a:hover { padding-left: 6px; }

.pt-menu-eyebrow {
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin: 0 0 10px;
}

.pt-menu-foot {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: grid;
    gap: 12px;
    font-size: .88rem;
}
.pt-menu-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.pt-menu-foot a:hover { color: #fff; }
.pt-menu-foot .pt-btn { justify-content: center; }

/* El botón claro es un <a>, y la regla de arriba le ponía el texto en blanco
   sobre su fondo blanco: dentro del menú se veía una pastilla vacía. Pesa lo
   mismo que aquella, así que gana por ir después — y va justo detrás a
   propósito, para que se lea el porqué de un vistazo. */
.pt-menu-foot .pt-btn--light { color: var(--pt-ink); }
.pt-menu-foot .pt-btn--light:hover { color: var(--pt-white); }
.pt-menu-bar nav a:hover,
.pt-menu-bar nav a:focus-visible { color: #fff; }
.pt-menu-bar nav a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.pt-menu-bar nav a:last-child { border-bottom: 0; }

.pt-menu-bar .pt-menu-lang {
    font-family: var(--pt-sans);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-top: 20px;
}

.pt-menu-bar .uk-offcanvas-close { color: rgba(255,255,255,.8); }
.pt-menu-bar .uk-offcanvas-close:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   Contenido largo (páginas del CMS y artículos del blog)
   --------------------------------------------------------------------
   El HTML sale de TinyMCE: hay que dar estilo a lo que escriba el
   propietario (títulos, listas, fotos, citas, tablas).
   ══════════════════════════════════════════════════════════════════ */

.pt-article {
    max-width: 76ch;
    margin-inline: auto;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.8;
    color: var(--pt-body);
}
.pt-article p { margin: 0 0 1.5em; }
.pt-article strong { color: var(--pt-ink); font-weight: 600; }
.pt-article a { color: var(--pt-ink); text-decoration: underline; text-underline-offset: 2px; }
.pt-article h2, .pt-article h3, .pt-article h4 {
    font-family: var(--pt-display); font-weight: 400;
    color: var(--pt-ink);
    line-height: 1.2;
    margin: 1.8em 0 .6em;
}
.pt-article h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pt-article h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.pt-article h4 { font-size: 1.12rem; }
.pt-article ul, .pt-article ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.pt-article li { margin-bottom: .45em; }
.pt-article img { max-width: 100%; height: auto; border-radius: 4px; margin: 1.4em 0; }
.pt-article blockquote {
    margin: 1.8em 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--pt-ink);
    font-family: var(--pt-display); font-weight: 400;
    font-size: 1.15em;
    color: var(--pt-ink);
}
.pt-article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95em; }
.pt-article th, .pt-article td { border: 1px solid var(--pt-line); padding: 10px 14px; text-align: left; }
.pt-article th { background: var(--pt-off); color: var(--pt-ink); }
.pt-article iframe { max-width: 100%; }

/* ══════════════════════════════════════════════════════════════════
   Rejillas de contenido del CMS (grids dinámicos)
   ══════════════════════════════════════════════════════════════════ */

.pt-grids {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(20px, 3vw, 36px);
}
.pt-grid-cell { grid-column: span 12; min-width: 0; }
@media (min-width: 960px) {
    .pt-grid-cell--half           { grid-column: span 6; }
    .pt-grid-cell--third          { grid-column: span 4; }
    .pt-grid-cell--quarter        { grid-column: span 3; }
    .pt-grid-cell--two-thirds     { grid-column: span 8; }
    .pt-grid-cell--three-quarters { grid-column: span 9; }
}

.pt-grid-title {
    font-family: var(--pt-display); font-weight: 400;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    color: var(--pt-ink);
    margin: 0 0 12px;
}
.pt-grid-subtitle { color: var(--pt-muted); margin: 0 0 12px; }
.pt-grid-text--padded { padding: clamp(22px, 3vw, 36px); border-radius: 4px; }

.pt-grid-image img { width: 100%; height: auto; display: block; border-radius: 4px; }
.pt-grid-image figcaption { margin-top: 10px; font-size: .92rem; color: var(--pt-muted); }

.pt-grid-banner {
    border-radius: 4px;
    padding: clamp(32px, 5vw, 64px);
    background: var(--pt-cream) center/cover no-repeat;
    color: var(--pt-ink);
}
.pt-grid-banner--image { position: relative; color: #fff; overflow: hidden; }
.pt-grid-banner--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.38);
}
.pt-grid-banner--image > * { position: relative; }
.pt-grid-banner h2 { font-family: var(--pt-display); font-weight: 400; margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.2rem); color: inherit; }

.pt-video-embed { position: relative; aspect-ratio: 16 / 9; }
.pt-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }

/* ══════════════════════════════════════════════════════════════════
   Blog: fecha, paginación y migas
   ══════════════════════════════════════════════════════════════════ */

.pt-post-date { font-size: .88rem; color: var(--pt-muted); margin: 8px 0 0; }
.pt-post-leer { margin: 16px 0 6px; }
.pt-destacado .pt-post-leer { margin-top: 22px; }

.pt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: clamp(44px, 6vw, 80px);
    font-size: .95rem;
}
.pt-pagination a,
.pt-pagination span { color: var(--pt-ink); text-decoration: none; }
.pt-pagination a:hover { text-decoration: underline; }
.pt-pagination .is-disabled { color: var(--pt-muted); pointer-events: none; }

.pt-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .85rem;
    color: var(--pt-muted);
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}
.pt-breadcrumb a { color: var(--pt-muted); text-decoration: none; }
.pt-breadcrumb a:hover { color: var(--pt-ink); text-decoration: underline; }
.pt-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; opacity: .6; }

/* ══════════════════════════════════════════════════════════════════
   Pie de página compacto
   ══════════════════════════════════════════════════════════════════ */

.pt-footer {
    background: var(--pt-ink);
    color: rgba(255, 255, 255, .72);
    padding: clamp(32px, 5vw, 52px) 0 20px;
    font-size: .9rem;
}
.pt-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 40px);
}
@media (min-width: 720px) {
    .pt-footer-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.pt-footer-brand {
    font-family: var(--pt-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px;
}
.pt-footer-claim { margin: 0; max-width: 40ch; line-height: 1.6; }

.pt-footer-contact { display: grid; gap: 6px; align-content: start; }
.pt-footer-contact a { color: #fff; text-decoration: none; }
.pt-footer-contact a:hover { text-decoration: underline; }

.pt-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 20px;
    margin-top: clamp(20px, 3vw, 32px);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
}
.pt-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pt-footer-legal a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.pt-footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════
   Botón rápido de contacto (móvil y tablet)
   --------------------------------------------------------------------
   Fijo abajo a la derecha (el WhatsApp vive a la izquierda): lleva
   directamente al formulario de contacto.
   ══════════════════════════════════════════════════════════════════ */

.pt-cta-fast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 70;
    display: none;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--pt-ink);
    color: #fff;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .24);
}
.pt-cta-fast:hover { color: #fff; }
@media (max-width: 959px) { .pt-cta-fast { display: inline-flex; } }

/* El ancla del formulario no debe quedar bajo la cabecera pegajosa */
#formulario { scroll-margin-top: 90px; }

/* ══════════════════════════════════════════════════════════════════
   Precios en dos columnas en móvil
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 639px) {
    .pt-prices { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
    .pt-price-row { padding-block: 5px; font-size: .82rem; }
}

/* ══════════════════════════════════════════════════════════════════
   Ficha de propiedad
   ══════════════════════════════════════════════════════════════════ */

.pt-prop-meta { color: var(--pt-body); margin-top: 12px; }
.pt-prop-meta span:not(:last-child)::after { color: var(--pt-line); }

/* Rejilla de fotos: una grande + cuatro pequeñas */
.pt-prop-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(90px, 11vw, 160px);
    gap: 8px;
}
.pt-prop-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: var(--pt-off);
}
.pt-prop-gallery-item.is-main { grid-column: span 2; grid-row: span 2; }
.pt-prop-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.pt-prop-gallery-item:hover img { transform: scale(1.04); }
.pt-prop-gallery-more {
    position: absolute;
    right: 8px; bottom: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: .78rem;
}
@media (max-width: 639px) {
    .pt-prop-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
    .pt-prop-gallery-item.is-main { grid-column: span 2; }
    .pt-prop-gallery-item:nth-child(n+4):not(.is-main) { display: none; }
}

/* Columnas descripción + reserva */
.pt-prop-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}
@media (min-width: 960px) {
    .pt-prop-cols { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}

/* Descripción plegable */
.pt-desc { max-height: 280px; overflow: hidden; position: relative; }
.pt-desc:not(.is-expanded)::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--pt-white));
}
.pt-desc.is-expanded { max-height: none; }
.pt-desc.is-expanded::after { display: none; }
.pt-desc-toggle {
    margin-top: 10px;
    background: none; border: 0; padding: 0;
    color: var(--pt-ink);
    font: inherit; font-size: .88rem; font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Amenities */
.pt-amenities { margin-top: clamp(28px, 4vw, 44px); }
.pt-amenity-group { margin-bottom: 18px; }
.pt-amenity-group h3 {
    font-family: var(--pt-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pt-muted);
    margin: 0 0 8px;
}
.pt-amenity-group ul {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 6px 18px;
    font-size: .9rem;
    color: var(--pt-body);
}
.pt-amenity-group li::before { content: '✓'; margin-right: 8px; color: var(--pt-free-ink); }

/* Tarjeta de reserva */
.pt-booking-sticky { position: sticky; top: 88px; }
.pt-booking-card {
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    background: var(--pt-white);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.pt-booking-card .pt-field { margin-bottom: 10px; }
.pt-booking-card .pt-field input,
.pt-booking-card .pt-field select {
    border-color: var(--pt-line);
    background: var(--pt-white);
}
.pt-booking-price { margin: 0 0 14px; color: var(--pt-muted); font-size: .82rem; }
.pt-booking-price b {
    font-family: var(--pt-display); font-weight: 400;
    font-size: 1.7rem;
    color: var(--pt-ink);
    margin: 0 4px;
}
.pt-booking-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-booking-summary { display: none; margin: 12px 0 4px; font-size: .88rem; color: var(--pt-body); }
.pt-booking-row { display: flex; justify-content: space-between; padding-block: 5px; }
.pt-booking-total {
    border-top: 1px solid var(--pt-line);
    margin-top: 4px; padding-top: 9px;
    font-weight: 600; color: var(--pt-ink);
}
.pt-booking-hint { font-size: .8rem; color: var(--pt-muted); margin: 10px 0; text-align: center; }
.pt-booking-card .pt-btn:disabled { opacity: .45; cursor: not-allowed; }
.pt-booking-card .pt-stay-summary { margin-block: 10px; }

/* Modal de reserva (sobre uk-modal) */
.pt-modal { max-width: 520px; border-radius: 8px; overflow: hidden; padding: 0; }
.pt-modal-head { background: var(--pt-ink); color: #fff; padding: 20px 24px; }
.pt-modal-head h2 { font-family: var(--pt-display); font-weight: 400; font-size: 1.25rem; margin: 0 0 2px; color: #fff; }
.pt-modal-head p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.7); }
.pt-modal-body { padding: 20px 24px 24px; }
.pt-modal .pt-field input,
.pt-modal .pt-field select,
.pt-modal .pt-field textarea { border-color: var(--pt-line); }
.pt-modal .uk-modal-close-default { color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   Flatpickr con la piel del rediseño
   --------------------------------------------------------------------
   flatpickr.min.css se carga DESPUÉS (va en @stack), así que todo va
   prefijado con .pt-theme (el calendario se monta en el body) para
   ganar en especificidad sin !important.
   Las fechas ya reservadas llevan la clase propia .is-ocupado (la pone
   onDayCreate): flatpickr-disabled a secas también es el pasado, y el
   pasado no debe salir en rojo.
   ══════════════════════════════════════════════════════════════════ */

.pt-theme .flatpickr-calendar {
    font-family: var(--pt-sans);
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .16);
}
.pt-theme .flatpickr-months .flatpickr-month,
.pt-theme .flatpickr-current-month .flatpickr-monthDropdown-months,
.pt-theme .flatpickr-current-month input.cur-year {
    color: var(--pt-ink);
    font-weight: 600;
}
.pt-theme .flatpickr-months .flatpickr-prev-month,
.pt-theme .flatpickr-months .flatpickr-next-month { fill: var(--pt-ink); }
.pt-theme .flatpickr-months .flatpickr-prev-month:hover svg,
.pt-theme .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--pt-muted); }

.pt-theme span.flatpickr-weekday {
    color: var(--pt-muted);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pt-theme .flatpickr-day {
    border-radius: 6px;
    color: var(--pt-ink-soft);
    border-color: transparent;
}
.pt-theme .flatpickr-day:hover:not(.flatpickr-disabled):not(.selected):not(.startRange):not(.endRange) {
    background: var(--pt-off);
    border-color: var(--pt-off);
}
.pt-theme .flatpickr-day.today { border-color: var(--pt-ink); }
.pt-theme .flatpickr-day.today:hover { background: var(--pt-off); color: var(--pt-ink); }

/* Selección y rango: tinta + crema */
.pt-theme .flatpickr-day.selected,
.pt-theme .flatpickr-day.startRange,
.pt-theme .flatpickr-day.endRange,
.pt-theme .flatpickr-day.selected:hover,
.pt-theme .flatpickr-day.startRange:hover,
.pt-theme .flatpickr-day.endRange:hover,
.pt-theme .flatpickr-day.selected:focus,
.pt-theme .flatpickr-day.startRange:focus,
.pt-theme .flatpickr-day.endRange:focus {
    background: var(--pt-ink);
    border-color: var(--pt-ink);
    color: var(--pt-white);
}
.pt-theme .flatpickr-day.inRange {
    background: var(--pt-cream);
    border-color: var(--pt-cream);
    box-shadow: -5px 0 0 var(--pt-cream), 5px 0 0 var(--pt-cream);
}
.pt-theme .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.pt-theme .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.pt-theme .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
    box-shadow: -10px 0 0 var(--pt-ink);
}

/* Pasado y fuera de rango: apagado, sin más */
.pt-theme .flatpickr-day.flatpickr-disabled,
.pt-theme .flatpickr-day.flatpickr-disabled:hover,
.pt-theme .flatpickr-day.prevMonthDay,
.pt-theme .flatpickr-day.nextMonthDay {
    color: rgba(57, 57, 57, .25);
}

/* Ocupado de verdad (reservas de la web, Booking y VRBO): como el
   calendario de disponibilidad, en rojo y tachado */
.pt-theme .flatpickr-day.is-ocupado,
.pt-theme .flatpickr-day.is-ocupado:hover {
    background: var(--pt-booked);
    border-color: var(--pt-booked);
    color: var(--pt-booked-ink);
    text-decoration: line-through;
    opacity: 1;
    cursor: not-allowed;
}

/* Nota bajo el campo de fechas */
.pt-field-hint {
    margin-top: 6px;
    font-size: .76rem;
    color: inherit;
    opacity: .6;
}

/* ══════════════════════════════════════════════════════════════════
   Slider del blog (home)
   ══════════════════════════════════════════════════════════════════ */

.pt-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pt-line);
    border-radius: 50%;
    background: var(--pt-white);
    color: var(--pt-ink);
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    transition: background .2s ease, color .2s ease;
}
.pt-slider-arrow:hover { background: var(--pt-ink); color: var(--pt-white); }
.pt-slider-arrow--prev { left: -8px; }
.pt-slider-arrow--next { right: -8px; }
@media (min-width: 1400px) {
    .pt-slider-arrow--prev { left: -21px; }
    .pt-slider-arrow--next { right: -21px; }
}

.pt-slider-dots { justify-content: center; margin-top: 22px; }
.pt-slider-dots li a {
    width: 8px; height: 8px;
    border: 1px solid var(--pt-muted);
    background: transparent;
}
.pt-slider-dots li.uk-active a { background: var(--pt-ink); border-color: var(--pt-ink); }

/* ── Reseñas de Google ────────────────────────────────────────────
   Van sobre fondo claro (pt-section--off) y no llevan el avatar de
   inicial de las de la web: aquí el avatar es el real del autor, que
   es parte de la atribución que Google exige. */
.pt-gr-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}
.pt-gr-score { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pt-gr-value { font-size: 2rem; font-weight: 600; color: var(--pt-ink); line-height: 1; }
.pt-gr-stars { color: #f5b301; letter-spacing: 2px; }
.pt-gr-count { font-size: .88rem; color: var(--pt-muted); }

.pt-review--google { background: #fff; text-align: left; padding: 22px 20px; }
.pt-review--google .pt-review-name { display: block; text-decoration: none; }
.pt-review--google .pt-review-name:hover { text-decoration: underline; }

.pt-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pt-gr-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }

.pt-gr-source { display: inline-block; margin-top: 12px; font-size: .82rem; color: var(--pt-muted); }
.pt-gr-all { margin-top: 22px; text-align: center; font-size: .92rem; }

/* Selector de idioma: con tres idiomas son dos enlaces, no un interruptor. */
/* ==========================================================================
   Selector de idioma
   --------------------------------------------------------------------------
   Sobre <details>: se abre y se cierra sin JavaScript, funciona con teclado de
   oficio y, si algo fallara, queda una lista de enlaces visible — que sigue
   siendo un selector que se puede usar.
   ========================================================================== */

.pt-idioma { position: relative; }

/* El selector va entre los enlaces del menú, pero <summary> no es <a>: no le
   llegaba el blanco de '.pt-nav a' y se quedaba en el color heredado, gris
   apagado sobre la foto del hero. Se iguala a sus vecinos a mano. */
.pt-nav .pt-idioma summary,
.pt-menu-bar .pt-idioma summary {
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: 1.06rem;
    color: var(--pt-white);
    opacity: .92;
}
.pt-nav .pt-idioma summary:hover,
.pt-nav .pt-idioma[open] summary { opacity: 1; }

.pt-idioma summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .82rem;
    letter-spacing: .02em;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    transition: border-color .15s ease, background .15s ease;
}
/* El triángulo que Safari y Chrome ponen de oficio: sobra, ya hay flecha. */
.pt-idioma summary::-webkit-details-marker { display: none; }
.pt-idioma summary::marker { content: ''; }

.pt-idioma summary:hover,
.pt-idioma[open] summary { border-color: currentColor; }
.pt-idioma summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.pt-idioma-flecha { transition: transform .18s ease; }
.pt-idioma[open] .pt-idioma-flecha { transform: rotate(180deg); }

.pt-idioma ul {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 60;
    min-width: 148px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--pt-white);
    border: 1px solid var(--pt-line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.pt-idioma li { margin: 0; }
.pt-idioma ul a {
    display: block;
    padding: 8px 12px;
    border-radius: 7px;
    font-size: .88rem;
    color: var(--pt-ink);
    text-decoration: none;
}
.pt-idioma ul a:hover { background: var(--pt-off); }

/* En el menú desplegable no hay sitio para una capa flotante: la lista va
   debajo, empujando lo que venga después. */
.pt-idioma--compacto ul {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    background: transparent;
    border-color: rgba(255,255,255,.22);
}
.pt-idioma--compacto ul a { color: inherit; }
.pt-idioma--compacto ul a:hover { background: rgba(255,255,255,.1); }

@media (prefers-reduced-motion: reduce) {
    .pt-idioma summary,
    .pt-idioma-flecha { transition: none; }
}

/* ==========================================================================
   Cortina de entrada
   --------------------------------------------------------------------------
   La clave está en la animación: se desvanece sola, sin que nadie se lo pida.
   El JavaScript solo adelanta el final cuando la página ya está lista. Así, si
   el JavaScript no llega a ejecutarse —bloqueado, con error, o un rastreador
   que no lo corre— la cortina se va igual y nadie se queda mirando una pantalla
   en blanco.

   `visibility` en el fotograma final, y no solo `opacity`: un elemento
   transparente sigue estando ahí y se comería los clics del hero.
   ========================================================================== */

.pt-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pt-ink);
    animation: pt-cortina .5s ease-out .4s forwards;
}

@keyframes pt-cortina {
    to { opacity: 0; visibility: hidden; }
}

/* Cuando el JavaScript confirma que la página está lista, se va sin esperar
   al retardo de la animación. */
.pt-preloader.is-fuera {
    animation: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility 0s linear .45s;
}

.pt-preloader-marca {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pt-preloader-nombre {
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 3.4vw, 2.1rem);
    letter-spacing: .04em;
    color: var(--pt-white);
}

/* Una línea que se abre: da idea de progreso sin fingir un porcentaje que no
   sabemos. */
.pt-preloader-linea {
    width: clamp(90px, 18vw, 150px);
    height: 1px;
    background: rgba(255,255,255,.28);
    position: relative;
    overflow: hidden;
}
.pt-preloader-linea::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pt-white);
    transform: scaleX(0);
    transform-origin: left;
    animation: pt-cortina-linea .9s ease-in-out infinite;
}

@keyframes pt-cortina-linea {
    0%   { transform: scaleX(0);   transform-origin: left; }
    50%  { transform: scaleX(1);   transform-origin: left; }
    51%  { transform: scaleX(1);   transform-origin: right; }
    100% { transform: scaleX(0);   transform-origin: right; }
}

/* Quien pide menos movimiento no ve ni la línea ni el desvanecido: la cortina
   desaparece de golpe y cuanto antes. */
@media (prefers-reduced-motion: reduce) {
    .pt-preloader { animation: pt-cortina .01s linear .1s forwards; }
    .pt-preloader-linea::after { animation: none; transform: scaleX(1); }
    .pt-preloader.is-fuera { transition: none; }
}
/* ==========================================================================
   Para quién es esta casa
   ========================================================================== */

.pt-para-quien { margin-top: clamp(28px, 4vw, 44px); }

.pt-para-quien-grid {
    display: grid;
    gap: clamp(18px, 2.6vw, 30px);
    margin-top: 18px;
}
@media (min-width: 640px) {
    .pt-para-quien-grid { grid-template-columns: repeat(3, 1fr); }
}

.pt-para-quien-grid h3 {
    font-family: var(--pt-display);
    font-weight: 400;
    font-size: 1.12rem;
    margin: 0 0 8px;
    color: var(--pt-ink);
}
.pt-para-quien-grid p {
    margin: 0;
    font-size: .94rem;
    line-height: 1.65;
    color: var(--pt-muted);
}
/* Las dos páginas de uso, en el pie */
.pt-footer-usos { display: grid; gap: 8px; align-content: start; }
.pt-footer-usos a { font-size: .9rem; color: rgba(255,255,255,.82); text-decoration: none; }
.pt-footer-usos a:hover { color: #fff; text-decoration: underline; }

/* En «Para quién es esta casa», dos de los tres títulos llevan a su página */
.pt-para-quien-grid h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--pt-line); }
.pt-para-quien-grid h3 a:hover { border-bottom-color: currentColor; }
/* ── El puente del blog a la casa ─────────────────────────────────
   Va dentro del artículo, no al final de la página: los enlaces del
   pie salían en todas partes y por eso no los pulsaba nadie. */
.pt-puente {
    margin: 40px 0 8px;
    padding: 26px 28px;
    background: #f4f1ea;
    border-left: 3px solid #a5875e;
    border-radius: 3px;
}
.pt-puente-texto {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.62;
    color: #4a453c;
}
/* Con dos clases y no una: el puente vive dentro de .pt-article, y
   «.pt-article a» (línea ~1201) le ganaba el color y el subrayado al
   selector de una clase — texto tinta subrayado sobre fondo casi negro,
   un botón invisible. */
.pt-puente .pt-puente-enlace {
    display: inline-block;
    padding: 11px 24px;
    background: #2c2c2c;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .4px;
    border-radius: 3px;
}
.pt-puente .pt-puente-enlace:hover { background: #a5875e; color: #fff; }
@media (max-width: 640px) {
    .pt-puente { padding: 22px 20px; margin-top: 32px; }
}

/* ── Semanas libres ───────────────────────────────────────────────
   Tarjetas anchas y poco decoradas: lo que decide aquí es la fecha y
   el precio, no el envoltorio. */
.pt-libres { display: grid; gap: 14px; max-width: 46rem; }
.pt-libre {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e3ded3;
    border-radius: 4px;
}
.pt-libre-fechas { font-size: 18px; color: #2c2c2c; }
.pt-libre-fechas span { color: #a5875e; margin: 0 4px; }
.pt-libre-noches { font-size: 14px; color: #8b8579; white-space: nowrap; }
/* La nota del hueco que empieza o acaba fuera de la ventana de la landing:
   ocupa la fila entera debajo, para no romper la rejilla del hueco. */
.pt-libre-nota { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; color: #8b8579; line-height: 1.5; }
.pt-libre-precio { font-size: 18px; color: #2c2c2c; white-space: nowrap; }
.pt-libre-precio span { font-size: 13px; color: #8b8579; display: block; }
.pt-libre-cta {
    padding: 10px 20px; background: #2c2c2c; color: #fff;
    text-decoration: none; font-size: 14px; border-radius: 3px; white-space: nowrap;
}
.pt-libre-cta:hover { background: #a5875e; color: #fff; }
@media (max-width: 720px) {
    .pt-libre { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
    .pt-libre-cta { text-align: center; }
}

/* ── Día de cambio en el calendario ───────────────────────────────
   Ni libre ni ocupado: alguien se va a las 10:00 y otro entra a las
   16:00. La diagonal lo dice sin necesidad de leyenda. */
.flatpickr-day.is-salida {
    background: linear-gradient(135deg, #f6dcd8 0 50%, transparent 50% 100%);
    color: #2c2c2c;
}
.flatpickr-day.is-salida:hover { background: linear-gradient(135deg, #f6dcd8 0 50%, #efece6 50% 100%); }

/* ── Cuántos vienen (pre-check-in) ────────────────────────────────── */
.pc-pax { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pc-pax-label { font-size: 16px; color: #2c2c2c; }
.pc-pax-input {
    width: 90px; padding: 10px 12px; font-size: 16px;
    border: 1px solid #c9c2b4; border-radius: 4px; background: #fff;
}
.pc-pax-nota { width: 100%; margin: 0; font-size: 13px; color: #8b8579; line-height: 1.5; }
