/* CSS Variables — Light Theme with Gold Accent Palette */
:root {
    --color-bg-body: #F8F6F2;
    --color-bg-surface: #FFFFFF;
    --color-bg-surface-alt: #F2EFE9;
    --color-text-main: #1A1A1A;
    --color-text-muted: #6B6B6B;

    /* Brand Palette */
    --color-onyx: #000000;
    --color-gold-sig: #B38031;
    --color-gold-sun: #DFB163;
    --color-bronze: #7D551F;

    /* Font definitions */
    --font-app: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    --transition-standard: all 0.3s ease;
}

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-body);
    background-image: none;
    color: var(--color-text-main);
    font-family: var(--font-app);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

a {
    color: var(--color-gold-sun);
    text-decoration: none;
    transition: var(--transition-standard);
}
a:hover {
    color: var(--color-gold-sig);
}

/* Typography Constraints: Clean, Minimal, Non-oversized, Structural */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-app);
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
}

/* Dual Header Architecture */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    background-color: var(--color-gold-sig);
    font-size: 0.83rem;
    padding: 8px 0;
    color: #fff;
    border-bottom: 1px solid var(--color-bronze);
    transition: transform 0.4s ease, opacity 0.4s ease, height 0.4s ease;
    overflow: hidden;
    height: 35px;
}
.top-bar.scrolled {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.top-bar a {
    color: #fff;
    font-weight: 500;
}
.top-bar a:hover {
    color: var(--color-bg-surface-alt);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-socials-email {
    display: flex;
    gap: 20px;
    align-items: center;
}
.top-socials-email .social-icons {
    display: flex;
    gap: 12px;
}
.top-socials-email .social-icons svg {
    color: #fff;
}

    /* Hero-overlaid glass header */
.main-header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: absolute;
    top: 35px; /* Sit underneath top-bar */
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.18rem 0; /* Minimized padding to keep overall header height constant with larger logo */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
/* When scrolled past the hero — revert to solid white and shrink further */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E5E0D8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    padding: 0.1rem 0;
}
/* Ensure ALL nav links use the same dark color on the scrolled white header */
.main-header.scrolled .nav-link {
    color: #2C2416;
}
.main-header.scrolled .nav-item:hover .nav-link {
    color: var(--color-gold-sig);
}
/* Quick Inquiry button adapts on white header */
.main-header.scrolled .btn-inquiry {
    border-color: var(--color-gold-sig);
    color: var(--color-gold-sig);
    background: transparent;
}
.main-header.scrolled .btn-inquiry:hover {
    background: var(--color-gold-sig);
    color: #fff;
}

/* ============================================
   Subpage Header Logic
   Always white, no transition, custom scroll hide
   ============================================ */
body.subpage .main-header {
    background: #FFFFFF;
    position: fixed;
    top: 0;
    padding: 0.1rem 0;
    border-bottom: 1px solid #E5E0D8;
    transition: transform 0.4s ease; /* Only for hiding */
}
body.subpage .main-header .logo-white { opacity: 0; }
body.subpage .main-header .logo-black { opacity: 1; }
body.subpage .main-header .nav-link { color: #2C2416; }
body.subpage .main-header .nav-item:hover .nav-link { color: var(--color-gold-sig); }
body.subpage .main-header .btn-inquiry {
    border-color: var(--color-gold-sig);
    color: var(--color-gold-sig);
    background: transparent;
}
body.subpage .main-header .btn-inquiry:hover {
    background: var(--color-gold-sig);
    color: #fff;
}

/* Only the top header (Gold Bar) appears when scrolling */
body.subpage .main-header.scroll-hide {
    transform: translateY(-100%);
}
body.subpage .top-bar {
    position: fixed;
    top: 0;
    z-index: 1002;
    transform: translateY(-100%); /* Hidden at top */
    transition: transform 0.4s ease;
}
body.subpage .top-bar.sticky-visible {
    transform: translateY(0);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    position: relative;
    display: block;
    height: 96px; /* Increased 20% from 80px */
    aspect-ratio: 220 / 80; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-header.scrolled .logo-container {
    height: 77px; /* Increased 20% from 64px */
}
.brand-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo-black {
    opacity: 0;
}
.main-header.scrolled .logo-white {
    opacity: 0;
}
.main-header.scrolled .logo-black {
    opacity: 1;
}
.nav-links {
    display: flex;
    gap: 1rem; /* Tighter gap to ensure all 6 items fit in one line */
    align-items: center;
    flex-wrap: nowrap;
}
.nav-item {
    position: relative;
    flex-shrink: 0;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.78rem; /* Uniform, professional crisp size */
    font-weight: 500;
    text-transform: capitalize; /* Ensure perfect uniformity with Title Case */
    letter-spacing: 0.01em;
    white-space: nowrap; /* CRITICAL: Prevent all nav link wrapping */
    transition: all 0.3s ease;
    padding: 0.4rem 0;
}
.nav-link .chevron {
    transition: transform 0.3s ease;
    opacity: 0.4;
}
.nav-item:hover .nav-link {
    color: var(--color-gold-sun);
}
.nav-link.active {
    color: var(--color-gold-sig) !important;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold-sig);
}
.nav-item:hover .nav-link .chevron {
    transform: rotate(180deg);
}

/* Base Dropdown Styling */
.dropdown-menu, .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 224, 216, 0.5);
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100;
    padding: 1rem 0;
}

