/* place-landing.css — Landing premium layout (cultouring-plantilla=landing)
   Ported from the Oscar landing prototype. Prefix: ctl- */

.ctl-wrap {
    --ctl-primary: #1a7a4c;
    --ctl-primary-dark: #0d5232;
    --ctl-accent: #f5a623;
    --ctl-dark: #1a2e1e;
    --ctl-overlay: rgba(13, 82, 50, 0.45);
}

/* Full-bleed breakout dentro de Cassiopeia (misma técnica que landing.css .ct-breakout) */
.ctl-wrap .ct-breakout {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* ============ HERO ============ */
.ctl-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ctl-dark);
    color: #fff;
    overflow: hidden;
    margin-top: -1px;
}

.ctl-hero-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.ctl-hero-video-el {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    border: 0;
}

.ctl-hero-video-static {
    background-size: cover;
    background-position: center;
}

.ctl-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(13, 82, 50, 0.15) 0%, rgba(13, 82, 50, 0.5) 100%);
}

.ctl-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
}

.ctl-hero-tagline {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ctl-accent);
    margin-bottom: 16px;
}

.ctl-hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 28px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.ctl-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.ctl-btn {
    display: inline-block;
    padding: 13px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ctl-btn-primary {
    background: var(--ctl-primary);
    color: #fff;
}

.ctl-btn-primary:hover {
    background: var(--ctl-primary-dark);
    transform: translateY(-2px);
}

.ctl-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.ctl-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

.ctl-hero-sound {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ctl-hero-sound:hover,
.ctl-hero-sound.ctl-playing {
    background: rgba(26, 122, 76, 0.75);
    border-color: #fff;
}

/* ============ BARRA DE TERRITORIO ============ */
.ctl-territory-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--ctl-dark);
    color: #fff;
    padding: 10px 24px;
}

.ctl-territory-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ctl-accent);
}

.ctl-territory-bar select {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.92rem;
    cursor: pointer;
}

.ctl-territory-bar select option {
    color: #1a2e1e;
}

/* ============ MEDIA: orden segun orientacion del dispositivo ============ */
/* Vertical (movil en mano): reels primero, horizontales despues */
.ctl-media {
    display: flex;
    flex-direction: column;
}

/* Horizontal (desktop/laptop/tableta acostada): horizontales primero */
@media (orientation: landscape) and (min-width: 900px) {
    .ctl-media {
        flex-direction: column-reverse;
    }
}

/* ============ VIDEOS HORIZONTALES ============ */
.ctl-videos {
    padding: 72px 0 24px;
    background: #f7f9f7;
}

.ctl-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 24px;
    width: 98%;
    max-width: none;
    margin: 0 auto;
}

.ctl-videos-grid .ct-place-video-embed {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #000;
}

.ctl-videos-grid .ct-place-video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 640px) {
    .ctl-videos-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}

/* ============ REELS ============ */
.ctl-reels {
    padding: 72px 0 24px;
    background: #f7f9f7;
}

.ctl-section-head {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 24px;
}

.ctl-section-label {
    display: inline-block;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 3px;
    color: var(--ctl-primary);
    margin-bottom: 10px;
}

.ctl-section-head h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--ctl-dark);
    margin: 0 0 8px;
}

.ctl-section-head p {
    color: #5a6b5e;
    margin: 0;
}

.ctl-reels-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 24px 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ctl-primary) transparent;
}

.ctl-reels-scroll::-webkit-scrollbar {
    height: 6px;
}

.ctl-reels-scroll::-webkit-scrollbar-thumb {
    background: var(--ctl-primary);
    border-radius: 3px;
}

.ctl-reel-card {
    flex: 0 0 auto;
    width: 267px;
    aspect-ratio: 9 / 16;
    scroll-snap-align: center;
    background: var(--ctl-dark);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.ctl-reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.ctl-reel-fb {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    background: #1877f2;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 26px;
    text-align: center;
    border-radius: 6px;
}

/* ============ BODY CARDS ============ */
.ctl-body {
    width: 98%;
    max-width: none;
    margin: 0 auto;
    padding: 40px 0 72px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.ctl-body .ct-place-card {
    margin: 0;
    grid-column: 1 / -1;
}

/* En desktop: descripcion full-width + 3 tarjetas en columnas */
@media (orientation: landscape) and (min-width: 1100px) {
    .ctl-body {
        grid-template-columns: repeat(3, 1fr);
    }

    .ctl-body .ctl-desc-card,
    .ctl-body .ctl-gallery-card,
    .ctl-body .ctl-contact-card {
        grid-column: 1 / -1;
    }

    .ctl-body .ct-place-card:not(.ctl-desc-card):not(.ctl-gallery-card):not(.ctl-contact-card) {
        grid-column: auto;
    }
}

.ctl-desc-card .ct-place-description {
    font-size: 1.02rem;
    line-height: 1.75;
}

/* ============ CONTENIDO DE DESCRIPCION (editorial) ============ */
.ctl-desc-card .ct-place-description h2 {
    font-size: 1.35rem;
    color: var(--ctl-primary-dark);
    margin: 1.4em 0 0.5em;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(26, 122, 76, 0.15);
}

.ctl-desc-card .ct-place-description h2:first-child {
    margin-top: 0;
}

.ctl-desc-card .ct-place-description h3 {
    font-size: 1.12rem;
    color: var(--ctl-primary-dark);
    margin: 1.6em 0 0.5em;
    padding-left: 12px;
    border-left: 4px solid var(--ctl-accent);
}

.ctl-desc-card .ct-place-description ul.ct-serv-list {
    list-style: none;
    margin: 0.8em 0 1.2em;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ctl-desc-card .ct-place-description ul.ct-serv-list li {
    position: relative;
    padding: 10px 14px 10px 44px;
    background: rgba(26, 122, 76, 0.06);
    border-radius: 10px;
    margin: 0;
}

.ctl-desc-card .ct-place-description ul.ct-serv-list li::before {
    content: "\2713";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ctl-primary);
    font-weight: 700;
}

.ctl-desc-card .ct-place-description .ct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0.8em 0 1em;
    padding: 0;
}

.ctl-desc-card .ct-place-description .ct-chip {
    display: inline-block;
    background: rgba(26, 122, 76, 0.08);
    border: 1px solid rgba(26, 122, 76, 0.22);
    color: var(--ctl-primary-dark);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ctl-desc-card .ct-place-description .ct-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 1.2em 0;
}

.ctl-desc-card .ct-place-description .ct-mv-card {
    background: linear-gradient(160deg, rgba(26, 122, 76, 0.06), rgba(245, 166, 35, 0.06));
    border: 1px solid rgba(26, 122, 76, 0.15);
    border-radius: 12px;
    padding: 18px 20px;
}

.ctl-desc-card .ct-place-description .ct-mv-card h4 {
    margin: 0 0 0.5em;
    font-size: 1rem;
    color: var(--ctl-primary-dark);
}

.ctl-desc-card .ct-place-description .ct-mv-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
}

