/* ============================================================
   CAPE TOWN VILLAS - GLOBAL STYLES
   Prefix: ctv-
   Theme: #4c6cac (coastal blue)
   Fonts: Playfair Display (headings) / Poppins (body)
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
    --ctv-primary: #4c6cac;
    --ctv-primary-dark: #3a5690;
    --ctv-primary-light: #6b8ac4;
    --ctv-dark: #1a1a2e;
    --ctv-dark-soft: #2d2d44;
    --ctv-white: #ffffff;
    --ctv-off-white: #f8f9fc;
    --ctv-gray-100: #f1f3f7;
    --ctv-gray-200: #e2e6ee;
    --ctv-gray-300: #c5cad6;
    --ctv-gray-400: #9aa0b0;
    --ctv-gray-500: #6e7486;
    --ctv-gray-600: #4a4f5e;
    --ctv-success: #2ecc71;
    --ctv-error: #e74c3c;
    --ctv-font-heading: "Playfair Display", Georgia, serif;
    --ctv-font-body: "Poppins", -apple-system, sans-serif;
    --ctv-header-height: 90px;
    --ctv-container: 1280px;
    --ctv-transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
html {
    overflow-y: scroll;
}

html,
body {
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.ctv-wrapper {
    overflow-x: clip;
}

.ctv-no-scroll {
    overflow: hidden;
}

body {
    font-family: var(--ctv-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ctv-gray-600);
    background-color: var(--ctv-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--ctv-transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}
.grecaptcha-badge {
    visibility: hidden !important;
}

.ctv-contact__recaptcha-notice {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
}

.ctv-contact__recaptcha-notice a {
    color: #999;
    text-decoration: underline;
}
/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.ctv-flash-message {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ctv-white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease;
}

.ctv-flash-success {
    background-color: var(--ctv-success);
}

.ctv-flash-error {
    background-color: var(--ctv-error);
}

/* ============================================================
   HEADER
   ============================================================ */
.ctv-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    padding: 0 40px;
    height: var(--ctv-header-height);
    display: flex;
    align-items: center;
}

.ctv-header--ready {
    transition:
        background-color var(--ctv-transition),
        box-shadow var(--ctv-transition),
        height var(--ctv-transition);
}

.ctv-header--scrolled {
    background-color: var(--ctv-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    height: 67px;
}

.ctv-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--ctv-container);
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 768px) {
    .ctv-header__container {
        padding: 0 20px;
    }
}
/* ============================================================
   HEADER LOGO SWAP
   Stack both logos on top of each other, fade between them
   based on scroll / nav-open state.
   ============================================================ */

.ctv-header__logo {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.ctv-header__logo-img {
    display: block;
    transition: opacity var(--ctv-transition);
}

/* Blue logo sits on top of white, absolutely positioned */
.ctv-header__logo-img--blue {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Default (top of page) → white logo */
.ctv-header__logo-img--white {
    opacity: 1;
}
.ctv-header__logo-img--blue {
    opacity: 0;
}

/* Scrolled → blue logo */
.ctv-header--scrolled .ctv-header__logo-img--white {
    opacity: 0;
}
.ctv-header--scrolled .ctv-header__logo-img--blue {
    opacity: 1;
}

/* Nav open → grey/white logo (override scrolled if needed) */
.ctv-header--nav-open .ctv-header__logo-img--white {
    opacity: 1;
}
.ctv-header--nav-open .ctv-header__logo-img--blue {
    opacity: 0;
}
.ctv-header__logo-text {
    font-family: var(--ctv-font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ctv-white);
    letter-spacing: 0.5px;
    transition: color var(--ctv-transition);
}

.ctv-header__logo-img {
    height: 37px;
    width: auto;
    transition: opacity var(--ctv-transition);
}

.ctv-header--scrolled .ctv-header__logo-text {
    color: var(--ctv-dark);
}

.ctv-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ctv-header__enquire-btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--ctv-font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ctv-white);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    transition: all var(--ctv-transition);
}

.ctv-header__enquire-btn:hover {
    background-color: var(--ctv-white);
    color: var(--ctv-dark);
    border-color: var(--ctv-white);
}

.ctv-header--scrolled .ctv-header__enquire-btn {
    color: var(--ctv-primary);
    border-color: var(--ctv-primary);
}

.ctv-header--scrolled .ctv-header__enquire-btn:hover {
    background-color: var(--ctv-primary);
    color: var(--ctv-white);
}

/* ----- Menu Button ----- */
.ctv-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ctv-menu-btn__bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ctv-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.ctv-header--scrolled .ctv-menu-btn__bar {
    background-color: var(--ctv-dark);
}

.ctv-menu-btn--active .ctv-menu-btn__bar:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.ctv-menu-btn--active .ctv-menu-btn__bar:nth-child(2) {
    opacity: 0;
}

.ctv-menu-btn--active .ctv-menu-btn__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

.ctv-menu-btn--active .ctv-menu-btn__bar,
.ctv-header--scrolled .ctv-menu-btn--active .ctv-menu-btn__bar {
    background-color: var(--ctv-white) !important;
}

/* ----- Fullscreen Nav ----- */
.ctv-fullnav {
    position: fixed;
    inset: 0;
    background-color: var(--ctv-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ctv-fullnav--open {
    opacity: 1;
    pointer-events: auto;
}

.ctv-fullnav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    list-style: none;
}

.ctv-fullnav__link {
    display: block;
    font-family: var(--ctv-font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 18px 24px;
    transition: color 0.3s ease;
}

.ctv-fullnav__link:hover,
.ctv-fullnav__link--active {
    color: var(--ctv-white);
}

.ctv-fullnav__cta {
    display: inline-block;
    margin-top: 36px;
    padding: 14px 36px;
    font-family: var(--ctv-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ctv-white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.ctv-fullnav__cta:hover {
    background-color: var(--ctv-white);
    color: var(--ctv-dark);
}

.ctv-header--nav-open {
    background-color: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .ctv-header {
        padding: 0;
        height: 64px;
    }

    .ctv-header--scrolled {
        height: 60px;
    }

    .ctv-header__logo-text {
        font-size: 1.15rem;
    }

    .ctv-header__logo-img {
        height: 29px;
    }

    .ctv-header__enquire-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .ctv-fullnav {
        padding-top: 80px;
    }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ctv-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ctv-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ctv-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ctv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 30, 0.6) 0%,
        rgba(10, 15, 30, 0.35) 50%,
        rgba(10, 15, 30, 0.15) 100%
    );
}

.ctv-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--ctv-container);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.ctv-hero__accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--ctv-white);
    margin-bottom: 24px;
    opacity: 0.7;
}

