/* ============================================
   WALLPAPER GURU WITH BROOKS — DESIGN SYSTEM
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-bg: #0E2A2B;
    --secondary-bg: #071819;
    --light-bg: #EFEAE3;
    --text-dark: #F6F1E8;
    --text-light: #1E2424;
    --accent: #B89A5B;
    --accent-hover: #c9ab6c;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --gold-border: 1px solid rgba(184, 154, 91, 0.3);
    --gold-border-strong: 2px solid #B89A5B;
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.12);
    --shadow-lift: 0 8px 32px rgba(0,0,0,0.18);
    --radius: 12px;
    --transition: 0.25s ease;
    --max-width: 1280px;
    --section-padding: 100px 0;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background: var(--light-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

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

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 36px;
    background: var(--accent);
    color: var(--secondary-bg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 154, 91, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 36px;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(184, 154, 91, 0.1);
    transform: translateY(-2px);
}

/* --- Top Bar --- */
.top-bar {
    background: var(--secondary-bg);
    padding: 10px 0;
    border-bottom: var(--gold-border);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.top-bar a:hover {
    color: var(--accent);
}

.top-bar .location {
    color: rgba(246, 241, 232, 0.6);
    font-size: 0.875rem;
}

/* --- Header / Navigation --- */
.site-header {
    background: var(--primary-bg);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: var(--gold-border);
    backdrop-filter: blur(10px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--accent);
}

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

.main-nav a {
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--accent);
}

