/* ============================================
   REFINE SKIN & BODY CLINIC — Awwwards Level CSS
   Brand Primary: #432C86 | Accent: #C9A96E
   ============================================ */

/* ---------- Base & Reset ---------- */
html {
    overflow-x: clip;
    /* clip doesn't break fixed positioning like hidden does */
    width: 100%;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Use a fluid base size if desired, but Tailwind handles most */
}

body {
    overflow-x: hidden;
    background-color: #ffffff;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f8f6fc;
}

::-webkit-scrollbar-thumb {
    background: #1a0f3c;
    /* Deeper brand color */
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #432C86;
}

/* ---------- Typography Utilities ---------- */
.text-balance {
    text-wrap: balance;
}

.text-mask {
    overflow: hidden;
}

.text-mask span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

/* ---------- Magnetic Button / CTA (Simplified) ---------- */
.btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    background: #1a0f3c;
    /* Brand Deeper */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-magnetic:hover {
    background-color: #C9A96E;
    /* Accent Gold */
    color: #1a0f3c;
    /* Dark text on gold */
}

/* Outline variation */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(26, 15, 60, 0.2);
    color: #1a0f3c;
}

.btn-outline:hover {
    background-color: #1a0f3c;
    color: #ffffff;
    border-color: #1a0f3c;
}