.ctv-hero__title {
    font-family: var(--ctv-font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
    color: var(--ctv-white);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ctv-hero__subtitle {
    font-family: var(--ctv-font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    letter-spacing: 0.3px;
}

.ctv-hero__btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--ctv-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ctv-white);
    border: 1.5px solid var(--ctv-white);
    border-radius: 30px;
    transition: all var(--ctv-transition);
}

.ctv-hero__btn:hover {
    background-color: var(--ctv-white);
    color: var(--ctv-dark);
}

.ctv-hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.ctv-hero__scroll-text {
    font-family: "Poppins", sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    animation: ctv-scroll-fade 2s ease-in-out infinite;
}

.ctv-hero__scroll-line {
    width: 1px;
    height: 17px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.75),
        transparent
    );
    animation: ctv-scroll-line 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes ctv-scroll-fade {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

@keyframes ctv-scroll-line {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    40% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

/* ============================================================
   VILLA INTRODUCTION SECTION
   ============================================================ */
.ctv-intro {
    padding: 100px 40px 80px;
    background-color: var(--ctv-white);
}

.ctv-intro__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
}

.ctv-intro__content-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    position: relative;
    margin-bottom: 80px;
}

.ctv-intro__text-card {
    background-color: var(--ctv-white);
    border: 1px solid var(--ctv-gray-200);
    border-radius: 4px;
    padding: 48px 44px;
    position: relative;
    z-index: 2;
    margin-right: -60px;
    align-self: center;
}

.ctv-intro__title {
    font-family: var(--ctv-font-heading);
    font-size: 2rem;
    font-weight: 500;
    font-style: normal;
    color: var(--ctv-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.ctv-intro__text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ctv-gray-600);
    margin-bottom: 16px;
}

.ctv-intro__text:last-child {
    margin-bottom: 0;
}

.ctv-intro__image {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    align-self: stretch;
    margin-top: -30px;
    margin-bottom: -30px;
}

.ctv-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Intro Features Box ----- */
.ctv-intro__features-box {
    background-color: var(--ctv-off-white);
    border-radius: 6px;
    padding: 32px 40px;
}

.ctv-intro__features-title {
    font-family: var(--ctv-font-heading);
    font-size: 33px;
    font-weight: 500;
    font-style: normal;
    color: var(--ctv-dark);
    margin-bottom: 20px;
}

.ctv-intro__features-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 32px;
    list-style: none;
}

.ctv-intro__features-list li {
    font-size: 0.88rem;
    color: var(--ctv-gray-600);
    padding-left: 16px;
    position: relative;
}

.ctv-intro__features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ctv-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .ctv-intro__features-list {
        grid-template-columns: 1fr 1fr;
        gap: 12px 24px;
    }

    .ctv-intro__features-box {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .ctv-intro__features-list {
        grid-template-columns: 1fr;
    }
}

/* ----- Features Row ----- */
.ctv-intro__features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--ctv-gray-200);
}

.ctv-intro__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ctv-intro__feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ctv-intro__feature-label {
    font-family: var(--ctv-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ctv-dark);
    text-align: center;
}

@media (max-width: 768px) {
    .ctv-intro__features {
        gap: 28px 24px;
    }

    .ctv-intro__feature-icon {
        width: 40px;
        height: 40px;
    }

    .ctv-intro__feature-label {
        font-size: 0.78rem;
    }
}

/* ----- Intro Reversed (image left, text right) ----- */
.ctv-intro--reversed .ctv-intro__content-wrap {
    grid-template-columns: 1.3fr 1fr;
}

.ctv-intro--reversed .ctv-intro__image {
    order: 1;
}

.ctv-intro--reversed .ctv-intro__text-card {
    order: 2;
    margin-right: 0;
    margin-left: -60px;
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .ctv-intro--reversed .ctv-intro__text-card {
        margin-left: -40px;
    }
}

@media (max-width: 768px) {
    .ctv-intro--reversed .ctv-intro__text-card {
        margin-left: 0;
        margin-top: 0;
        order: 2;
    }

    .ctv-intro--reversed .ctv-intro__image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .ctv-intro--reversed .ctv-intro__content-wrap {
        grid-template-columns: 1fr;
    }

    .ctv-intro--reversed .ctv-intro__image {
        order: 1;
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 4px 4px 0 0;
    }

    .ctv-intro--reversed .ctv-intro__text-card {
        order: 2;
        margin-left: 0;
        margin-top: 0;
        border-top: none;
        border-radius: 0 0 4px 4px;
        padding: 32px 24px;
    }
}

/* ============================================================
   ENQUIRE & CALENDAR SECTION
   ============================================================ */
.ctv-enquire {
    padding: 80px 40px;
    background-color: var(--ctv-off-white);
}

.ctv-enquire__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.ctv-enquire__heading {
    font-family: var(--ctv-font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    font-style: normal;
    color: var(--ctv-primary);
    margin-bottom: 1.8rem;
}

.ctv-enquire__form-col .ctv-enquire__heading {
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--ctv-primary);
}

/* ----- Calendar ----- */
.ctv-calendar__day--booked {
    position: relative;
    color: var(--ctv-gray-400);
    background: var(--ctv-gray-100);
    text-decoration: line-through;
    cursor: not-allowed;
}

.ctv-calendar__day--booked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 1px;
    background: var(--ctv-gray-400);
    transform: rotate(-20deg);
    transform-origin: center;
}

.ctv-calendar__day--past {
    color: var(--ctv-gray-300);
    opacity: 0.5;
}

.ctv-calendar__legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ctv-gray-200);
    flex-wrap: wrap;
}

.ctv-calendar__legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--ctv-gray-500);
    font-weight: 500;
}

.ctv-calendar__legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--ctv-gray-200);
}

.ctv-calendar__legend-swatch--available {
    background: var(--ctv-white);
}

.ctv-calendar__legend-swatch--booked {
    background: var(--ctv-gray-100);
    position: relative;
    overflow: hidden;
}

.ctv-calendar__legend-swatch--booked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--ctv-gray-400);
    transform: rotate(-20deg);
}
.ctv-enquire__calendar {
    background-color: var(--ctv-white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ctv-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ctv-calendar__month {
    font-family: var(--ctv-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ctv-dark);
}

.ctv-calendar__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--ctv-gray-500);
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--ctv-transition);
}

.ctv-calendar__nav:hover {
    background-color: var(--ctv-gray-100);
    color: var(--ctv-primary);
}

.ctv-calendar__days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ctv-gray-200);
}

.ctv-calendar__days-header span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ctv-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ctv-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 2px;
}

.ctv-calendar__day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ctv-gray-600);
    border-radius: 50%;
    cursor: default;
}

.ctv-calendar__day--other {
    color: var(--ctv-gray-300);
}

.ctv-calendar__day--today {
    background-color: var(--ctv-primary);
    color: var(--ctv-white);
    font-weight: 600;
}

.ctv-calendar__day--sunday {
    color: var(--ctv-error);
}

.ctv-calendar__day--sunday.ctv-calendar__day--other {
    color: rgba(231, 76, 60, 0.35);
}