.nav-item:hover .dropdown-menu,
.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Simple Dropdown */
.dropdown-menu {
    min-width: 180px;
}
.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--color-text-main) !important;
    font-size: 0.78rem !important; /* Smaller dropdown text */
    font-weight: 500 !important;
    text-shadow: none !important;
    transition: background 0.3s ease;
}
.dropdown-menu a:hover {
    background: rgba(162, 123, 92, 0.05);
    color: var(--color-gold-sig) !important;
}

/* Mega Menu */
.mega-menu {
    width: 600px;
    padding: 1.75rem;
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.mega-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem; /* Smaller header */
    color: var(--color-gold-sig);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(162, 123, 92, 0.1);
    padding-bottom: 0.4rem;
}
.mega-col a {
    display: block !important;
    padding: 0.5rem 0 !important;
    color: var(--color-text-main) !important;
    font-size: 0.78rem !important; /* Smaller mega links */
    font-weight: 500 !important;
    text-shadow: none !important;
    border-bottom: 1px solid transparent;
}
.mega-col a:hover {
    color: var(--color-gold-sig) !important;
    transform: translateX(4px);
}

.highlight-link {
    color: var(--color-gold-sun) !important;
    /* Only the gold color differs — size, weight, case all inherit from .nav-link */
}

.main-header.scrolled .nav-link {
    color: var(--color-text-main);
    text-shadow: none;
    font-size: 0.8rem;
}

.header-cta .btn-primary {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    white-space: nowrap !important; /* CRITICAL: Force single line */
    font-weight: 700;
    min-width: max-content;
    text-transform: uppercase;
}

