:root {
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "DM Sans", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    --color-plum: #5B3A62;
    --color-plum-hover: #4B2E52;
    --color-footer: #4A2852;
    --color-hero-dark: #2C1633;
    --color-white: #FFFFFF;
    --color-lavender: #F4EFF7;
    --color-lavender-deep: #EAE0F0;
    --color-cream: #FAF7F2;
    --color-gold: #C8A46B;
    --color-gold-dark: #A68249;
    --color-ink: #2A222D;
    --color-ink-muted: #655C69;
}

html,
body {
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans) !important;
    background-color: var(--color-white) !important;
    color: var(--color-ink) !important;
}

/* Prevent iOS zoom on input focus while keeping desktop compact */
@media (max-width: 767px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

h1, h2, h3, h4, .font-serif, .font-display {
    font-family: var(--font-serif) !important;
}

code, pre, .font-mono {
    font-family: var(--font-mono) !important;
}

/* Primary Plum Buttons (#5B3A62) */
.btn-primary {
    background-color: var(--color-plum) !important;
    color: #FFFFFF !important;
    border-radius: 0.375rem !important;
    border: 1px solid var(--color-plum) !important;
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background-color: var(--color-plum-hover) !important;
    border-color: var(--color-plum-hover) !important;
}

.btn-secondary {
    background-color: #FFFFFF !important;
    color: var(--color-plum) !important;
    border: 1px solid rgba(91, 58, 98, 0.28) !important;
    border-radius: 0.375rem !important;
    font-family: var(--font-sans) !important;
}

.btn-secondary:hover {
    background-color: var(--color-lavender) !important;
    border-color: var(--color-plum) !important;
}

.btn-gold {
    background-color: var(--color-gold) !important;
    color: #2C1633 !important;
    border-radius: 0.375rem !important;
    font-weight: 600 !important;
}

.btn-gold:hover {
    background-color: var(--color-gold-dark) !important;
    color: #FFFFFF !important;
}

/* Brand Text & Accents */
.text-celestial {
    color: var(--color-plum) !important;
}

.bg-celestial {
    background-color: var(--color-plum) !important;
}

.border-celestial {
    border-color: var(--color-plum) !important;
}

.text-champagne-dark, .text-gold {
    color: var(--color-gold-dark) !important;
}

.bg-ivory {
    background-color: #FFFFFF !important;
}

.bg-ivory-soft {
    background-color: var(--color-cream) !important;
}

.bg-lavender-band {
    background-color: var(--color-lavender);
}

.bg-lavender-cta {
    background-color: var(--color-lavender-deep);
}

.bg-cream-band {
    background-color: var(--color-cream);
}

/* Hero Banner Guaranteed Contrast & Full-Screen Framing */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #2C1633;
    min-height: 490px;
}

.hero-banner-inner {
    position: relative;
    min-height: 490px;
    padding-top: 3.75rem;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 22, 51, 0.72) 0%, rgba(44, 22, 51, 0.88) 60%, rgba(44, 22, 51, 0.96) 100%);
}

@media (min-width: 768px) {
    .hero-banner-overlay {
        background: linear-gradient(90deg, #2C1633 0%, rgba(44, 22, 51, 0.94) 38%, rgba(44, 22, 51, 0.55) 68%, rgba(44, 22, 51, 0.20) 100%);
    }
}

.hero-banner-title {
    color: #FFFFFF !important;
    font-family: var(--font-serif) !important;
    font-size: clamp(2.35rem, 8vw, 4rem) !important;
    line-height: 1.05 !important;
}

.hero-banner-title-accent {
    color: #C8A46B !important;
    font-style: italic !important;
    font-weight: 400 !important;
}

.hero-banner-subtitle {
    color: rgba(255, 255, 255, 0.88) !important;
}

.hero-banner-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #FFFFFF !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-banner-outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
}

/* Section Rhythm & Vertical Breathing Room */
.section-band {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.section-band-compact {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-heading-gap {
    margin-bottom: 2.25rem;
}

.section-heading-gap-lg {
    margin-bottom: 2.75rem;
}

@media (min-width: 640px) {
    .section-band {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }
    .section-band-compact {
        padding-top: 4.25rem;
        padding-bottom: 4.25rem;
    }
    .section-heading-gap {
        margin-bottom: 3rem;
    }
    .section-heading-gap-lg {
        margin-bottom: 3.5rem;
    }
    .hero-banner,
    .hero-banner-inner {
        min-height: 600px;
    }
}

/* Mobile App Horizontal Swipe Cards (Desktop switches cleanly to Grid) */
.mobile-snap-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.mobile-snap-row::-webkit-scrollbar {
    display: none;
}

.mobile-snap-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .mobile-snap-card {
        flex: 0 0 46%;
    }
}

@media (min-width: 1024px) {
    .mobile-snap-row {
        display: grid;
        overflow-x: visible;
        padding-bottom: 0;
    }
    .mobile-snap-row.cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.25rem;
    }
    .mobile-snap-row.cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
    .mobile-snap-card {
        flex: initial;
    }
}

