/* ═══════════════════════════════════════════════
   FLEX VACATION HOMES — Coastal Luxury Editorial
   ═══════════════════════════════════════════════ */

:root {
    --navy:       #0f1b2d;
    --navy-light: #162236;
    --navy-mid:   #1a2a42;
    --charcoal:   #1e1e24;
    --gold:       #c9a96e;
    --gold-light: #ddc08a;
    --gold-dim:   #8a7445;
    --cream:      #f5f0e8;
    --white:      #ffffff;
    --white-80:   rgba(255,255,255,0.8);
    --white-60:   rgba(255,255,255,0.6);
    --white-40:   rgba(255,255,255,0.4);
    --white-20:   rgba(255,255,255,0.2);
    --white-10:   rgba(255,255,255,0.1);
    --white-05:   rgba(255,255,255,0.05);
    --success:    #4ade80;
    --error:      #f87171;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --radius:     12px;
    --radius-lg:  20px;
    --radius-pill: 100px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--white-80);
    background: var(--navy);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ─── TYPOGRAPHY ─── */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-title em {
    font-style: italic;
    color: var(--gold);
}
.section-subtitle {
    font-size: 16px;
    color: var(--white-60);
    max-width: 480px;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}
.btn--primary {
    background: var(--gold);
    color: var(--navy);
}
.btn--primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(201,169,110,0.3);
}
.btn--outline {
    border: 1px solid var(--white-20);
    color: var(--white-80);
    background: transparent;
}
.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,169,110,0.05);
}
.btn--full { width: 100%; justify-content: center; }

/* ─── NAVIGATION ─── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: all 0.4s var(--ease-out);
}
.nav--scrolled {
    background: rgba(15,27,45,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 40px;
    box-shadow: 0 1px 0 var(--white-10);
}
.nav__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
}
.nav__logo-icon { color: var(--gold); font-size: 14px; }
.nav__logo-accent { color: var(--gold); }
.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--white-60);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.nav__link:hover { color: var(--white); }
.nav__link--cta {
    padding: 10px 22px;
    border: 1px solid var(--white-20);
    border-radius: var(--radius-pill);
    color: var(--white-80);
}
.nav__link--cta:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
}
.hero__bg-image {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15,27,45,0.7) 0%,
        rgba(15,27,45,0.4) 40%,
        rgba(15,27,45,0.6) 70%,
        rgba(15,27,45,0.95) 100%
    );
}
.hero__bg-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero__content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}
.hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.hero__eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--gold-dim);
}
.hero__eyebrow-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
}
.hero__title-line {
    display: block;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) forwards;
}
.hero__title-line--1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    animation-delay: 0.5s;
}
.hero__title-line--2 {
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    animation-delay: 0.7s;
    color: var(--gold);
}
.hero__subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--white-60);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}
.hero__actions {
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}
.hero__scroll-hint {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-40);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.4s forwards;
}
.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-dim), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}
.hero__accent-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid var(--gold-dim);
    opacity: 0.3;
}
.hero__accent-corner--tl { top: 40px; left: 40px; border-right: none; border-bottom: none; }
.hero__accent-corner--br { bottom: 40px; right: 40px; border-left: none; border-top: none; }

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

/* ─── PROPERTIES ─── */
.properties {
    padding: 120px 40px;
    max-width: 1320px;
    margin: 0 auto;
}
.properties__header {
    text-align: center;
    margin-bottom: 64px;
}
.properties__header .section-subtitle { margin: 0 auto; }
.properties__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ─── CARD ─── */
.card {
    background: var(--navy-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--white-10);
    transition: all 0.4s var(--ease-out);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-color: var(--gold-dim);
}
.card__image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.card:hover .card__image { transform: scale(1.06); }
.card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,27,45,0.6) 0%, transparent 50%);
}
.card__location {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(15,27,45,0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--white-80);
}
.card__body { padding: 24px; }
.card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.3;
}
.card__tagline {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 16px;
    font-style: italic;
    font-family: var(--font-display);
}
.card__stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.card__stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--white-60);
}
.card__stat svg { opacity: 0.6; }

/* ─── ABOUT ─── */
.about {
    padding: 100px 40px;
    background: var(--navy-light);
    border-top: 1px solid var(--white-05);
    border-bottom: 1px solid var(--white-05);
}
.about__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about__text p {
    font-size: 16px;
    color: var(--white-60);
    line-height: 1.8;
    margin-top: 16px;
}
.about__features { display: grid; gap: 32px; }
.about__feature {
    padding: 28px;
    background: var(--navy);
    border-radius: var(--radius);
    border: 1px solid var(--white-10);
}
.about__feature-icon {
    display: inline-block;
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 12px;
}
.about__feature h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 6px;
}
.about__feature p {
    font-size: 14px;
    color: var(--white-60);
}

