/* ============================================
   Imperial Stone - Luxury Natural Stone Countertops
   White/Light Theme with Purple Accents
   ============================================ */

/* --- CSS Reset & Custom Properties --- */

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

:root {
    /* Primary - White/light backgrounds */
    --primary: #ffffff;
    --primary-light: #f8f7f5;
    --primary-dark: #f0eeeb;

    /* Secondary - Slight warm gray for alternating sections */
    --secondary: #f5f3f0;
    --secondary-light: #faf9f7;
    --secondary-dark: #eceae6;

    /* Accent - Imperial Purple */
    --accent: #532d78;
    --accent-light: #6b3d9a;
    --accent-dark: #3e2059;

    /* Text - Dark on light */
    --marble-white: #f5f0eb;
    --text-dark: #1a1614;
    --text-light: #2a2320;
    --text-muted: #6b6560;
    --text-dim: #9e9590;

    /* Glass - Purple-tinted glass on white */
    --glass-bg: rgba(83,45,120,0.04);
    --glass-border: rgba(83,45,120,0.10);
    --glass-bg-hover: rgba(83,45,120,0.08);

    /* Functional */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Shadows - Lighter for white theme */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(83,45,120,0.12);

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 64px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- Stone Divider --- */
.stone-divider {
    position: relative;
    margin: 0;
    line-height: 0;
}

.stone-divider svg {
    width: 100%;
    height: 50px;
    display: block;
}

.stone-divider--flip svg {
    transform: scaleY(-1);
}

/* --- Base Typography --- */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility Classes --- */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--secondary);
    position: relative;
}

/* Subtle marble veining texture on alternating sections */
.section--alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(127deg, transparent 42%, rgba(83,45,120,0.012) 42.3%, rgba(83,45,120,0.018) 42.6%, transparent 42.9%),
        linear-gradient(237deg, transparent 58%, rgba(0,0,0,0.008) 58.3%, rgba(0,0,0,0.015) 58.6%, transparent 58.9%),
        linear-gradient(162deg, transparent 33%, rgba(83,45,120,0.01) 33.3%, rgba(83,45,120,0.016) 33.5%, transparent 33.8%),
        linear-gradient(302deg, transparent 71%, rgba(0,0,0,0.006) 71.3%, rgba(0,0,0,0.012) 71.5%, transparent 71.8%);
    pointer-events: none;
    z-index: 0;
}

.section--alt > * {
    position: relative;
    z-index: 1;
}

.section--accent {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    border-top: none;
    border-bottom: none;
}

.section--alt h2,
.section--alt h3,
.section--alt h4 {
    color: var(--text-dark);
}

.section--accent h2,
.section--accent h3,
.section--accent h4 {
    color: #ffffff;
}

.section--accent p,
.section--accent .stat__label {
    color: rgba(255,255,255,0.75);
}

.section--accent .stat__value {
    color: #ffffff;
}

.section--accent .stat {
    color: #ffffff;
}

.text-center { text-align: center; }

/* ========== STONE-INSPIRED DESIGN ELEMENTS ========== */

/* Marble veining border accent on cards */
.glass-card,
.service-card,
.testimonial-card,
.contact-card {
    border-top: 3px solid transparent;
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(90deg, var(--accent-dark), var(--accent-light), var(--accent-dark));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Polished stone sheen on section title underlines */
.section-title::after,
.section__title::after {
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light), var(--accent-dark)) !important;
    height: 3px !important;
}

/* Granite speckle dot pattern on stats section */
.stats::after {
    background:
        radial-gradient(circle 1px at 15% 25%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 45% 15%, rgba(255,255,255,0.06) 0%, transparent 100%),
        radial-gradient(circle 1px at 75% 35%, rgba(255,255,255,0.07) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 30% 65%, rgba(255,255,255,0.05) 0%, transparent 100%),
        radial-gradient(circle 1px at 85% 75%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(circle 1px at 55% 85%, rgba(255,255,255,0.06) 0%, transparent 100%) !important;
    background-size: 80px 80px !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
}

/* Marble texture on CTA section */
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 40%, rgba(255,255,255,0.03) 40.5%, rgba(255,255,255,0.06) 41%, transparent 41.5%),
        linear-gradient(235deg, transparent 55%, rgba(255,255,255,0.02) 55.5%, rgba(255,255,255,0.04) 56%, transparent 56.5%),
        linear-gradient(165deg, transparent 30%, rgba(255,255,255,0.04) 30.5%, rgba(255,255,255,0.07) 31%, transparent 31.5%);
    pointer-events: none;
    z-index: 0;
}