/* ----- Enquire Form ----- */
.ctv-enquire__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ctv-enquire__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ctv-enquire__field input,
.ctv-enquire__field textarea {
    width: 100%;
    padding: 14px 20px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    color: var(--ctv-dark);
    background-color: var(--ctv-white);
    border: 1.5px solid var(--ctv-gray-200);
    border-radius: 30px;
    outline: none;
    transition: border-color var(--ctv-transition);
}

.ctv-enquire__field textarea {
    border-radius: 16px;
    resize: vertical;
    min-height: 100px;
}

.ctv-enquire__field input::placeholder,
.ctv-enquire__field textarea::placeholder {
    color: var(--ctv-gray-400);
}

.ctv-enquire__field input:focus,
.ctv-enquire__field textarea:focus {
    border-color: var(--ctv-primary);
}

.ctv-enquire__submit {
    align-self: flex-start;
    padding: 12px 40px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ctv-white);
    background-color: var(--ctv-primary);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color var(--ctv-transition);
}

.ctv-enquire__submit:hover {
    background-color: var(--ctv-primary-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ctv-footer__admin-link {
    font-size: 0.7rem;
    color: var(--ctv-gray-100);
    text-decoration: none;
    transition:
        opacity 0.3s ease,
        color 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ctv-footer__admin-link:hover {
    opacity: 1;
    color: var(--ctv-primary-light);
}
.ctv-footer {
    background-color: var(--ctv-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 40px 0;
}

.ctv-footer__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
}

.ctv-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ----- Brand ----- */
.ctv-footer__logo-text {
    font-family: var(--ctv-font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ctv-white);
}
.ctv-footer__logo-img {
    height: 43px;
    width: auto;
}

.ctv-footer__tagline {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 14px;
    max-width: 280px;
}

.ctv-footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.ctv-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--ctv-transition);
}

.ctv-footer__social-link:hover {
    background-color: var(--ctv-primary);
    color: var(--ctv-white);
}

/* ----- Nav Links ----- */
.ctv-footer__heading {
    font-family: var(--ctv-font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ctv-white);
    margin-bottom: 20px;
}

.ctv-footer__links li {
    margin-bottom: 12px;
}

.ctv-footer__links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--ctv-transition);
}

.ctv-footer__links a:hover {
    color: var(--ctv-white);
}

/* ----- Contact Column ----- */
.ctv-footer__contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.ctv-footer__contact-list svg {
    flex-shrink: 0;
    color: var(--ctv-primary-light);
    opacity: 0.7;
}

.ctv-footer__contact-list a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--ctv-transition);
}

.ctv-footer__contact-list a:hover {
    color: var(--ctv-white);
}

/* ----- Bottom Bar ----- */
.ctv-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.ctv-footer__credit a {
    color: var(--ctv-primary-light);
    transition: color var(--ctv-transition);
}

.ctv-footer__credit a:hover {
    color: var(--ctv-white);
}

/* ----- Footer Responsive ----- */
@media (max-width: 1024px) {
    .ctv-footer {
        padding: 48px 24px 0;
    }

    .ctv-footer__top {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ctv-footer {
        padding: 40px 20px 0;
    }

    .ctv-footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .ctv-footer__tagline {
        max-width: 100%;
    }

    .ctv-footer__socials {
        justify-content: center;
    }

    .ctv-footer__contact-list li {
        justify-content: center;
    }

    .ctv-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .ctv-hero__content {
        padding: 0 24px;
    }

    .ctv-intro {
        padding: 80px 24px 60px;
    }

    .ctv-intro__text-card {
        padding: 36px 32px;
        margin-right: -40px;
    }

    .ctv-intro__features {
        gap: 40px;
    }

    .ctv-enquire {
        padding: 60px 24px;
    }

    .ctv-enquire__container {
        gap: 40px;
    }

    .ctv-footer {
        padding: 48px 24px 0;
    }

    .ctv-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --ctv-header-height: 70px;
    }

    .ctv-nav {
        width: 100%;
        padding: 100px 32px 40px;
    }
    .ctv-footer__logo {
        display: inline-block;
    }

    /* Hero */
    .ctv-hero {
        min-height: 500px;
        max-height: 700px;
    }

    .ctv-hero__content {
        padding: 0 20px;
    }

    .ctv-hero__btn {
        padding: 12px 28px;
    }

    /* Intro */
    .ctv-intro {
        padding: 60px 20px 48px;
    }

    .ctv-intro__content-wrap {
        grid-template-columns: 1fr;
        margin-bottom: 48px;
    }

    .ctv-intro__text-card {
        margin-right: 0;
        margin-top: 0;
        order: 2;
        padding: 32px 24px;
        border-top: none;
        border-radius: 0 0 4px 4px;
    }

    .ctv-intro__image {
        order: 1;
        border-radius: 4px 4px 0 0;
    }

    .ctv-intro__features {
        flex-wrap: wrap;
        gap: 32px;
    }

    .ctv-intro__feature-icon {
        width: 48px;
        height: 48px;
    }

    /* Enquire */
    .ctv-enquire {
        padding: 48px 20px;
    }

    .ctv-enquire__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ctv-enquire__row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .ctv-footer {
        padding: 40px 20px 0;
    }

    .ctv-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ctv-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .ctv-hero__title {
        font-size: 2rem;
    }

    .ctv-enquire__heading {
        font-size: 1.3rem;
    }
}
/* ============================================================
   VILLA SHOWCASE SECTION
   ============================================================ */
.ctv-showcase {
    position: relative;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.ctv-showcase__image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ctv-showcase__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ctv-showcase__text {
    position: relative;
    z-index: 2;
    width: 38%;
    margin-left: auto;
    padding: 48px 44px;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--ctv-gray-200);
    border-right: none;
}

.ctv-showcase__title {
    font-family: var(--ctv-font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    font-style: normal;
    color: var(--ctv-dark);
    margin-bottom: 28px;
    line-height: 1.2;
}

.ctv-showcase__desc {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--ctv-gray-600);
    margin-bottom: 16px;
}

.ctv-showcase__desc:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .ctv-showcase__text {
        width: 44%;
        padding: 36px 32px;
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .ctv-showcase__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .ctv-showcase {
        flex-direction: column;
    }

    .ctv-showcase__image {
        position: relative;
        height: 300px;
    }

    .ctv-showcase__text {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 36px 20px;
        background-color: var(--ctv-white);
        border: none;
    }
}

/* ----- Tall Variant ----- */
.ctv-showcase--tall {
    min-height: 600px;
}

.ctv-showcase--tall .ctv-showcase__image img {
    height: 600px;
}