.header-cta .btn-primary {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}
.main-header.scrolled .header-cta .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-gold-sun);
    cursor: pointer;
    padding: 0.5rem;
}
.desktop-only { display: inline-block; }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    letter-spacing: 0.02em;
    text-decoration: none;
}
/* ── Luxury Gold Primary Button ── */
.btn-primary {
    background: linear-gradient(135deg, #8B5E1A 0%, #B38031 40%, #C9922A 70%, #7D551F 100%);
    color: #fff;
    border: none;
    box-shadow: 0 3px 12px rgba(100, 60, 10, 0.35);
    letter-spacing: 0.04em;
    white-space: nowrap; /* Global protection against wrapping */
}
.btn-primary:hover {
    background: linear-gradient(135deg, #9F6B20 0%, #C9922A 50%, #8B5E1A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(100, 60, 10, 0.45), 0 0 0 3px rgba(179,128,49,0.15);
    color: #fff;
}
/* Outline variant — used on dark hero background */
.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    color: #fff;
}
/* Outline dark — used on lighter section backgrounds */
.btn-outline-dark {
    background-color: transparent;
    color: var(--color-gold-sig);
    border: 1.5px solid var(--color-gold-sig);
    margin-top: 1.5rem;
    display: inline-block;
}
.btn-outline-dark:hover {
    background-color: var(--color-gold-sig);
    color: #fff;
}
/* Plan enquire button */
.btn-plan {
    background-color: transparent;
    color: var(--color-text-muted);
    border: 1.5px solid #D8D3C8;
    margin-top: auto;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    text-align: center;
    margin-top: 1.5rem;
}
.btn-plan:hover {
    border-color: var(--color-gold-sig);
    color: var(--color-gold-sig);
}
.popular-btn {
    background-color: var(--color-gold-sig);
    border-color: var(--color-gold-sig);
    color: #fff;
}
.popular-btn:hover {
    background-color: var(--color-bronze);
    border-color: var(--color-bronze);
    color: #fff;
}
/* CTA Banner buttons */
.btn-cta-primary {
    background-color: #fff;
    color: var(--color-bronze);
    border: 2px solid #fff;
    font-weight: 700;
}
.btn-cta-primary:hover {
    background-color: transparent;
    color: #fff;
}
.btn-cta-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-cta-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* ── Quick Inquiry Nav Button ── */
/* On dark hero: ghost white outline, matches nav feel exactly */
.btn-inquiry {
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    padding: 0.45rem 1.2rem;
    border-radius: var(--border-radius);
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-inquiry:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

/* ============================================
   Ultra-Sharp Signature Split Hero (40vh)
   Inspired by Reference: Sharp, Natural, and Premium
   ============================================ */
.page-hero {
    position: relative;
    height: 40vh;
    min-height: 320px;
    background-color: #1a150e; /* Solid Brand Content Background */
    overflow: hidden;
    margin-top: 80px;
    display: flex;
    align-items: center;
}

/* Natural Image Area (No Overlays) */
.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
    z-index: 1;
}

/* Primary Gold Ribbon Divider */
.page-hero-ribbon-gold {
    position: absolute;
    top: 0;
    left: 48%; /* Precise positioning for transition */
    height: 100%;
    width: 20px;
    background: linear-gradient(180deg, #8B5E1A 0%, #E2C082 50%, #8B5E1A 100%);
    transform: skewX(-14deg);
    z-index: 3;
    box-shadow: 15px 0 40px rgba(0,0,0,0.4);
}

/* Secondary Subtle Ribbon Layer */
.page-hero-ribbon-dark {
    position: absolute;
    top: 0;
    left: 47%;
    height: 100%;
    width: 30px;
    background: rgba(0,0,0,0.3);
    transform: skewX(-14deg);
    z-index: 2;
}

/* Right-Aligned Hero Content */
.page-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.page-hero-text {
    max-width: 580px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 5%;
}

.page-breadcrumb {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.page-breadcrumb a { color: #fff; text-decoration: none; }
.page-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.3; }

/* Thin Gold Line from Reference */
.page-hero-line {
    width: 80px;
    height: 1px;
    background: var(--color-gold-sig);
    margin-bottom: 1.25rem;
}

.page-hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-gold-sun);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    display: block;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.9rem);
    color: #fff;
    margin-bottom: 0;
    line-height: 1.05;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ── Pattern Layer Utility ── */
.pattern-section {
    position: relative;
}

.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/Pattern.png');
    background-repeat: repeat;
    background-size: 350px;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

.pattern-section .container {
    position: relative;
    z-index: 1;
}

/* Responsive Sharpness */
@media (max-width: 991px) {
    .page-hero-bg { width: 100%; opacity: 0.25; clip-path: none; }
    .page-hero-ribbon-gold, .page-hero-ribbon-dark { display: none; }
    .page-hero { background: linear-gradient(to bottom, #1a150e, #2c2416); }
    .page-hero-text { align-items: center; text-align: center; max-width: 100%; padding-right: 0; }
}

/* ============================================
   Hero Section (Updated: Reduced Height, 2-Col, Scaled Down)
   ============================================ */
.hero {
    position: relative;
    padding: 10rem 0 5rem; /* Increased top padding for 100vh centering with header */
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Slightly faster crossfade */
    animation: hero-slide 14s infinite alternate ease-in-out; /* Increased speed by ~30% */
}
.hero-background.bg-1 {
    background-image: url('../assets/images/Hero%20Image.jpg');
}
.hero-background.bg-2 {
    background-image: url('../assets/images/Hero%202.jpg');
}
.hero-background.active {
    opacity: 1;
}

@keyframes hero-slide {
    0% { transform: scale(1.05) translateX(0); } 
    100% { transform: scale(1.15) translateX(-3%); } /* Slightly more pronounced pan */
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}
.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}
.hero-left {
    max-width: 100%;
}
.hero-eyebrow {
    font-size: 0.65rem; /* Reduced by 20% from 0.8rem */
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-sun);
    margin-bottom: 0.8rem;
}
.hero-title {
    font-size: 2.25rem; /* Reduced by 20% from 2.8rem */
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.1;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 0.9rem; /* Reduced by 20% from 1.1rem */
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.6rem;
    font-weight: 400;
}
.hero-cta-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.hero-right {
    display: flex;
    justify-content: flex-end;
}
.promise-box {
    margin-top: 0;
    padding: 1rem 1.2rem; /* Reduced by 20% */
    background-color: rgba(179, 128, 49, 0.15);
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--color-gold-sig);
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem; /* Reduced by 20% from 0.92rem */
    line-height: 1.6;
    max-width: 400px;
}
.promise-box strong {
    color: var(--color-gold-sun);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}
.promise-box {
    margin-top: 0;
    padding: 1.25rem 1.5rem;
    background-color: rgba(179, 128, 49, 0.12);
    border-left: 3px solid var(--color-gold-sig);
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 560px;
}
.promise-box strong {
    color: var(--color-gold-sun);
    display: block;
    margin-bottom: 0.3rem;
}

/* ============================================
   Brand Divider (Triangle Pattern — used exactly 3×)
   ============================================ */
.brand-divider {
    width: 100%;
    height: 48px; /* Restored to original taller height */
    background-image: url('../assets/images/Pattern.png');
    background-repeat: repeat-x;
    background-size: auto 48px;
    background-position: center;
    opacity: 1;
    margin: 5rem 0; 
    display: block;
    line-height: 0;
    font-size: 0;
}

/* Quick Links Grid */