/* Stone-edge border effect on material cards */
.material-card {
    border: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(83,45,120,0.08);
}

/* Polished stone reflection on hero buttons */
.hero__actions .btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
    background-size: 200% auto;
    border-color: var(--accent);
    transition: all var(--transition-normal), background-position 0.5s ease;
}
.hero__actions .btn--primary:hover {
    background-position: right center;
}

/* Quartzite angular pattern on page heroes */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(60deg, transparent 45%, rgba(255,255,255,0.02) 45.5%, transparent 46%),
        linear-gradient(120deg, transparent 55%, rgba(255,255,255,0.015) 55.5%, transparent 56%),
        linear-gradient(30deg, transparent 70%, rgba(255,255,255,0.02) 70.5%, transparent 71%);
    pointer-events: none;
}

/* Stone texture on footer - dark granite feel */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 1px at 10% 20%, rgba(255,255,255,0.03) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 40% 10%, rgba(255,255,255,0.02) 0%, transparent 100%),
        radial-gradient(circle 1px at 70% 30%, rgba(255,255,255,0.025) 0%, transparent 100%),
        radial-gradient(circle 1px at 25% 60%, rgba(255,255,255,0.02) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 80% 70%, rgba(255,255,255,0.03) 0%, transparent 100%),
        radial-gradient(circle 1px at 50% 80%, rgba(255,255,255,0.02) 0%, transparent 100%),
        radial-gradient(circle 1px at 90% 50%, rgba(255,255,255,0.025) 0%, transparent 100%);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
.footer > * { position: relative; z-index: 1; }

/* Brand pills with polished stone border */
.brand-pill {
    background: rgba(83,45,120,0.03) !important;
    border: 1px solid rgba(83,45,120,0.12) !important;
    border-bottom: 2px solid rgba(83,45,120,0.15) !important;
}

/* Timeline number circles - stone button style */
.timeline__number,
.process-step__number {
    box-shadow: 0 2px 8px rgba(83,45,120,0.15), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ========== END STONE-INSPIRED ELEMENTS ========== */

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 48px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
    min-height: 44px;
    letter-spacing: 0.3px;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(83,45,120,0.3);
}

.btn--outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn--outline-dark:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(83,45,120,0.3);
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Header & Navigation --- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    height: var(--header-height);
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header--scrolled {
    height: var(--header-height-scrolled);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.header__logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
}

.header--scrolled .header__logo img {
    height: 36px;
}

.header__logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.header__logo-text span {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 8px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav__link:hover {
    color: var(--text-dark);
}

.nav__link--active {
    color: var(--accent);
}

.nav__cta {
    margin-left: 8px;
    color: #ffffff !important;
    background: var(--accent) !important;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.nav__cta:hover {
    background: var(--accent-light) !important;
    border-color: var(--accent-light);
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(83,45,120,0.3);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger__line {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger--active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger--active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Nav Overlay (Mobile) --- */

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-overlay--active {
    display: block;
    opacity: 1;
}

/* --- Hero Section --- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--accent-dark);
    overflow: hidden;
}

/* Marble vein pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 40%, rgba(83,45,120,0.03) 40.5%, rgba(83,45,120,0.06) 41%, transparent 41.5%),
        linear-gradient(235deg, transparent 55%, rgba(245,240,235,0.02) 55.5%, rgba(245,240,235,0.04) 56%, transparent 56.5%),
        linear-gradient(165deg, transparent 30%, rgba(83,45,120,0.04) 30.5%, rgba(83,45,120,0.07) 31%, transparent 31.5%),
        linear-gradient(305deg, transparent 65%, rgba(245,240,235,0.03) 65.5%, rgba(245,240,235,0.05) 66%, transparent 66.5%),
        linear-gradient(80deg, transparent 45%, rgba(83,45,120,0.02) 45.5%, transparent 46%);
    pointer-events: none;
}

/* Radial purple glow */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 60%, rgba(83,45,120,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 30%, rgba(83,45,120,0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Floating decorative shapes */
.hero__shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(83,45,120,0.12) 0%, transparent 70%);
}

.hero__shape--1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: 10%;
    animation: float 8s ease-in-out infinite 2s;
}

.hero__shape--3 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 20%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: radial-gradient(circle, rgba(83,45,120,0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite 4s;
}

/* Floating diamond decoration */
.hero__shape--4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 8%;
    border-radius: 0;
    transform: rotate(45deg);
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    animation: floatRotate 12s ease-in-out infinite;
}

/* Hero decoration SVG with parallax */
.hero__decoration {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

.hero__decoration--left {
    left: 3%;
    bottom: 10%;
    width: 200px;
    height: 200px;
}

.hero__decoration--right {
    right: 5%;
    top: 15%;
    width: 150px;
    height: 150px;
}

.hero__decoration svg {
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.5);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.9);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero__title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero__title-accent {
    background: linear-gradient(90deg, #c4a7e0 0%, #e0ccf5 50%, #c4a7e0 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
}

.hero__subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 550px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Services Section --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Shine sweep effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(83,45,120,0.04), transparent);
    transition: left 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(83,45,120,0.15);
    box-shadow: 0 8px 30px rgba(83,45,120,0.1);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(83,45,120,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-card__icon {
    background: rgba(83,45,120,0.12);
    box-shadow: 0 0 20px rgba(83,45,120,0.15);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.service-card__link:hover {
    color: var(--accent-light);
    gap: 10px;
}

.service-card__link svg {
    width: 16px;
    height: 16px;
}

/* --- Materials Showcase Section --- */

.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.material-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
    background: #1a1614;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(83,45,120,0.08);
    transition: all var(--transition-normal);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
}

/* Full-bleed image inside material card */
.material-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.material-card:hover > img {
    transform: scale(1.08);
}

.material-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 0;
}

.material-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,20,45,0.92) 0%, rgba(30,20,45,0.5) 40%, rgba(30,20,45,0.15) 100%);
    z-index: 1;
    transition: all var(--transition-normal);
}

