/* ======================================================
   CasaVista Hospedajes — Custom Stylesheet
   Paleta: Navy Profundo + Dorado Ámbar
   ====================================================== */

/* ── Variables ─────────────────────────────────────── */
:root {
    --primary:        #1B3C6E;
    --primary-dark:   #0F2347;
    --primary-light:  #2d5fa8;
    --accent:         #C9A84C;
    --accent-light:   #E8C96A;
    --accent-dark:    #A07A20;
    --bg-light:       #F5F7FB;
    --bg-section:     #EEF2F7;
    --text-dark:      #1A2B3C;
    --text-medium:    #4A6079;
    --text-light:     #8099B4;
    --white:          #FFFFFF;
    --border:         #D5DEEC;
    --success:        #27ae60;
    --danger:         #e74c3c;
    --shadow-sm:      0 2px 8px  rgba(27, 60, 110, 0.08);
    --shadow:         0 4px 20px rgba(27, 60, 110, 0.12);
    --shadow-lg:      0 8px 40px rgba(27, 60, 110, 0.18);
    --shadow-hover:   0 14px 50px rgba(27, 60, 110, 0.22);
    --radius-sm:      8px;
    --radius:         14px;
    --radius-lg:      24px;
    --transition:     all 0.35s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.25;
}

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

img { max-width: 100%; }

/* ── Utilities ──────────────────────────────────────── */
.text-primary-custom { color: var(--primary) !important; }
.text-accent         { color: var(--accent)  !important; }
.bg-primary-custom   { background: var(--primary) !important; }
.bg-accent           { background: var(--accent)  !important; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-dark);
    margin-bottom: .5rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}
.accent-line {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.btn-primary-cv {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: .75rem 2rem;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-primary-cv:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: .75rem 2rem;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, .45);
    color: var(--white);
}

.btn-outline-cv {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: .7rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-outline-cv:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: var(--transition);
}
#navbar.scrolled {
    background: var(--primary-dark) !important;
    padding: .65rem 0;
    box-shadow: 0 4px 30px rgba(15, 35, 71, .35);
}
.navbar-brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.navbar-brand-logo .logo-icon {
    color: var(--accent);
    font-size: 1.4rem;
}
.navbar-brand-logo span.gold { color: var(--accent); }

.nav-link-cv {
    color: rgba(255,255,255,.88) !important;
    font-weight: 500;
    font-size: .92rem;
    padding: .4rem .85rem !important;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}
.nav-link-cv:hover, .nav-link-cv.active {
    color: var(--accent-light) !important;
    background: rgba(255,255,255,.1);
}
.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white) !important;
    padding: .5rem 1.4rem !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201,168,76,.35);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,.5);
    background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important;
    color: var(--white) !important;
}
.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon { filter: invert(1); }

/* ── Hero ───────────────────────────────────────────── */
#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=1920&q=85') center/cover no-repeat;
    overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 35, 71, .82) 0%,
        rgba(27, 60, 110, .65) 60%,
        rgba(15, 35, 71, .78) 100%
    );
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(201,168,76,.2);
    border: 1px solid rgba(201,168,76,.5);
    color: var(--accent-light);
    padding: .4rem 1.2rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero-title .gold-text { color: var(--accent-light); }
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

/* Search Form */
.search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}
.search-box h5 {
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.search-box .form-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .35rem;
}
.search-box .form-control,
.search-box .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .65rem .9rem;
    font-size: .9rem;
    color: var(--text-dark);
    transition: var(--transition);
}
.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(45, 95, 168, .12);
    outline: none;
}
.btn-search {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: .8rem 1.5rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1.4rem;
    transition: var(--transition);
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}

/* Hero stats */
.hero-stats { position: relative; z-index: 2; margin-top: 3rem; }
.hero-stat {
    text-align: center;
    color: var(--white);
}
.hero-stat .num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
    line-height: 1;
}
.hero-stat .lbl {
    font-size: .78rem;
    color: rgba(255,255,255,.72);
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.hero-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.25);
}

/* Scroll arrow */
.scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ── Stats Bar ──────────────────────────────────────── */
#stats-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 1.8rem 0;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
}
.stat-item .lbl {
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    font-weight: 500;
    letter-spacing: .4px;
}
.stat-sep {
    width: 1px;
    background: rgba(255,255,255,.2);
    height: 50px;
}

/* ── Sections Common ────────────────────────────────── */
section { padding: 5.5rem 0; }
section.bg-light-cv { background: var(--bg-light); }
section.bg-section   { background: var(--bg-section); }

/* ── Properties ─────────────────────────────────────── */
.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}
.property-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}
.property-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.property-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.property-card:hover .property-img-wrap img { transform: scale(1.07); }