.quick-links {
    padding: 4rem 0;
    background-color: var(--color-bg-surface);
    border-bottom: 1px solid #E8E4DC;
}
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.link-card {
    background-color: var(--color-bg-surface);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #E8E4DC;
    transition: transform var(--transition-standard), box-shadow var(--transition-standard);
}
.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--color-gold-sig);
}
.icon-wrap {
    margin-bottom: 1.25rem;
    color: var(--color-gold-sig);
}
.link-card h3 {
    font-size: 1.05rem;
    color: var(--color-text-main);
}
.link-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============================================
   Services Bento Grid
   ============================================ */
.services-bento {
    padding: 5rem 0 6rem;
    background-color: var(--color-bg-surface);
}
.services-bento-header {
    text-align: center;
    margin-bottom: 3rem;
}
.bento-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-sig);
    background: rgba(179, 128, 49, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(179,128,49,0.2);
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
}
/* Base card */
.bento-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
/* Photo card */
.bento-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
/* Tall photo spans 2 rows */
.bento-tall {
    grid-row: span 2;
}
/* Text card */
.bento-text {
    background-color: #F9F6F1;
    border: 1px solid #EDE8DE;
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
}
.bento-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.35;
    margin: 0;
}
.bento-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
/* Tag label */
.bento-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-sig);
    margin-bottom: 0.25rem;
}
.bento-tag-light {
    color: rgba(255,255,255,0.7);
}
/* Arrow link */
.bento-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-bottom: 1.5px solid var(--color-gold-sig);
    padding-bottom: 1px;
    align-self: flex-start;
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
    margin-top: auto;
}
.bento-link:hover {
    color: var(--color-gold-sig);
    gap: 0.6rem;
}
/* Dark CTA card — spans 2 columns */
.bento-cta {
    grid-column: span 2;
    background: linear-gradient(135deg, #1A1208 0%, #2E1F08 60%, #3D2A0C 100%);
    border: 1px solid rgba(179,128,49,0.3);
    padding: 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}
.bento-cta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    max-width: 420px;
}
.bento-cta p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0;
    max-width: 420px;
}


/* ============================================
   Burial Plans Section - Quiet Luxury UI
   ============================================ */
.plans-section {
    padding: 6rem 0;
    background-color: #FCFAF7; /* Soft cream background */
    border-top: 1px solid rgba(179, 128, 49, 0.08);
}
.plans-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem); /* Reduced from 1.8-2.4 */
    font-family: var(--font-heading);
}
.section-sub {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem; /* Reduced from 1rem */
    margin: 0 auto 3rem; /* Reduced margin */
    max-width: 500px;
}
/* ============================================
   Plan Cards — Reference Style (Dark Header + Zebra Rows)
   ============================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
@media (max-width: 1200px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* ── Card Header (dark colored block) ── */
.plan-header {
    background: #2c2416; /* Site dark gold-brown */
    padding: 2rem 1.5rem 1.8rem;
    text-align: center;
    position: relative;
}
.plan-card.popular .plan-header {
    background: #1a160d; /* Deeper shade for featured */
    border-top: 3px solid var(--color-gold-sig);
}
.plan-card .badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--color-gold-sig);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}
.plan-tier {
    /* Hidden — plan name (h4) acts as the title */
    display: none;
}
.plan-card h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.02em;
}
.plan-starting-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-sig);
    margin-bottom: 0.4rem;
}
.plan-card .price {
    font-family: var(--font-app);
    font-size: 2.6rem; /* Reduced from 3.8rem */
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.plan-card .price .p-amount {
    font-size: 2.6rem; /* Reduced from 3.8rem */
    font-weight: 800;
    color: #ffffff;
}
.plan-card .price .price-period {
    display: none; /* Hidden — shown by .per-month-pill below */
}
.per-month-pill {
    display: inline-block;
    margin-top: 0.8rem;
    background: rgba(179, 128, 49, 0.25); /* Gold-tinted pill */
    color: var(--color-gold-sig);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.9rem;
    border-radius: 3px;
    border: 1px solid rgba(179, 128, 49, 0.4);
}

/* ── Zebra-Striped Benefits ── */
.plan-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.plan-benefits li {
    display: block;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
}
.plan-benefits li:nth-child(even) {
    background-color: #f5f5f5;
}
.plan-benefits li:nth-child(odd) {
    background-color: #ffffff;
}
/* Hide the bullet — not needed in this style */
.benefit-bullet { display: none; }

/* ── CTA Button (full-width, site-themed) ── */
.plan-footer {
    padding: 1rem 1.2rem 1.2rem;
    margin-top: auto;
}
.btn-plan {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    border: none;
    border-radius: 4px;
    transition: background 0.25s ease;
    cursor: pointer;
}
.btn-plain {
    background: #2c2416; /* Site dark */
    color: #ffffff;
}
.btn-plain:hover {
    background: var(--color-gold-sig);
    color: #ffffff;
}
.btn-featured {
    background: var(--color-gold-sig);
    color: #fff;
}
.btn-featured:hover {
    background: #9a6b28;
}
/* value-chip hidden — not in this style */
.value-chip { display: none; }



/* ── Advanced Form (Secure Your Legacy) ── */
.advanced-form {
    padding: 3rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.05em;
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-app);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-gold-sig);
    outline: none;
}
@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .advanced-form { padding: 1.5rem; }
}