/* Granite - speckle pattern */
.material-card--granite::before {
    background:
        radial-gradient(circle 1.5px at 20% 15%, rgba(83,45,120,0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 60% 25%, rgba(168,139,82,0.5) 0%, transparent 100%),
        radial-gradient(circle 2px at 35% 55%, rgba(83,45,120,0.3) 0%, transparent 100%),
        radial-gradient(circle 1px at 80% 45%, rgba(245,240,235,0.3) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 15% 75%, rgba(168,139,82,0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 50% 85%, rgba(83,45,120,0.5) 0%, transparent 100%),
        radial-gradient(circle 2px at 70% 70%, rgba(245,240,235,0.2) 0%, transparent 100%),
        radial-gradient(circle 1px at 90% 20%, rgba(83,45,120,0.4) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 45% 40%, rgba(168,139,82,0.3) 0%, transparent 100%),
        radial-gradient(circle 1px at 25% 90%, rgba(83,45,120,0.5) 0%, transparent 100%);
    background-size: 60px 60px;
}

/* Quartz - smooth subtle gradient */
.material-card--quartz::before {
    background:
        linear-gradient(135deg, rgba(83,45,120,0.15) 0%, rgba(168,139,82,0.08) 30%, rgba(245,240,235,0.1) 50%, rgba(83,45,120,0.12) 70%, rgba(168,139,82,0.06) 100%);
}

/* Marble - diagonal vein streaks */
.material-card--marble::before {
    background:
        linear-gradient(125deg, transparent 38%, rgba(245,240,235,0.12) 39%, rgba(245,240,235,0.2) 40%, transparent 41%),
        linear-gradient(130deg, transparent 55%, rgba(83,45,120,0.08) 56%, rgba(83,45,120,0.15) 57%, transparent 58%),
        linear-gradient(120deg, transparent 25%, rgba(245,240,235,0.06) 26%, rgba(245,240,235,0.12) 27%, transparent 28%),
        linear-gradient(135deg, transparent 72%, rgba(83,45,120,0.05) 73%, rgba(83,45,120,0.1) 74%, transparent 75%),
        linear-gradient(115deg, transparent 48%, rgba(245,240,235,0.04) 49%, rgba(245,240,235,0.08) 50%, transparent 51%);
}

/* Quartzite - angular faceted pattern */
.material-card--quartzite::before {
    background:
        linear-gradient(60deg, transparent 30%, rgba(83,45,120,0.1) 31%, transparent 32%),
        linear-gradient(120deg, transparent 50%, rgba(168,139,82,0.08) 51%, transparent 52%),
        linear-gradient(30deg, transparent 65%, rgba(245,240,235,0.06) 66%, transparent 67%),
        linear-gradient(150deg, transparent 20%, rgba(83,45,120,0.07) 21%, transparent 22%),
        linear-gradient(90deg, transparent 40%, rgba(168,139,82,0.05) 41%, transparent 42%),
        linear-gradient(45deg, rgba(83,45,120,0.03) 0%, transparent 50%);
}

.material-card:hover {
    transform: translateY(-6px);
    border-color: rgba(83,45,120,0.2);
    box-shadow: var(--shadow-glow);
}

.material-card:hover::before {
    opacity: 0.5;
}

.material-card:hover::after {
    background: linear-gradient(to top, rgba(30,20,45,0.98) 0%, rgba(30,20,45,0.6) 40%, rgba(30,20,45,0.25) 100%);
}

.material-card__content {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.material-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(83,45,120,0.2);
    color: rgba(255,255,255,0.9);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 8px;
}

.material-card__title {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.material-card__desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.6;
}

.material-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: 12px;
}

.material-card__link:hover {
    color: #ffffff;
    gap: 10px;
}

.material-card__link svg {
    width: 16px;
    height: 16px;
}

/* --- Stats Section --- */

.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.stats::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat {
    color: #ffffff;
}

.stat__value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
    line-height: 1;
}

