:root {
    --accent-primary: #EEC35B;
    /* Signature gold (from logo) */
    --accent-secondary: #F4D888;
    /* Pale gold */
    --accent-deep: #C89A3C;
    /* Deep gold */
    --primary-dark: #0f0c09;
    /* Near-black brand tone (darkest surfaces) */
    --primary-gradient: linear-gradient(135deg, #EEC35B 0%, #C89A3C 100%);
    --bg-dark: #0b0906;
    /* Page base background */
    --bg-cream: #16120c;
    /* Elevated alt-section surface */
    --bg-warm: #201810;
    /* Secondary elevated surface / pill bg */
    --bg-card: #18140d;
    /* Card surface (fallback under glass) */
    --glass-fill: rgba(255, 255, 255, 0.035);
    /* Frosted card fill */
    --glass-fill-strong: rgba(255, 255, 255, 0.06);
    /* Frosted card fill, hover */
    --glass-border: rgba(238, 195, 91, 0.16);
    /* Gold-tinted glass edge */
    --glass-border-hover: rgba(238, 195, 91, 0.45);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    --text-body: #cdc3b4;
    /* Warm light body text */
    --text-heading: #f7f1e4;
    /* Bright warm-white headings */
    --text-muted-warm: #a89b89;
    /* Muted warm light */
    --border-light: rgba(238, 195, 91, 0.16);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.35);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.45);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 12px 40px rgba(238, 195, 91, 0.16);
    --radius-card: 18px;
}

/* ── Global ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 900px 650px at 12% -8%, rgba(238, 195, 91, 0.13), transparent 60%),
        radial-gradient(ellipse 750px 600px at 108% 20%, rgba(238, 195, 91, 0.08), transparent 55%),
        radial-gradient(ellipse 700px 700px at -8% 55%, rgba(200, 154, 60, 0.09), transparent 55%),
        radial-gradient(ellipse 850px 750px at 100% 92%, rgba(238, 195, 91, 0.07), transparent 55%),
        radial-gradient(ellipse 600px 500px at 30% 115%, rgba(238, 195, 91, 0.06), transparent 55%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    max-width: 100vw;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.025;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 600;
}

::selection {
    background: var(--accent-primary);
    color: var(--primary-dark);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-primary), var(--accent-deep));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Scroll progress bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(238, 195, 91, 0.6);
    z-index: 2001;
    pointer-events: none;
}

/* ── Reveal Animation (defined early so later, more specific component
   rules can still override transition/hover behavior on the same element) ── */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.75s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Stagger: cascades direct .reveal children of a .stagger container one after another */
.stagger>.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger>.reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.stagger>.reveal:nth-child(3) {
    transition-delay: 0.19s;
}

.stagger>.reveal:nth-child(4) {
    transition-delay: 0.26s;
}

.stagger>.reveal:nth-child(5) {
    transition-delay: 0.33s;
}

.stagger>.reveal:nth-child(6) {
    transition-delay: 0.4s;
}

.stagger>.reveal:nth-child(7) {
    transition-delay: 0.47s;
}

.stagger>.reveal:nth-child(8) {
    transition-delay: 0.54s;
}

/* ── Utility ── */
.font-heading {
    font-family: var(--font-heading);
}

.tracking-wide {
    letter-spacing: 0.15em;
}

.tracking-wider {
    letter-spacing: 0.25em;
}

.fs-7 {
    font-size: 0.9rem;
}

.fs-8 {
    font-size: 0.78rem;
}

.transition-all {
    transition: var(--transition-smooth);
}

.cursor-pointer {
    cursor: pointer;
}

.text-accent {
    color: var(--accent-primary) !important;
}

.text-muted-warm {
    color: var(--text-muted-warm) !important;
}

.text-dark {
    color: var(--text-heading) !important;
}

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

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

.bg-espresso {
    background-color: var(--primary-dark) !important;
}

.bg-accent {
    background: var(--primary-gradient) !important;
}

.hover-text-accent:hover {
    color: var(--accent-primary) !important;
}

.section-padding {
    padding-top: 96px;
    padding-bottom: 96px;
}