/* ---------- Advanced Glassmorphism ---------- */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(26, 15, 60, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.glass-panel-dark {
    background: rgba(26, 15, 60, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* ---------- Gradient Mesh Backgrounds ---------- */
.mesh-gradient {
    background-color: #ede9f5;
    background-image:
        radial-gradient(at 0% 0%, rgba(67, 44, 134, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(201, 169, 110, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(67, 44, 134, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 255, 255, 0.8) 0px, transparent 50%);
}

.mesh-gradient-dark {
    background-color: #1a0f3c;
    background-image:
        radial-gradient(at 0% 0%, rgba(67, 44, 134, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(201, 169, 110, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(46, 29, 94, 0.6) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(26, 15, 60, 1) 0px, transparent 50%);
}

/* ---------- Image Treatments (Parallax & Reveals) ---------- */
.img-reveal-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    /* Subtle elegant radius */
}

.img-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a0f3c;
    z-index: 10;
    transform-origin: top;
}

.img-parallax {
    transform: scale(1.1) translateZ(0);
    /* Force hardware acceleration */
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

/* Duotone / Color Burn effect on hover */
.img-duotone {
    position: relative;
}

.img-duotone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(67, 44, 134, 0.45);
    /* Flat overlay instead of mix-blend for performance */
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 5;
}

.img-duotone:hover::after {
    opacity: 0;
    /* Reveal true colors on hover */
}

/* ---------- Hero Specific ---------- */
.hero-slider-container {
    height: 100vh;
    min-height: 800px;
    width: 100%;
    position: relative;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    /* Soft multi-layered gradient for depth, not just a flat block */
    background: linear-gradient(180deg,
            rgba(26, 15, 60, 0.1) 0%,
            rgba(26, 15, 60, 0.4) 50%,
            rgba(26, 15, 60, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Hero Typography */
.hero-display-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.1;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: -0.025em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-display-text i {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #e5cc98;
    /* Lighter Gold accent in heading for better contrast */
    font-weight: 300;
}

/* Custom Swiper Navigation for Hero */
.creative-nav-prev,
.creative-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.1);
}

.creative-nav-prev {
    left: 40px;
}

.creative-nav-next {
    right: 40px;
}

.creative-nav-prev:hover,
.creative-nav-next:hover {
    background: #ffffff;
    color: #1a0f3c;
    transform: translateY(-50%) scale(1.1);
}

/* Custom Swiper Pagination - Progress line style */
.creative-pagination {
    position: absolute;
    bottom: 50px !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.creative-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0;
    opacity: 1;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
}

.creative-pagination .swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #C9A96E;
    transition: width 5s linear;
    /* Sync with autoplay */
}

.creative-pagination .swiper-pagination-bullet-active::after {
    width: 100%;
}

/* ----- Bento Grid Component ----- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.bento-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 2vw, 1.5rem);
    transform: translateZ(0);
    will-change: transform;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 350px;
}

.bento-wide {
    grid-column: span 2;
    min-height: 240px;
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(26, 15, 60, 0.95) 0%, rgba(26, 15, 60, 0.4) 70%, transparent 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover .bento-content {
    transform: translateY(0);
    opacity: 1;
}

.bento-item img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover img {
    transform: scale(1.05);
}

/* ---------- Header & Nav ---------- */
.site-header {
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(26, 15, 60, 0.05);
}

.site-header.scrolled .nav-link-item {
    color: #1a0f3c;
}

.site-header.scrolled .logo-text {
    color: #1a0f3c;
}

.nav-link-item {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Megamenu — JS hover-intent driven (class .show toggled by JS) */
.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transition:
        opacity 0.15s ease,
        visibility 0s linear 0.15s,
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    transform-origin: top;
    z-index: 50;
}

.nav-item-dropdown.show .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition:
        opacity 0.2s ease,
        visibility 0s linear 0s,
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Right-align mega menus that would overflow the viewport */


.mega-menu-panel {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 40px 80px rgba(26, 15, 60, 0.08), 0 10px 20px rgba(26, 15, 60, 0.04);
    border: 1px solid rgba(26, 15, 60, 0.03);
    overflow: hidden;
}

/* ---------- Decorative Elements ---------- */
/* Removed .circle-blur for performance */

/* ---------- Testimonial Coverflow ---------- */
.testimonial-slide-inner {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(26, 15, 60, 0.04);
    border: 1px solid rgba(26, 15, 60, 0.02);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    height: 100%;
}

.swiper-slide-active .testimonial-slide-inner {
    box-shadow: 0 30px 60px rgba(26, 15, 60, 0.08);
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    line-height: 1;
    color: rgba(201, 169, 110, 0.15);
    /* Faint gold */
    position: absolute;
    top: 20px;
    left: 30px;
    pointer-events: none;
}

/* ---------- Footer ---------- */
.footer-editorial {
    background: #0d071e;
    /* Very dark brand */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #C9A96E;
    transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {

    .creative-nav-prev,
    .creative-nav-next {
        display: none;
    }

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

@media (max-width: 768px) {

    /* Services bento carousel */
    #services .bento-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #services .bento-grid::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }

    #services .bento-grid .bento-item {
        min-width: 72vw;
        max-width: 72vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    /* Other grids using bento-item stay normal */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

    /* Always show card labels on mobile (no hover on touch screens) */
    #services .bento-content {
        opacity: 1;
        transform: translateY(0);
    }

    /* Doctors horizontal carousel on mobile */
    #doctors-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 1rem !important;
    }

    #doctors-grid::-webkit-scrollbar {
        display: none;
    }

    /* 72vw so ~28vw of next card peeks through */
    #doctors-grid .bento-item {
        min-width: 72vw;
        max-width: 72vw;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* Treatment categories horizontal carousel on mobile */
    #treatment-categories-grid,
    #services-carousel {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 1rem !important;
    }

    #treatment-categories-grid::-webkit-scrollbar,
    #services-carousel::-webkit-scrollbar {
        display: none;
    }

    #treatment-categories-grid .bento-item,
    #services-carousel>a {
        min-width: 72vw;
        max-width: 72vw;
        height: 260px !important;
        scroll-snap-align: start;
        flex-shrink: 0;
        border-radius: 1.25rem !important;
        position: relative;
    }

    /* Always show text labels on treatment category cards on mobile */
    #treatment-categories-grid .bento-item>div:last-child {
        opacity: 1 !important;
    }

    /* Scrolled hamburger menu color */
    #site-header.scrolled #mobile-menu-toggle span {
        background-color: var(--color-brand, #432C86) !important;
    }

    #site-header.scrolled #mobile-menu-toggle {
        background-color: rgba(67, 44, 134, 0.05) !important;
        /* brand faint */
        color: #432C86 !important;
    }

    .hero-display-text {
        font-size: clamp(1.8rem, 6.5vw, 2.8rem);
        line-height: 1.15;
    }

    .btn-magnetic {
        padding: 14px 32px !important;
        font-size: 14px !important;
    }

    /* Mobile Header: solid white instead of transparent to support hero below header */
    .site-header.hero-mode {
        background: rgba(255, 255, 255, 0.96) !important;
        border-bottom: 1px solid rgba(67, 44, 134, 0.06) !important;
        box-shadow: 0 4px 30px rgba(26, 15, 60, 0.05) !important;
        color: #1a0f3c !important;
    }

    .site-header.hero-mode .logo-white {
        display: none !important;
    }

    .site-header.hero-mode .logo-dark {
        display: block !important;
    }

    .site-header.hero-mode .nav-link-item,
    .site-header.hero-mode .nav-item-dropdown>a {
        color: #1a0f3c !important;
    }

    .site-header.hero-mode #mobile-menu-toggle {
        background-color: #432C86 !important;
        color: #ffffff !important;
    }

    .site-header.hero-mode #mobile-menu-toggle span {
        background-color: #ffffff !important;
    }

    .hero-slider-container {
        margin-top: 60px !important;
        /* Push hero container below the 60px mobile header */
        height: calc(100vh - 60px) !important;
        min-height: 0 !important;
        background-color: #1a0f3c !important;
        /* Changed from white to deep brand color for glassmorphism */
    }

    .hero-slider-container .hero-swiper,
    .hero-slider-container .swiper-wrapper,
    .hero-slider-container .swiper-slide {
        height: 100% !important;
    }

    .hero-slider-container .img-duotone {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        position: relative !important;
        background-color: #1a0f3c !important;
        /* Match dark background */
    }

    /* Disable the purple/blue duotone overlay on the image on mobile */
    .hero-slider-container .img-duotone::after {
        display: none !important;
    }

    /* Remove top gradient now that header is solid white and doesn't overlap the image */
    .hero-slider-container .hero-overlay-gradient {
        display: none !important;
    }

    /* Stack text content below the image on mobile with a glassmorphic background */
    .hero-slider-container .absolute.inset-0 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        flex-grow: 1 !important;
        min-height: 0 !important;
        background: rgba(255, 255, 255, 0.12) !important; /* Made lighter for a brighter frosted glass */
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 2rem 1.5rem 3.5rem 1.5rem !important;
        /* Spaced padding */
        z-index: 3 !important;
        overflow: hidden !important;
    }

    /* Separate the buttons from the background and add a golden border */
    .hero-slider-container .absolute.inset-0 .btn-magnetic {
        border: 1px solid #C9A96E !important;
        background-color: rgba(26, 15, 60, 0.85) !important; /* Dark solid base to contrast the lighter glass */
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

    /* Add animated bubbles behind the glass background */
    .hero-slider-container .absolute.inset-0::before,
    .hero-slider-container .absolute.inset-0::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        filter: blur(35px);
        z-index: -1;
        opacity: 0.6;
        animation: floatBubbles 8s infinite alternate ease-in-out;
    }

    .hero-slider-container .absolute.inset-0::before {
        width: 200px;
        height: 200px;
        background: rgba(180, 140, 255, 0.4);
        top: 5%;
        left: -20%;
        animation-delay: 0s;
    }

    .hero-slider-container .absolute.inset-0::after {
        width: 180px;
        height: 180px;
        background: rgba(201, 169, 110, 0.35);
        /* Accent gold color */
        bottom: -5%;
        right: -15%;
        animation-duration: 11s;
        animation-direction: alternate-reverse;
    }

    @keyframes floatBubbles {
        0% {
            transform: translate(0, 0) scale(1);
        }

        100% {
            transform: translate(40px, -50px) scale(1.15);
        }
    }

    /* Keep the original white text and pill subtitle styling from desktop */
    /* Display the image at the top covering exactly 33vh height, cropping slightly for a taller aspect ratio */
    .hero-slider-container .img-parallax {
        position: relative !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 33vh !important;
        width: 100% !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        /* Crop left/right slightly so it looks taller and consistent */
        object-position: center !important;
        margin-top: 0 !important;
        transform: none !important;
        will-change: auto !important;
        z-index: 1 !important;
        display: block !important;
    }

    /* Make the Swiper pagination dots dark gray so they are visible on the white text area */
    .hero-slider-container .creative-pagination {
        bottom: 1.25rem !important;
        z-index: 10 !important;
    }

    .hero-slider-container .creative-pagination .swiper-pagination-bullet {
        background: rgba(26, 15, 60, 0.2) !important;
    }

    .hero-slider-container .creative-pagination .swiper-pagination-bullet::after {
        background: #C9A96E !important;
    }

    /* Global Padding Overrides for Mobile */
    .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-20 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .py-24 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .py-32 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    /* Glass Panel optimizations */
    .glass-panel {
        padding: 1.5rem !important;
        /* from p-8/p-12 */
    }

    .glass-panel.faq-item {
        padding: 0 !important;
    }
}