.ctv-showcase--tall .ctv-showcase__text {
    height: fit-content;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    right: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .ctv-showcase--tall {
        min-height: auto;
    }

    .ctv-showcase--tall .ctv-showcase__image {
        height: 200px;
    }

    .ctv-showcase--tall .ctv-showcase__image img {
        height: 100%;
    }

    .ctv-showcase--tall .ctv-showcase__text {
        position: relative;
        top: auto;
        transform: none;
        right: auto;
        height: auto;
        width: 100%;
        margin: 0;
        padding: 36px 20px;
        background-color: var(--ctv-white);
    }
}
/* ============================================================
   KEY FEATURES SECTION
   ============================================================ */
.ctv-features {
    padding: 80px 0;
    background-color: #f1f4f7;
}

.ctv-features__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--ctv-container);
    margin: 0 auto;
    padding: 0 40px;
    gap: 48px;
    align-items: center;
}

.ctv-features__title {
    font-family: var(--ctv-font-heading);
    font-size: 2rem;
    font-weight: 500;
    font-style: normal;
    color: var(--ctv-dark);
    margin-bottom: 32px;
}

.ctv-features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    margin-bottom: 36px;
}

.ctv-features__item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ctv-gray-600);
}

.ctv-features__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.ctv-features__item--more {
    color: var(--ctv-primary);
}

.ctv-features__plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ctv-primary);
}

.ctv-features__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ctv-white);
    background-color: var(--ctv-primary);
    border-radius: 30px;
    transition: background-color var(--ctv-transition);
}

.ctv-features__btn span {
    font-size: 1.2rem;
    line-height: 1;
}

.ctv-features__btn:hover {
    background-color: var(--ctv-primary-dark);
}

/* ----- Video Thumbnail ----- */
.ctv-features__video-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.ctv-features__video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ctv-features__video-thumb:hover img {
    transform: scale(1.03);
}

.ctv-features__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ctv-transition);
}

.ctv-features__video-thumb:hover .ctv-features__play-btn {
    background-color: var(--ctv-primary);
    border-color: var(--ctv-primary);
}

.ctv-features__play-btn svg {
    margin-left: 3px;
}

/* ----- Video Modal ----- */
.ctv-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.ctv-video-modal--open {
    display: flex;
}

.ctv-video-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

.ctv-video-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.ctv-video-modal__content video {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.ctv-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--ctv-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: opacity var(--ctv-transition);
}

.ctv-video-modal__close:hover {
    opacity: 0.7;
}
@media (max-width: 1024px) {
    .ctv-features__container {
        padding: 0 24px;
        gap: 36px;
    }

    .ctv-features__grid {
        gap: 20px 32px;
    }
}

@media (max-width: 768px) {
    .ctv-features {
        padding: 60px 0;
    }

    .ctv-features__container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .ctv-features__video-thumb {
        max-height: 300px;
    }
}

/* ============================================================
   VILLA DETAILS SECTION
   ============================================================ */
.ctv-details {
    padding: 80px 40px;
    background-color: var(--ctv-gray-100);
}

.ctv-details__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.ctv-details__image {
    border-radius: 6px;
    overflow: hidden;
    min-height: 500px;
}

.ctv-details__image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}
.ctv-details__title {
    font-family: var(--ctv-font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--ctv-dark);
    margin-bottom: 24px;
}

/* ----- Tabs ----- */
.ctv-details__tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
}

.ctv-details__tab {
    padding: 10px 32px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1.5px solid var(--ctv-gray-300);
    background: none;
    color: var(--ctv-gray-500);
    cursor: pointer;
    transition: all var(--ctv-transition);
}

.ctv-details__tab:first-child {
    border-radius: 4px 0 0 4px;
}

.ctv-details__tab:last-child {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.ctv-details__tab--active {
    background-color: var(--ctv-dark);
    border-color: var(--ctv-dark);
    color: var(--ctv-white);
}

/* ----- Meta Row ----- */
.ctv-details__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ctv-gray-200);
}

.ctv-details__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ctv-gray-600);
}

.ctv-details__meta-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ----- Panels ----- */
.ctv-details__panel {
    display: none;
}

.ctv-details__panel--active {
    display: block;
}

.ctv-details__panel p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ctv-gray-600);
    margin-bottom: 14px;
}

.ctv-details__panel p:last-child {
    margin-bottom: 0;
}

.ctv-details__features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
}

.ctv-details__features-list li {
    font-size: 0.9rem;
    color: var(--ctv-gray-600);
    padding-left: 18px;
    position: relative;
}

.ctv-details__features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--ctv-primary);
}