.header-cta {
    height: 44px;
    padding: 0 24px;
    font-size: 0.875rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 56px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(7, 24, 25, 0.92) 0%,
        rgba(14, 42, 43, 0.85) 40%,
        rgba(14, 42, 43, 0.55) 65%,
        rgba(14, 42, 43, 0.30) 100%
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.hero-content h1 {
    color: var(--text-dark);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content h2 {
    color: rgba(246, 241, 232, 0.85);
    font-size: 1.25rem;
    font-weight: 400;
    font-family: var(--font-body);
    margin-bottom: 32px;
    line-height: 1.6;
}

.trust-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(7, 24, 25, 0.55);
    border: 1px solid rgba(184, 154, 91, 0.3);
    padding: 10px 18px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.trust-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

.trust-badge .badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero .feedback-form-container {
    background: rgba(7, 24, 25, 0.7);
    border: 1px solid rgba(184, 154, 91, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-form {
    width: 100%;
    max-width: 520px;
    justify-self: end;
}

/* --- Sections --- */
.section {
    padding: var(--section-padding);
}

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

.section-darker {
    background: var(--secondary-bg);
    color: var(--text-dark);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .mono-label {
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    font-size: 1.05rem;
}

/* --- Split Section (Asymmetric Layout) --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

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

.split-image {
    position: relative;
}

.split-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    border: var(--gold-border-strong);
}

.split-image::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    background: rgba(184, 154, 91, 0.06);
    border: var(--gold-border);
    border-radius: var(--radius);
    z-index: -1;
}

.split-content h2 {
    margin-bottom: 20px;
}

.split-content p {
    margin-bottom: 16px;
    opacity: 0.9;
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(184, 154, 91, 0.04);
    border: var(--gold-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(184, 154, 91, 0.4);
}

.feature-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(184, 154, 91, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(184, 154, 91, 0.2);
}

.feature-card .card-icon svg {
    width: 24px;
    height: 24px;
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* --- Homepage Commercial Section --- */
.commercial-section .split-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(36px, 5vw, 84px);
    align-items: start;
}

.commercial-section .split-image img {
    height: clamp(420px, 46vw, 600px);
}

.commercial-section .split-image::after {
    bottom: -12px;
    left: -12px;
}

.commercial-section .split-content {
    max-width: 760px;
}

.commercial-section .split-content .mono-label {
    display: inline-block;
    margin-bottom: 12px;
}

.commercial-section .split-content h2 {
    max-width: 15ch;
    margin-bottom: 18px;
    line-height: 1.15;
}

.commercial-section .split-content p {
    max-width: 62ch;
    margin-bottom: 14px;
}

.commercial-section .commercial-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.commercial-section .feature-card {
    padding: 26px 22px;
    min-height: 100%;
}

.commercial-section .feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.commercial-section .feature-card p {
    margin-bottom: 0;
    line-height: 1.65;
}

.commercial-section .commercial-cta {
    margin-top: 32px;
}

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

.service-card {
    background: var(--primary-bg);
    border: var(--gold-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.service-card-body p {
    color: rgba(246, 241, 232, 0.7);
    font-size: 0.9375rem;
}

.service-card-body a {
    display: inline-block;
    margin-top: auto;
    padding-top: 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
}

.service-card-body a:hover {
    text-decoration: underline;
}

/* --- Portfolio / Gallery --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filters button {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(184, 154, 91, 0.3);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-filters button.active,
.gallery-filters button:hover {
    background: var(--accent);
    color: var(--secondary-bg);
    border-color: var(--accent);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: var(--gold-border);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-item .overlay {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(7, 24, 25, 0.85));
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-item .overlay span {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- Before/After Slider --- */
.before-after-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    height: 500px;
    border: var(--gold-border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.ba-after,
.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
}

.before-after-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    width: 100%;
    height: 500px;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
}

.ba-before img {
    max-width: 100%;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--accent);
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
}

.ba-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.ba-handle::after {
    content: '\2194';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-bg);
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 11;
}

.ba-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 16px;
    background: rgba(7, 24, 25, 0.8);
    color: var(--text-dark);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 6px;
    z-index: 5;
}

.ba-label-before {
    left: 16px;
}

.ba-label-after {
    right: 16px;
}

/* --- Process / How We Work --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    counter-reset: process;
}

.process-step {
    text-align: center;
    position: relative;
    counter-increment: process;
}

.process-step::before {
    content: counter(process, decimal-leading-zero);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--accent);
    opacity: 0.4;
    display: block;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* --- Stats Bar --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    padding: 60px 0;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-item .stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-top: 8px;
    display: block;
}

/* --- Reviews Section --- */
.reviews-section {
    display: none;
    background: var(--light-bg);
    padding: var(--section-padding);
}

.reviews-section .section-header h2 {
    color: var(--text-light);
}

/* --- Contact Form --- */
.feedback-form-container {
    background: rgba(7, 24, 25, 0.6);
    border: var(--gold-border);
    border-radius: var(--radius);
    padding: 40px 36px;
    backdrop-filter: blur(10px);
}

.feedback-form-container h2,
.feedback-form-container h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3.2vw, 1.6rem);
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

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

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form-group:last-child {
    margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(246, 241, 232, 0.06);
    border: 1px solid rgba(184, 154, 91, 0.2);
    border-radius: 8px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(246, 241, 232, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-top: 16px;
}

.contact-form .form-submit {
    margin-top: 20px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 48px;
    background: var(--accent);
    color: var(--secondary-bg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 154, 91, 0.3);
}

#form-success {
    text-align: center;
    padding: 30px;
}

#form-success p {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Light background form variant */
.section-light .feedback-form-container {
    background: white;
    border: var(--gold-border-strong);
}

.section-light .feedback-form-container h2,
.section-light .feedback-form-container h3 {
    color: var(--text-light);
}

.section-light .contact-form input,
.section-light .contact-form textarea {
    background: var(--light-bg);
    border: 1px solid rgba(30, 36, 36, 0.15);
    color: var(--text-light);
}

.section-light .contact-form input::placeholder,
.section-light .contact-form textarea::placeholder {
    color: rgba(30, 36, 36, 0.4);
}

.section-light .contact-form input:focus,
.section-light .contact-form textarea:focus {
    border-color: var(--accent);
}

/* --- SEO Content Block --- */
.seo-content {
    padding: 60px 0;
    border-top: var(--gold-border);
}

.seo-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.seo-content p {
    font-size: 0.9375rem;
    opacity: 0.85;
    max-width: 800px;
}

/* --- Footer --- */
.site-footer {
    background: var(--secondary-bg);
    color: var(--text-dark);
    padding: 80px 0 30px;
    border-top: var(--gold-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.9375rem;
    opacity: 0.7;
    max-width: 300px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(246, 241, 232, 0.7);
    font-size: 0.9375rem;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: var(--gold-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    opacity: 0.6;
}

/* --- Sticky Quote Button --- */
.sticky-quote-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    height: 56px;
    padding: 0 32px;
    background: var(--accent);
    color: var(--secondary-bg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(184, 154, 91, 0.4);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-quote-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(184, 154, 91, 0.5);
}

/* --- Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 24, 25, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--primary-bg);
    border: var(--gold-border-strong);
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(184, 154, 91, 0.1);
    border: var(--gold-border);
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--secondary-bg);
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: var(--gold-border);
    padding: 24px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 500;
    flex: 1;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    transition: all var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--secondary-bg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-top: 16px;
    opacity: 0.85;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-block {
    margin-bottom: 32px;
}

.contact-info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.contact-info-block p,
.contact-info-block a {
    font-size: 1rem;
    opacity: 0.85;
}

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

/* --- Page Hero (Inner Pages) --- */
.page-hero {
    background: var(--primary-bg);
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    color: var(--text-dark);
    margin-bottom: 16px;
}

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

.page-hero .mono-label {
    display: block;
    margin-bottom: 12px;
}

/* --- Content Page --- */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin: 16px 0 24px 20px;
    list-style: disc;
}

.content-section ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Service Area Page --- */
.area-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.area-feature-card {
    background: rgba(184, 154, 91, 0.04);
    border: var(--gold-border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.area-feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.area-feature-card p {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 12px 0;
    background: var(--secondary-bg);
}

.breadcrumbs a,
.breadcrumbs span {
    font-size: 0.8125rem;
    color: rgba(246, 241, 232, 0.5);
}

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

.breadcrumbs .separator {
    margin: 0 8px;
}

/* --- Image Frame --- */
.image-frame {
    border: var(--gold-border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light-bg);
    padding: 8px;
}

.image-frame img {
    border-radius: 8px;
    width: 100%;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-form {
        max-width: 100%;
        justify-self: stretch;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

    .commercial-section .split-content h2,
    .commercial-section .split-content p {
        max-width: 100%;
    }

    .commercial-section .commercial-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: var(--gold-border);
    }

    .main-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

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

    .split-section,
    .commercial-section .split-section {
        grid-template-columns: 1fr;
    }

    .commercial-section .commercial-features-grid {
        grid-template-columns: 1fr;
    }

    .commercial-section .split-section {
        gap: 28px;
    }

    .split-image::after {
        display: none;
    }

    .split-image img {
        height: clamp(240px, 68vw, 340px);
    }

    .commercial-section .commercial-cta {
        width: 100%;
    }

    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }

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

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

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .sticky-quote-btn {
        right: 50%;
        transform: translateX(50%);
        bottom: 16px;
    }

    .sticky-quote-btn:hover {
        transform: translateX(50%) translateY(-2px);
    }

    .before-after-container,
    .ba-after,
    .ba-before {
        height: 300px;
    }

    .before-after-container img {
        height: 300px;
    }

    .modal-content {
        padding: 56px 24px 32px;
    }

    .feedback-form-container h2,
    .feedback-form-container h3 {
        font-size: 1.25rem;
    }

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

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

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 16px;
    }

    .feedback-form-container {
        padding: 28px 20px;
    }

    .commercial-section .feature-card {
        padding: 22px 18px;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