/* ============================================
   Featured Tombstone Section
   ============================================ */
.shop-feature-section {
    padding: 8rem 0;
    background-color: #F9F7F2;
}
.shop-feature-layout {
    display: flex;
    align-items: center;
    gap: 5rem;
}
.shop-feature-img-wrap {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.shop-feature-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}
.shop-feature-img-wrap:hover img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--color-gold-sig);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}
.shop-feature-content {
    flex: 1;
}
.featured-title {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.1;
    color: var(--color-text-main);
}
.featured-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}
.featured-specs {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
}
.spec-icon {
    color: var(--color-gold-sig);
    font-size: 1.2rem;
}
.shop-cta-wrap {
    margin-top: 3rem;
}
.cta-subtext {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .shop-feature-layout {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    .featured-specs {
        align-items: center;
    }
}

.plans-inclusive {
    margin-top: 5rem;
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E5E0D8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.plans-inclusive strong {
    font-size: 1.1rem;
    font-family: var(--font-heading);
}
.plans-inclusive .tags {
    display: flex;
    gap: 1rem;
}
.plans-inclusive .tags span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    background-color: #F9F7F3;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}
@media (max-width: 991px) {
    .plans-inclusive {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
.plans-inclusive .tags span:hover {
    border-color: var(--color-gold-sig);
    color: var(--color-gold-sig);
    transform: translateY(-2px);
}
@media (max-width: 991px) {
    .plans-inclusive {
        flex-direction: column;
        text-align: center;
    }
    .plans-inclusive .tags {
        justify-content: center;
    }
}
/* Plan header area */
.plan-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #EFEAE0;
}
/* Benefits checklist */
.plan-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1; /* push footer to bottom */
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.plan-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--color-text-main);
}

/* ── Pricing Toggle Layout ── */
.plan-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3.5rem;
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--color-gold-sig);
    font-weight: 700;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #DDD8CE;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

input:checked + .slider {
    background-color: var(--color-gold-sig);
}

input:checked + .slider:before {
    transform: translateX(26px);
}


.plans-inclusive {
    background-color: var(--color-bg-surface-alt);
    border: 1px solid #E8E4DC;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}
.plans-inclusive strong {
    color: var(--color-gold-sig);
}
.tags span {
    display: inline-block;
    background-color: #FFFFFF;
    border: 1px solid #DDD8CE;
    color: var(--color-text-main);
    padding: 6px 14px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

/* ============================================
   Mid-Page CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--color-bronze) 0%, var(--color-gold-sig) 60%, #C69035 100%);
    padding: 3.5rem 0;
}
.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-banner-text h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}
.cta-banner-text p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}
.cta-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── High-Contrast Zebra Excel Table ── */
.comparison-section {
    padding: 6rem 0;
    background-color: #fcfbfa;
}
.comparison-container {
    background: #fff;
    border: 1px solid #dcd7cc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    overflow-x: auto;
}
.modern-comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background: #fff;
}
.modern-comp-table th, 
.modern-comp-table td {
    padding: 1.2rem 1.5rem;
    text-align: center;
    border: 1px solid #ece9e2; /* Excel-like light grid lines */
    font-size: 0.9rem;
    color: #555;
    vertical-align: middle;
}
.modern-comp-table tr:nth-child(even) td {
    background-color: #f9f8f6;
}
.modern-comp-table tr:hover td {
    background-color: #f5f2ed !important;
}

/* ── Checkmark & Value Icons ── */
.check-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #2c4a47; /* Professional dark teal/green for success */
    font-weight: 600;
}
.check-val svg {
    width: 0.95rem; /* Exactly matches text size */
    height: 0.95rem;
    flex-shrink: 0;
}
.none-val {
    color: #ccc;
    font-weight: 400;
}
.modern-comp-table th {
    background: #2c2416; /* Dark professional header */
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    position: sticky;
    top: -1px; /* Sticky header for Excel feel */
    z-index: 5;
}
.modern-comp-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 2px solid var(--color-gold-sig);
}
.modern-comp-table .feature-label {
    text-align: left;
    font-weight: 700;
    color: var(--color-text-main);
    background: #fdfcfb !important; /* Keep left label stable color */
    width: 24%;
}
/* Zebra Striping */
.modern-comp-table tbody tr:nth-child(even) {
    background-color: #f9f8f6;
}
.modern-comp-table tbody tr:hover {
    background-color: #fff8eb; /* Subtle highlight */
}
.modern-comp-table th.active,
.modern-comp-table td.active {
    background-color: rgba(179, 128, 49, 0.04);
    border-left: 2px solid var(--color-gold-sig);
    border-right: 2px solid var(--color-gold-sig);
}