@media (max-width: 1024px) {
    .ctv-details {
        padding: 60px 24px;
    }

    .ctv-details__container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ctv-details {
        padding: 48px 20px;
    }

    .ctv-details__container {
        grid-template-columns: 1fr;
    }

    .ctv-details__meta {
        gap: 16px;
    }

    .ctv-details__features-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   GALLERY SLIDER — refined scroll-snap version
   ============================================================ */
.ctv-gallery {
    position: relative;
    padding: 40px 0 0px;
    background-color: var(--ctv-off-white);
    overflow: hidden;
}
.ctv-gallery__heading {
    font-family: var(--ctv-font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--ctv-dark);
    margin-bottom: 24px;
    text-align: center;
}

/* Subtle decorative background */
.ctv-gallery::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -100px;
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.ctv-gallery::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -100px;
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.ctv-gallery::before,
.ctv-gallery::after {
    display: none !important;
}

/* ----- Optional gallery header ----- */
.ctv-gallery__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.ctv-gallery__eyebrow {
    display: inline-block;
    font-family: var(--ctv-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ctv-primary, #4c6cac);
    margin-bottom: 14px;
}

.ctv-gallery__title {
    font-family: var(--ctv-font-heading);
    font-size: 36px;
    font-weight: 500;
    color: var(--ctv-dark, #1a1a2e);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

/* ----- Viewport (the scrolling container) ----- */
.ctv-gallery__viewport {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 25px 0 25px;
    scroll-padding-inline: 56px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 1;
}

.ctv-gallery__viewport::-webkit-scrollbar {
    display: none;
}

/* ----- Slide ----- */
.ctv-gallery__slide {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ctv-gallery__slide:first-child {
    margin-left: 56px;
}

.ctv-gallery__slide:last-child {
    margin-right: 56px;
}

.ctv-gallery__slide img {
    width: 100%;
    height: 355px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: none;
    transition:
        transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 0.5s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    filter: saturate(1);
}

/* Image number overlay — luxury hotel feel */
.ctv-gallery__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(
        to top,
        rgba(26, 26, 46, 0.35) 0%,
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

/* View-icon that appears on hover */
.ctv-gallery__slide::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c6cac' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (hover: hover) {
    .ctv-gallery__slide:hover img {
        transform: translateY(-5px);
        filter: saturate(1.08);
    }

    .ctv-gallery__slide:hover::after {
        opacity: 0.3;
    }

    .ctv-gallery__slide:hover::before {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.ctv-gallery__slide:active img {
    transform: translateY(-4px);
}
.ctv-gallery__track {
    position: relative;
}

/* ----- Arrows ----- */
.ctv-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(26, 26, 46, 0.08);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--ctv-dark, #1a1a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow:
        0 2px 8px rgba(26, 26, 46, 0.06),
        0 8px 24px rgba(26, 26, 46, 0.12);
    transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ctv-gallery__arrow:hover {
    background-color: var(--ctv-primary, #4c6cac);
    color: #fff;
    box-shadow:
        0 4px 12px rgba(76, 108, 172, 0.25),
        0 12px 32px rgba(76, 108, 172, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.ctv-gallery__arrow--prev {
    left: 28px;
}
.ctv-gallery__arrow--next {
    right: 28px;
}

/* If no header, re-center the arrows */
.ctv-gallery:not(:has(.ctv-gallery__header)) .ctv-gallery__arrow {
    top: 50%;
}

/* ============================================================
   GALLERY LIGHTBOX
   ============================================================ */
.ctv-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.ctv-lightbox--open {
    display: flex;
}

.ctv-lightbox__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(4px);
}

.ctv-lightbox__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctv-lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.ctv-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
    transition: opacity var(--ctv-transition);
}

.ctv-lightbox__close:hover {
    opacity: 0.6;
}

.ctv-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ctv-transition);
}

.ctv-lightbox__arrow:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.ctv-lightbox__arrow--prev {
    left: 24px;
}
.ctv-lightbox__arrow--next {
    right: 24px;
}

.ctv-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    font-family: var(--ctv-font-body);
    letter-spacing: 0.1em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
    .ctv-gallery__slide {
        flex: 0 0 calc(33.333% - 14px);
    }

    .ctv-gallery__slide img {
        height: 380px;
    }
}

@media (max-width: 1024px) {
    .ctv-gallery {
        padding: 64px 0 76px;
    }

    .ctv-gallery__header {
        margin-bottom: 28px;
    }

    .ctv-gallery__title {
        font-size: 30px;
    }

    .ctv-gallery__viewport {
        scroll-padding-inline: 40px;
        padding: 20px 0 30px;
    }

    .ctv-gallery__slide {
        flex: 0 0 calc(40% - 12px);
    }

    .ctv-gallery__slide:first-child {
        margin-left: 40px;
    }
    .ctv-gallery__slide:last-child {
        margin-right: 40px;
    }

    .ctv-gallery__slide img {
        height: 340px;
    }

    .ctv-gallery__arrow {
        width: 48px;
        height: 48px;
        top: 50%;
    }

    .ctv-gallery__arrow--prev {
        left: 20px;
    }
    .ctv-gallery__arrow--next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .ctv-gallery {
        padding: 48px 0 60px;
    }

    .ctv-gallery__header {
        padding: 0 24px;
        margin-bottom: 20px;
    }

    .ctv-gallery__eyebrow {
        font-size: 10px;
    }

    .ctv-gallery__title {
        font-size: 24px;
    }

    .ctv-gallery__viewport {
        gap: 14px;
        padding: 16px 0 24px;
        scroll-padding-inline: 24px;
    }

    .ctv-gallery__slide {
        flex: 0 0 calc(75% - 10px);
    }

    .ctv-gallery__slide:first-child {
        margin-left: 24px;
    }
    .ctv-gallery__slide:last-child {
        margin-right: 24px;
    }

    .ctv-gallery__slide img {
        height: 300px;
        border-radius: 5px;
    }

    .ctv-gallery__arrow {
        width: 42px;
        height: 42px;
        top: 50%;
    }

    .ctv-gallery__arrow--prev {
        left: 12px;
    }
    .ctv-gallery__arrow--next {
        right: 12px;
    }

    .ctv-lightbox__arrow {
        width: 36px;
        height: 36px;
    }

    .ctv-lightbox__arrow--prev {
        left: 12px;
    }
    .ctv-lightbox__arrow--next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .ctv-gallery__viewport {
        gap: 10px;
        scroll-padding-inline: 18px;
    }

    .ctv-gallery__slide {
        flex: 0 0 calc(85% - 8px);
    }

    .ctv-gallery__slide:first-child {
        margin-left: 18px;
    }
    .ctv-gallery__slide:last-child {
        margin-right: 18px;
    }

    .ctv-gallery__slide img {
        height: 260px;
    }

    .ctv-gallery__arrow {
        display: none;
    }
}
/* ============================================================
   SERVICES SECTION
   ============================================================ */
.ctv-services {
    padding: 80px 40px;
    background-color: var(--ctv-off-white, #f8f9fc);
}

.ctv-services__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.ctv-services__card {
    text-align: center;
}

.ctv-services__image {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
}

.ctv-services__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ctv-services__card:hover .ctv-services__image img {
    transform: scale(1.05);
}

.ctv-services__label {
    font-family: var(--ctv-font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ctv-dark);
    margin-top: 20px;
}
@media (max-width: 1024px) {
    .ctv-services {
        padding: 60px 24px;
    }

    .ctv-services__container {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .ctv-services {
        padding: 48px 20px;
    }

    .ctv-services__container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.ctv-cta {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.ctv-cta__bg {
    position: absolute;
    inset: 0;
}

.ctv-cta__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ctv-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 15, 30, 0.7) 0%,
        rgba(10, 15, 30, 0.4) 50%,
        rgba(10, 15, 30, 0.2) 100%
    );
}

.ctv-cta__content {
    position: relative;
    z-index: 2;
    max-width: var(--ctv-container);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ctv-cta__accent-line {
    width: 48px;
    height: 3px;
    background-color: var(--ctv-white);
    margin-bottom: 16px;
    opacity: 0.7;
}

.ctv-cta__title {
    font-family: var(--ctv-font-heading);
    font-size: 2rem;
    font-weight: 500;
    font-style: normal;
    color: var(--ctv-white);
    margin-bottom: 8px;
}

.ctv-cta__subtitle {
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.ctv-cta__buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.ctv-cta__btn {
    padding: 14px 36px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all var(--ctv-transition);
    white-space: nowrap;
}

.ctv-cta__btn--primary {
    background-color: var(--ctv-primary);
    color: var(--ctv-white);
    border: 2px solid var(--ctv-primary);
}

.ctv-cta__btn--primary:hover {
    background-color: var(--ctv-primary-dark);
    border-color: var(--ctv-primary-dark);
}

.ctv-cta__btn--secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--ctv-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.ctv-cta__btn--secondary:hover {
    background-color: var(--ctv-white);
    color: var(--ctv-dark);
    border-color: var(--ctv-white);
}

@media (max-width: 1024px) {
    .ctv-cta__content {
        padding: 0 24px;
    }

    .ctv-cta__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .ctv-cta {
        height: auto;
    }

    .ctv-cta__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 20px;
        gap: 24px;
    }

    .ctv-cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .ctv-cta__btn {
        text-align: center;
    }
}

/* ============================================================
   BEDROOMS SECTION
   ============================================================ */
.ctv-bedrooms {
    padding: 80px 40px;
    background-color: var(--ctv-off-white);
}

.ctv-bedrooms__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.ctv-bedrooms__image {
    border-radius: 6px;
    overflow: hidden;
}

.ctv-bedrooms__image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.ctv-bedrooms__title {
    font-family: var(--ctv-font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--ctv-dark);
    margin-bottom: 24px;
}

/* ----- Room Tabs ----- */
.ctv-bedrooms__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 24px;
}

.ctv-bedrooms__tab {
    padding: 10px 24px;
    font-family: var(--ctv-font-body);
    font-size: 0.84rem;
    font-weight: 600;
    border: 1.5px solid var(--ctv-gray-300);
    background: none;
    color: var(--ctv-gray-500);
    cursor: pointer;
    transition: all var(--ctv-transition);
    margin-left: -1.5px;
}

.ctv-bedrooms__tab:first-child {
    border-radius: 4px 0 0 4px;
    margin-left: 0;
}

.ctv-bedrooms__tab:last-child {
    border-radius: 0 4px 4px 0;
}

.ctv-bedrooms__tab--active {
    background-color: var(--ctv-dark);
    border-color: var(--ctv-dark);
    color: var(--ctv-white);
    z-index: 1;
}

/* ----- Meta Row ----- */
.ctv-bedrooms__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ctv-gray-200);
}

.ctv-bedrooms__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ctv-gray-600);
}

.ctv-bedrooms__meta-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ----- Description ----- */
.ctv-bedrooms__desc p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ctv-gray-600);
    margin-bottom: 14px;
}