.badge-featured {
    position: absolute;
    top: 14px; left: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 50px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.badge-type {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(15, 35, 71, .75);
    color: var(--white);
    font-size: .72rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}
.heart-btn {
    position: absolute;
    bottom: 14px; right: 14px;
    width: 34px; height: 34px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}
.heart-btn:hover, .heart-btn.active {
    color: #e74c3c;
    transform: scale(1.15);
}
.property-body { padding: 1.3rem; }
.property-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .82rem;
    color: var(--text-medium);
    margin-bottom: .5rem;
}
.property-rating .stars { color: var(--accent); }
.property-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: .25rem;
    line-height: 1.3;
}
.property-location {
    font-size: .83rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .85rem;
}
.property-amenities {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.amenity-tag {
    background: var(--bg-section);
    color: var(--text-medium);
    font-size: .73rem;
    padding: .2rem .6rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: .3rem;
    font-weight: 500;
}
.property-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border);
}
.property-price .price {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
}
.property-price .unit {
    font-size: .75rem;
    color: var(--text-light);
    font-weight: 500;
}
.btn-reserve {
    background: var(--primary);
    color: var(--white);
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    padding: .42rem 1rem;
    font-size: .82rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    line-height: 1.5;
}
.btn-reserve:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201,168,76,.35);
}
.btn-details {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    padding: .42rem 1rem;
    font-size: .82rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
    line-height: 1.5;
}
.btn-details:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

/* Filter buttons */
.filter-btn {
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--text-medium);
    border-radius: 50px;
    padding: .45rem 1.2rem;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ── Why Us ─────────────────────────────────────────── */
.feature-card {
    text-align: center;
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}
.feature-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}
.feature-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.3rem;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
    border: 2px solid var(--border);
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: var(--primary);
}
.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: .6rem;
}
.feature-desc {
    font-size: .87rem;
    color: var(--text-medium);
    line-height: 1.65;
}

/* ── How It Works ───────────────────────────────────── */
.step-card {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}
.step-num {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 6px 20px rgba(201,168,76,.3);
}
.step-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: .8rem;
}
.step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: .5rem;
}
.step-desc { font-size: .87rem; color: var(--text-medium); line-height: 1.6; }
.step-connector {
    position: absolute;
    top: 30px;
    right: -20px;
    color: var(--accent);
    font-size: 1.5rem;
    z-index: 1;
}

/* ── Testimonials ───────────────────────────────────── */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--accent-light);
    opacity: .4;
    position: absolute;
    top: .5rem; left: 1.5rem;
    line-height: 1;
}
.testimonial-stars { color: var(--accent); font-size: .95rem; margin-bottom: 1rem; }
.testimonial-text {
    font-size: .9rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 1.4rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .9rem; }
.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-light);
}
.author-name {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: .9rem;
}
.author-location { font-size: .78rem; color: var(--text-light); }

/* ── News ───────────────────────────────────────────── */
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.news-card:hover .news-img-wrap img { transform: scale(1.06); }
.news-category {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.news-body { padding: 1.3rem; }
.news-meta {
    font-size: .78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: .7rem;
}
.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: .6rem;
    line-height: 1.35;
    transition: color .25s;
}
.news-card:hover .news-title { color: var(--accent-dark); }
.news-excerpt { font-size: .85rem; color: var(--text-medium); line-height: 1.65; margin-bottom: 1rem; }
.read-more {
    font-size: .83rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: var(--transition);
}
.read-more:hover { color: var(--accent-dark); gap: .6rem; }

/* ── Newsletter ─────────────────────────────────────── */
#newsletter {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
#newsletter::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(201,168,76,.08);
    border-radius: 50%;
    top: -100px; right: -100px;
}
#newsletter::after {
    content: '';
    position: absolute;
    width: 250px; height: 250px;
    background: rgba(201,168,76,.06);
    border-radius: 50%;
    bottom: -80px; left: -80px;
}
.newsletter-form {
    display: flex;
    gap: .5rem;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.newsletter-form .form-control {
    flex: 1;
    min-width: 220px;
    border: none;
    border-radius: 50px;
    padding: .75rem 1.4rem;
    font-size: .92rem;
}
.newsletter-form .form-control:focus { outline: none; box-shadow: 0 0 0 3px rgba(201,168,76,.3); }

/* ── Footer ─────────────────────────────────────────── */
#footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.8);
    padding: 4.5rem 0 0;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}