.stat__label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- Process Timeline Section (Vertical) --- */

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

/* Purple connecting line on left side */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 23px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(83,45,120,0.3), var(--accent));
}

.process-step {
    position: relative;
    margin-bottom: 48px;
    padding-left: 24px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step__number {
    position: absolute;
    left: -60px;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 1;
}

.process-step:hover .process-step__number {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(83,45,120,0.25);
}

.process-step__content {
    padding-top: 4px;
}

.process-step h3,
.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Testimonials Section --- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

/* Oversized purple quotation mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 4rem;
    color: rgba(83,45,120,0.1);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: rgba(83,45,120,0.15);
    box-shadow: 0 8px 30px rgba(83,45,120,0.08);
}

.testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-card__stars svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    fill: var(--accent);
}

.testimonial-card__text {
    color: var(--text-light);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.testimonial-card__name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.testimonial-card__role {
    font-family: 'DM Sans', sans-serif;
    color: var(--accent);
    font-size: 0.8rem;
}

/* --- Brands Section --- */

.brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(83,45,120,0.05);
    border: 1px solid rgba(83,45,120,0.1);
    border-radius: 30px;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.brand-badge:hover {
    background: rgba(83,45,120,0.08);
    border-color: rgba(83,45,120,0.2);
    color: var(--text-dark);
}

.brand-badge svg,
.brand-badge img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

/* --- CTA Section --- */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: none;
    border-bottom: none;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

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

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-section h2::after {
    display: none;
}

.cta-section p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-section .btn {
    margin: 0 8px;
}

/* --- Page Hero (Interior Pages) --- */

.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 40%, rgba(255,255,255,0.03) 40.5%, rgba(255,255,255,0.05) 41%, transparent 41.5%),
        linear-gradient(235deg, transparent 55%, rgba(255,255,255,0.02) 55.5%, rgba(255,255,255,0.03) 56%, transparent 56.5%),
        linear-gradient(165deg, transparent 30%, rgba(255,255,255,0.03) 30.5%, rgba(255,255,255,0.05) 31%, transparent 31.5%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #ffffff;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.page-hero__breadcrumb a {
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
    color: #ffffff;
}

.page-hero__breadcrumb span {
    color: rgba(255,255,255,0.9);
}

/* --- Service Details Grid (services.html) --- */

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-detail {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-detail:hover {
    border-color: rgba(83,45,120,0.15);
    box-shadow: 0 8px 30px rgba(83,45,120,0.1);
}

.service-detail:hover::before {
    opacity: 1;
}

.service-detail__icon {
    width: 64px;
    height: 64px;
    background: rgba(83,45,120,0.08);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 1.75rem;
}

.service-detail__icon svg {
    width: 32px;
    height: 32px;
}

.service-detail h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-detail p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-detail__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail__features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-detail__features li:last-child {
    border-bottom: none;
}

/* Purple checkmark bullet */
.service-detail__features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: rgba(83,45,120,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23532d78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    flex-shrink: 0;
}

/* --- Portfolio Gallery --- */

.portfolio-filters,
.portfolio__filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-btn,
.portfolio__filter {
    padding: 8px 20px;
    background: rgba(83,45,120,0.05);
    border: 1px solid rgba(83,45,120,0.1);
    border-radius: 30px;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-height: 36px;
}

.filter-btn:hover,
.portfolio__filter:hover {
    background: rgba(83,45,120,0.08);
    border-color: rgba(83,45,120,0.2);
    color: var(--text-dark);
}

.filter-btn--active,
.filter-btn.active,
.portfolio__filter--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
}

