:root {
    --granate: #6b1d16;
    --granate-oscuro: #2c0c0a;
    --granate-medio: #8a3228;
    --crema: #f3ebe4;
    --papel: #faf6f2;
    --texto: #1c1413;
    --muted: #6f5c56;
    --linea: #e4d6ce;
    --blanco: #fffdfb;
    --sombra: 0 18px 40px rgba(44, 12, 10, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.web {
    margin: 0;
    color: var(--texto);
    background: var(--papel);
    font-family: Outfit, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a { color: var(--granate); text-decoration: none; }
a:hover { text-decoration: underline; }

.web-ancho {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.web-barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 28px;
    background: rgba(44, 12, 10, 0.82);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
}

.web-marca {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
}
.web-marca img {
    display: block;
    height: 168px;
    width: auto;
    max-width: min(620px, 82vw);
    object-fit: contain;
}
.web-estrellas {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    flex-shrink: 0;
}
.web-estrellas svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: #f6eee6;
    filter: drop-shadow(0 0 8px rgba(255, 236, 214, 0.45));
}
.web-marca:hover { text-decoration: none; opacity: 0.92; }

.web-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
}

.web-nav a {
    color: #f4e4df;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 999px;
}

.web-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.web-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.12); }

.web-cta,
.web-reservar,
.web-acciones .web-boton,
.web-tipo-precio .web-boton,
a.web-boton[href="/reservar"] {
    display: inline-block;
    background: var(--granate);
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 18px;
    text-decoration: none !important;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.web-cta:hover,
.web-reservar:hover,
.web-acciones .web-boton:hover,
.web-tipo-precio .web-boton:hover,
a.web-boton[href="/reservar"]:hover {
    background: var(--granate-medio);
}

.web-nav .web-cta,
.web-nav .web-reservar {
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--granate);
}

.web-nav .web-reservar:hover { background: var(--granate-medio); }

.web-menu-btn {
    display: none;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 8px 12px;
    border-radius: 4px;
    font: inherit;
}

.web-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 92px 0 0;
    background:
        radial-gradient(ellipse at 78% 18%, rgba(255, 214, 186, 0.18), transparent 46%),
        linear-gradient(155deg, #1a0908 0%, var(--granate-oscuro) 42%, var(--granate) 78%, #9a4a3a 100%);
}

.web-hero-velo {
    position: absolute;
    inset: auto 8% -18% auto;
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    border: 18px solid rgba(255,255,255,0.08);
    border-radius: 50% 50% 8px 8px;
    pointer-events: none;
}

.web-hero-cuerpo { position: relative; z-index: 1; }
.web-hero-corto { padding: 64px 0 48px; }

.web-hero h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 650;
    line-height: 1.08;
    margin: 10px 0 18px;
    max-width: 11ch;
    letter-spacing: -0.03em;
}

.web-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    margin: 0;
    font-weight: 600;
    opacity: 0.78;
}

.web-kicker-oscuro {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 600;
    color: var(--granate);
    margin: 0 0 8px;
}

.web-lead {
    max-width: 38rem;
    font-size: 1.12rem;
    opacity: 0.92;
    font-weight: 400;
}

.web-acciones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
}
.web-acciones-fila {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}
.web-acciones-fila .web-reservar {
    min-width: 13.5rem;
    text-align: center;
}

.web-boton,
.web-boton-sutil {
    display: inline-block;
    padding: 12px 18px;
    text-decoration: none !important;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    border-radius: 4px;
}

.web-boton { background: var(--blanco); color: var(--granate-oscuro); }
.web-boton-sutil {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.45);
    background: transparent;
}
.web-boton-sutil:hover { background: rgba(255,255,255,0.1); }

.web-cifras-banda {
    position: relative;
    isolation: isolate;
    min-height: min(46vw, 420px);
    display: flex;
    align-items: flex-end;
    margin-top: 32px;
    overflow: hidden;
    background: #1a0908;
}

.web-cifras-banda img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    z-index: 0;
}

.web-cifras-banda::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(20, 8, 7, 0.82) 0%,
        rgba(20, 8, 7, 0.38) 42%,
        rgba(20, 8, 7, 0.18) 100%
    );
}

.web-cifras-banda-texto {
    min-height: 0;
    align-items: stretch;
}

.web-cifras-banda-texto::after { display: none; }

.web-cifras {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 36px;
}

.web-cifras li {
    padding: 16px 14px 14px;
    border-top: 1px solid rgba(255,255,255,0.38);
}