/* Mobile App Fixed Bottom Navigation Tab Bar */
.mobile-app-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #EAE0F0;
    box-shadow: 0 -8px 25px -10px rgba(44, 22, 51, 0.14);
    padding: 0.45rem 0.25rem calc(0.45rem + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mobile-app-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 10px;
    font-weight: 500;
    color: #655C69;
    padding: 0.25rem 0;
    position: relative;
}

.mobile-app-tab-active {
    color: #5B3A62 !important;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .mobile-app-nav {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .site-footer {
        padding-bottom: 5.25rem !important;
    }
}

/* Footer (#4A2852) */
.site-footer {
    background-color: var(--color-footer) !important;
    color: rgba(255, 255, 255, 0.86) !important;
    border-top: 1px solid rgba(200, 164, 107, 0.25) !important;
}

.site-footer h3,
.site-footer h4 {
    color: #FFFFFF !important;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
    color: var(--color-gold) !important;
}

/* Editorial Arched Image Frame */
.arch-frame-wrap {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.arch-frame-outline {
    position: absolute;
    inset: -8px 8px 8px -8px;
    border: 1px solid rgba(200, 164, 107, 0.55);
    border-top-left-radius: 230px;
    border-top-right-radius: 230px;
    pointer-events: none;
}

.arch-frame-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 230px;
    border-top-right-radius: 230px;
    aspect-ratio: 4 / 3.85;
    background-color: var(--color-lavender);
}

.arch-caption-card {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    background: #FFFFFF;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 12px 30px -10px rgba(44, 22, 51, 0.18);
    border: 1px solid rgba(200, 164, 107, 0.25);
}

@media (min-width: 640px) {
    .arch-frame-outline {
        inset: -12px 14px 12px -12px;
    }
    .arch-caption-card {
        right: -12px;
        bottom: 18px;
        padding: 1rem 1.5rem;
    }
}

/* Hairline Top Editorial Pillar Cards */
.hairline-pillar {
    border-top: 1px solid rgba(91, 58, 98, 0.18);
    padding-top: 1.5rem;
}

/* Eyebrow Style */
.eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
}

