@layer reset, base, theme, components, utilities;

@layer reset {
    /* Modern CSS Reset */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

    body {
        min-block-size: 100vh;
        text-rendering: optimizeSpeed;
        line-height: 1.6;
        font-family: 'Montserrat', sans-serif;
        overflow-x: hidden;
    }

    img, picture, video, canvas, svg {
        display: block;
        max-inline-size: 100%;
        height: auto;
    }

    input, button, textarea, select {
        font: inherit;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    ul, ol {
        list-style: none;
    }
}

@layer base {
    :root {
        /* Design Tokens - Obsidian & Platinum (Luxury Black & Grey) Theme */
        --color-bg-dark: #07080a; /* Obsidian black */
        --color-bg-panel: #121418; /* Deep graphite grey */
        --color-bg-alt: rgba(24, 26, 32, 0.7); /* Translucent dark slate grey */
        
        --color-text-primary: #ffffff; /* White */
        --color-text-secondary: #d1d5db; /* Platinum/Silver */
        --color-text-muted: #8a8f98; /* Slate grey */
        
        /* Accents - Silver & Polished Chrome */
        --color-steel-light: #f5f5f7; /* Platinum */
        --color-steel-medium: #8e8e93; /* Chrome */
        --color-steel-dark: #2c2c2e; /* Dark iron */
        --color-gold-bright: #ffffff; /* Pure silver accent */
        --color-gold-glow: rgba(255, 255, 255, 0.05);
        --color-gold-dark: #a1a1a6;
        
        --color-success: #34c759;
        --color-success-bg: rgba(52, 199, 89, 0.1);
        --color-error: #ff3b30;
        --color-error-bg: rgba(255, 59, 48, 0.1);
        
        /* Translucent Dark Glassmorphism */
        --glass-bg: rgba(18, 20, 24, 0.85);
        --glass-border: rgba(255, 255, 255, 0.05);
        --glass-border-focus: rgba(255, 255, 255, 0.3);
        --glass-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.6);
        --glass-blur: 15px;

        /* Transitions */
        --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        --transition-elastic: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.15);
        
        /* Polished Silver/Chrome Shimmer Gradient */
        --rainbow: linear-gradient(135deg, #1c1c1e, #555, #d1d5db, #ffffff, #d1d5db, #555, #1c1c1e);
        --rainbow-text: linear-gradient(90deg, #8a8f98, #d1d5db, #ffffff, #d1d5db, #8a8f98);
    }

    /* Selection Highlighting */
    ::selection {
        background-color: rgba(255, 255, 255, 0.15);
        color: var(--color-text-primary);
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: var(--color-bg-dark);
    }
    ::-webkit-scrollbar-thumb {
        background: #3a3f47;
        border: 2px solid var(--color-bg-dark);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-text-muted);
    }

    body.dark-theme {
        background-color: var(--color-bg-dark);
        color: var(--color-text-primary);
    }

    /* Typography Defaults */
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Cormorant Garamond', serif;
        font-weight: 500;
        letter-spacing: 0.02em;
        line-height: 1.25;
        color: var(--color-text-primary);
    }

    p {
        color: var(--color-text-secondary);
        font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.1rem);
        text-wrap: pretty;
    }

    /* Accessibility Focus rings */
    :focus-visible {
        outline: 2px solid var(--color-steel-medium);
        outline-offset: 4px;
    }

    .skip-link {
        position: absolute;
        top: -100px;
        left: 0;
        background: var(--color-steel-light);
        color: var(--color-bg-dark);
        padding: 10px 20px;
        font-weight: bold;
        z-index: 9999;
        transition: top 0.2s;
    }
    .skip-link:focus {
        top: 0;
    }
}

@layer theme {
    .container {
        width: 100%;
        max-width: 1200px;
        margin-inline: auto;
        padding-inline: clamp(1rem, 2vw, 2.5rem);
        position: relative;
        z-index: 2;
    }

    .section-padding {
        padding-block: clamp(4.5rem, 7vw, 9rem);
    }

    .section-alt-bg {
        background-color: var(--color-bg-alt);
    }

    .section-title {
        font-size: clamp(2rem, 1.6rem + 1.8vw, 3.2rem);
        text-align: center;
        margin-bottom: 0.5rem;
        position: relative;
        text-transform: capitalize;
    }

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 2px;
        background: var(--rainbow-text);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        margin: 0.8rem auto 0;
    }

    .section-title.text-left::after {
        margin-inline-start: 0;
    }

    .section-subtitle {
        text-align: center;
        color: var(--color-text-muted);
        max-width: 600px;
        margin: 0 auto clamp(2rem, 4vw, 4.5rem);
        font-family: 'Cormorant Garamond', serif;
        font-style: italic;
        font-size: 1.25rem;
    }

    .highlight-text {
        font-weight: 600;
        background: var(--rainbow-text);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shiftRainbow 8s linear infinite;
    }

    .badge {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        border-radius: 30px;
        letter-spacing: 0.08em;
    }
    .badge-success {
        background-color: var(--color-success-bg);
        color: var(--color-success);
        border: 1px solid rgba(52, 199, 89, 0.15);
    }
    .badge-error {
        background-color: var(--color-error-bg);
        color: var(--color-error);
        border: 1px solid rgba(255, 59, 48, 0.15);
    }
}