.ctv-bedrooms__desc p:last-child {
    margin-bottom: 0;
}
@media (max-width: 1024px) {
    .ctv-bedrooms {
        padding: 60px 24px;
    }

    .ctv-bedrooms__container {
        gap: 40px;
    }

    .ctv-bedrooms__tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .ctv-bedrooms {
        padding: 48px 20px;
    }

    .ctv-bedrooms__container {
        grid-template-columns: 1fr;
    }

    .ctv-bedrooms__tabs {
        flex-wrap: wrap;
    }

    .ctv-bedrooms__tab {
        flex: 1;
        min-width: auto;
    }
}

.ctv-bedrooms__container > .ctv-intro__features-box {
    grid-column: 1 / -1;
}
.ctv-bedrooms .ctv-intro__features-box {
    grid-column: 1 / -1;
    background-color: var(--ctv-gray-100);
    padding: 32px 40px;
    border-radius: 6px;
}

.ctv-intro__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ctv-intro__title-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ----- Small Hero Variant ----- */
.ctv-hero--small {
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
}

/* ----- Contact Section ----- */
.ctv-contact {
    padding: 80px 40px;
    background-color: var(--ctv-white);
}

.ctv-contact__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}

.ctv-contact__heading {
    font-family: var(--ctv-font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--ctv-dark);
    margin-bottom: 16px;
}

.ctv-contact__intro {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ctv-gray-500);
    margin-bottom: 36px;
}

/* ----- Contact Details ----- */
.ctv-contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.ctv-contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ctv-contact__detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--ctv-off-white);
    color: var(--ctv-primary);
    flex-shrink: 0;
}

.ctv-contact__detail-label {
    font-family: var(--ctv-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ctv-gray-400);
    margin-bottom: 2px;
}

.ctv-contact__detail-value {
    font-size: 0.92rem;
    color: var(--ctv-dark);
    font-weight: 500;
}

a.ctv-contact__detail-value:hover {
    color: var(--ctv-primary);
}

/* ----- Contact Socials ----- */
.ctv-contact__socials {
    display: flex;
    gap: 14px;
}

.ctv-contact__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--ctv-off-white);
    color: var(--ctv-gray-500);
    transition: all var(--ctv-transition);
}

.ctv-contact__socials a:hover {
    background-color: var(--ctv-primary);
    color: var(--ctv-white);
}

/* ----- Contact Form ----- */
.ctv-contact__form-wrap {
    background-color: var(--ctv-off-white);
    border-radius: 8px;
    padding: 40px;
}

.ctv-contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ctv-contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ctv-contact__field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ctv-gray-600);
    margin-bottom: 6px;
}

.ctv-contact__field label span {
    font-weight: 400;
    color: var(--ctv-gray-400);
}

.ctv-contact__field input,
.ctv-contact__field textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    color: var(--ctv-dark);
    background-color: var(--ctv-white);
    border: 1.5px solid var(--ctv-gray-200);
    border-radius: 6px;
    outline: none;
    transition: border-color var(--ctv-transition);
}

.ctv-contact__field textarea {
    resize: vertical;
    min-height: 120px;
}

.ctv-contact__field input:focus,
.ctv-contact__field textarea:focus {
    border-color: var(--ctv-primary);
}

.ctv-contact__error {
    display: block;
    font-size: 0.78rem;
    color: var(--ctv-error);
    margin-top: 4px;
}

.ctv-contact__submit {
    align-self: flex-start;
    padding: 14px 40px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ctv-white);
    background-color: var(--ctv-primary);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color var(--ctv-transition);
}

.ctv-contact__submit:hover {
    background-color: var(--ctv-primary-dark);
}

/* ----- Map ----- */
.ctv-contact-map {
    width: 100%;
    line-height: 0;
}

.ctv-contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .ctv-contact {
        padding: 60px 24px;
    }

    .ctv-contact__container {
        gap: 48px;
    }

    .ctv-contact__form-wrap {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .ctv-hero--small {
        height: 40vh !important;
        min-height: 280px !important;
    }

    .ctv-contact {
        padding: 48px 20px;
    }

    .ctv-contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ctv-contact__row {
        grid-template-columns: 1fr;
    }

    .ctv-contact__form-wrap {
        padding: 24px;
    }

    .ctv-contact-map iframe {
        height: 300px;
    }
}

/* ============================================================
   CARDS SECTION
   ============================================================ */
.ctv-cards {
    padding: 80px 40px;
    background-color: var(--ctv-off-white);
}

.ctv-cards__container {
    max-width: var(--ctv-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ctv-cards__item {
    background-color: var(--ctv-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition:
        box-shadow var(--ctv-transition),
        transform var(--ctv-transition);
}

.ctv-cards__item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.ctv-cards__image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ctv-cards__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ctv-cards__item:hover .ctv-cards__image img {
    transform: scale(1.05);
}

.ctv-cards__content {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ctv-cards__title {
    font-family: var(--ctv-font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ctv-dark);
    margin-bottom: 8px;
}

.ctv-cards__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--ctv-gray-400);
    margin-bottom: 14px;
}

.ctv-cards__location svg {
    color: var(--ctv-primary);
}

.ctv-cards__desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ctv-gray-500);
    margin-bottom: 24px;
    flex-grow: 1;
}