/* Missing Tailwind Utilities Supplement (Pure PHP Mode) */
.text-5xl { font-size: 3rem; line-height: 1; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.p-2\.5 { padding: 0.625rem; }
.p-1\.5 { padding: 0.375rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.h-px { height: 1px; }
.bottom-3 { bottom: 0.75rem; }
.font-normal { font-weight: 400; }
.justify-center { justify-content: center; }
.gap-1\.5 { gap: 0.375rem; }
.gap-x-10 { column-gap: 2.5rem; }
.gap-y-12 { row-gap: 3rem; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.object-right { object-position: right; }
.object-top { object-position: top center; }

/* Hero Auto-Slider Controls & Active Dots */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    background: rgba(20, 10, 24, 0.35);
    backdrop-filter: blur(6px);
}

.hero-dot {
    height: 0.55rem;
    width: 0.55rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-dot-active {
    width: 1.75rem;
    background: #C8A46B;
}

.hero-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hero-arrow-btn:hover {
    background: rgba(200, 164, 107, 0.85);
    color: #2C1633;
}
.leading-\[1\.04\] { line-height: 1.04; }
.leading-\[1\.12\] { line-height: 1.12; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.min-h-\[72px\] { min-height: 72px; }
.break-all { word-break: break-all; }
.border-l-2 { border-left-width: 2px; }
.border-\[\#C8A46B\] { border-color: #C8A46B; }
.bg-lavender-band\/70 { background-color: rgba(244, 239, 247, 0.7); }
.bg-cream-band\/60 { background-color: rgba(250, 247, 242, 0.6); }
.flex-col-reverse { flex-direction: column-reverse; }
.p-5 { padding: 1.25rem; }
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:p-9 { padding: 2.25rem; }
    .sm\:gap-8 { gap: 2rem; }
    .sm\:items-center { align-items: center; }
    .sm\:justify-between { justify-content: space-between; }
}
.underline-offset-8 { text-underline-offset: 8px; }
.decoration-\[\#C8A46B\] { text-decoration-color: #C8A46B; }
.border-\[\#E6DCEB\] { border-color: #E6DCEB; }
.border-\[\#EAE0F0\] { border-color: #EAE0F0; }
.border-\[\#E3D9EA\] { border-color: #E3D9EA; }
.border-\[\#EFE8F5\] { border-color: #EFE8F5; }
.border-\[\#C8A46B\]\/40 { border-color: rgba(200, 164, 107, 0.4); }
.border-\[\#C8A46B\]\/45 { border-color: rgba(200, 164, 107, 0.45); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.border-white\/35 { border-color: rgba(255, 255, 255, 0.35); }
.divide-\[\#E3D9EA\] > :not([hidden]) ~ :not([hidden]) { border-color: #E3D9EA; }
.bg-\[\#C8A46B\]\/40 { background-color: rgba(200, 164, 107, 0.4); }
.bg-\[\#2C1633\] { background-color: #2C1633; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.text-\[\#5B3A62\] { color: #5B3A62; }
.text-\[\#C8A46B\] { color: #C8A46B; }
.text-\[\#7A6B7F\] { color: #7A6B7F; }
.text-\[\#A68249\] { color: #A68249; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/85 { color: rgba(255, 255, 255, 0.85); }
.hover\:text-\[\#5B3A62\]:hover { color: #5B3A62; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.group:hover .group-hover\:text-\[\#5B3A62\] { color: #5B3A62; }

@media (min-width: 640px) {
    .sm\:w-auto { width: auto; }
    .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .sm\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .sm\:gap-2\.5 { gap: 0.625rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:text-\[64px\] { font-size: 64px; }
    .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .lg\:gap-16 { gap: 4rem; }
}

/* Floating Right-Side Icon Dock (Scroll Top, PWA Download, WhatsApp, AI Assistant) */
.floating-right-dock {
    position: fixed;
    right: 14px;
    bottom: 84px;
    z-index: 44;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 640px) {
    .floating-right-dock {
        right: 22px;
    }
}

@media (min-width: 1024px) {
    .floating-right-dock {
        bottom: 24px;
    }
}

.floating-dock-btn {
    width: 46px;
    height: 46px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, opacity 0.25s ease-out;
}

.floating-dock-btn:hover {
    transform: translateY(-2px) scale(1.04);
}

.floating-top-btn {
    background: #FFFFFF;
    color: #5B3A62 !important;
    border: 1px solid rgba(200, 164, 107, 0.7);
    box-shadow: 0 10px 24px -8px rgba(74, 40, 82, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.9);
}

.floating-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.floating-pwa-btn {
    background: #FAF7F2;
    color: #5B3A62 !important;
    border: 1px solid rgba(200, 164, 107, 0.75);
    box-shadow: 0 10px 24px -8px rgba(74, 40, 82, 0.25);
}

.floating-wa-btn {
    background: #1B874B;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 26px -8px rgba(27, 135, 75, 0.52);
}

.floating-wa-btn:hover {
    background: #146E3C;
}

.floating-ai-btn {
    background: linear-gradient(135deg, #5B3A62 0%, #4A2852 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(200, 164, 107, 0.65);
    box-shadow: 0 12px 28px -8px rgba(74, 40, 82, 0.55);
}

.ai-chat-panel {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 84px;
    z-index: 55;
    max-width: 420px;
    margin-left: auto;
    border-radius: 1.25rem;
    background: #FFFFFF;
    border: 1px solid rgba(200, 164, 107, 0.5);
    box-shadow: 0 26px 60px -16px rgba(44, 22, 51, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 78vh;
}

@media (min-width: 640px) {
    .ai-chat-panel {
        left: auto;
        right: 22px;
        width: 410px;
    }
}

@media (min-width: 1024px) {
    .ai-chat-panel {
        bottom: 24px;
        max-height: 620px;
    }
}

.assistant-option-card {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.75rem;
    border: 1px solid #E6DCEB;
    background: #FAF7F2;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.assistant-option-card:hover {
    border-color: #C8A46B;
    background: #F4EFF7;
    transform: translateY(-1px);
}

.bg-emerald-100 { background-color: #D1FAE5; }
.text-emerald-800 { color: #065F46; }
.bg-\[\#1F1024\]\/85 { background-color: rgba(31, 16, 36, 0.85); }
.bg-\[\#1F1024\]\/90 { background-color: rgba(31, 16, 36, 0.9); }
.bg-\[\#1F1024\]\/75 { background-color: rgba(31, 16, 36, 0.75); }
.bg-\[\#F8F4FA\] { background-color: #F8F4FA; }
.aspect-\[16\/11\] { aspect-ratio: 16 / 11; }
.cursor-zoom-in { cursor: zoom-in; }

/* Desktop Navbar Hover Dropdown (About Us) */
.nav-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 0.65rem;
    min-width: 220px;
    z-index: 50;
}

.nav-dropdown-card {
    background: #FFFFFF;
    border: 1px solid #EAE0F0;
    border-radius: 1rem;
    box-shadow: 0 20px 45px -15px rgba(74, 40, 82, 0.22);
    padding: 0.5rem;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #2A1E2E;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.is-active {
    background-color: #F4EFF7;
    color: #5B3A62;
    font-weight: 600;
}
