:root {
    --ink: #060608;
    --surface: #0E0E11;
    --surface-2: #16161A;
    --surface-3: #1E1E24;
    --cream: #F3F1EC;
    --cream-muted: rgba(243, 241, 236, 0.62);
    --accent: #9E3039;
    --accent-hover: #B83A44;
    --accent-soft: rgba(158, 48, 57, 0.12);
    --gold: #C4A574;
    --gold-soft: rgba(196, 165, 116, 0.15);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--ink);
    color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* ─── Header — clear glass black for logo visibility ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 6, 8, 0.92);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(4, 4, 6, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.logo-wrap:hover {
    background: rgba(255, 255, 255, 0.07);
}

.logo-wrap img {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

@media (max-width: 640px) {
    .logo-wrap {
        padding: 0.2rem 0.4rem;
    }
    .logo-wrap img {
        height: 1.5rem;
        max-width: 100px;
    }
}

@media (max-width: 380px) {
    .logo-wrap img {
        height: 1.35rem;
        max-width: 88px;
    }
}

.nav-link {
    position: relative;
    color: var(--cream-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover { color: var(--cream); background: rgba(255,255,255,0.05); }

.nav-link.is-active {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.07);
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* ─── Glass & surfaces (neutral, not maroon-tinted) ─── */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
}

.glass-dark {
    background: rgba(6, 6, 8, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--line);
}

.glass-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.45s ease;
}

.glass-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(196, 165, 116, 0.08);
}

/* ─── Typography accents ─── */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #E8E4DC 45%, #C4A574 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.section-eyebrow::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.gradient-bg {
    background: linear-gradient(145deg, var(--surface-2) 0%, var(--ink) 55%, #040405 100%);
}

.gradient-bg-accent {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--surface) 40%, var(--ink) 100%);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.gradient-bg-accent::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, var(--accent-soft) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── Buttons ─── */
.btn-primary {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(158, 48, 57, 0.25);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 32px rgba(158, 48, 57, 0.35);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    color: var(--cream);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-gold {
    background: linear-gradient(135deg, #C4A574, #A88B5A);
    color: var(--ink);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    box-shadow: 0 8px 28px rgba(196, 165, 116, 0.3);
    transform: translateY(-2px);
}

/* ─── Hero — single unified slider (no ghost layers) ─── */
.hero-unified {
    position: relative;
    height: 100vh;
    min-height: 640px;
    max-height: 900px;
    overflow: hidden;
    background: var(--ink);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow-bg-only .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 1.4s;
    z-index: 0;
    pointer-events: none;
}

.hero-slideshow-bg-only .hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
    z-index: 1;
}

.hero-content-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.hero-content-layer .hero-content,
.hero-content-layer a {
    pointer-events: auto;
}

#hero-title {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6,6,8,0.35) 0%, rgba(6,6,8,0.12) 35%, rgba(6,6,8,0.5) 100%),
        linear-gradient(90deg, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.18) 55%, rgba(6,6,8,0.38) 100%);
}

.hero-foreground {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 5.5rem;
}

.hero-content {
    max-width: 42rem;
    animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide:not(.active) .hero-content {
    animation: none;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Slide controls — fixed to hero, not per-slide */
.hero-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.hero-controls-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

.slide-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-progress-bar {
    width: 3rem;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.3s ease;
}

.slide-progress-bar.active {
    width: 4.5rem;
}

.slide-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.slide-progress-bar.active .slide-progress-fill {
    animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

.slide-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cream);
    transition: all 0.3s ease;
}

.slide-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(196, 165, 116, 0.4);
    color: var(--gold);
}

.slide-counter {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cream-muted);
    font-variant-numeric: tabular-nums;
}

.slide-counter span {
    color: var(--cream);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ─── Sections ─── */
.section-dark { background: var(--ink); }
.section-elevated { background: var(--surface); }
.section-alt {
    background: var(--surface);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--gold-soft) 0%, transparent 60%);
    pointer-events: none;
}

/* ─── Scroll reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Sidebar ─── */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.sidebar-overlay.open { opacity: 1; visibility: visible; }