/* ---------- Hero-Mode Navbar (Home Page) ----------
   When transparent at the top and white when scrolled.
   This rule only fires for the <header> that has the .hero-mode class,
   so non-home pages are unaffected. */
.site-header.hero-mode {
    color: #ffffff;
}

.site-header.hero-mode .logo-text,
.site-header.hero-mode .nav-link-item,
.site-header.hero-mode .nav-item-dropdown>a {
    color: #ffffff;
}

.site-header.hero-mode .nav-item-dropdown>a:hover,
.site-header.hero-mode .nav-link-item:hover {
    color: #C9A96E;
}

.site-header.hero-mode .nav-dropdown .mega-menu-panel {
    background: #ffffff;
    color: #1a0f3c;
}

/* Scrolled state: solid white with shadow */
.site-header.hero-mode.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(67, 44, 134, 0.06);
    box-shadow: 0 4px 30px rgba(26, 15, 60, 0.05);
}

.site-header.hero-mode.scrolled .logo-text,
.site-header.hero-mode.scrolled .nav-link-item,
.site-header.hero-mode.scrolled .nav-item-dropdown>a {
    color: #1a0f3c;
}

.site-header.hero-mode.scrolled .nav-item-dropdown>a:hover,
.site-header.hero-mode.scrolled .nav-link-item:hover {
    color: #C9A96E;
}