.pt-6 {
    padding-top: 120px;
}

.max-w-700 {
    max-width: 700px;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.divider-accent {
    width: 48px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 14px rgba(238, 195, 91, 0.5);
}

/* ── Buttons ── */
.btn-accent {
    position: relative;
    background: var(--primary-gradient);
    color: var(--primary-dark) !important;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    overflow: hidden;
    isolation: isolate;
}

.btn-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-accent:hover::before {
    transform: translateX(120%);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #F4D888 0%, #EEC35B 100%);
    box-shadow: 0 8px 28px rgba(238, 195, 91, 0.4);
    transform: translateY(-2px);
}

.btn-outline-espresso {
    border: 1.5px solid rgba(247, 241, 228, 0.35);
    color: var(--text-heading) !important;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.65rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-outline-espresso:hover {
    background: var(--text-heading);
    border-color: var(--text-heading);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247, 241, 228, 0.15);
}

/* ── Navbar Full-Width ── */
.navbar.fixed-top {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin-top: 0;
    border-radius: 0;
    transition: all 0.4s ease;
    padding: 0.85rem 0 !important;
    z-index: 1050;
}

.navbar-luxury-dark {
    background-color: rgba(11, 9, 6, 0.88);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-scrolled {
    background-color: rgba(9, 7, 5, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(238, 195, 91, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    padding: 0.6rem 0 !important;
}

/* Brand: never let it wrap or overflow */
.navbar-brand {
    flex-shrink: 0;
    max-width: 65%;
    overflow: hidden;
    min-width: 0;
}

/* Logo scales fluidly with viewport */
.navbar-brand img {
    height: clamp(28px, 4vw, 46px);
    width: auto;
    flex-shrink: 0;
}

.navbar-brand .font-heading {
    font-size: clamp(0.75rem, 1.5vw, 1.15rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* On tablet (lg breakpoint) reduce brand font so links fit */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-brand .font-heading {
        font-size: 0.9rem !important;
    }

    .navbar-brand img {
        height: 36px !important;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0.35rem !important;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .navbar .btn-accent {
        font-size: 0.68rem;
        padding: 0.4rem 0.9rem !important;
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0.75rem !important;
    margin: 0;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
        letter-spacing: 0.15em;
    }
}

/* Golden Dot Indicator */
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    box-shadow: 0 0 8px var(--accent-primary);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-primary) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ── Hero Layered (Full-Bleed Image + Floating Glass Card) ── */
/* scroll-margin-top used by all sections to offset the fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

.hero-layered {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background: var(--bg-dark);
    /* Hero is full-bleed under navbar — no top padding needed */
}

.hero-layered-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.08);
    filter: none;
}

.hero-swiper-pagination {
    bottom: 1.5rem !important;
    left: 50% !important;
    right: auto;
    transform: translateX(-50%);
    width: auto !important;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: var(--transition-smooth);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(238, 195, 91, 0.6);
}

.hero-layered-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
}

.hero-layered-card {
    position: relative;
    z-index: 2;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 2.25rem 0;
    max-width: 550px;
    margin: 6.5rem 0 2.5rem;
    box-shadow: none;
}

.hero-layered-card h1.display-3 {
    font-size: 2.75rem;
}

.hero-layered-card p.fs-5 {
    font-size: 1.02rem;
}

.hero-layered-card .btn {
    padding: 0.55rem 1.15rem;
    font-size: 0.76rem;
}

.hero-layered-card::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(238, 195, 91, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    border-radius: 28px;
}

.hero-stats-strip {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(238, 195, 91, 0.22);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1;
    color: var(--text-heading);
}

.hero-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted-warm);
    margin-top: 0.4rem;
    line-height: 1.3;
}

.hero-stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(238, 195, 91, 0.25);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-gradient);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-dark);
    box-shadow: 0 8px 28px rgba(238, 195, 91, 0.4);
    transition: var(--transition-smooth);
    margin-bottom: 1.5rem;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(238, 195, 91, 0.5);
}

.btn-accent:hover .animate-arrow {
    transform: translateX(5px);
}