@layer components {
    /* Polished Chrome Metallic Shimmer Animation */
    @keyframes shiftRainbow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Glassmorphic Panel Styles */
    .card.glassmorphism-card {
        background: var(--glass-bg);
        backdrop-filter: blur(var(--glass-blur));
        border: 1px solid var(--glass-border);
        border-radius: 10px;
        box-shadow: var(--glass-shadow);
        padding: clamp(1.8rem, 3vw, 2.8rem);
        transition: var(--transition-smooth);
    }

    .card.glassmorphism-card:hover {
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.04);
    }

    /* Buttons */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.85rem 2rem;
        border-radius: 30px;
        font-weight: 500;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        cursor: pointer;
        transition: var(--transition-smooth);
        border: 2px solid transparent;
        font-size: 0.85rem;
    }

    .btn-primary {
        background: var(--rainbow);
        background-size: 200% auto;
        color: #000000;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        border: none;
        animation: shiftRainbow 8s linear infinite;
        font-weight: 600;
    }
    .btn-primary:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
        filter: brightness(1.1);
    }

    .btn-secondary {
        background-color: transparent;
        border-color: #3a3f47;
        color: var(--color-text-primary);
    }
    .btn-secondary:hover {
        border-color: #ffffff;
        background-color: rgba(255, 255, 255, 0.03);
        color: #ffffff;
    }

    .btn-success {
        background: linear-gradient(135deg, #2e8b57, #1e5c39);
        color: white;
        box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    }
    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(46, 139, 87, 0.45);
    }

    .btn-block {
        display: flex;
        width: 100%;
    }

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

    /* Main Navigation Header */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(7, 8, 10, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--glass-border);
        transition: var(--transition-smooth);
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0.8rem 1.5rem;
    }

    .logo-container {
        display: flex;
        align-items: center;
        height: 42px;
    }

    .logo-img {
        height: 100%;
        width: auto;
        object-fit: contain;
        filter: brightness(0.95) contrast(1.05);
        transition: var(--transition-smooth);
    }

    .logo-container:hover .logo-img {
        filter: brightness(1.1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    }

    .logo-img-footer {
        height: 50px;
        filter: brightness(0.95) contrast(1.05);
    }

    .primary-navigation {
        display: flex;
    }

    .nav-list {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .nav-link {
        font-size: 0.85rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-text-secondary);
        padding: 0.5rem 0;
        position: relative;
        transition: var(--transition-smooth);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--rainbow-text);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        transition: var(--transition-smooth);
    }

    .nav-link:hover, .nav-link.active {
        color: var(--color-text-primary);
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }

    .contact-btn-nav {
        border: 1px solid #3a3f47;
        padding: 0.4rem 1.2rem;
        border-radius: 30px;
        color: var(--color-text-primary);
    }
    .contact-btn-nav::after {
        display: none;
    }
    .contact-btn-nav:hover {
        background: var(--rainbow);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        color: #000000;
        border-color: transparent;
    }

    /* Mobile Hamburger Controls */
    .mobile-nav-toggle {
        display: none;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--color-text-primary);
        position: relative;
        transition: var(--transition-smooth);
    }

    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--color-text-primary);
        left: 0;
        transition: var(--transition-smooth);
    }
    .hamburger::before { top: -6px; }
    .hamburger::after { top: 6px; }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Hero Section */
    .hero-section {
        position: relative;
        min-block-size: 100vh;
        display: flex;
        align-items: flex-start; /* Anchor content to the top fold below header */
        justify-content: center;
        padding-top: clamp(6.2rem, 9.5vh, 8.2rem); /* Clears 80px header (5rem) + even top gap below header */
        background-color: #0a0b0d;
        background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, var(--color-bg-dark) 100%);
        overflow: hidden;
    }

    .hero-bg-overlay {
        position: absolute;
        inset: 0;
        /* Metallic chrome/silver shifting overlays */
        background: 
            radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 45%),
            radial-gradient(ellipse at 85% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 45%),
            radial-gradient(circle at 50% 50%, transparent 0%, rgba(7, 8, 10, 0.8) 100%);
        opacity: 0.95;
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        max-width: 850px;
        margin-top: 0; /* Reset negative margin since we are aligned to flex-start */
    }

    .tagline-badge {
        display: inline-block;
        padding: 0.4rem 1.4rem;
        background-color: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 30px;
        color: var(--color-text-secondary);
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.4rem, 1.8rem + 3.8vw, 4.8rem);
        font-weight: 500;
        color: var(--color-text-primary);
        margin-bottom: 1.5rem;
        font-family: 'Cormorant Garamond', serif;
        line-height: 1.15;
    }

    .hero-pre-title {
        display: block;
        font-size: clamp(0.72rem, 0.65rem + 0.25vw, 0.9rem);
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: var(--color-steel-light);
        margin-bottom: 1rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        line-height: 1.4;
    }
    
    .hero-main-title {
        display: block;
    }

    .hero-subtitle {
        color: var(--color-text-secondary);
        font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
        line-height: 1.7;
        margin-bottom: 2.8rem;
        max-width: 700px;
        margin-inline: auto;
    }
    .hero-subtitle p {
        margin-bottom: 1.2rem;
    }
    .hero-subtitle p:last-child {
        margin-bottom: 0;
    }

    .hero-actions {
        display: flex;
        gap: 1.2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-scroll-indicator {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .mouse-icon {
        width: 24px;
        height: 38px;
        border: 2px solid #3a3f47;
        border-radius: 12px;
        position: relative;
    }

    .mouse-icon::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 8px;
        transform: translateX(-50%);
        width: 4px;
        height: 8px;
        background-color: var(--color-text-primary);
        border-radius: 2px;
        animation: scrollWheel 2.5s infinite;
    }

    @keyframes scrollWheel {
        0% { opacity: 1; transform: translate(-50%, 0); }
        100% { opacity: 0; transform: translate(-50%, 12px); }
    }

    /* Intro / Stats Section */
    .intro-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: clamp(2rem, 4vw, 4rem);
        align-items: center;
    }

    .intro-stats-column {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        background: var(--color-bg-panel);
        border: 1px solid var(--glass-border);
        border-radius: 10px;
        padding: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-shadow: var(--glass-shadow);
        transition: var(--transition-smooth);
        position: relative;
        overflow: hidden;
    }
    
    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--rainbow-text);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
    }

    .stat-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    }

    .stat-number {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.8rem;
        font-weight: 600;
        color: var(--color-text-primary);
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
        text-transform: uppercase;
        color: var(--color-text-muted);
        letter-spacing: 0.1em;
        font-weight: 600;
    }

    .rich-text p {
        margin-bottom: 1.2rem;
        line-height: 1.7;
    }
    .rich-text p:last-child {
        margin-bottom: 0;
    }

    /* Why Choose Us & Comparison Section */
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 4vw, 4rem);
        align-items: flex-start;
    }

    .about-text p {
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .comparison-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .comparison-title {
        font-size: 1.2rem;
        text-align: center;
        color: var(--color-text-primary);
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 0.8rem;
    }

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

    .comparison-item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .stone-slice-wrapper {
        position: relative;
        height: 180px;
        background-color: #17191e; /* Dark granite backing */
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid #282b34;
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    }

    .comparison-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .stone-slice {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: linear-gradient(180deg, #2b2f3a 0%, #15181e 100%);
        border-top: 3px solid #3e4452;
        position: relative;
        /* Granite veins */
        background-image: 
            radial-gradient(circle at 10% 40%, rgba(255,255,255,0.01) 0%, transparent 15%),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.01) 0%, transparent 15%);
    }

    .engraving-groove {
        position: absolute;
        top: -3px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--color-bg-dark);
        clip-path: polygon(0 0, 50% 100%, 100% 0);
    }

    .shallow-groove {
        width: 24px;
        height: 6px;
        background-color: #2c2f35;
    }

    .deep-groove {
        width: 32px;
        height: 24px;
        background-color: #0c0d10;
        box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    }

    .lithichrome-fill {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 75%;
        /* Polished silver metallic filling */
        background: var(--rainbow);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        border-top: 1px solid rgba(255,255,255,0.4);
    }

    .rain-overlay {
        position: absolute;
        top: 10px;
        left: 0;
        width: 100%;
        height: 35%;
        background-image: linear-gradient(110deg, transparent 40%, rgba(255,255,255,0.08) 42%, transparent 45%);
        background-size: 30px 40px;
        animation: rainEffect 2s infinite linear;
    }

    @keyframes rainEffect {
        0% { background-position: 0 0; }
        100% { background-position: 30px 80px; }
    }

    .sun-overlay {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.05);
        box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.15);
    }

    .comparison-meta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        flex: 1;
    }

    .comparison-meta .badge {
        margin-top: auto;
        align-self: flex-start;
    }

    .comparison-meta-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--color-text-primary);
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.15rem;
    }

    .comparison-meta p {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    /* Services Grid */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
    }

    .service-card {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        border-top: 3px solid #3a3f47;
        height: 100%;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-icon-wrapper {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-bg-alt);
        border: 1px solid var(--glass-border);
        border-radius: 50%;
        color: var(--color-text-primary);
        transition: var(--transition-smooth);
    }

    .service-card:hover .service-icon-wrapper {
        background: var(--rainbow);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        color: #000000;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    .service-card-title {
        font-size: 1.35rem;
        color: var(--color-text-primary);
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Products Grid */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    .product-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .product-card:hover {
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.04);
    }

    .product-card-header {
        margin-bottom: 1rem;
    }

    .product-title {
        font-size: 1.4rem;
        color: var(--color-text-primary);
        margin-bottom: 0.5rem;
    }

    .product-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .product-footer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
        border-top: 1px solid var(--glass-border);
        padding-top: 1.2rem;
        margin-top: auto;
    }

    .product-materials {
        font-size: 0.75rem;
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 500;
    }

    /* Gallery Grid & Filters */
    .gallery-filters {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
        margin-bottom: 3rem;
    }

    .filter-btn {
        background-color: var(--color-bg-alt);
        border: 1px solid var(--glass-border);
        color: var(--color-text-secondary);
        padding: 0.5rem 1.4rem;
        border-radius: 30px;
        font-size: 0.8rem;
        font-weight: 500;
        text-transform: uppercase;
        cursor: pointer;
        transition: var(--transition-smooth);
    }

    .filter-btn:hover, .filter-btn.active {
        background: var(--rainbow);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        color: #000000;
        border-color: transparent;
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item {
        position: relative;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-shadow);
        cursor: pointer;
        transition: var(--transition-smooth);
    }

    .gallery-item:hover {
        transform: scale(1.02);
        border-color: transparent;
        background-image: linear-gradient(var(--color-bg-dark), var(--color-bg-dark)), var(--rainbow);
        background-origin: border-box;
        background-clip: content-box, border-box;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.05);
    }

    .gallery-placeholder {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #181a20 0%, #121418 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--color-text-muted);
        padding: 1.5rem;
        text-align: center;
    }

    .gallery-placeholder-icon {
        width: 44px;
        height: 44px;
        color: var(--color-text-muted);
        margin-bottom: 0.8rem;
        opacity: 0.3;
    }

    .gallery-placeholder-text {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--color-text-primary);
        margin-bottom: 4px;
    }

    .gallery-placeholder-size {
        font-size: 0.7rem;
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(7, 8, 10, 0.98) 0%, rgba(7, 8, 10, 0.6) 60%, transparent 100%);
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        z-index: 2;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .gallery-item-title {
        font-size: 1.2rem;
        color: var(--color-text-primary);
        margin-bottom: 0.3rem;
        transform: translateY(10px);
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .gallery-item:hover .gallery-item-title {
        transform: translateY(0);
    }

    .gallery-item-category {
        font-size: 0.75rem;
        background: var(--rainbow-text);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shiftRainbow 8s linear infinite;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.05em;
        margin-bottom: 0.4rem;
    }

    .gallery-item-desc {
        font-size: 0.8rem;
        color: var(--color-text-secondary);
        line-height: 1.4;
    }

    /* Interactive Photo Scaling Guide */
    .guide-wrapper-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 4vw, 4rem);
        align-items: center;
    }

    .guide-text .section-meta-tag {
        color: var(--color-text-muted);
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        margin-bottom: 0.5rem;
        display: inline-block;
    }

    .guide-text p {
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    .guide-text ol {
        margin-bottom: 1.5rem;
        padding-left: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    .guide-text ol li {
        color: var(--color-text-secondary);
        line-height: 1.5;
        font-size: 0.95rem;
    }

    .card-header-tabs {
        display: flex;
        border-bottom: 1px solid var(--glass-border);
        margin-bottom: 1.5rem;
    }

    .tab-toggle {
        flex: 1;
        background: transparent;
        border: none;
        padding: 0.8rem;
        color: var(--color-text-muted);
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: var(--transition-smooth);
        border-bottom: 2px solid transparent;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .tab-toggle.active {
        color: var(--color-text-primary);
        font-weight: 600;
        border-bottom-color: #ffffff;
    }

    .tab-icon {
        width: 14px;
        height: 14px;
    }
    .success-icon { color: var(--color-success); }
    .error-icon { color: var(--color-error); }

    .tab-content-container {
        position: relative;
    }

    .tab-panel {
        display: none;
        animation: fadeIn 0.4s ease;
    }

    .tab-panel.active {
        display: block;
    }

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

    .mock-photo-frame {
        position: relative;
        height: 240px;
        background-color: #121418;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid #24272f;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
    }

    .mock-stone-graphic {
        width: 130px;
        height: 110px;
        background: radial-gradient(circle, #484e5a 0%, #21242c 100%);
        border-radius: 60px 50px 70px 45px;
        position: relative;
        box-shadow: 0 8px 20px rgba(0,0,0,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
    }

    .mock-business-card {
        width: 40px;
        height: 23px;
        background-color: white;
        border: 1px solid #d5d1c9;
        border-radius: 1px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    .card-label {
        font-size: 5px;
        color: #333;
        font-weight: 600;
    }

    .aiming-crosshair {
        position: absolute;
        width: 90px;
        height: 90px;
        border: 1px dashed rgba(52, 199, 89, 0.4);
        border-radius: 50%;
        pointer-events: none;
    }
    .aiming-crosshair::before, .aiming-crosshair::after {
        content: '';
        position: absolute;
        background-color: rgba(52, 199, 89, 0.4);
    }
    .aiming-crosshair::before {
        top: 50%;
        left: -10px;
        right: -10px;
        height: 1px;
        transform: translateY(-50%);
    }
    .aiming-crosshair::after {
        left: 50%;
        top: -10px;
        bottom: -10px;
        width: 1px;
        transform: translateX(-50%);
    }

    .mock-camera-overlay {
        position: absolute;
        inset: 0;
        border: 4px solid transparent;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px;
        pointer-events: none;
    }

    .correct-frame {
        border-color: rgba(52, 199, 89, 0.2);
    }
    .correct-frame .mock-camera-overlay {
        border-color: rgba(52, 199, 89, 0.15);
    }

    .incorrect-frame {
        border-color: rgba(255, 59, 48, 0.2);
    }
    .incorrect-frame .mock-camera-overlay {
        border-color: rgba(255, 59, 48, 0.15);
    }

    .angled-stone {
        transform: perspective(300px) rotateY(-35deg) rotateX(15deg);
        filter: blur(1px);
    }

    .skewed-card {
        transform: rotate(-10deg);
        background-color: #fafafa;
    }
    .blurred-card {
        filter: blur(1px);
    }

    .camera-status {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(7, 8, 10, 0.9);
        padding: 4px 10px;
        border-radius: 30px;
        font-size: 0.7rem;
        color: var(--color-text-secondary);
        font-weight: 500;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }
    
    .correct-frame .camera-status {
        color: #90ee90;
    }

    .camera-status.error-text {
        color: #ffcccb;
    }

    .guide-checklist {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .guide-checklist li {
        font-size: 0.9rem;
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        color: var(--color-text-secondary);
    }

    .check-icon, .x-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .check-icon { color: var(--color-success); fill: none; stroke: currentColor; stroke-width: 3; }
    .x-icon { color: var(--color-error); fill: none; stroke: currentColor; stroke-width: 3; }

    /* Pricing Estimator */
    .estimator-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
        align-items: stretch;
    }

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

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .form-group label {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--color-text-muted);
        letter-spacing: 0.05em;
    }

    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        background-color: #181a20;
        border: 1px solid #3a3f47;
        border-radius: 6px;
        padding: 0.75rem 1rem;
        color: var(--color-text-primary);
        transition: var(--transition-smooth);
        width: 100%;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #ffffff;
        background-color: #121418;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
        outline: none;
    }

    .input-tip {
        font-size: 0.75rem;
        color: var(--color-text-muted);
    }

    .checkbox-group {
        margin-block-start: 0.5rem;
    }

    .checkbox-container {
        display: flex;
        align-items: center;
        position: relative;
        padding-left: 30px;
        cursor: pointer;
        font-size: 0.85rem;
        color: var(--color-text-secondary);
        user-select: none;
        line-height: 1.4;
    }

    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .checkmark {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 18px;
        width: 18px;
        background-color: #181a20;
        border: 1px solid #3a3f47;
        border-radius: 4px;
        transition: var(--transition-smooth);
    }

    .checkbox-container:hover input ~ .checkmark {
        border-color: var(--color-text-muted);
    }

    .checkbox-container input:checked ~ .checkmark {
        background: var(--rainbow);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        border-color: transparent;
    }

    .checkmark::after {
        content: "";
        position: absolute;
        display: none;
    }

    .checkbox-container input:checked ~ .checkmark::after {
        display: block;
    }

    .checkbox-container .checkmark::after {
        left: 6px;
        top: 2px;
        width: 4px;
        height: 9px;
        border: solid black;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    /* Calculator Results Card */
    .calculator-result-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 380px;
        height: 100%;
        position: relative;
    }

    .result-placeholder {
        text-align: center;
        color: var(--color-text-secondary);
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
    }

    .calc-icon {
        width: 54px;
        height: 54px;
        color: var(--color-text-muted);
        opacity: 0.3;
    }

    .result-details {
        display: flex;
        flex-direction: column;
        height: 100%;
        animation: fadeIn 0.4s ease;
    }

    .result-title {
        font-size: 1.25rem;
        color: var(--color-text-primary);
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 0.5rem;
    }

    .price-big-display {
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin-bottom: 2rem;
        color: var(--color-text-primary);
    }

    .price-currency {
        font-size: 1.8rem;
        font-weight: 500;
        margin-right: 2px;
        font-family: 'Cormorant Garamond', serif;
    }

    .price-val {
        font-size: 4rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: -0.01em;
        font-family: 'Cormorant Garamond', serif;
        background: var(--rainbow-text);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shiftRainbow 8s linear infinite;
    }

    .price-disclaimer {
        font-size: 0.8rem;
        color: var(--color-text-muted);
        margin-left: 6px;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.05em;
    }

    .estimate-breakdown-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 2rem;
    }

    .estimate-breakdown-table td {
        padding: 0.6rem 0;
        font-size: 0.9rem;
        color: var(--color-text-secondary);
    }

    .estimate-breakdown-table tr:not(:last-child) {
        border-bottom: 1px dashed var(--glass-border);
    }

    .estimate-breakdown-table td:last-child {
        text-align: right;
        font-weight: 600;
        color: var(--color-text-primary);
    }

    .estimate-breakdown-table .total-row {
        border-top: 2px solid #3a3f47;
        border-bottom: none !important;
    }

    .estimate-breakdown-table .total-row td {
        font-weight: 600;
        font-size: 1.05rem;
        color: var(--color-text-primary);
        padding-top: 1rem;
    }

    .estimate-breakdown-table .total-row td:last-child {
        color: var(--color-text-primary);
    }

    .result-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        margin-top: auto;
    }

    .estimate-note {
        font-size: 0.75rem;
        color: var(--color-text-muted);
        line-height: 1.4;
        text-align: center;
        font-style: italic;
    }

    /* Testimonials Slider */
    .testimonials-slider-container {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        padding-block: 1rem;
    }

    .testimonials-track {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .testimonial-slide {
        min-width: 100%;
        padding-inline: 1rem;
        box-sizing: border-box;
    }

    .testimonial-card {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 10px;
        padding: clamp(2rem, 4vw, 3rem);
        box-shadow: var(--glass-shadow);
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .testimonial-quote-icon {
        position: absolute;
        top: 10px;
        right: 30px;
        font-size: 7rem;
        font-family: 'Cormorant Garamond', serif;
        color: rgba(255, 255, 255, 0.03);
        line-height: 1;
        pointer-events: none;
    }

    .testimonial-text {
        font-size: clamp(1.1rem, 1rem + 0.3vw, 1.35rem);
        line-height: 1.6;
        color: var(--color-text-primary);
        font-style: italic;
        position: relative;
        z-index: 2;
        font-family: 'Cormorant Garamond', serif;
    }

    .testimonial-author-meta {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--glass-border);
        padding-top: 1rem;
    }

    .testimonial-author-name {
        font-size: 1.1rem;
        font-weight: 600;
        background: var(--rainbow-text);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shiftRainbow 8s linear infinite;
        font-family: 'Montserrat', sans-serif;
    }

    .testimonial-author-role {
        font-size: 0.75rem;
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-top: 2px;
        font-weight: 500;
    }

    .slider-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .slider-control-btn {
        background: transparent;
        border: 1px solid #3a3f47;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-secondary);
        cursor: pointer;
        transition: var(--transition-smooth);
    }

    .slider-control-btn:hover {
        border-color: #ffffff;
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.02);
    }

    .slider-control-btn svg {
        width: 16px;
        height: 16px;
    }

    .slider-dots {
        display: flex;
        gap: 0.5rem;
    }

    .slider-dot {
        width: 6px;
        height: 6px;
        background-color: #3a3f47;
        border-radius: 50%;
        cursor: pointer;
        transition: var(--transition-smooth);
        border: none;
    }

    .slider-dot.active {
        background: var(--rainbow);
        background-size: 200% auto;
        animation: shiftRainbow 8s linear infinite;
        transform: scale(1.4);
    }

    /* FAQ Accordion */
    .faq-accordion {
        max-width: 850px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .faq-item {
        background-color: var(--color-bg-panel);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        overflow: hidden;
        transition: var(--transition-smooth);
        box-shadow: var(--glass-shadow);
    }

    .faq-item:hover {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .faq-item.open {
        border-color: transparent;
        background-image: linear-gradient(var(--color-bg-panel), var(--color-bg-panel)), var(--rainbow);
        background-origin: border-box;
        background-clip: content-box, border-box;
    }

    .faq-question-btn {
        width: 100%;
        background: transparent;
        border: none;
        padding: 1.2rem 1.8rem;
        text-align: left;
        color: var(--color-text-primary);
        font-size: 1.25rem;
        font-family: 'Cormorant Garamond', serif;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
        transition: var(--transition-smooth);
    }

    .faq-item.open .faq-question-btn {
        color: #ffffff;
        border-bottom: 1px solid var(--glass-border);
    }

    .faq-toggle-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: var(--color-text-muted);
        transition: transform var(--transition-smooth);
    }

    .faq-item.open .faq-toggle-icon {
        transform: rotate(180deg);
        color: #ffffff;
    }

    .faq-answer-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
        opacity: 0;
        background-color: rgba(24, 26, 32, 0.3);
    }

    .faq-item.open .faq-answer-panel {
        max-height: 1000px;
        opacity: 1;
    }

    .faq-answer-content {
        padding: 1.5rem 1.8rem;
        color: var(--color-text-secondary);
        font-size: 0.95rem;
        line-height: 1.65;
    }
    .faq-answer-content p {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }
    .faq-answer-content p:last-child {
        margin-bottom: 0;
    }

    /* Contact Section */
    .contact-grid {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        gap: 2rem;
        align-items: start;
    }

    .info-card {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .info-title {
        font-size: 1.45rem;
        color: var(--color-text-primary);
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 0.5rem;
    }

    .contact-details-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-details-list li {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }

    .info-icon {
        width: 18px;
        height: 18px;
        color: var(--color-text-primary);
        flex-shrink: 0;
        margin-top: 3px;
    }

    .contact-details-list div {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 0.9rem;
    }

    .contact-details-list strong {
        color: var(--color-text-primary);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--color-text-muted);
    }

    .contact-details-list a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    .socials-title {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-text-muted);
        border-top: 1px solid var(--glass-border);
        padding-top: 1.5rem;
        margin-top: 0.5rem;
        font-weight: 600;
    }

    .socials-links-grid {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .social-link-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1.2rem;
        background-color: #121418;
        border: 1px solid var(--glass-border);
        border-radius: 30px;
        font-size: 0.8rem;
        transition: var(--transition-smooth);
    }

    .social-link-btn:hover {
        border-color: #ffffff;
        background-color: rgba(255, 255, 255, 0.03);
    }

    .social-name {
        font-weight: 500;
        color: var(--color-text-primary);
    }

    .social-handle {
        color: var(--color-text-secondary);
        font-family: monospace;
        font-size: 0.8rem;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .contact-form textarea {
        resize: vertical;
    }

    /* Footer Styles */
    .main-footer {
        background-color: var(--color-bg-alt);
        border-top: 1px solid var(--glass-border);
        padding-top: 4rem;
        color: var(--color-text-secondary);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-desc {
        font-size: 0.85rem;
        line-height: 1.6;
        color: var(--color-text-muted);
    }

    .footer-title {
        font-size: 0.8rem;
        text-transform: uppercase;
        color: var(--color-text-muted);
        margin-bottom: 1.2rem;
        letter-spacing: 0.08em;
        font-weight: 600;
    }

    .footer-links-list {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        font-size: 0.85rem;
    }

    .footer-links-list a:hover {
        color: #ffffff;
    }

    .footer-contact {
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        line-height: 1.6;
    }
    
    .footer-contact a:hover {
        color: #ffffff;
    }

    .footer-bottom {
        border-top: 1px solid var(--glass-border);
        padding-block: 1.5rem;
        font-size: 0.8rem;
        color: var(--color-text-muted);
    }

    .footer-bottom-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .built-by {
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 600;
    }
}

@layer utilities {
    @media (max-width: 992px) {
        .intro-grid {
            grid-template-columns: 1fr;
        }
        .intro-stats-column {
            grid-template-columns: repeat(3, 1fr);
        }
        .about-grid {
            grid-template-columns: 1fr;
        }
        .guide-wrapper-grid {
            grid-template-columns: 1fr;
        }
        .estimator-grid {
            grid-template-columns: 1fr;
        }
        .contact-grid {
            grid-template-columns: 1fr;
        }
        .footer-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .header-container {
            padding: 0.8rem 1rem;
        }
        
        .mobile-nav-toggle {
            display: block;
        }

        .primary-navigation {
            position: fixed;
            top: 58px;
            left: 0;
            width: 100%;
            max-height: 0;
            background: rgba(7, 8, 10, 0.98);
            border-bottom: 1px solid var(--glass-border);
            overflow: hidden;
            transition: max-height var(--transition-smooth);
            z-index: 999;
        }

        /* Size to the menu's actual content; scroll instead of clipping on short screens */
        .mobile-nav-toggle[aria-expanded="true"] ~ .primary-navigation {
            max-height: calc(100vh - 58px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .nav-list {
            flex-direction: column;
            padding: 2rem 1.5rem;
            align-items: stretch;
            gap: 1.2rem;
        }

        .nav-link {
            display: block;
            width: 100%;
            font-size: 0.95rem;
        }
        
        .contact-btn-nav {
            text-align: center;
            margin-top: 0.5rem;
        }

        .intro-stats-column {
            grid-template-columns: 1fr;
        }

        .comparison-split {
            grid-template-columns: 1fr;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .footer-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
    }

    /* Fallback Reveal States */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .reveal-active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Loading state */
    .loading-overlay {
        position: fixed;
        inset: 0;
        background-color: var(--color-bg-dark);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    
    .loading-overlay.fade-out {
        opacity: 0;
        visibility: hidden;
    }

    .spinner {
        width: 44px;
        height: 44px;
        border: 2px solid rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        border-top-color: var(--color-text-primary);
        animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Native scroll reveals */
    @media (prefers-reduced-motion: no-preference) {
        @supports ((animation-timeline: view()) and (animation-range: entry)) {
            @keyframes slideUpReveal {
                from {
                    opacity: 0;
                    transform: translateY(30px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .intro-grid,
            .about-grid,
            .services-grid > *,
            .products-grid > *,
            .gallery-grid > *,
            .pricing-grid > *,
            .guide-interactive-card,
            .pricing-form,
            .calculator-result-card,
            .testimonials-slider-container,
            .faq-accordion,
            .contact-grid > * {
                animation: slideUpReveal auto linear both;
                animation-timeline: view();
                animation-range: entry 10% cover 30%;
            }
        }
    }
}

/* Native Image Styling for Gallery Cards */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #0b0c10;
    transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

/* FAQ Media Responsive Gallery Grid */
.faq-media-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 1.2rem;
}
.faq-media-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 0.8rem;
}
.faq-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.faq-img-caption {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
}

/* Hero 3-Photo Showcase Layout */
.hero-showcase-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: clamp(1rem, 2vw, 2.5rem);
    z-index: 2;
    position: relative;
    margin-top: 1rem;
}

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

.hero-showcase-card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease, box-shadow 0.6s ease;
    background-color: var(--color-bg-panel);
}

.hero-showcase-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.05);
}

.hero-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showcase-card:hover .hero-showcase-img {
    transform: scale(1.08);
}

.hero-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 8, 10, 0.9) 0%, rgba(7, 8, 10, 0.25) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 1.5rem;
    transition: background 0.4s ease;
}

.hero-showcase-card:hover .hero-showcase-overlay {
    background: linear-gradient(to top, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.1) 60%, transparent 100%);
}

.hero-showcase-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
    font-weight: 500;
    color: var(--color-text-primary);
    text-align: center;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: color 0.4s ease, transform 0.4s ease;
}