/* Make hamburger visible on white navbar - give it a brand purple bg */
.site-header.hero-mode.scrolled #mobile-menu-toggle,
.site-header:not(.hero-mode) #mobile-menu-toggle {
    background-color: #432C86 !important;
    color: #ffffff !important;
}

/* Generic page navbar (non-home) — should always be solid */
.site-header:not(.hero-mode) {
    background: #ffffff;
}

.site-header:not(.hero-mode) .logo-text,
.site-header:not(.hero-mode) .nav-link-item,
.site-header:not(.hero-mode) .nav-item-dropdown>a {
    color: #1a0f3c;
}

.site-header:not(.hero-mode) .nav-item-dropdown>a:hover,
.site-header:not(.hero-mode) .nav-link-item:hover {
    color: #C9A96E;
}

/* Logo toggling for transparent/solid header states */
.site-header .logo-white {
    display: none;
}

.site-header .logo-dark {
    display: block;
}

.site-header.hero-mode:not(.scrolled) .logo-white {
    display: block;
}

.site-header.hero-mode:not(.scrolled) .logo-dark {
    display: none;
}

/* Fix gap between fixed header/navbar and page content */
main.pt-20 {
    padding-top: calc(60px + 0.5rem) !important;
    /* Matches mobile header height (h-[60px] + py-1) */
}

@media (min-width: 1024px) {
    main.pt-20 {
        padding-top: calc(80px + 1rem) !important;
        /* Matches desktop header height (h-[80px] + py-2) */
    }
}