.animate-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* ── Section Label ── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(238, 195, 91, 0.35);
}

/* ── About ── */
.about-img-wrapper {
    position: relative;
}

.about-img-wrapper .img-accent-border {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    border: 3px solid var(--accent-primary);
    border-radius: var(--radius-card);
    z-index: 0;
    box-shadow: 0 0 60px rgba(238, 195, 91, 0.12);
}

.about-img-wrapper img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-strong);
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-fill);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight);
    transition: var(--transition-smooth);
}

.stat-pill:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-fill-strong);
    transform: translateY(-3px);
}

.stat-pill .stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-pill .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted-warm);
    line-height: 1.3;
}

/* ── Service Cards (glass) ── */
.service-card-v2 {
    background: var(--glass-fill);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--glass-highlight);
}

.service-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-v2:hover::before {
    transform: scaleX(1);
}

.service-card-v2:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-fill-strong);
    box-shadow: var(--shadow-gold), var(--glass-highlight);
    transform: translateY(-6px);
}

.service-cta-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.service-cta-link i {
    transition: transform 0.3s ease;
}

.service-cta-link:hover {
    color: var(--accent-secondary);
}

.service-cta-link:hover i {
    transform: translateX(4px);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(238, 195, 91, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(238, 195, 91, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.service-card-v2:hover .service-icon-wrap {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--primary-dark);
    box-shadow: 0 0 24px rgba(238, 195, 91, 0.45);
    transform: rotateY(180deg);
}

/* ── Why Choose Us ── */
.why-section {
    background: var(--primary-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 195, 91, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.why-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 154, 60, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-grid .feature-box {
    background: var(--glass-fill);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-card);
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--glass-highlight);
    position: relative;
    z-index: 1;
}

.feature-box:hover {
    background: var(--glass-fill-strong);
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-gold), var(--glass-highlight);
}

.feature-box-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(238, 195, 91, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(238, 195, 91, 0.2);
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

/* ── Portfolio ── */
.filter-pill {
    border: 1.5px solid var(--glass-border);
    color: var(--text-muted-warm);
    background: var(--glass-fill);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 0.45rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--primary-dark) !important;
    box-shadow: 0 6px 20px rgba(238, 195, 91, 0.3);
}

.gallery-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.gallery-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-gold);
}

.gallery-card img {
    transition: transform 0.6s ease, opacity 0.4s ease;
    display: block;
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0) 55%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    pointer-events: none;
}

.gallery-card:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hide-anim {
    opacity: 0;
    transform: scale(0.95);
}

#lightboxImage {
    transition: opacity 0.2s ease-in-out;
}

/* ── Testimonials ── */
.testimonial-video-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.testimonial-video-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-gold);
}

.testimonial-video-card img {
    transition: transform 0.6s ease;
    opacity: 0.75;
    display: block;
}

.testimonial-video-card:hover img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.2) 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.testimonial-video-card:hover .video-play-overlay {
    opacity: 1;
}

.video-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    box-shadow: 0 0 30px rgba(238, 195, 91, 0.5);
}

.testimonial-video-card:hover .video-play-btn {
    transform: scale(1.1);
}

.video-bottom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    backdrop-filter: blur(2px);
}

/* ── Timeline / Process ── */
.process-section {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(238, 195, 91, 0.06) 0%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 2rem;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 64px;
    /* = padding-top (2rem) + half icon height (32px), centers on the icon circle */
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border-hover), transparent);
    z-index: 1;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.timeline-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--glass-fill);
    backdrop-filter: blur(14px);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px var(--bg-cream), 0 0 24px rgba(238, 195, 91, 0.15);
    transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-step-icon {
    background: var(--primary-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 0 0 0 8px var(--bg-cream), 0 0 30px rgba(238, 195, 91, 0.5);
    transform: scale(1.1);
}

@media (max-width: 991.98px) {
    .timeline-horizontal {
        flex-direction: column;
        padding-top: 0;
    }

    .timeline-horizontal::before {
        top: 0;
        bottom: 0;
        left: 27px; /* 56px / 2 - 1px (for 2px wide line) */
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, transparent, var(--glass-border-hover), transparent);
    }

    .timeline-step {
        display: flex;
        text-align: left;
        margin-bottom: 2rem;
        align-items: flex-start;
        padding: 0;
    }

    .timeline-step-icon {
        margin: 0 1.5rem 0 0;
        flex-shrink: 0;
        width: 56px;
        height: 56px;
    }
}