.hero-showcase-card:hover .hero-showcase-title {
    color: var(--color-steel-light);
    transform: translateY(-2px);
}

/* Hero Central Images Row */
.hero-images-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1.2rem);
    margin-bottom: 1.8rem; /* Even spacing rhythm between images row and badge */
    flex-wrap: nowrap; /* Forces exactly one single row */
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.hero-row-img-card {
    position: relative;
    width: clamp(75px, 8.5vw, 110px); /* Smaller size to guarantee all 6 cards fit in one row */
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    background-color: var(--color-bg-panel);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0; /* Prevents cards from squishing below their clamp min-width */
}

/* Mobile swipe scroll support for the hero row */
@media (max-width: 768px) {
    .hero-images-row {
        justify-content: flex-start;
        overflow-x: auto;
        padding-inline: 1rem;
        padding-bottom: 0.8rem;
        margin-bottom: 1.5rem;
        scrollbar-width: none; /* Hide scrollbar on Firefox */
        -webkit-overflow-scrolling: touch; /* Smooth iOS scroll inertia */
    }
    .hero-images-row::-webkit-scrollbar {
        display: none; /* Hide scrollbar on Chrome/Safari */
    }
}

.hero-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    image-rendering: auto; /* Smooth high-quality downscaling for photos */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.hero-row-img-card:hover {
    transform: translateY(-6px) scale(1.04);
    border-color: var(--color-steel-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 3;
}

.hero-row-img-card:hover .hero-row-img {
    transform: scale(1.06);
    opacity: 1;
}

.hero-row-img-tooltip {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background-color: rgba(7, 8, 10, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    font-size: 0.65rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    text-align: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-row-img-card:hover .hero-row-img-tooltip {
    opacity: 1;
    transform: translateY(0);
}



/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 8, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 100002;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-steel-light);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-content {
    position: relative;
    width: min(75vw, 75vh); /* Force perfect 75% screen size aspect ratio matching image square */
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 22, 28, 0.85);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100001;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-caption {
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, rgba(20, 22, 28, 0) 0%, rgba(7, 8, 10, 0.95) 100%);
}

.lightbox-category {
    display: inline-block;
    font-size: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-steel-light);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.lightbox-title {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.lightbox-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .lightbox-modal {
        padding: 1rem;
    }
    .lightbox-content {
        width: 90vw;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
    .lightbox-caption {
        padding: 1rem 1.2rem;
    }
    .lightbox-title {
        font-size: 1.1rem;
    }
}


/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}
#print-pricing-btn { gap: 0.6rem; }
#print-pricing-btn svg { width: 18px; height: 18px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.75rem;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2.25rem 1.9rem;
    background-color: var(--color-bg-panel);
    border: 1px solid var(--glass-border);
    border-top: 3px solid #4a4f59;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}
.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card-head {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
}
.pricing-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.05;
    color: var(--color-text-primary);
}
.pricing-card-sub {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--color-text-secondary);
}