/* ─── MODAL ─── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}
.modal--open {
    pointer-events: auto;
    opacity: 1;
}
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}
.modal__container {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 92vh;
    background: var(--navy-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow-y: auto;
    transform: translateY(40px);
    transition: transform 0.4s var(--ease-out);
    scrollbar-width: thin;
    scrollbar-color: var(--white-20) transparent;
}
.modal--open .modal__container { transform: translateY(0); }
.modal__close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,27,45,0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--white-80);
    transition: all 0.3s;
}
.modal__close:hover { background: var(--gold); color: var(--navy); }

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--navy);
}
.carousel__track {
    display: flex;
    height: 100%;
    transition: transform 0.5s var(--ease-out);
}
.carousel__slide {
    min-width: 100%;
    height: 100%;
}
.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,27,45,0.6);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}
.carousel__btn:hover { background: var(--gold); color: var(--navy); }
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }
.carousel__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white-40);
    transition: all 0.3s;
}
.carousel__dot--active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* Modal Body */
.modal__body { padding: 36px 40px 48px; }
.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}
.modal__header-left { flex: 1; min-width: 0; }
.modal__location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 8px;
}
.modal__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
}
.modal__stats {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--white-60);
}
.modal__stats-sep { color: var(--gold-dim); }
.modal__description {
    font-size: 15px;
    color: var(--white-60);
    line-height: 1.8;
    margin-bottom: 28px;
}
.modal__amenities { margin-bottom: 24px; }
.modal__amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.pill {
    padding: 6px 16px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--white-80);
}
.modal__times {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
    text-align: right;
}
.modal__time-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 4px;
}
.modal__time-value {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
}
.booking-date-hint {
    padding: 12px 16px;
    margin-bottom: 12px;
    background: var(--white-05);
    border: 1px solid var(--gold-dim);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gold);
}
.modal__section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--white-10);
}
.modal__section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white-40);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy);
    border: 1px solid var(--white-10);
    border-radius: var(--radius);
    color: var(--white);
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-20); }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Availability Form */
.avail-form__fields {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.avail-form__fields .form-group { flex: 1; margin-bottom: 0; }
.avail-form__fields .btn { height: 46px; }
.avail-results {
    margin-top: 16px;
    font-size: 14px;
}
.avail-results--available {
    padding: 16px 20px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: var(--radius);
}
.avail-results--unavailable {
    padding: 16px 20px;
    background: rgba(248,113,113,0.08);
    border: 1px solid rgba(248,113,113,0.2);
    border-radius: var(--radius);
}
.avail-results__total {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    margin-top: 8px;
}
.avail-results__nights {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px;
}
.avail-results__night {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    color: var(--white-60);
}
.avail-results__night-price { color: var(--white); }
.avail-results__breakdown {
    margin-top: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.avail-results__line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 15px;
    color: var(--white-60);
}
.avail-results__line span:last-child { color: var(--white); }
.avail-results__line--total {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-weight: 600;
    font-size: 17px;
    color: var(--white);
}
.avail-results__line--total span { color: var(--white); }

/* ─── AVAILABILITY CALENDAR ─── */
.cal {
    background: var(--navy);
    border: 1px solid var(--white-10);
    border-radius: var(--radius);
    padding: 20px;
}
.cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.cal__nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white-60);
    transition: all 0.2s;
}
.cal__nav-btn:hover {
    background: var(--white-10);
    color: var(--gold);
}
.cal__month-label {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
}
.cal__header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}
.cal__header span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dim);
    padding: 6px 0;
}
.cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.cal__day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 2px;
    min-height: 48px;
    border-radius: 6px;
    transition: all 0.15s;
    cursor: default;
}
.cal__day-num {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.cal__day-price {
    font-size: 10px;
    margin-top: 2px;
    line-height: 1;
    opacity: 0.8;
}
.cal__day--empty {
    background: none;
}
.cal__day--past {
    opacity: 0.3;
}
.cal__day--past .cal__day-num {
    color: var(--white-40);
}
.cal__day--available {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.15);
    cursor: pointer;
}
.cal__day--available .cal__day-num {
    color: var(--success);
}
.cal__day--available .cal__day-price {
    color: var(--success);
}
.cal__day--available:hover {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.3);
}
.cal__day--booked {
    background: rgba(248, 113, 113, 0.06);
    border: 1px solid rgba(248, 113, 113, 0.1);
}
.cal__day--booked .cal__day-num {
    color: var(--white-40);
}
.cal__day--selected {
    background: rgba(201, 169, 110, 0.2) !important;
    border-color: var(--gold) !important;
}
.cal__day--selected .cal__day-num {
    color: var(--gold) !important;
}
.cal__day--selected .cal__day-price {
    color: var(--gold) !important;
}
.cal__day--in-range {
    background: rgba(201, 169, 110, 0.1) !important;
    border-color: rgba(201, 169, 110, 0.25) !important;
}
.cal__day--in-range .cal__day-num {
    color: var(--gold-light) !important;
}
.cal__day--in-range .cal__day-price {
    color: var(--gold-light) !important;
}
.cal__legend {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--white-10);
}
.cal__legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--white-60);
}
.cal__legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}
.cal__legend-dot--available {
    background: rgba(74, 222, 128, 0.3);
    border: 1px solid rgba(74, 222, 128, 0.5);
}
.cal__legend-dot--booked {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
}
.cal__legend-dot--selected {
    background: rgba(201, 169, 110, 0.3);
    border: 1px solid var(--gold);
}
.cal__hint {
    text-align: center;
    font-size: 13px;
    color: var(--white-40);
    margin-top: 10px;
    font-style: italic;
    font-family: var(--font-display);
}