/* ── FAQ ── */
.faq-section {
    background: var(--bg-dark);
}

.faq-accordion .accordion-item {
    background: var(--glass-fill);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--glass-border-hover) !important;
    box-shadow: var(--shadow-gold);
}

.faq-accordion .accordion-button {
    background: transparent !important;
    color: var(--text-heading) !important;
    font-family: var(--font-body);
    font-weight: 600;
    box-shadow: none !important;
    border-radius: 12px !important;
    font-size: 0.95rem;
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-primary) !important;
    background: rgba(238, 195, 91, 0.06) !important;
}

.faq-accordion .accordion-button::after {
    filter: invert(1) grayscale(1) brightness(2.2);
}

.faq-accordion .accordion-body {
    background: rgba(238, 195, 91, 0.03);
    color: var(--text-muted-warm);
    font-size: 0.9rem;
    line-height: 1.75;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ── Contact ── */
.contact-section {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 195, 91, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.premium-form-card {
    background: var(--glass-fill);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    padding: 3rem;
    box-shadow: var(--shadow-strong), var(--glass-highlight);
    position: relative;
    z-index: 1;
}

.premium-input {
    border: none !important;
    border-bottom: 2px solid var(--border-light) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--text-heading);
    font-family: var(--font-body);
    padding: 1rem 0 !important;
    transition: all 0.3s ease;
}

select.premium-input {
    padding: 1.625rem 0 0.625rem !important;
}

.premium-input:focus {
    box-shadow: none !important;
    border-bottom-color: var(--accent-primary) !important;
}

.form-floating>label {
    padding-left: 0;
    color: var(--text-muted-warm);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    color: var(--accent-primary);
    transform: scale(.85) translateY(-.5rem) translateX(0);
}

.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
    background-color: transparent !important;
}

/* ── Enquiry Modal ── */
.modal-backdrop.show {
    opacity: 0.75 !important;
    backdrop-filter: blur(4px);
}

.modal-backdrop {
    background-color: #030201;
}

.modal-content {
    border-radius: var(--radius-card) !important;
    overflow: hidden;
    color: var(--text-body);
}

.modal-content:not(.bg-transparent) {
    background-color: rgba(19, 15, 10, 0.75);
    backdrop-filter: blur(26px) saturate(160%);
    -webkit-backdrop-filter: blur(26px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-strong);
}

.modal-left-img {
    background: url('../assets/images/modal-consult.webp') center/cover;
    min-height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.modal-left-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 65%, rgba(0, 0, 0, 0.05) 100%);
}

.modal-left-img-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.modal-left-img-content .hero-badge {
    margin-bottom: 1rem;
}

.modal-form-panel {
    background: transparent;
}

.input-icon-group {
    position: relative;
}

.enquiry-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.input-icon-group .enquiry-form-input {
    padding-left: 2.75rem;
}

/* ── Lightbox / Video Popups (glass) ── */
.lightbox-frame {
    display: inline-block;
    max-width: 100%;
    background: rgba(19, 15, 10, 0.55);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.75rem;
    box-shadow: var(--shadow-strong), var(--glass-highlight);
}

.lightbox-frame img {
    display: block;
    border-radius: 12px;
}

.lightbox-frame.video-frame {
    width: 100%;
    max-width: 960px;
}

.lightbox-frame.video-frame .ratio {
    border-radius: 12px;
}

.modal-nav-btn {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 6, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid var(--glass-border);
    color: var(--text-heading);
    transition: var(--transition-smooth);
}