.web-cifras strong {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.7rem;
    font-weight: 650;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.web-cifras span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.9;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.web-bloque { padding: 72px 0; }
.web-titulo {
    font-family: Fraunces, Georgia, serif;
    font-weight: 650;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.web-intro { max-width: 46rem; font-size: 1.05rem; color: var(--muted); }
.web-datos { padding-left: 1.1rem; color: var(--muted); }

.web-pilares {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
}

.web-pilares li {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: var(--sombra);
}

.web-pilares strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.web-banda { background: var(--crema); }
.web-cab-seccion {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: end;
    margin-bottom: 28px;
}

.web-enlace {
    font-weight: 600;
    text-underline-offset: 3px;
}

.web-rejilla {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.web-tarjeta, .web-tipo, .web-form, .web-panel {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--sombra);
}

.web-tarjeta {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.web-tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(44, 12, 10, 0.16);
}

.web-tarjeta h3, .web-tipo h2 {
    font-family: Fraunces, Georgia, serif;
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.web-chip {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--crema);
    color: var(--granate);
    font-size: 12px;
    font-weight: 600;
}

.web-meta, .web-nota, .web-legal { color: var(--muted); font-size: 14px; }
.web-tarjeta .web-reservar {
    margin-top: 16px;
    align-self: flex-start;
}

.web-precios {
    margin-top: auto;
    padding-top: 16px;
}
.web-tarjeta .web-tarifa,
.web-tipo-precio .web-tarifa {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 6px;
}
.web-tarifa { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.web-tarifa span { min-width: 0; }
.web-tarifa strong {
    color: var(--texto);
    font-family: Fraunces, Georgia, serif;
    font-size: 1.15rem;
    font-weight: 650;
    white-space: nowrap;
}
.web-tarifa-nota {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.web-dos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.web-lista-tipos { display: grid; gap: 16px; }

.web-tipo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}
.web-tipo-galeria {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 28px;
}
.web-tipo-miniatura {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #2c0c0a;
}
.web-tipo-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.web-tipo-precio {
    text-align: left;
    min-width: 240px;
}
.web-tipo-precio .web-precios { padding-top: 0; margin-top: 0; }
.web-tipo-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.web-tipo-precio .web-reservar,
.web-tipo-precio .web-boton { margin-top: 0; }
.web-fotos-btn {
    display: inline-block;
    background: transparent;
    color: var(--granate);
    border: 1px solid var(--granate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}
.web-fotos-btn:hover { background: rgba(122, 32, 28, 0.08); }

.web-mapa {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--sombra);
    min-height: 340px;
}
.web-mapa iframe {
    width: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}

.web-vista {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 380px;
    background: var(--papel);
}
.web-vista-foto {
    display: block;
    min-height: 320px;
    overflow: hidden;
}
.web-vista-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.web-vista-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
}
.web-vista-texto p { color: var(--muted); max-width: 36rem; }
.web-vista-texto .web-reservar { align-self: flex-start; margin-top: 8px; }

.web-panorama {
    margin-top: 28px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--sombra);
    background: #1a0908;
    min-height: min(62vh, 520px);
    aspect-ratio: 16 / 9;
}
.web-panorama iframe {
    width: 100%;
    height: 100%;
    min-height: min(62vh, 520px);
    border: 0;
    display: block;
}

.web-mosaico {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}
.web-foto {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #2c0c0a;
    min-height: 220px;
    text-decoration: none;
    color: #fff;
}
.web-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: auto;
}
.web-foto span {
    position: absolute;
    left: 14px;
    bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}
.web-foto:hover { text-decoration: none; opacity: 0.96; }
.web-foto-ancho { grid-column: span 7; min-height: 300px; }
.web-foto-media { grid-column: span 5; min-height: 300px; }
.web-foto-alta { grid-column: span 4; min-height: 280px; }
.web-foto-villa {
    min-height: 360px;
    grid-column: auto;
}

.web-villa {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 36px;
    align-items: center;
}
.web-villa .web-reservar { margin-top: 8px; }

.web-lupa {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(20, 8, 7, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 40px;
}
.web-lupa[hidden] { display: none; }
.web-lupa img {
    max-width: min(1100px, 100%);
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 8px;
}
.web-lupa-pie {
    color: #f3ddd8;
    margin: 12px 0 0;
}
.web-lupa-cerrar,
.web-lupa-prev,
.web-lupa-next {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}
.web-lupa-cerrar { top: 16px; right: 18px; }
.web-lupa-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.web-lupa-next { right: 18px; top: 50%; transform: translateY(-50%); }

.web-nota { margin-top: 16px; }

.web-form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.web-form input, .web-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--linea);
    border-radius: 10px;
    font: inherit;
    background: #fff;
}
.web-form input:focus, .web-form textarea:focus {
    outline: 2px solid rgba(107, 29, 22, 0.25);
    border-color: var(--granate);
}
.web-enviar { margin-top: 18px; }
.web-trampa {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.web-ok { color: #1f6b3a; }
.web-error { color: #8a1f16; }

.web-pie {
    background: var(--granate-oscuro);
    color: #f3ddd8;
    padding: 40px 0 48px;
    font-size: 14px;
}
.web-pie a { color: #fff; }
.web-pie p { margin: 0 0 8px; }
.web-marca-pie {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}
.web-marca-pie img {
    display: block;
    height: 52px;
    width: auto;
    background: var(--crema);
    border-radius: 8px;
    padding: 4px 6px;
}
.web-pie-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
}

@media (max-width: 900px) {
    .web-rejilla, .web-pilares { grid-template-columns: 1fr 1fr; }
    .web-pie-grid { grid-template-columns: 1fr; }
    .web-cifras-banda { min-height: 280px; }
    .web-vista, .web-villa { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .web-menu-btn { display: inline-block; }
    .web-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--granate-oscuro);
        padding: 12px 22px 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .web-barra { flex-wrap: wrap; }
    .web-marca img { height: 96px; }
    .web-estrellas { margin-left: 8px; gap: 4px; }
    .web-estrellas svg { width: 16px; height: 16px; }
    .web-marca { margin: 0; }
    .web-nav.abierto { display: flex; }
    .web-vista, .web-villa, .web-mosaico { grid-template-columns: 1fr; }
    .web-foto-ancho, .web-foto-media, .web-foto-alta { grid-column: auto; min-height: 240px; }
    .web-vista-texto { padding: 36px 0; }
    .web-cifras {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 28px 0 24px;
    }
    .web-cifras strong { font-size: 1.25rem; }
    .web-cifras span { font-size: 11px; }
    .web-cifras-banda { min-height: 220px; margin-top: 24px; }
    .web-cifras-banda-texto { min-height: 0; }
    .web-tipo-precio { text-align: left; }
    .web-hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .web-tarjeta, .web-reservar { transition: none; }
}