/* Booking Widget */
.booking-widget {
    margin-top: 16px;
    min-height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

/* Question Result */
.question-result {
    margin-top: 12px;
    font-size: 14px;
}
.question-result--success { color: var(--success); }
.question-result--error { color: var(--error); }

/* ─── FOOTER ─── */
.footer {
    background: var(--charcoal);
    border-top: 1px solid var(--white-10);
}
.footer__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 64px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.footer__logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    display: block;
    margin-bottom: 8px;
}
.footer__tagline {
    font-size: 14px;
    color: var(--white-40);
    font-style: italic;
    font-family: var(--font-display);
}
.footer__contact h4,
.footer__links h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}
.footer__contact p {
    font-size: 14px;
    color: var(--white-60);
    margin-bottom: 6px;
}
.footer__contact a:hover { color: var(--gold); }
.footer__links a {
    display: block;
    font-size: 14px;
    color: var(--white-60);
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
    padding: 20px 40px;
    border-top: 1px solid var(--white-05);
    text-align: center;
    font-size: 13px;
    color: var(--white-40);
}

/* ─── CHAT WIDGET ─── */
.chat {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 3000;
}
.chat__bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(201,169,110,0.4);
    transition: all 0.3s var(--ease-out);
}
.chat__bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(201,169,110,0.5);
}
.chat__bubble-icon--close { display: none; }
.chat--open .chat__bubble-icon--open { display: none; }
.chat--open .chat__bubble-icon--close { display: block; }

.chat__panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--navy-light);
    border: 1px solid var(--white-10);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}
.chat--open .chat__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.chat__header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--white-10);
    background: var(--navy);
}
.chat__header-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
}
.chat__header-sub {
    font-size: 12px;
    color: var(--white-40);
    margin-top: 2px;
}
.chat__messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--white-10) transparent;
}
.chat__msg {
    display: flex;
    max-width: 85%;
}
.chat__msg--user {
    align-self: flex-end;
}
.chat__msg--assistant {
    align-self: flex-start;
}
.chat__msg-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}
.chat__msg--user .chat__msg-bubble {
    background: var(--gold);
    color: var(--navy);
    border-bottom-right-radius: 4px;
}
.chat__msg--assistant .chat__msg-bubble {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    color: var(--white-80);
    border-bottom-left-radius: 4px;
}
.chat__msg--typing .chat__msg-bubble {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 16px 20px;
}
.chat__typing-dot {
    width: 6px;
    height: 6px;
    background: var(--white-40);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}
.chat__typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat__typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}
.chat__input-wrap {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--white-10);
    background: var(--navy);
}
.chat__input {
    flex: 1;
    padding: 10px 16px;
    background: var(--navy-light);
    border: 1px solid var(--white-10);
    border-radius: var(--radius-pill);
    color: var(--white);
    outline: none;
    font-size: 14px;
}
.chat__input:focus { border-color: var(--gold); }
.chat__input::placeholder { color: var(--white-20); }
.chat__send {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    transition: all 0.3s;
    flex-shrink: 0;
}
.chat__send:hover { background: var(--gold-light); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .properties__grid { grid-template-columns: repeat(2, 1fr); }
    .about__inner { grid-template-columns: 1fr; gap: 48px; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav { padding: 16px 20px; }
    .nav--scrolled { padding: 12px 20px; }
    .nav__links { gap: 20px; }
    .nav__link:not(.nav__link--cta) { display: none; }

    .hero__accent-corner { display: none; }

    .properties { padding: 80px 20px; }
    .properties__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .about { padding: 64px 20px; }

    .modal__body { padding: 24px 20px 36px; }
    .modal__title { font-size: 24px; }
    .avail-form__fields { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }

    .footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }

    .chat__panel { width: calc(100vw - 40px); right: -8px; height: 420px; }
}
@media (max-width: 480px) {
    .hero__title-line--1 { font-size: 2.4rem; }
    .hero__title-line--2 { font-size: 2.8rem; }
    .modal__stats { flex-wrap: wrap; }
    .card__stats { flex-wrap: wrap; }
    .cal__day { min-height: 38px; padding: 6px 1px; }
    .cal__day-price { display: none; }
    .cal__day-num { font-size: 13px; }
    .cal__legend { flex-wrap: wrap; gap: 10px; }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--white-20); border-radius: 3px; }

/* ─── LOADING SPINNER ─── */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--white-20);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}