.modal-nav-btn:hover {
    background: var(--primary-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 0 0 24px rgba(238, 195, 91, 0.5);
    transform: translateY(-50%) scale(1.08);
}

.modal-glass-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(10, 8, 6, 0.4) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23f7f1e4' stroke-width='1.8' stroke-linecap='round' d='M2 2l12 12M14 2L2 14'/%3E%3C/svg%3E") !important;
    background-size: 1em auto;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid var(--glass-border);
    opacity: 1 !important;
    transition: var(--transition-smooth);
}

.modal-glass-close:hover {
    background-color: rgba(238, 195, 91, 0.9) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0c09' stroke-width='1.8' stroke-linecap='round' d='M2 2l12 12M14 2L2 14'/%3E%3C/svg%3E") !important;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(238, 195, 91, 0.5);
}

.enquiry-form-input {
    border: 1.5px solid var(--glass-border) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-heading);
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.enquiry-form-input::placeholder {
    color: var(--text-muted-warm);
    opacity: 0.8;
}

.enquiry-form-input:focus {
    background: rgba(238, 195, 91, 0.06) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(238, 195, 91, 0.12) !important;
}

select.premium-input,
select.enquiry-form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23EEC35B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}

select.premium-input option,
select.enquiry-form-input option {
    background: var(--bg-card);
    color: var(--text-heading);
}

/* ── Footer ── */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(238, 195, 91, 0.05) 0%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 1.2rem;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-fill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-heading);
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px) scale(1.06);
}

.footer-social a.social-facebook {
    background: #1877f2;
    color: #fff;
    border-color: transparent;
}

.footer-social a.social-facebook:hover {
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.45);
}

.footer-social a.social-instagram {
    background: radial-gradient(circle at 30% 110%, #ffd600 0%, #ff7a00 25%, #ff0069 55%, #d300c5 75%, #7638fa 100%);
    color: #fff;
    border-color: transparent;
}

.footer-social a.social-instagram:hover {
    box-shadow: 0 8px 22px rgba(214, 34, 130, 0.45);
}

.footer-social a.social-linkedin {
    background: #0a66c2;
    color: #fff;
    border-color: transparent;
}

.footer-social a.social-linkedin:hover {
    box-shadow: 0 8px 22px rgba(10, 102, 194, 0.45);
}

.footer-social a.social-youtube {
    background: #ff0000;
    color: #fff;
    border-color: transparent;
}

.footer-social a.social-youtube:hover {
    box-shadow: 0 8px 22px rgba(255, 0, 0, 0.4);
}

.contact-map-card {
    background: var(--glass-fill);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-strong), var(--glass-highlight);
    transition: var(--transition-smooth);
}

/* ── Map Container ── */
.map-container-rounded {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    padding: 0.5rem;
}

.map-container-rounded iframe {
    border-radius: 12px;
    display: block;
    filter: grayscale(10%) contrast(1.05);
    transition: filter 0.4s ease;
}

.map-container-rounded:hover iframe {
    filter: grayscale(0%);
}

/* ── Google Rating Pill ── */
.google-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--glass-fill);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.google-rating-pill:hover {
    background: rgba(238, 195, 91, 0.08);
    border-color: rgba(238, 195, 91, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(238, 195, 91, 0.15);
}

.google-rating-pill .g-logo {
    width: 24px;
    height: 24px;
}

.google-rating-pill .divider-vertical {
    width: 1px;
    height: 24px;
    background: var(--glass-border);
}

.google-rating-pill .rating-number {
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
    line-height: 1;
}

.google-rating-pill .stars-luxury i {
    color: var(--accent-primary);
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(238, 195, 91, 0.4));
}

.google-rating-pill .rating-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted-warm);
    margin-left: 0.25rem;
}

.contact-map-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-gold), var(--glass-highlight);
}

.contact-map-embed {
    line-height: 0;
}

.contact-map-embed iframe {
    display: block;
    filter: grayscale(25%) brightness(0.92) contrast(1.05);
    transition: filter 0.4s ease;
}

.contact-map-card:hover .contact-map-embed iframe {
    filter: grayscale(0%) brightness(1);
}

