/* ============================================
   OVAL PALACE RESORT — DESIGN SYSTEM
   A Nalakath Holdings Venture
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary palette — Gold & Espresso */
    --gold: #C9A84C;
    --gold-light: #E2CB7D;
    --gold-dark: #8B6914;
    --gold-glow: rgba(201, 168, 76, 0.3);

    /* Backgrounds */
    --bg-primary: #040A18;
    --bg-secondary: #0A1224;
    --bg-card: #101B30;
    --bg-card-hover: #182846;
    --bg-glass: rgba(16, 27, 48, 0.7);
    --bg-glass-light: rgba(201, 168, 76, 0.05);

    /* Text */
    --text-primary: #F0F4F8;
    --text-secondary: #9CB1CC;
    --text-muted: #5E7BA1;

    /* Accents */
    --green: #4A7C59;
    --green-light: #6BA37A;
    --terracotta: #C4703F;
    --terracotta-light: #E89560;

    /* Borders */
    --border-subtle: rgba(201, 168, 76, 0.1);
    --border-gold: rgba(201, 168, 76, 0.3);
    --border-strong: rgba(201, 168, 76, 0.5);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.15);

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1280px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: auto !important; /* Disabled smooth scroll for better performance and response */
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--bg-primary);
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

body.is-scrolling {
    pointer-events: none !important;
}

/* Safety wrapper for horizontal overflow */
.page-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix for flex/grid items causing overflow */
* {
    min-width: 0;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition-smooth);
}

/* ---------- Utility Classes ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
}

.section-label::before,
.section-label::after {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
    display: block;
}

.section-header-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.8;
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(4, 10, 24, 0.98); /* Near solid for performance */
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    margin-top: 5px;
}