.modern-comp-table svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin-right: 4px;
    color: var(--color-gold-sig);
}
.modern-comp-table .check-val {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.modern-comp-table .none-val {
    color: #ccc;
}

/* ── Step-by-Step Enrollment Form v2 ── */
.enroll-section-v2 {
    padding: 8rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}
.enroll-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}
.enroll-left h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}
.enroll-left h2 em {
    font-style: italic;
    color: var(--color-gold-sig);
    font-weight: 500;
}
.enroll-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* Trust Items */
.enroll-trust {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
}
.trust-item svg {
    width: 22px;
    height: 22px;
    color: var(--color-gold-sig);
    flex-shrink: 0;
}

/* Step Wizard Form Card */
.enroll-form-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(44, 36, 22, 0.08);
    overflow: hidden;
}
.enroll-form-top {
    padding: 2.5rem 3rem 1.5rem;
    border-bottom: 1px solid #f0eee9;
    background: #fdfcfb;
}
.enroll-form-top span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-sig);
    margin-bottom: 0.5rem;
}
.enroll-form-top h3 {
    font-size: 1.8rem;
    margin: 0;
}

/* Wizard Steps Indicator */
.step-indicator {
    display: flex;
    padding: 1.5rem 3rem;
    gap: 1rem;
    background: #fff;
    border-bottom: 1px solid #f0eee9;
}
.step-dot {
    height: 6px;
    flex: 1;
    background: #eee;
    border-radius: 10px;
    transition: all 0.4s ease;
}
.step-dot.active {
    background: var(--color-gold-sig);
}

.enroll-form-body {
    padding: 3rem;
}
.multi-step-form .form-step {
    display: none;
}
.multi-step-form .form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.ef-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.ef-row.full {
    grid-template-columns: 1fr;
}
.ef-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.6rem;
}
.ef-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: #f9f8f6;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    font-family: var(--font-app);
    font-size: 1rem;
    color: var(--color-text-main);
    transition: all 0.25s ease;
}
.ef-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-gold-sig);
    box-shadow: 0 0 0 4px rgba(179, 128, 49, 0.1);
}

.enroll-form-foot {
    padding: 2rem 3rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0eee9;
    background: #fdfcfb;
}

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

@media (max-width: 900px) {
    .enroll-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
    .ef-row { grid-template-columns: 1fr; gap: 1rem; }
    .enroll-form-body { padding: 2rem 1.5rem; }
    .enroll-form-top, .step-indicator, .enroll-form-foot { padding-left: 1.5rem; padding-right: 1.5rem; }
}


/* ── Advanced Enrollment Section ── */
.enroll-section {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 8rem;
}

.enroll-card {
    background: #FFFFFF;
    border: 1px solid rgba(179, 128, 49, 0.15);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.enroll-header {
    text-align: center;
    margin-bottom: 4rem;
}

.enroll-badge {
    display: inline-block;
    background: rgba(179, 128, 49, 0.1);
    color: var(--color-gold-sig);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.enroll-header h2 {
    margin-bottom: 1rem;
}

.enroll-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

.advanced-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.6rem;
    margin-left: 2px;
}

.advanced-form input,
.advanced-form select,
.advanced-form textarea {
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: #F8F6F2;
    border: 1px solid #E5E0D8;
    border-radius: 12px;
    font-family: var(--font-app);
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: all 0.3s ease;
}

.advanced-form input::placeholder {
    color: #A8A095;
}

.advanced-form input:focus,
.advanced-form select:focus,
.advanced-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-gold-sig);
    box-shadow: 0 0 0 4px rgba(179, 128, 49, 0.1);
}

@media (max-width: 600px) {
    .enroll-card { padding: 2.5rem 1.5rem; }
    .form-grid { grid-template-columns: 1fr; }
}
/* ============================================
   Legacy Section - Emotional Narrative Layout
   ============================================ */