.sidebar-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    max-width: 88vw;
    z-index: 120;
    background: rgba(8, 8, 10, 0.98);
    border-right: 1px solid var(--line-strong);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-panel.open { transform: translateX(0); }

/* ─── Portfolio ─── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    aspect-ratio: 4/3;
    border: 1px solid var(--line);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,6,8,0.95) 0%, rgba(6,6,8,0.2) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* ─── Forms ─── */
.form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--cream);
    width: 100%;
    transition: all 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(196, 165, 116, 0.45);
    box-shadow: 0 0 0 3px var(--gold-soft);
    background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder { color: rgba(243, 241, 236, 0.3); }

.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }

/* ─── Modal ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 6, 0.88);
    backdrop-filter: blur(12px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal-content {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* ─── Misc ─── */
.flash-message { animation: slideDown 0.4s ease; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero {
    padding: 9rem 0 4.5rem;
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--ink) 100%);
    border-bottom: 1px solid var(--line);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-content.open { max-height: 2000px; }

.lang-toggle {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    overflow: hidden;
}

.lang-toggle a {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cream-muted);
    transition: all 0.2s ease;
}

.lang-toggle a.is-active {
    background: rgba(255,255,255,0.1);
    color: var(--cream);
}

.service-card-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.04);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ─── Light readable sections ─── */
.section-light {
    background: linear-gradient(180deg, #FAF8F5 0%, #F4F0EB 50%, #EFEAE4 100%);
    color: #1C1C22;
}

.section-light .gradient-text {
    background: linear-gradient(135deg, #1C1C22 0%, #4A2028 60%, #9E3039 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-light .section-eyebrow { color: #9E3039; }
.section-light .section-eyebrow::before { background: linear-gradient(90deg, transparent, #9E3039); }
.section-light .section-eyebrow::after { background: linear-gradient(90deg, #9E3039, transparent); }

.section-light p,
.section-light .text-readable { color: #4A4A55; }

.section-light .form-input {
    background: #fff;
    border-color: rgba(158, 48, 57, 0.15);
    color: #1C1C22;
}

.section-light .form-input:focus {
    border-color: #9E3039;
    box-shadow: 0 0 0 3px rgba(158, 48, 57, 0.12);
}

.card-light {
    background: #FFFFFF;
    border: 1px solid rgba(158, 48, 57, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(30, 20, 20, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: #1C1C22;
}

.card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(158, 48, 57, 0.12);
    border-color: rgba(158, 48, 57, 0.22);
}

.border-maroon-accent {
    border-top: 4px solid #9E3039 !important;
}

/* ─── Full service pages ─── */
.service-full-block {
    scroll-margin-top: 6rem;
}

.service-full-block:nth-child(even) .service-full-grid {
    direction: rtl;
}

.service-full-block:nth-child(even) .service-full-grid > * {
    direction: ltr;
}

.service-full-image {
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.service-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-light .service-full-image {
    border-color: rgba(158, 48, 57, 0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-full-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.service-category-pill {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(158, 48, 57, 0.1);
    color: #9E3039;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.portfolio-grid-6 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Featured portfolio on homepage — 4 per row on desktop */
.portfolio-featured-wrap > .portfolio-grid:not(.portfolio-featured-track) {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .portfolio-featured-wrap > .portfolio-grid:not(.portfolio-featured-track) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .portfolio-featured-wrap > .portfolio-grid:not(.portfolio-featured-track) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.portfolio-featured-slider {
    position: relative;
}

.portfolio-featured-viewport {
    overflow: hidden;
    width: 100%;
}

.portfolio-featured-track.portfolio-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.portfolio-featured-track .portfolio-featured-item {
    flex: 0 0 calc((100% - 3.75rem) / 4);
    min-width: 280px;
}

@media (max-width: 1024px) {
    .portfolio-featured-track .portfolio-featured-item {
        flex: 0 0 calc((100% - 1.25rem) / 2);
        min-width: 260px;
    }
}

@media (max-width: 640px) {
    .portfolio-featured-track .portfolio-featured-item {
        flex: 0 0 100%;
        min-width: 0;
    }
}

/* Project detail — 3 photo grid */
.project-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-photo-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
    margin: 0;
}

.project-photo-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.project-photo-card figcaption {
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    color: rgba(243, 241, 236, 0.55);
}

.project-prose p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .project-photos-grid {
        grid-template-columns: 1fr;
    }
}

/* Project detail — scrollable gallery */
.project-gallery-slider {
    position: relative;
    max-width: 100%;
}

.pg-viewport {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.pg-track {
    position: relative;
    min-height: 320px;
}

.pg-slide {
    display: none;
    margin: 0;
}

.pg-slide.is-active {
    display: block;
    animation: pgFade 0.4s ease;
}

@keyframes pgFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pg-slide img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.pg-caption {
    padding: 0.85rem 1.25rem;
    font-size: 0.875rem;
    color: rgba(243, 241, 236, 0.6);
    border-top: 1px solid var(--line);
}

.pg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(6, 6, 8, 0.75);
    border: 1px solid var(--line-strong);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pg-nav:hover {
    background: rgba(158, 48, 57, 0.9);
    border-color: rgba(158, 48, 57, 0.5);
}

.pg-prev { left: 1rem; }
.pg-next { right: 1rem; }

.pg-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pg-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pg-dot.is-active {
    background: var(--gold);
    transform: scale(1.25);
}

.pg-thumbs {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x mandatory;
}

.pg-thumb {
    flex-shrink: 0;
    width: 5.5rem;
    height: 4rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    padding: 0;
    scroll-snap-align: start;
}

.pg-thumb.is-active {
    opacity: 1;
    border-color: var(--gold);
}

.pg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quote page — searchable service picker */
.quote-form-card {
    overflow: visible !important;
}

.service-picker {
    position: relative;
    z-index: 20;
}

.service-search-wrap {
    position: relative;
}

.service-search-input {
    padding-right: 2.75rem !important;
}

.service-search-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.15rem;
    height: 1.15rem;
    color: rgba(158, 48, 57, 0.45);
    pointer-events: none;
}

.service-search-min-hint {
    font-size: 0.75rem;
    color: #71717A;
    margin-top: 0.5rem;
}

.service-search-min-hint.is-hidden {
    display: none;
}

.service-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(158, 48, 57, 0.22);
    border-radius: 0.75rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    z-index: 50;
    list-style: none;
    margin: 0;
    padding: 0.35rem;
}

.service-suggestions[hidden] {
    display: none !important;
}

.service-suggestions li button {
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1C1C22;
    transition: background 0.15s ease;
}

.service-suggestions li button:hover,
.service-suggestions li button:focus {
    background: rgba(158, 48, 57, 0.08);
    outline: none;
}

.service-suggestions .svc-cat {
    display: block;
    font-size: 0.7rem;
    color: #9E3039;
    margin-top: 0.15rem;
}

.service-selected-tags .svc-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(158, 48, 57, 0.1);
    border: 1px solid rgba(158, 48, 57, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #4A2028;
}

.service-selected-tags .svc-tag button {
    color: #9E3039;
    font-weight: 700;
    line-height: 1;
    padding: 0 0.15rem;
}

.service-hints-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9E3039;
    margin-bottom: 0.5rem;
}

.service-hints-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-hint-chip {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(158, 48, 57, 0.08);
    border: 1px solid rgba(158, 48, 57, 0.18);
    color: #4A2028;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.service-hint-chip:hover,
.service-hint-chip.is-selected {
    background: rgba(158, 48, 57, 0.16);
    border-color: rgba(158, 48, 57, 0.35);
}

.service-suggestions li button.is-highlighted {
    background: rgba(158, 48, 57, 0.12);
}

.logo-wrap {
    cursor: pointer;
}

.footer-logo {
    height: 2.5rem;
    width: auto;
}

@media (max-width: 640px) {
    .footer-logo {
        height: 1.5rem;
        max-width: 100px;
    }
}

/* About page enhancements */
.about-hero {
    padding-top: 9rem;
}

.about-image-frame {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(196, 165, 116, 0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.about-stat-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.about-prose p {
    margin-bottom: 1.25rem;
}

.service-paragraph {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-paragraph:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(158, 48, 57, 0.08);
}