.ctl-desc-card .ct-place-description .ct-address {
    margin-top: 1.6em;
    padding: 14px 18px;
    background: var(--ctl-dark);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    font-size: 0.92rem;
}

@media (max-width: 760px) {
    .ctl-desc-card .ct-place-description .ct-mv-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ GALERÍA DEL HOSPEDAJE ============ */
.ctl-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 900px) {
    .ctl-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ctl-gallery-item {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8ede8;
}

.ctl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ctl-gallery-item:hover img {
    transform: scale(1.06);
}

.ctl-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 24px 12px 10px;
}

/* ============ CONTENIDO DE DESCRIPCION (h3, listas) ============ */
.ctl-desc-card .ct-place-description h2 {
    font-size: 1.35rem;
    color: var(--ctl-primary-dark);
    margin: 1.4em 0 0.5em;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(26, 122, 76, 0.15);
}

.ctl-desc-card .ct-place-description h2:first-child {
    margin-top: 0;
}

.ctl-desc-card .ct-place-description h3 {
    font-size: 1.15rem;
    color: var(--ctl-primary-dark);
    margin: 1.3em 0 0.5em;
    padding-left: 12px;
    border-left: 4px solid var(--ctl-accent);
}

.ctl-desc-card .ct-place-description ul {
    margin: 0.6em 0 1.2em;
    padding-left: 1.4em;
}

.ctl-desc-card .ct-place-description li {
    margin-bottom: 0.45em;
}

.ctl-desc-card .ct-place-description li::marker {
    color: var(--ctl-primary);
}

/* ============ GALERÍA DEL HOSPEDAJE ============ */
.ctl-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 900px) {
    .ctl-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ctl-gallery-item {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8ede8;
}

.ctl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ctl-gallery-item:hover img {
    transform: scale(1.06);
}

.ctl-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 24px 12px 10px;
}

/* ============ GALERÍA DEL HOSPEDAJE (4 + 4 balanceado) ============ */
.ctl-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 900px) {
    .ctl-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ctl-gallery-item {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8ede8;
}

.ctl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ctl-gallery-item:hover img {
    transform: scale(1.06);
}

.ctl-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 24px 12px 10px;
}

/* ============ CONTACTO Y REDES (unificado, botones de marca) ============ */
.ctl-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.ctl-contact-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ctl-contact-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.ctl-contact-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ctl-contact-label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.ctl-contact-value {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
    line-height: 1.3;
    word-break: break-all;
}

/* Colores de marca */
.ctl-contact-phone { background: var(--ctl-primary); }
.ctl-contact-wa    { background: #25d366; }
.ctl-contact-mail  { background: #5a6b5e; }
.ctl-contact-fb    { background: #1877f2; }
.ctl-contact-ig    { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ctl-contact-tt    { background: #010101; }
.ctl-contact-web   { background: #0d5232; }

.ctl-contact-btn:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ============ BOTONES SOCIALES DE MARCA ============ */
.ctl-social-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ctl-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ctl-social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.ctl-social-fb { background: #1877f2; }
.ctl-social-fb:hover { box-shadow: 0 6px 18px rgba(24, 119, 242, 0.4); }

.ctl-social-wa {
    background: #25d366;
}

.ctl-social-wa:hover { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4); }

.ctl-social-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.ctl-social-ig:hover { box-shadow: 0 6px 18px rgba(230, 80, 80, 0.4); }

.ctl-social-tt { background: #010101; }
.ctl-social-tt:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }

.ctl-social-web {
    background: var(--ctl-primary);
}

.ctl-social-web:hover { background: var(--ctl-primary-dark); }

.ctl-social-btn svg {
    flex-shrink: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
    .ctl-hero {
        min-height: 78vh;
    }

    .ctl-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .ctl-btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    .ctl-reel-card {
        width: 240px;
    }
}