.legacy-section {
    padding: 7rem 0; /* Reduced from 10rem */
    background-color: var(--color-bg-surface);
    overflow: hidden;
}
.legacy-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem; /* Reduced from 6rem */
    align-items: center;
    position: relative;
}
.legacy-image {
    width: 100%;
    height: 500px; /* Reduced from 580px */
    border-radius: 24px; /* Slightly smaller radius */
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
}
.legacy-image::after {
    content: '';
    position: absolute;
    top: -1.5rem; left: -1.5rem;
    width: 100%; height: 100%;
    border: 1px solid rgba(179, 128, 49, 0.2);
    border-radius: 24px;
    z-index: -1;
}
.legacy-content {
    position: relative;
    z-index: 2;
}
.legacy-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold-sig);
    margin-bottom: 1rem;
    display: block;
}
.legacy-content .section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem); /* Slightly smaller */
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.legacy-content p {
    font-size: 1rem; /* Reduced from 1.1rem */
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.legacy-quote {
    font-family: var(--font-heading);
    font-size: 1.25rem; /* Reduced from 1.4rem */
    color: var(--color-gold-sig);
    font-style: italic;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #F0ECE4;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .legacy-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .legacy-image {
        height: 400px;
    }
    .legacy-image::after {
        display: none;
    }
    .legacy-section {
        padding: 6rem 0;
    }
}

/* Footer */
.main-footer {
    background-color: #1A1612;
    color: #C8C0B2;
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--color-gold-sig);
}
.main-footer h4 {
    color: var(--color-gold-sun);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.main-footer p, .main-footer a {
    font-size: 0.9rem;
    color: #C8C0B2;
    line-height: 1.8;
}
.main-footer a:hover {
    color: var(--color-gold-sun);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}
.footer-logo {
    height: 65px; /* Increased for better visibility per request */
    margin-bottom: 1.5rem;
}
.slogan {
    font-style: normal;
    color: var(--color-gold-sun);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}
.footer-seo {
    color: #8A8278;
    font-size: 0.85rem;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-nav a {
    font-size: 0.88rem; /* Refined for professional app-like feel */
    color: #ACA499;
    transition: all 0.25s ease;
    display: inline-block;
}
.footer-nav a:hover {
    color: var(--color-gold-sun);
    transform: translateX(3px);
}
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 1.25rem;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.06);
    color: #C8C0B2;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.25s ease;
}
.footer-socials a:hover {
    background-color: var(--color-gold-sig);
    color: #fff;
    border-color: var(--color-gold-sig);
}
.footer-bottom {
    text-align: center;
    padding: 2.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: #6B6360;
}
.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: #ACA499; /* Matched link color for uniformity */
    font-size: 0.82rem; /* Uniform size for all legal text */
}
.footer-legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}
.footer-legal a:hover {
    color: var(--color-gold-sun);
}
.footer-legal .sep {
    color: #4A4340;
    font-weight: 300;
}

/* ============================================
   Enrollment Modal Styles
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 22, 0.85); /* Site primary dark color with transparency */
    z-index: 1000;
    display: none; /* Changed from visibility: hidden for more reliable toggle */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 95%;
    max-width: 550px;
    border-radius: 12px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    color: #666;
}
.modal-close:hover {
    background: #eee;
    color: #000;
    transform: rotate(90deg);
}

/* Override wizard styles for modal context */
.modal-content .enroll-form-card {
    box-shadow: none;
    padding: 0;
    border: none;
    width: 100%;
}
.modal-content .enroll-form-top {
    padding: 2rem 2.5rem 1rem;
    background: #fcfcfc;
}
.modal-content .enroll-form-body {
    padding: 1.5rem 2.5rem;
}
.modal-content .enroll-form-foot {
    padding: 1.5rem 2.5rem 2rem;
    background: #fcfcfc;
}

@media (max-width: 640px) {
    .modal-content .enroll-form-top,
    .modal-content .enroll-form-body,
    .modal-content .enroll-form-foot {
        padding: 1.5rem;
    }
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us-section {
    background-color: var(--color-bg-surface);
    padding: 5rem 0;
    border-top: 1px solid #E5E0D8;
}
.why-intro {
    max-width: 600px;
    margin-bottom: 3rem;
}
/* ============================================
   Why Choose Us - Standard Grid
   ============================================ */
.why-us-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}
.why-intro {
    text-align: center;
    margin-bottom: 4rem;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.why-card {
    background-color: #fff;
    padding: 0;
    border: 1px solid #E5E0D8;
    border-left: 4px solid #B38031; /* Solid Pure Gold */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.why-card-header {
    background-color: #F8F8F8;
    padding: 1.5rem;
    border-bottom: 1px solid #F0F0F0;
}
.why-card .why-content {
    padding: 1.5rem;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(179, 128, 49, 0.08);
}
.why-icon {
    width: 48px;
    height: 48px;
    background-color: #F2EFE9;
    color: var(--color-gold-sig);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}
.why-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* ============================================
   Contact / Location Section
   ============================================ */
.contact-section {
    background-color: var(--color-bg-surface-alt);
    padding: 5rem 0;
    border-top: 1px solid #E5E0D8;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.contact-info .section-title {
    margin-bottom: 2rem;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-detail svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-gold-sig);
}
.contact-detail a {
    color: var(--color-gold-sig);
    font-weight: 500;
}
.contact-detail a:hover {
    color: var(--color-bronze);
}
.contact-cta {
    margin-top: 2rem;
    display: inline-block;
}
.map-img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,0.12)); /* Shadow follows the map shape, not the box */
    margin: 0 auto;
}