.filter-btn--active:hover,
.filter-btn.active:hover,
.portfolio__filter--active:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

/* CSS Columns Masonry Layout */
.portfolio-masonry,
.portfolio__gallery {
    columns: 3;
    column-gap: 24px;
}

.portfolio-item,
.portfolio__item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    aspect-ratio: 4/3;
}

.portfolio-item--hidden,
.portfolio__item--hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    border: none;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin-bottom 0.4s ease;
}

.portfolio-item:hover,
.portfolio__item:hover {
    border-color: rgba(83,45,120,0.2);
    box-shadow: var(--shadow-glow);
}

.portfolio-item__image {
    width: 100%;
    display: block;
    aspect-ratio: auto;
}

.portfolio-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Gradient placeholder backgrounds for items without images */
.portfolio-item__placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 2.5rem;
}

.portfolio-item__placeholder--1 {
    background: linear-gradient(135deg, #f0eeeb 0%, #eceae6 50%, #f5f3f0 100%);
}

.portfolio-item__placeholder--2 {
    background: linear-gradient(135deg, #f5f3f0 0%, #f0eeeb 50%, #eceae6 100%);
}

.portfolio-item__placeholder--3 {
    background: linear-gradient(135deg, #eceae6 0%, #f5f3f0 50%, #f0eeeb 100%);
}

.portfolio-item__placeholder--4 {
    background: linear-gradient(135deg, #f0eeeb 0%, #f5f3f0 50%, #eceae6 100%);
}

/* Hover overlay */
.portfolio-item__overlay,
.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62,32,89,0.95) 0%, rgba(62,32,89,0.6) 50%, rgba(62,32,89,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-item__overlay,
.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio-item__tag,
.portfolio__tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 8px;
    align-self: flex-start;
}

.portfolio-item__title,
.portfolio__title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.portfolio-item__desc,
.portfolio__desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Portfolio Grid (alternative layout) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62,32,89,0.95) 0%, rgba(62,32,89,0.5) 60%, rgba(62,32,89,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 1;
    transition: all var(--transition-normal);
}

.portfolio-card:hover .portfolio-card__overlay {
    background: linear-gradient(to top, rgba(62,32,89,0.98) 0%, rgba(62,32,89,0.6) 60%, rgba(62,32,89,0.3) 100%);
}

.portfolio-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 8px;
    align-self: flex-start;
}

.portfolio-card__title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.portfolio-card__desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    line-height: 1.5;
}

.portfolio-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 3rem;
}

/* --- Contact Page --- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #ffffff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(83,45,120,0.1), 0 0 20px rgba(83,45,120,0.05);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option {
    background: #ffffff;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-top: 16px;
    display: none;
}

.form-message--success {
    background: rgba(16,185,129,0.08);
    color: var(--success);
    border: 1px solid rgba(16,185,129,0.2);
    display: block;
}

.form-message--error {
    background: rgba(239,68,68,0.08);
    color: var(--error);
    border: 1px solid rgba(239,68,68,0.2);
    display: block;
}

/* Legacy form status support */
#form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: none;
}

#form-status.success {
    display: block;
    color: var(--success);
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
}

#form-status.error {
    display: block;
    color: var(--error);
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    border-color: rgba(83,45,120,0.15);
    box-shadow: 0 8px 30px rgba(83,45,120,0.08);
}

.contact-info-card__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(83,45,120,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-info-card__icon svg {
    width: 22px;
    height: 22px;
}

/* Pulsing icon effect */
.contact-info-card__icon--pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(83,45,120,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(83,45,120,0); }
}

.contact-info-card h4 {
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: var(--accent);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- About Section --- */

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__content h2 {
    margin-bottom: 20px;
    text-align: left;
}

.about__content h2::after {
    margin: 16px 0 0;
}

.about__content p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about__highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about__highlight-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(83,45,120,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.about__highlight-icon svg {
    width: 20px;
    height: 20px;
}

.about__highlight h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.about__highlight p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    padding: 40px;
    text-align: center;
}

.about__image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    opacity: 0.4;
    color: var(--accent);
}