/* Price table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}
.pricing-table thead th {
    text-align: left;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-secondary);
    opacity: 0.65;
    padding: 0 0 0.7rem;
}
.pricing-table thead th:last-child { text-align: right; }
.pricing-table tbody td {
    padding: 0.62rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--color-text-secondary);
    line-height: 1.2;
}
.pricing-table tbody tr:first-child td { border-top: none; }
.pricing-price {
    text-align: right;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Highlighted example */
.pricing-example {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    padding: 0.85rem 1rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--glass-border);
    border-left: 3px solid #8a8f99;
    border-radius: 8px;
    line-height: 1.4;
}
.pricing-example strong {
    color: var(--color-text-primary);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Add-ons */
.pricing-addons { display: flex; flex-direction: column; gap: 0.7rem; }
.pricing-addons-label {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-secondary);
    opacity: 0.6;
}
.pricing-notes { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.pricing-notes li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.3;
}
.pricing-notes li span:last-child {
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pricing-fineprint {
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--color-text-secondary);
    opacity: 0.7;
    margin-top: auto;
    padding-top: 0.4rem;
}

.pricing-footnote {
    text-align: center;
    margin-top: 2.75rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.pricing-footnote a {
    color: var(--color-text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pricing-footnote a:hover { opacity: 0.75; }

/* Print letterhead is hidden on screen */
.print-letterhead { display: none; }

@media (max-width: 600px) {
    .pricing-card { padding: 1.75rem 1.4rem; }
    .pricing-card-title { font-size: 1.65rem; }
}

/* ============================================================
   PRINT  —  "Save as PDF" outputs a clean, branded price sheet
   with live prices from content.md. Everything except the
   pricing section is hidden.
   ============================================================ */
@media print {
    /* Hide site chrome and every other section */
    .main-header, .main-footer, #loading-overlay, #lightbox-modal,
    .no-print, .pricing-actions, .pricing-footnote { display: none !important; }
    #main-content > section:not(#pricing) { display: none !important; }

    /* Reset to clean white page for ink-friendly printing */
    html, body {
        background: #ffffff !important;
        color: #111 !important;
    }
    body { margin: 0; }
    /* Force scroll-reveal / animated elements visible so cards always print */
    .reveal, .pricing-grid > *, .pricing-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    #pricing.pricing-section { padding: 0 !important; }
    .pricing-section .container { max-width: 100% !important; padding: 0 !important; }

    /* Branded letterhead */
    .print-letterhead {
        display: flex !important;
        align-items: center;
        gap: 1.25rem;
        padding: 0 0 0.9rem;
        margin-bottom: 1.1rem;
        border-bottom: 2px solid #111;
    }
    .print-logo {
        width: 150px;
        height: auto;
        filter: brightness(0.35);   /* darken silver logo so it reads on white */
    }
    .print-letterhead-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 10px;
        color: #333;
        line-height: 1.35;
    }
    .print-letterhead-info strong {
        font-size: 15px;
        color: #111;
        font-family: 'Cormorant Garamond', serif;
        letter-spacing: 0.02em;
    }

    /* Hide the on-screen section heading/subtitle in the print sheet */
    #pricing > .container > .section-title,
    #pricing > .container > .section-subtitle { display: none !important; }

    /* Cards: light, bordered, avoid page breaks inside.
       `align-items: start` stops short cards stretching to match the tallest,
       which was the main source of blank space on the printed sheet. */
    .pricing-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        align-items: start !important;
        gap: 10px !important;
        margin: 0 !important;
    }
    .pricing-card {
        background: #fff !important;
        border: 1px solid #bbb !important;
        border-top: 2px solid #111 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        transform: none !important;
        padding: 10px 12px !important;
        gap: 0.45rem !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    /* On screen the fineprint is pushed to the bottom with margin-top:auto,
       which opens a large gap in shorter cards when printed. */
    .pricing-fineprint { margin-top: 0 !important; padding-top: 0 !important; }

    /* Tighten vertical rhythm throughout the printed sheet */
    .pricing-table tbody td { padding: 0.2rem 0 !important; line-height: 1.15 !important; }
    .pricing-table thead th { padding-bottom: 0.3rem !important; }
    .pricing-notes { gap: 0.2rem !important; }
    .pricing-notes li { line-height: 1.2 !important; }
    .pricing-addons { gap: 0.3rem !important; }
    .pricing-example { padding: 0.4rem 0.55rem !important; line-height: 1.25 !important; }
    .pricing-card-sub { line-height: 1.25 !important; }

    /* Font menu prints in three tight columns */
    .pricing-fonts { gap: 0.3rem !important; }
    .font-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0.15rem 0.6rem !important; }
    .font-sample { color: #111 !important; font-size: 0.95rem !important; line-height: 1.25 !important; }

    .pricing-card-head { border-bottom-color: #ccc !important; padding-bottom: 0.4rem; }
    .pricing-card-title { color: #111 !important; font-size: 1.2rem; }
    .pricing-card-sub, .pricing-table thead th, .pricing-table tbody td,
    .pricing-notes li, .pricing-fineprint, .pricing-addons-label { color: #333 !important; opacity: 1 !important; }
    .pricing-price, .pricing-notes li span:last-child,
    .pricing-example strong, .pricing-table tbody td { color: #111 !important; }
    .pricing-table tbody td { border-top-color: #ddd !important; }
    .pricing-example {
        background: #f4f4f4 !important;
        border-color: #ccc !important;
        border-left-color: #111 !important;
        color: #222 !important;
    }
    a[href]:after { content: "" !important; }   /* no URL suffixes */
}

/* Honeypot spam trap — visually hidden but present in the DOM for bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ------------------------------------------------------------------
   Lightbox loading state
   Prevents the previously-viewed photo from being shown while the new
   full-res image downloads. Spinner shows until the correct image is
   decoded, then it fades in.
   ------------------------------------------------------------------ */
.lightbox-modal.is-loading .lightbox-image {
    visibility: hidden;
}

.lightbox-modal.is-loading .lightbox-content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    z-index: 2;
}

.lightbox-image {
    animation: lightboxFadeIn 0.25s ease;
}

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

/* ------------------------------------------------------------------
   Lightbox prev/next navigation
   ------------------------------------------------------------------ */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(20, 22, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    z-index: 100002;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.lightbox-nav svg { width: 26px; height: 26px; }
.lightbox-nav:hover {
    background: rgba(40, 44, 54, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
}
.lightbox-nav:active { transform: translateY(-50%) scale(0.94); }
.lightbox-nav[hidden] { display: none; }

.lightbox-prev { left: max(1rem, 3vw); }
.lightbox-next { right: max(1rem, 3vw); }

/* Image position counter */
.lightbox-counter {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: rgba(7, 8, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    z-index: 3;
    pointer-events: none;
}
.lightbox-counter[hidden] { display: none; }

@media (max-width: 768px) {
    .lightbox-nav { width: 42px; height: 42px; }
    .lightbox-nav svg { width: 20px; height: 20px; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}

/* Numbered / bulleted lists inside markdown-rendered copy.
   A global reset removes list markers, so restore them here. */
ol.content-list {
    list-style: decimal outside;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
ul.content-list {
    list-style: disc outside;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.content-list li {
    list-style: inherit;
    padding-left: 0.25rem;
}
.content-list li::marker {
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Font menu inside the Custom Stone Engraving pricing card */
.pricing-fonts {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.font-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.9rem;
    margin: 0;
    padding: 0;
}
.font-sample {
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.font-note {
    margin-top: 0.1rem !important;
}