/* Mobile nav CTA link (shows only inside mobile drawer) */
.mobile-cta-link {
    display: none;
    color: var(--color-gold-sig) !important;
    font-weight: 600 !important;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grid children */
.why-card:nth-child(1) { transition-delay: 0.05s; }
.why-card:nth-child(2) { transition-delay: 0.12s; }
.why-card:nth-child(3) { transition-delay: 0.19s; }
.why-card:nth-child(4) { transition-delay: 0.26s; }
.plan-card:nth-child(1) { transition-delay: 0.05s; }
.plan-card:nth-child(2) { transition-delay: 0.12s; }
.plan-card:nth-child(3) { transition-delay: 0.19s; }
.plan-card:nth-child(4) { transition-delay: 0.26s; }

/* ============================================
   Sticky Header Shadow on Scroll
   ============================================ */
.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

/* ============================================
   Responsive — Mobile & Tablet
   ============================================ */
@media screen and (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    /* --- Header --- */
    .main-header {
        position: sticky;
        top: 0;
    }
    .desktop-only { display: none; }
    .mobile-toggle { display: block; }
    .mobile-cta-link { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1A1A1A;
        padding: 1.25rem 1.5rem 1.75rem;
        gap: 1.25rem;
        border-bottom: 2px solid var(--color-bronze);
        box-shadow: 0 12px 24px rgba(0,0,0,0.3);
        z-index: 999;
    }
    .nav-links a {
        color: #E0D8CC;
        font-size: 1rem;
    }
    .nav-links a:hover {
        color: var(--color-gold-sun);
    }
    .nav-links.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    .nav-item .nav-link {
        color: #E0D8CC !important;
        padding: 0.5rem 0;
        justify-content: space-between;
        font-size: 1.05rem;
    }
    .nav-item .chevron {
        display: none; /* Hide on mobile to keep it clean */
    }

    /* Mobile Dropdown & Mega Menu Adjustments */
    .dropdown-menu, .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        width: 100%;
        padding: 0 0 0.5rem 1rem; /* Indent */
        display: none; /* Hidden by default until JS toggle? No, let's keep them visible for direct access in multi-page */
    }
    /* Let's make them visible by default on mobile for ease of access */
    .nav-item .dropdown-menu,
    .nav-item .mega-menu {
        display: block;
    }

    .dropdown-menu a, .mega-col a {
        padding: 0.6rem 0 !important;
        font-size: 0.95rem !important;
        color: rgba(224, 216, 204, 0.7) !important;
    }
    .mega-col h4 {
        display: none; /* Hide headers to save space */
    }
    .mega-grid {
        display: block; /* Stack on mobile */
    }
    .mega-col {
        margin-bottom: 0px;
    }

    .mobile-only { display: block; }

    /* --- Top Bar --- */
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .top-emergency, .top-socials-email {
        justify-content: center;
    }

    /* --- Hero --- */
    .hero {
        min-height: auto;
        padding: 5rem 0;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-left {
        order: 1;
    }
    .hero-right {
        order: 2;
        justify-content: center;
    }
    .hero-cta-row {
        justify-content: center;
    }
    .promise-box {
        max-width: 100%;
        text-align: left;
    }.link-grid {
        grid-template-columns: 1fr 1fr;
    }
    .quick-links {
        margin-top: 0;
        padding-top: 2.5rem;
    }

    /* --- Services --- */
    .service-row,
    .service-row.reverse {
        flex-direction: column;
    }
    .service-image {
        min-width: unset;
        width: 100%;
        height: 260px;
    }
    .service-image::after {
        display: none;
    }

    /* --- Plans --- */
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .plan-card.popular {
        transform: scale(1);
    }

    /* --- Why Us --- */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* --- Contact --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* --- Section Titles --- */
    .section-title {
        font-size: 1.45rem;
    }

    /* --- CTA Banner --- */
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-banner-actions {
        justify-content: center;
    }

    /* --- Legacy / Our Story --- */
    .legacy-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .legacy-image {
        height: 260px;
    }
    .legacy-image::before {
        display: none;
    }

    /* --- Quick Links --- */
    .quick-links {
        padding: 3rem 0;
    }
}

@media screen and (max-width: 480px) {
    .link-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-cta-row {
        flex-direction: column;
    }
    .hero-cta-row .btn {
        width: 100%;
        text-align: center;
    }
    .plans-inclusive {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-banner-actions .btn {
        text-align: center;
    }
}

/* ============================================
   Bento Grid Responsive
   ============================================ */
@media screen and (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }
    .bento-tall { grid-row: auto; }
    .bento-cta { grid-column: 1 / -1; }
}
@media screen and (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .bento-cta { grid-column: 1; }
    .bento-text { padding: 1.5rem; }
}