.about__image-placeholder p {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* --- Footer --- */

.footer {
    background: #1a1614;
    color: rgba(255,255,255,0.6);
    padding: 48px 0 0;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 24px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer__brand-logo img {
    height: 36px;
    width: auto;
}

.footer__brand-logo span {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer__brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
    margin-top: 8px;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer__socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    transition: all var(--transition-fast);
}

.footer__socials a:hover {
    background: rgba(83,45,120,0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer__socials svg {
    width: 18px;
    height: 18px;
}

.footer h4 {
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.45);
}

.footer__contact-item svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
    color: var(--accent-light);
}

.footer__contact-item a {
    color: rgba(255,255,255,0.45);
}

.footer__contact-item a:hover {
    color: #ffffff;
}

/* Footer hours */
.footer__hours {
    list-style: none;
    padding: 0;
}

.footer__hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.45);
}

.footer__hours li:last-child {
    border-bottom: none;
}

.footer__hours li span {
    color: rgba(255,255,255,0.6);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer__bottom a {
    color: rgba(255,255,255,0.35);
    transition: color var(--transition-fast);
}

.footer__bottom a:hover {
    color: #ffffff;
}

.footer__credit {
    color: rgba(255,255,255,0.35);
}

.footer__credit a {
    color: var(--accent-light);
    font-weight: 500;
}

.footer__credit a:hover {
    color: #ffffff;
}

/* --- Back to Top Button --- */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(83,45,120,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(83,45,120,0.4);
    background: var(--accent-light);
}

/* --- Scroll Animations --- */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left--visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right--visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in--visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation Delays */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* --- Keyframe Animations --- */

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes floatRotate {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(83,45,120,0.3); }
    50% { box-shadow: 0 0 0 12px rgba(83,45,120,0); }
}

/* --- Gallery Lightbox --- */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox--active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    color: #ffffff;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox__caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox__nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    color: #ffffff;
}

.lightbox__nav--prev {
    left: 20px;
}

.lightbox__nav--next {
    right: 20px;
}

/* --- Showroom Section --- */

.showroom-banner {
    position: relative;
    padding: 80px 0;
    background: var(--secondary);
    overflow: hidden;
    text-align: center;
}

.showroom-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 40%, rgba(83,45,120,0.03) 40.5%, rgba(83,45,120,0.05) 41%, transparent 41.5%),
        linear-gradient(235deg, transparent 55%, rgba(83,45,120,0.02) 55.5%, rgba(83,45,120,0.03) 56%, transparent 56.5%);
    pointer-events: none;
}

.showroom-banner .container {
    position: relative;
    z-index: 1;
}

.showroom-banner h2 {
    margin-bottom: 16px;
}

.showroom-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 28px;
}

/* --- FAQ Accordion --- */

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(83,45,120,0.15);
}

.faq-item--active {
    border-color: rgba(83,45,120,0.2);
    box-shadow: 0 4px 20px rgba(83,45,120,0.06);
}

.faq-item__question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--accent);
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--accent);
    transition: transform var(--transition-normal);
}

.faq-item--active .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item--active .faq-item__answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-item__answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Pricing / Quote Cards --- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card--featured {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(83,45,120,0.1);
}

.pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card:hover {
    border-color: rgba(83,45,120,0.2);
    box-shadow: 0 8px 30px rgba(83,45,120,0.1);
    transform: translateY(-4px);
}

.pricing-card__title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pricing-card__price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.pricing-card__price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.pricing-card__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.pricing-card__features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__features li::before {
    content: '';
    width: 16px;
    height: 16px;
    min-width: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23532d78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

/* --- Badge / Tag Utilities --- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge--gold {
    background: rgba(83,45,120,0.08);
    color: var(--accent);
    border: 1px solid rgba(83,45,120,0.15);
}

.badge--success {
    background: rgba(16,185,129,0.08);
    color: var(--success);
    border: 1px solid rgba(16,185,129,0.2);
}

/* --- Divider Utility --- */

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
    border-radius: 2px;
    margin: 16px 0;
}

.divider--center {
    margin-left: auto;
    margin-right: auto;
}

/* --- Image with overlay text --- */

.image-feature {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
}

.image-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-feature__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,20,45,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.image-feature__overlay h3 {
    color: #ffffff;
    margin-bottom: 4px;
}

.image-feature__overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* --- Two Column Feature --- */

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-split--reverse {
    direction: rtl;
}

.feature-split--reverse > * {
    direction: ltr;
}