.ctv-cards__btn {
    display: inline-block;
    align-self: flex-start;
    padding: 12px 32px;
    font-family: var(--ctv-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ctv-white);
    background-color: var(--ctv-primary);
    border-radius: 30px;
    transition: background-color var(--ctv-transition);
}

.ctv-cards__btn:hover {
    background-color: var(--ctv-primary-dark);
}
@media (max-width: 1024px) {
    .ctv-cards {
        padding: 60px 24px;
    }

    .ctv-cards__container {
        gap: 24px;
    }

    .ctv-cards__content {
        padding: 24px 24px 28px;
    }
}

@media (max-width: 768px) {
    .ctv-cards {
        padding: 48px 20px;
    }

    .ctv-cards__container {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

.ctv-lightbox__grid-toggle {
    position: fixed;
    top: 20px;
    right: 60px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ctv-lightbox__grid-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ctv-lightbox__grid-toggle--active {
    background: var(--ctv-primary);
    border-color: var(--ctv-primary);
}

.ctv-lightbox__grid {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #0d0d0d;
    overflow-y: auto;
    overflow-x: hidden; /* kills the horizontal scrollbar */
}

.ctv-lightbox__grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px;
    padding: 16px 24px 24px; /* breathing room from all edges */
    flex: 1;
}

.ctv-lightbox--grid-mode .ctv-lightbox__grid {
    display: flex;
    flex-direction: column;
}

.ctv-lightbox--grid-mode .ctv-lightbox__content,
.ctv-lightbox--grid-mode .ctv-lightbox__arrow,
.ctv-lightbox--grid-mode .ctv-lightbox__counter {
    display: none;
}

/* Grid header bar */
.ctv-lightbox__grid-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ctv-lightbox__grid-header-title {
    font-family: var(--ctv-font-heading, serif);
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ctv-lightbox__grid-header-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.ctv-lightbox__grid-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #1a1a1a;
}

.ctv-lightbox__grid-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s;
}

.ctv-lightbox__grid-item:hover::after {
    background: rgba(0, 0, 0, 0.25);
}

.ctv-lightbox__grid-item--active::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid var(--ctv-primary);
    z-index: 1;
    pointer-events: none;
}

.ctv-lightbox__grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ctv-lightbox__grid-item:hover img {
    transform: scale(1.04);
}

/* Grid number badge */
.ctv-lightbox__grid-item-num {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 2px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 640px) {
    .ctv-lightbox__grid-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ctv-hero__img {
        object-fit: cover !important;
        object-position: center !important;
        transform: none !important;
        transform-origin: unset !important;
    }
}
@media (max-width: 768px) {
    .ctv-hero {
        height: 100svh;
        min-height: 100svh;
        max-height: none;
    }
}
/* ============================================================
   IMAGE STACK V1 — Scroll-animated horizontal strips
   ============================================================ */
.ctv-stack-1 {
    overflow: hidden;
    position: relative;
    background-color: var(--ctv-dark);
}

.ctv-stack-1--desktop {
    display: block;
}

.ctv-stack-1--mobile {
    display: none;
}

/* ----- Individual strip ----- */
.ctv-stack-1__strip {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    margin-top: -1px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ----- Image ----- */
.ctv-stack-1__img-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60px;
    right: -60px;
    will-change: transform;
    transition: transform 0.1s linear;
}

.ctv-stack-1__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9);
}

/* ----- Dark overlay ----- */
.ctv-stack-1__img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 40, 0.25);
    pointer-events: none;
}

/* ----- Label ----- */
.ctv-stack-1__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 2;
    pointer-events: none;
    padding: 0 40px;
}
.ctv-stack-1__label-num {
    display: inline-block;
    font-family: var(--ctv-font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.55);
    opacity: 0;
    transform: translateY(15px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    transition-delay: 0.1s;
}

.ctv-stack-1__label-text {
    font-family: var(--ctv-font-heading);
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--ctv-white);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(19px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
    transition-delay: 0.15s;
    white-space: nowrap;
}

.ctv-stack-1__label-line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0)
    );
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition:
        opacity 0.8s ease,
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.25s;
}

/* Flip the gradient line for right-moving strips so it fades into the direction */
.ctv-stack-1__strip--right .ctv-stack-1__label-line {
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0)
    );
    transform-origin: right center;
}

/* ----- Reveal state ----- */
.ctv-stack-1__strip--visible .ctv-stack-1__label-num,
.ctv-stack-1__strip--visible .ctv-stack-1__label-text {
    opacity: 1;
    transform: translateY(0);
}