.navbar.scrolled .nav-logo-img {
    height: 65px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    white-space: nowrap; /* Prevent ugly menu item wrapping */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
    white-space: nowrap; /* Prevent button text wrapping */
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.3);
    color: var(--bg-primary) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 999;
    padding: 80px 32px 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-subtle);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu ul a {
    display: block;
    padding: 14px 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.mobile-menu ul a:hover {
    color: var(--gold);
    background: var(--bg-glass-light);
}

.mobile-menu .nav-cta {
    display: inline-block;
    margin-top: 24px;
    text-align: center;
    width: 100%;
}

/* Tablet & small laptop breakpoint for hamburger menu to prevent crowded nav links */
@media (max-width: 1024px) {
    .nav-links {
        display: none !important;
    }
    .nav-hamburger {
        display: flex !important;
    }
    .mobile-menu {
        display: block !important;
    }
}

/* Responsive adjustments for mid-size desktop resolutions to prevent crowded menu items */
@media (min-width: 1025px) and (max-width: 1280px) {
    .nav-links {
        gap: 16px !important;
    }
    .nav-links a {
        font-size: 0.8rem !important;
    }
    .nav-cta {
        padding: 8px 16px !important;
    }
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    contain: paint;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease, transform 8s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(13, 11, 8, 0.4) 0%,
        rgba(13, 11, 8, 0.6) 40%,
        rgba(13, 11, 8, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-title .line {
    display: block;
}

.hero-title .gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 560px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 1px solid var(--border-gold);
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.hero-stats {
    position: absolute;
    bottom: 60px;
    right: 60px;
    z-index: 2;
    display: flex;
    gap: 40px;
    animation: fadeInUp 1s ease 1s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

/* ---------- ABOUT SECTION ---------- */
.about {
    padding: var(--section-padding);
    position: relative;
    contain: paint;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(13, 11, 8, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-image-badge i {
    color: var(--gold);
    font-size: 1.2rem;
}

.about-image-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.about-feature:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
    border-radius: var(--radius-sm);
    color: var(--gold);
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.about-feature p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- CONSTRUCTION TIMELINE ---------- */
.timeline-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    contain: paint;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-header .section-subtitle {
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-subtle);
}

.timeline-progress {
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 2px;
    transition: height 1s ease;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--text-muted);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item.completed .timeline-dot {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.timeline-item.current .timeline-dot {
    background: var(--gold);
    border-color: var(--gold-light);
    box-shadow: 0 0 20px var(--gold-glow);
    animation: pulse 2s infinite;
}

.timeline-content {
    width: 50%;
}

.timeline-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-item.completed .timeline-title {
    color: var(--text-muted);
}

/* ---------- AMENITIES ---------- */
.amenities {
    padding: var(--section-padding);
    position: relative;
    contain: paint;
}

.amenities-header {
    text-align: center;
    margin-bottom: 60px;
}

.amenities-header .section-subtitle {
    margin: 0 auto;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.amenity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.amenity-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.amenity-card:hover::before {
    opacity: 1;
}

.amenity-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: var(--radius-md);
    color: var(--gold);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.amenity-card:hover .amenity-icon {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    transform: scale(1.1);
}

.amenity-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.amenity-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- INVESTMENT PLANS ---------- */
.investment {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    contain: paint;
}

.investment::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%);
    border-radius: 50%;
}

.investment-header {
    text-align: center;
    margin-bottom: 24px;
}

.investment-header .section-subtitle {
    margin: 0 auto;
}

.investment-highlight {
    text-align: center;
    margin-bottom: 48px;
}

.roi-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid var(--border-gold);
    padding: 16px 36px;
    border-radius: 60px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.roi-badge i {
    font-size: 1.6rem;
}

.why-invest {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 32px auto 60px;
}

.why-invest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.why-invest-item i {
    color: var(--gold);
    flex-shrink: 0;
}

.why-invest-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px; /* Curvy iOS Style */
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.plan-tier {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.plan-tier.silver {
    color: #C0C0C0;
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.plan-tier.gold {
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.05);
}

.plan-tier.platinum {
    color: #E5E4E2;
    border: 1px solid rgba(229, 228, 226, 0.3);
    background: rgba(229, 228, 226, 0.05);
}

.plan-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
    z-index: 5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-Units {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.plan-monthly {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.plan-monthly span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.plan-total {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.plan-total strong {
    color: var(--gold);
    font-weight: 600;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.plan-features li i {
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.plan-book-btn {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    cursor: pointer;
}

.plan-book-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.plan-book-btn:hover::after {
    left: 100%;
}

.plan-book-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.plan-book-btn:active {
    transform: scale(0.98);
}

.plan-book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.plan-book-btn:hover::before {
    width: 100%;
}

.plan-card:not(.featured) .plan-book-btn {
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
}

.plan-card:not(.featured) .plan-book-btn:hover {
    color: var(--bg-primary);
    border-color: transparent;
}

.plan-card.featured .plan-book-btn {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.plan-card.featured .plan-book-btn:hover {
    color: var(--bg-primary);
    border-color: transparent;
}



.plans-row-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: var(--section-padding);
    position: relative;
    contain: paint;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header .section-subtitle {
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    min-height: 200px;
}

.gallery-item:nth-child(1) img {
    min-height: 420px;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(13, 11, 8, 0.7) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--gold);
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(201, 168, 76, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background: rgba(201, 168, 76, 0.3);
}

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

/* ---------- APPOINTMENT BOOKING ---------- */
.appointment {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    contain: paint;
}

.appointment-header {
    text-align: center;
    margin-bottom: 60px;
}

.appointment-header .section-subtitle {
    margin: 0 auto;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.calendar-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.calendar-month {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-hover);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.calendar-nav button:hover {
    background: var(--gold-dark);
    color: var(--bg-primary);
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-days-header span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    background: transparent;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    font-weight: 700;
}

.calendar-day.today {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.calendar-day.disabled {
    color: var(--text-muted);
    opacity: 0.3;
    cursor: default;
}

.calendar-day.empty {
    cursor: default;
}

.time-slots {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.time-slots h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.time-slot:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    border-color: var(--gold);
    font-weight: 600;
}

/* Appointment Form */
.appointment-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.appointment-form-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.appointment-form-container > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A89B8C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.mode-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mode-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.mode-option:hover {
    border-color: var(--border-gold);
}

.mode-option.selected {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.mode-option i {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.mode-option.selected i {
    color: var(--gold);
}

.mode-option span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.mode-option.selected span {
    color: var(--gold);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: var(--section-padding);
    position: relative;
    contain: paint;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header .section-subtitle {
    margin: 0 auto;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--gold);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* ---------- TRUST BADGES ---------- */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 60px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.trust-badge-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: var(--radius-md);
    color: var(--gold);
    font-size: 1.4rem;
}

.trust-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    contain: paint;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-subtitle {
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: var(--radius-md);
    color: var(--gold);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 24px;
}

.footer h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.newsletter-input {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.newsletter-input input:focus {
    border-color: var(--gold);
}

.newsletter-input button {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
}

.newsletter-input button:hover {
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ---------- CHATBOT ---------- */
.chatbot-trigger {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.5rem;
    z-index: 999999 !important;
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.4);
    animation: chatPulse 3s infinite;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.5);
}

.chatbot-notification {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #e74c3c;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    animation: pulse 2s infinite;
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 380px;
    height: 450px;
    max-height: calc(100vh - 120px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    z-index: 999999 !important;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border-bottom: 1px solid var(--border-subtle);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1rem;
    overflow: hidden;
}

.chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chatbot-status {
    display: flex;
    flex-direction: column;
}

.chatbot-status span:first-child {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.chatbot-status span:last-child {
    font-size: 0.75rem;
    color: var(--green-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-status .online-dot {
    width: 6px;
    height: 6px;
    background: var(--green-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: fadeIn 0.3s ease;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    overflow: hidden;
}

.chat-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-message.bot .chat-avatar-small {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
}

.chat-message.user .chat-avatar-small {
    background: var(--bg-card-hover);
    color: var(--text-secondary);
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.chat-message.bot .chat-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    border-bottom-right-radius: 4px;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.chat-option-btn {
    padding: 8px 16px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
}

.chat-option-btn:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite both;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--gold);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 10px;
    color: var(--bg-primary);
}

.chatbot-input button:hover {
    box-shadow: var(--shadow-gold);
}

/* ---------- MODALS ---------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
}

.modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.modal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal .modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.modal-plan-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.modal-plan-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
}

.modal-plan-details h4 {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.modal-plan-details span {
    font-size: 0.82rem;
    color: var(--gold);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Success animation */
.success-animation {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.success-check {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.2), rgba(74, 124, 89, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-check i {
    font-size: 2rem;
    color: var(--green-light);
}

.success-animation h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.success-animation p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes scrollDown {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(201, 168, 76, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(201, 168, 76, 0.2); }
}

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(-4px); opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ---------- INVESTOR BENEFITS TABLE ---------- */
.benefits-section {
    margin-top: 60px;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.benefits-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.benefits-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    text-align: left;
}

.benefits-table th, .benefits-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits-table th {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.benefits-table th.col-feature {
    width: 30%;
    color: var(--gold);
}

.benefits-table td.col-feature {
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-table td.col-feature i {
    color: var(--gold);
    width: 18px;
    height: 18px;
}

.benefits-table td {
    color: var(--text-secondary);
    font-size: 1rem;
}

.benefits-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.benefits-tier {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.tier-silver { background: rgba(192, 192, 192, 0.1); color: #C0C0C0; border: 1px solid rgba(192, 192, 192, 0.3); }
.tier-gold { background: rgba(201, 168, 76, 0.1); color: var(--gold); border: 1px solid rgba(201, 168, 76, 0.3); }
.tier-platinum { background: rgba(229, 228, 226, 0.1); color: #E5E4E2; border: 1px solid rgba(229, 228, 226, 0.3); }

.benefits-notes {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits-notes h4 {
    color: var(--gold);
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}

.benefits-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.benefits-notes li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefits-notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* ---------- BENEFIT SUBSCRIPTION CARDS ---------- */
.benefit-card {
    background: rgba(20, 20, 20, 0.5);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-6px);
    background: rgba(30, 30, 30, 0.7);
}

.benefit-silver {
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-top: 1px solid rgba(192, 192, 192, 0.5);
    box-shadow: inset 0 20px 40px -20px rgba(192, 192, 192, 0.05);
}
.benefit-silver:hover {
    border-color: rgba(192, 192, 192, 0.3);
    box-shadow: inset 0 20px 40px -20px rgba(192, 192, 192, 0.1), 0 10px 30px rgba(0,0,0,0.4);
}

.benefit-gold {
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-top: 1px solid rgba(201, 168, 76, 0.7);
    box-shadow: inset 0 20px 40px -20px rgba(201, 168, 76, 0.1), 0 4px 20px rgba(201, 168, 76, 0.05);
}
.benefit-gold:hover {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: inset 0 20px 40px -20px rgba(201, 168, 76, 0.15), 0 10px 40px rgba(201, 168, 76, 0.2);
}

.benefit-platinum {
    border: 1px solid rgba(229, 228, 226, 0.15);
    border-top: 1px solid rgba(229, 228, 226, 0.6);
    box-shadow: inset 0 20px 40px -20px rgba(229, 228, 226, 0.05);
}
.benefit-platinum:hover {
    border-color: rgba(229, 228, 226, 0.3);
    box-shadow: inset 0 20px 40px -20px rgba(229, 228, 226, 0.1), 0 10px 30px rgba(0,0,0,0.4);
}

.benefit-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFDF73, #B8860B);
    color: #000;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
    white-space: nowrap;
    z-index: 10;
}

.featured-benefit:hover {
    transform: scale(1.05) translateY(-6px);
}

/* ---------- SOCIAL ICONS FIX ---------- */
.social-link i, .social-connect-link i {
    stroke-width: 2px;
    display: block;
}

.social-link:hover i {
    transform: scale(1.1);
}

.instagram-link i, .social-link[aria-label="Instagram"] i { color: #E1306C !important; }
.facebook-link i, .social-link[aria-label="Facebook"] i { color: #4267B2 !important; }
.youtube-link i, .social-link[aria-label="Youtube"] i { color: #FF0000 !important; }
.linkedin-link i, .social-link[aria-label="LinkedIn"] i { color: #0077B5 !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
    :root {
        --container-width: 1100px;
    }
}

@media (max-width: 1024px) {
    .hero-stats {
        position: static;
        margin-top: 48px;
        justify-content: flex-start;
        gap: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 140px;
        padding-bottom: 80px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .hero-description {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .appointment-grid,
    .contact-grid,
    .why-invest {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 24px auto 40px;
    }

    .why-invest-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: 20px;
    }

    .plans-grid,
    .plans-row-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plans-row-2 {
        margin-top: 20px !important;
    }

    .investment-highlight {
        margin-bottom: 30px;
    }

    .roi-badge {
        font-size: 1rem;
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .section-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stat-value {
        font-size: 2rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-logo-img { height: 75px; }
    .navbar.scrolled .nav-logo-img { height: 60px; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #040A18; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(201,168,76,0.2));
    animation: preloader-fade 2s infinite alternate;
    position: relative;
    z-index: 2;
}

.preloader-ring {
    width: 130px;
    height: 130px;
    border: 2px solid rgba(201,168,76,0.05);
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: preloader-spin 1.2s linear infinite;
}

.preloader-text {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    letter-spacing: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes preloader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloader-fade {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

body.loading {
    overflow: hidden;
}