.feature-split__content h2 {
    text-align: left;
    margin-bottom: 16px;
}

.feature-split__content h2::after {
    margin: 16px 0 0;
}

.feature-split__content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.feature-split__content .btn {
    margin-top: 24px;
}

.feature-split__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}

.feature-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Checklist Utility --- */

.checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.checklist li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checklist li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    background: rgba(83,45,120,0.08);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23532d78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    flex-shrink: 0;
}

/* --- Admin Panel Overrides --- */

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    padding: 24px;
}

.admin-login__card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.admin-login__card h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.admin-login__card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* --- Loading Spinner --- */

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(83,45,120,0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.btn .spinner {
    width: 18px;
    height: 18px;
}

/* --- Toast Notifications --- */

.toast {
    position: fixed;
    top: 100px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--text-dark);
    font-size: 0.9rem;
    z-index: 10001;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform var(--transition-normal);
    max-width: 400px;
}

.toast--visible {
    transform: translateX(0);
}

.toast--success {
    border-color: rgba(16,185,129,0.3);
}

.toast--error {
    border-color: rgba(239,68,68,0.3);
}

/* --- HTML Class Name Aliases & Missing Styles --- */

/* Hero Background Image */
.hero__bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

/* Section Headers (BEM style used in HTML) */
.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__title {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-family: 'DM Sans', sans-serif;
}

/* Glass Cards (services section - alias for service-card) */
.glass-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(83,45,120,0.04), transparent);
    transition: left 0.6s ease;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(83,45,120,0.15);
    box-shadow: 0 8px 30px rgba(83,45,120,0.1);
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover::after {
    opacity: 1;
}

.glass-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(83,45,120,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.glass-card__icon svg {
    width: 28px;
    height: 28px;
}

.glass-card:hover .glass-card__icon {
    background: rgba(83,45,120,0.12);
    box-shadow: 0 0 20px rgba(83,45,120,0.15);
}

.glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.glass-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.glass-card__link:hover {
    color: var(--accent-light);
    gap: 10px;
}

/* Material Card Overlay (HTML uses __overlay instead of __content) */
.material-card__overlay {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.material-card__overlay h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.material-card__overlay p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Stats Grid (HTML uses .stats-grid not .stats__grid) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Stat Number & Suffix (HTML uses .stat__number not .stat__value) */
.stat__number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    display: inline;
}

.stat__suffix {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

/* Timeline (HTML uses .timeline instead of .process-timeline) */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 23px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(83,45,120,0.3), var(--accent));
}

.timeline__item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 24px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__number {
    position: absolute;
    left: -60px;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 1;
}

.timeline__item:hover .timeline__number {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(83,45,120,0.25);
}

.timeline__content {
    padding-top: 4px;
}