.footer-brand .gold { color: var(--accent-light); }
.footer-desc { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.65); margin-bottom: 1.3rem; }
.social-links { display: flex; gap: .6rem; }
.social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,.15);
}
.social-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.3rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: .87rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.footer-links a:hover {
    color: var(--accent-light);
    padding-left: .3rem;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: .9rem;
    font-size: .87rem;
    color: rgba(255,255,255,.65);
}
.footer-contact-item .icon {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .15rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.3rem 0;
    margin-top: 3rem;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ── AI Chat Widget ─────────────────────────────────── */
#chat-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    box-shadow: 0 6px 25px rgba(27, 60, 110, .45);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
#chat-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(27, 60, 110, .5);
}
#chat-trigger .chat-badge {
    position: absolute;
    top: -3px; right: -3px;
    width: 20px; height: 20px;
    background: var(--accent);
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}
#chat-panel {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    z-index: 9998;
    width: 360px;
    max-width: calc(100vw - 2rem);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 520px;
    border: 1px solid var(--border);
    animation: slideUpChat .3s ease;
}
@keyframes slideUpChat {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
#chat-panel.open { display: flex; }
.chat-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.chat-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-name { font-weight: 600; font-size: .92rem; }
.chat-status { font-size: .75rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .3rem; }
.chat-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; }
#close-chat {
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    cursor: pointer;
    padding: .2rem;
    transition: var(--transition);
}
#close-chat:hover { color: var(--white); }
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-height: 330px;
    background: var(--bg-light);
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.msg-bubble {
    max-width: 85%;
    padding: .65rem 1rem;
    border-radius: 16px;
    font-size: .87rem;
    line-height: 1.55;
    animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
.msg-bubble.bot {
    background: var(--white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}
.msg-bubble.user {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.typing-dots { display: flex; gap: .3rem; padding: .4rem .2rem; }
.typing-dots span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--text-light);
    animation: typing 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.chat-input-area {
    padding: .9rem 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: .5rem;
    background: var(--white);
}
#chat-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: .5rem 1rem;
    font-size: .87rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
#chat-input:focus { border-color: var(--primary-light); }
#send-chat {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: .9rem;
    flex-shrink: 0;
}
#send-chat:hover { background: var(--accent-dark); transform: scale(1.08); }

/* Quick replies */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .5rem 1rem .5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}
.quick-reply-btn {
    background: var(--white);
    border: 1.5px solid var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    padding: .25rem .75rem;
    font-size: .75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.quick-reply-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ── Reserve Modal ──────────────────────────────────── */
.modal-header-cv {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    border: none;
    padding: 1.4rem 1.6rem;
}
.modal-header-cv .modal-title { font-family: 'Playfair Display', serif; }
.modal-header-cv .btn-close { filter: invert(1) brightness(2); }
.modal-body { padding: 1.8rem; }
.reserve-summary {
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}
.reserve-summary h6 {
    font-family: 'Poppins', sans-serif;
    font-size: .83rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-light);
    margin-bottom: .7rem;
    font-weight: 600;
}
.reserve-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .87rem;
    padding: .3rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-medium);
}
.reserve-info-row:last-child { border-bottom: none; }
.reserve-info-row strong { color: var(--primary-dark); }
.price-breakdown { margin-top: .5rem; }
.price-row {
    display: flex;
    justify-content: space-between;
    font-size: .87rem;
    padding: .3rem 0;
    color: var(--text-medium);
}
.price-row.total {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    border-top: 2px solid var(--border);
    margin-top: .5rem;
    padding-top: .75rem;
}
.form-label-cv { font-size: .82rem; font-weight: 600; color: var(--text-medium); margin-bottom: .35rem; }
.form-control-cv {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .65rem .9rem;
    font-size: .9rem;
    transition: var(--transition);
}
.form-control-cv:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(45,95,168,.12); outline: none; }
.step-indicator {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.5rem;
}
.step-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    transition: var(--transition);
}
.step-dot.active { background: var(--primary); color: var(--white); }
.step-dot.completed { background: var(--success); color: var(--white); }
.step-line { flex: 1; height: 2px; background: var(--border); border-radius: 2px; }

/* ── Success Toast ──────────────────────────────────── */
.toast-container { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 10000; }

/* ── Contact Page ───────────────────────────────────── */
#contact-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    min-height: 38vh;
    display: flex;
    align-items: flex-end;
    padding: 5.5rem 0 3rem;
    position: relative;
}
#contact-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: var(--bg-light);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-icon-wrap {
    width: 50px; height: 50px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-card h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: .25rem;
    font-size: .9rem;
}
.contact-info-card p {
    font-size: .85rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.55;
}
.map-placeholder {
    background: var(--bg-section);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    filter: saturate(.8) brightness(.95);
}
.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 60, 110, .15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-pin {
    width: 54px; height: 54px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    animation: mapBounce 2s infinite;
}
.map-pin i { transform: rotate(45deg); color: var(--white); font-size: 1.1rem; }
@keyframes mapBounce {
    0%,100% { box-shadow: 0 6px 25px rgba(27,60,110,.35), 0 15px 8px rgba(0,0,0,.15); transform: rotate(-45deg) translateY(0); }
    50% { box-shadow: 0 10px 30px rgba(27,60,110,.4), 0 20px 10px rgba(0,0,0,.1); transform: rotate(-45deg) translateY(-5px); }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary-dark);
        border-radius: var(--radius-sm);
        padding: 1rem;
        margin-top: .8rem;
        box-shadow: var(--shadow-lg);
    }
    .step-connector { display: none; }
}
@media (max-width: 767.98px) {
    section { padding: 4rem 0; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .hero-divider { display: none; }
    #chat-panel { right: 1rem; width: calc(100vw - 2rem); }
    #chat-trigger { bottom: 1.5rem; right: 1.5rem; }
}
@media (max-width: 575.98px) {
    .search-box { padding: 1.2rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .form-control { min-width: unset; }
}

/* ── Scroll-to-top ──────────────────────────────────── */
#scroll-top {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    z-index: 9997;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201,168,76,.4);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { transform: translateY(-3px); background: var(--accent-dark); }

/* ── AOS overrides ──────────────────────────────────── */
[data-aos] { transition-duration: .75s !important; }