.ctv-stack-1__strip--visible .ctv-stack-1__label-line {
    opacity: 1;
    transform: scaleX(1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .ctv-stack-1__strip {
        height: 160px;
    }

    .ctv-stack-1__label {
        gap: 16px;
    }

    .ctv-stack-1__label-text {
        font-size: 1.7rem;
    }

    .ctv-stack-1__label-line {
        width: 48px;
    }
}

@media (max-width: 768px) {
    .ctv-stack-1--desktop {
        display: none !important;
    }

    .ctv-stack-1--mobile {
        display: block;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        border-radius: 0;
        box-sizing: border-box;
    }
    .ctv-stack-hide-mobile {
        display: none;
    }

    .ctv-stack-1--mobile .ctv-stack-1__strip {
        height: 124px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin-top: -1px;
        box-sizing: border-box;
    }

    .ctv-stack-1--mobile .ctv-stack-1__img-wrap {
        left: -30px;
        right: -30px;
    }

    .ctv-stack-1__label {
        gap: 12px;
        padding: 0 24px;
    }

    .ctv-stack-1__label-num {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .ctv-stack-1__label-text {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .ctv-stack-1__label-line {
        width: 32px;
    }

    .ctv-stack-hide-mobile {
        display: none;
    }

    .ctv-details {
        padding-top: 0;
    }

    html,
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .ctv-stack-1--mobile .ctv-stack-1__strip {
        height: 132px;
    }

    .ctv-stack-1__label-text {
        font-size: 1.1rem;
        letter-spacing: 0.12em;
    }

    .ctv-stack-1__label-line {
        display: none;
    }
}
/* WhatsApp */
.ctv-whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ctv-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.ctv-whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */

/* ----- Intro ----- */
.ctv-faq-intro {
    padding: 100px 40px 60px;
    background-color: var(--ctv-white);
    text-align: center;
}

.ctv-faq-intro__container {
    max-width: 760px;
    margin: 0 auto;
}

.ctv-faq-intro__eyebrow {
    display: inline-block;
    font-family: var(--ctv-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ctv-primary);
    margin-bottom: 20px;
    position: relative;
    padding: 0 40px;
}

.ctv-faq-intro__eyebrow::before,
.ctv-faq-intro__eyebrow::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 28px;
    height: 1px;
    background-color: var(--ctv-primary);
    opacity: 0.5;
}

.ctv-faq-intro__eyebrow::before {
    left: 0;
}
.ctv-faq-intro__eyebrow::after {
    right: 0;
}

.ctv-faq-intro__title {
    font-family: var(--ctv-font-heading);
    font-size: 44px;
    font-weight: 500;
    color: var(--ctv-dark);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.ctv-faq-intro__text {
    font-family: var(--ctv-font-body);
    font-size: 16px;
    font-weight: 300;
    color: var(--ctv-gray-500);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

.ctv-faq-intro__text a {
    color: var(--ctv-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--ctv-primary);
    padding-bottom: 1px;
    transition: opacity var(--ctv-transition);
}

.ctv-faq-intro__text a:hover {
    opacity: 0.7;
}

/* ----- FAQ accordion ----- */
.ctv-faq {
    padding: 40px 40px 120px;
    background-color: var(--ctv-white);
}

.ctv-faq__container {
    max-width: 900px;
    margin: 0 auto;
}

.ctv-faq__list {
    border-top: 1px solid var(--ctv-gray-200);
}

.ctv-faq__item {
    border-bottom: 1px solid var(--ctv-gray-200);
    transition: background-color var(--ctv-transition);
}

.ctv-faq__item--open {
    background-color: var(--ctv-off-white);
}

.ctv-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 32px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: padding var(--ctv-transition);
}

.ctv-faq__trigger:hover .ctv-faq__question {
    color: var(--ctv-primary);
}

.ctv-faq__trigger:hover .ctv-faq__num {
    color: var(--ctv-primary);
}

.ctv-faq__num {
    flex-shrink: 0;
    font-family: var(--ctv-font-heading);
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    color: var(--ctv-gray-400);
    letter-spacing: 0.05em;
    min-width: 32px;
    transition: color var(--ctv-transition);
}

.ctv-faq__item--open .ctv-faq__num {
    color: var(--ctv-primary);
}

.ctv-faq__question {
    flex: 1;
    font-family: var(--ctv-font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--ctv-dark);
    line-height: 1.35;
    letter-spacing: -0.005em;
    transition: color var(--ctv-transition);
}

.ctv-faq__item--open .ctv-faq__question {
    color: var(--ctv-primary);
}

.ctv-faq__icon {
    flex-shrink: 0;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ctv-gray-300);
    border-radius: 50%;
    transition: all var(--ctv-transition);
    display: inline-block;
}

.ctv-faq__item--open .ctv-faq__icon,
.ctv-faq__trigger:hover .ctv-faq__icon {
    background-color: var(--ctv-primary);
    border-color: var(--ctv-primary);
}

.ctv-faq__icon-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--ctv-dark);
    transition: all var(--ctv-transition);
}

.ctv-faq__icon-bar--h {
    width: 14px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.ctv-faq__icon-bar--v {
    width: 1.5px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.ctv-faq__item--open .ctv-faq__icon-bar,
.ctv-faq__trigger:hover .ctv-faq__icon-bar {
    background-color: var(--ctv-white);
}

.ctv-faq__item--open .ctv-faq__icon-bar--v {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.ctv-faq__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ctv-transition);
}

.ctv-faq__panel-inner {
    padding: 0 32px 36px 96px;
}

.ctv-faq__answer {
    font-family: var(--ctv-font-body);
    font-size: 15.5px;
    font-weight: 300;
    color: var(--ctv-gray-600);
    line-height: 1.85;
    max-width: 680px;
    padding-left: 24px;
    border-left: 2px solid var(--ctv-primary);
}

/* ----- Still have questions ----- */
.ctv-faq-help {
    padding: 100px 40px 120px;
    background-color: var(--ctv-dark);
    background-image:
        radial-gradient(
            ellipse at top right,
            rgba(76, 108, 172, 0.25) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse at bottom left,
            rgba(76, 108, 172, 0.12) 0%,
            transparent 55%
        );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ctv-faq-help__container {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ctv-faq-help__line {
    width: 40px;
    height: 1px;
    background-color: var(--ctv-primary-light);
    margin: 0 auto 28px;
    opacity: 0.6;
}

.ctv-faq-help__eyebrow {
    display: inline-block;
    font-family: var(--ctv-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ctv-primary-light);
    margin-bottom: 18px;
}

.ctv-faq-help__title {
    font-family: var(--ctv-font-heading);
    font-size: 36px;
    font-weight: 500;
    color: var(--ctv-white);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.ctv-faq-help__text {
    font-family: var(--ctv-font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--ctv-gray-300);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.ctv-faq-help__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.ctv-faq-help__btn {
    display: inline-block;
    padding: 16px 38px;
    font-family: var(--ctv-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: all var(--ctv-transition);
    border: 1px solid transparent;
}

.ctv-faq-help__btn--primary {
    background-color: var(--ctv-primary);
    color: var(--ctv-white);
}

.ctv-faq-help__btn--primary:hover {
    background-color: var(--ctv-primary-dark);
    transform: translateY(-2px);
}

.ctv-faq-help__btn--secondary {
    background-color: transparent;
    color: var(--ctv-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.ctv-faq-help__btn--secondary:hover {
    border-color: var(--ctv-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .ctv-faq-intro__title {
        font-size: 36px;
    }
    .ctv-faq__question {
        font-size: 19px;
    }
    .ctv-faq-help__title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .ctv-faq-intro {
        padding: 72px 24px 48px;
    }

    .ctv-faq-intro__eyebrow {
        font-size: 10px;
        padding: 0 30px;
    }

    .ctv-faq-intro__eyebrow::before,
    .ctv-faq-intro__eyebrow::after {
        width: 18px;
    }

    .ctv-faq-intro__title {
        font-size: 28px;
    }

    .ctv-faq-intro__text {
        font-size: 15px;
    }

    .ctv-faq {
        padding: 24px 20px 80px;
    }

    .ctv-faq__trigger {
        gap: 16px;
        padding: 24px 20px;
    }

    .ctv-faq__num {
        font-size: 12px;
        min-width: 26px;
    }

    .ctv-faq__question {
        font-size: 16px;
    }

    .ctv-faq__icon {
        width: 36px;
        height: 36px;
    }

    .ctv-faq__panel-inner {
        padding: 0 20px 28px 62px;
    }

    .ctv-faq__answer {
        font-size: 14.5px;
        line-height: 1.75;
        padding-left: 18px;
    }

    .ctv-faq-help {
        padding: 72px 24px 80px;
    }

    .ctv-faq-help__title {
        font-size: 24px;
    }

    .ctv-faq-help__text {
        font-size: 14px;
    }

    .ctv-faq-help__btn {
        padding: 14px 28px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .ctv-faq__trigger {
        padding: 20px 16px;
        gap: 12px;
    }

    .ctv-faq__panel-inner {
        padding-left: 44px;
        padding-right: 16px;
    }

    .ctv-faq-help__buttons {
        flex-direction: column;
        gap: 10px;
    }

    .ctv-faq-help__btn {
        width: 100%;
    }
}