.timeline__content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline__content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Testimonial Card blockquote/cite (HTML uses blockquote + cite) */
.testimonial-card blockquote {
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card blockquote p {
    color: var(--text-light);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-card cite {
    font-style: normal;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Brands Grid (HTML uses .brands-grid not .brands-row) */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

/* Brand Pill (HTML uses .brand-pill not .brand-badge) */
.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(83,45,120,0.05);
    border: 1px solid rgba(83,45,120,0.1);
    border-radius: 30px;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.brand-pill:hover {
    background: rgba(83,45,120,0.08);
    border-color: rgba(83,45,120,0.2);
    color: var(--text-dark);
}

/* CTA Section (HTML uses .cta not .cta-section) */
.cta {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: none;
    border-bottom: none;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.cta__content {
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta__title::after {
    display: none;
}

.cta__text {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta .btn {
    margin: 0 8px;
}

/* Stats Pattern (decorative element) */
.stats__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Footer Social (HTML uses .footer__social not .footer__socials) */
.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: rgba(83,45,120,0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

/* Footer Hours (HTML uses <p> instead of <li>) */
.footer__hours p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}

.footer__hours-note {
    font-style: italic;
    color: rgba(255,255,255,0.35) !important;
    margin-top: 4px;
}

/* Nav Overlay visible state (HTML uses --visible not --active) */
.nav-overlay--visible {
    display: block;
    opacity: 1;
}

/* --- Responsive Design --- */

/* Tablet and below */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats__grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline,
    .timeline {
        max-width: 100%;
    }

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

    .portfolio-masonry,
    .portfolio__gallery {
        columns: 2;
    }

    .about__grid {
        gap: 40px;
    }

    .feature-split {
        gap: 40px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    h1 { font-size: 2.75rem; }
    .hero__title { font-size: 2.75rem; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header & Navigation */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        border-left: 1px solid rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 0;
        transition: right var(--transition-normal);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav--open {
        right: 0;
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 1rem;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav__cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        display: block;
        padding: 14px 20px;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 1.05rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__shape--1 { width: 300px; height: 300px; }
    .hero__shape--2 { width: 200px; height: 200px; }
    .hero__shape--3 { display: none; }
    .hero__shape--4 { display: none; }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .section-subtitle,
    .section__subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .section__header {
        margin-bottom: 32px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Materials */
    .materials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .material-card {
        min-height: 280px;
    }

    /* Stats */
    .stats__grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat__value,
    .stat__number {
        font-size: 2.25rem;
    }

    .stat__suffix {
        font-size: 2.25rem;
    }

    /* Process */
    .process-timeline,
    .timeline {
        padding-left: 50px;
    }

    .process-step__number,
    .timeline__number {
        left: -50px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .process-timeline::before,
    .timeline::before {
        left: 19px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio */
    .portfolio-masonry,
    .portfolio__gallery {
        columns: 1;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item__overlay {
        opacity: 1;
    }

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

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

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__image {
        order: -1;
    }

    .about__content h2 {
        text-align: center;
    }

    .about__content h2::after {
        margin: 16px auto 0;
    }

    .about__highlights {
        grid-template-columns: 1fr;
    }

    /* Feature Split */
    .feature-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-split--reverse {
        direction: ltr;
    }

    .feature-split__content h2 {
        text-align: center;
    }

    .feature-split__content h2::after {
        margin: 16px auto 0;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Page Hero */
    .page-hero {
        padding: 120px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    /* CTA */
    .cta-section,
    .cta {
        padding: 60px 0;
    }

    .cta-section .btn,
    .cta .btn {
        display: block;
        margin: 8px auto;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta__title {
        font-size: 1.75rem;
    }

    /* Brands */
    .brands-row,
    .brands-grid {
        gap: 10px;
    }

    .brand-badge,
    .brand-pill {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Lightbox */
    .lightbox {
        padding: 20px;
    }

    .lightbox__nav--prev { left: 10px; }
    .lightbox__nav--next { right: 10px; }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero {
        min-height: 85vh;
        padding: 90px 0 50px;
    }

    .hero__title {
        font-size: 1.85rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .section {
        padding: 48px 0;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }

    .material-card {
        min-height: 240px;
    }

    .stats__grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat__value,
    .stat__number {
        font-size: 2rem;
    }

    .stat__suffix {
        font-size: 2rem;
    }

    .process-timeline,
    .timeline {
        padding-left: 44px;
    }

    .process-step__number,
    .timeline__number {
        left: -44px;
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .process-timeline::before,
    .timeline::before {
        left: 17px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card,
    .glass-card {
        padding: 28px 20px;
    }

    .contact-form {
        padding: 24px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .page-hero {
        padding: 100px 0 32px;
    }

    .footer__grid {
        gap: 24px;
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .faq-item__question {
        padding: 16px 20px;
        font-size: 0.9rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero__shape,
    .hero__shape--1,
    .hero__shape--2,
    .hero__shape--3,
    .hero__shape--4 {
        animation: none !important;
    }

    .hero__title-accent {
        animation: none !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }

    .scale-in {
        opacity: 1;
        transform: none;
    }

    .service-card::before,
    .glass-card::before {
        transition: none;
    }
}

/* --- Print Styles --- */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .header,
    .hamburger,
    .nav-overlay,
    .back-to-top,
    .hero__shapes,
    .hero::before,
    .hero::after,
    .stone-divider,
    .lightbox,
    .toast {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    .section {
        padding: 20px 0;
        break-inside: avoid;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }

    .btn {
        border: 1px solid #000 !important;
        padding: 4px 8px;
    }

    .footer {
        padding: 10px 0;
    }

    .services-grid,
    .materials-grid,
    .testimonials-grid,
    .stats__grid,
    .stats-grid,
    .brands-grid,
    .timeline,
    .footer__grid {
        display: block;
    }

    .service-card,
    .glass-card,
    .material-card,
    .testimonial-card,
    .stat {
        break-inside: avoid;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        padding: 10px;
    }

    img {
        max-width: 100% !important;
    }

    .portfolio-masonry,
    .portfolio__gallery {
        columns: 1;
    }
}