.contact-map-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    text-decoration: none;
    color: var(--text-heading);
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-map-cta-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: var(--primary-gradient);
    color: var(--primary-dark);
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.contact-map-cta:hover .contact-map-cta-btn {
    box-shadow: 0 8px 22px rgba(238, 195, 91, 0.4);
    transform: translateY(-2px);
}

/* ── Floating Buttons ── */
.floating-btn-group {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.float-action-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    font-size: 1.35rem;
    color: var(--primary-dark) !important;
    border: none;
}

.float-action-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.float-call {
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px rgba(238, 195, 91, 0.35);
}

.float-whatsapp {
    background: #25D366;
    color: #fff !important;
}

/* ── Toast ── */
#toastContainer {
    position: fixed;
    top: 80px;
    right: 1.25rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.notification-toast {
    background: rgba(19, 15, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 380px;
    border-left: 4px solid;
    animation: slideInRight 0.3s ease-out;
}

.notification-toast.success {
    border-left-color: #22c55e;
}

.notification-toast.error {
    border-left-color: #ef4444;
}

.notification-toast.success .toast-icon {
    color: #22c55e;
    font-size: 1.25rem;
}

.notification-toast.error .toast-icon {
    color: #ef4444;
    font-size: 1.25rem;
}

.toast-msg {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted-warm);
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .navbar.fixed-top {
        padding: 0.75rem 0 !important;
        background-color: rgba(9, 7, 5, 0.98);
        border-bottom: 1px solid rgba(238, 195, 91, 0.2);
    }

    /* Solid dark panel so page content below is fully hidden */
    .navbar-collapse {
        background-color: rgba(9, 7, 5, 0.99);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(238, 195, 91, 0.15);
        padding: 0.75rem 1rem 1.25rem;
        margin-top: 0.5rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    }

    .navbar-nav .nav-link {
        align-items: flex-start;
        flex-direction: row;
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* Book a consultation button full-width on mobile */
    .navbar-collapse .btn-accent {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Brand: tighter on small screens */
    .navbar-brand img {
        height: 36px !important;
    }

    .navbar-brand .font-heading {
        font-size: 0.95rem !important;
    }

    .hero-layered {
        min-height: auto;
        align-items: flex-end;
        padding: 7rem 1.25rem 3rem;
    }

    .hero-layered-card {
        margin: 0;
        max-width: 100%;
        padding: 2.25rem 1.75rem;
        border-radius: 20px;
    }

    .hero-stats-strip {
        flex-wrap: wrap;
        row-gap: 1rem;
    }

    .section-padding {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    h1.display-3 {
        font-size: 2.8rem !important;
    }

    h2.display-5 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-layered {
        padding: 6rem 1rem 2.5rem;
    }

    .hero-layered-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .hero-stat-num {
        font-size: 1.5rem;
    }

    .hero-stat-divider {
        height: 30px;
    }

    .premium-form-card {
        padding: 2rem;
    }

    .section-padding {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .hero-badge {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
        padding: 0.4rem 1rem;
        text-align: left;
    }

    h1.display-3 {
        font-size: 2.4rem !important;
    }

    h2.display-5 {
        font-size: 1.9rem !important;
    }

    /* ── Extra small phones (< 480px) ── */
    @media (max-width: 479.98px) {

        /* Hide brand text, keep only logo icon */
        .navbar-brand .font-heading {
            display: none !important;
        }

        .navbar-brand img {
            height: 32px !important;
        }

        h1.display-3 {
            font-size: 2rem !important;
        }

        h2.display-5 {
            font-size: 1.6rem !important;
        }

        .hero-layered {
            padding: 5.5rem 0.75rem 2rem;
        }

        .hero-layered-card {
            padding: 1.5rem 1rem;
        }

        .section-padding {
            padding-top: 40px;
            padding-bottom: 40px;
        }

        /* Prevent wide cards from causing scroll */
        .project-card,
        .service-card,
        .testimonial-card {
            width: 100% !important;
            max-width: 100% !important;
        }

        .btn-accent,
        .btn-outline-espresso {
            font-size: 0.78rem;
            padding: 0.55rem 1.1rem;
        }
    }