/* ==========================================================================
   SERVICES & SERVICE DETAIL PAGE STYLING - WoodX Interior
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO BANNER
   -------------------------------------------------------------------------- */
.services-banner {
    position: relative;
    min-height: 48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 80px;
    background: var(--brown-dark);
}

@media (min-width: 1200px) {
    .services-banner {
        min-height: 52vh;
    }
}

.services-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.62);
    transform: scale(1.03);
    transition: transform 1.2s ease;
}

.services-banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(30, 15, 5, 0.45) 0%, rgba(18, 8, 2, 0.88) 100%);
    z-index: 2;
}

.services-banner-content {
    position: relative;
    z-index: 3;
    padding: 3rem 5vw;
    max-width: 900px;
    margin: 0 auto;
}

.services-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.1rem;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 131, 42, 0.35);
}

.services-breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

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

.services-banner h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.12;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.services-banner h1 em {
    font-style: italic;
    color: var(--amber);
}

.services-banner p {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 2rem;
}

.services-banner-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-primary {
    background: var(--amber);
    color: var(--brown-dark) !important;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: .88rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 0.95rem 1.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all .25s ease;
    box-shadow: 0 4px 20px rgba(200, 131, 42, .4);
    line-height: 1;
}

.btn-primary:hover {
    background: var(--amber-light);
    color: var(--brown-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 131, 42, .55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: .88rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 0.95rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all .25s ease;
    backdrop-filter: blur(8px);
    line-height: 1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--amber);
    color: var(--amber) !important;
    transform: translateY(-2px);
}

.btn-service-wa {
    background: #25D366;
    color: #fff !important;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.95rem 1.8rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    line-height: 1;
}

.btn-service-wa:hover {
    background: #1eb956;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* --------------------------------------------------------------------------
   2. TRUST PILLARS BAR
   -------------------------------------------------------------------------- */
.trust-strip {
    background: var(--brown-dark);
    border-top: 1px solid rgba(214, 196, 168, 0.2);
    border-bottom: 1px solid rgba(214, 196, 168, 0.2);
    padding: 1.4rem 5vw;
}

.trust-strip-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #fff;
}

.trust-item i {
    font-size: 1.4rem;
    color: var(--amber);
    background: rgba(200, 131, 42, 0.15);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(200, 131, 42, 0.3);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.trust-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   3. CATEGORY / SERVICES FILTER STRIP
   -------------------------------------------------------------------------- */
.services-nav-sticky {
    position: sticky;
    top: 80px;
    z-index: 80;
    background: rgba(253, 250, 245, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 5vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.services-filter-track {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    max-width: 1240px;
    margin: 0 auto;
}

.services-filter-track::-webkit-scrollbar {
    height: 4px;
}
.services-filter-track::-webkit-scrollbar-thumb {
    background: var(--amber);
    border-radius: 4px;
}

.filter-btn {
    white-space: nowrap;
    padding: 0.55rem 1.2rem;
    font-family: 'Barlow', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-mid);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--brown-dark);
    box-shadow: 0 4px 12px rgba(200, 131, 42, 0.25);
}

/* --------------------------------------------------------------------------
   4. SERVICES GRID SECTION (MAIN /services PAGE)
   -------------------------------------------------------------------------- */
.services-grid-section {
    padding: 80px 5vw;
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* INDIVIDUAL SERVICE CARD */
.service-card-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.service-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(56, 34, 20, 0.12);
    border-color: var(--amber);
}

.service-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #2B160B;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-item:hover .service-card-media img {
    transform: scale(1.08);
}

.service-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(30, 15, 5, 0.85);
    color: var(--amber);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(200, 131, 42, 0.4);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--amber);
    margin-bottom: 0.4rem;
}

.service-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--brown-dark);
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.service-card-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-mid);
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.service-card-highlights {
    list-style: none;
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-top: 1px dashed var(--border);
    padding-top: 1rem;
}

.service-card-highlights li {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.service-card-highlights li i {
    color: #27ae60;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* CARD ACTION BUTTONS */
.service-card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    margin-top: auto;
    border-top: 1px solid rgba(214, 196, 168, 0.4);
    padding-top: 1.2rem;
}

.btn-card-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--amber);
    color: var(--brown-dark);
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(200, 131, 42, 0.25);
}

.btn-card-explore:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 131, 42, 0.35);
}

.btn-card-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #25D366;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-card-wa:hover {
    background: #1eb956;
    transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   5. TIMBER & MATERIALS GUIDE
   -------------------------------------------------------------------------- */
.timber-guide-section {
    background: var(--cream);
    padding: 85px 5vw;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.timber-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1240px;
    margin: 3.5rem auto 0;
}

.timber-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2.2rem 1.6rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.timber-card:hover {
    transform: translateY(-5px);
    border-color: var(--amber);
    box-shadow: 0 12px 30px rgba(56, 34, 20, 0.1);
}

.timber-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background: rgba(200, 131, 42, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    font-size: 1.6rem;
}

.timber-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--brown-dark);
    margin-bottom: 0.5rem;
}

.timber-origin {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber);
    margin-bottom: 1rem;
}

.timber-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-mid);
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.timber-traits {
    list-style: none;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.timber-traits li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timber-traits li i {
    color: var(--amber);
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   6. 4-STEP SERVICE PROCESS
   -------------------------------------------------------------------------- */
.service-process-section {
    padding: 90px 5vw;
    background: var(--white);
    max-width: 1240px;
    margin: 0 auto;
}

.service-workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.service-workflow-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2.2rem 1.6rem;
    position: relative;
    transition: transform 0.3s ease;
}

.service-workflow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.workflow-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 1rem;
}

.workflow-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--brown-dark);
    margin-bottom: 0.7rem;
}

.workflow-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-mid);
}

/* --------------------------------------------------------------------------
   7. QUICK ESTIMATE SECTION
   -------------------------------------------------------------------------- */
.quick-estimate-section {
    background: linear-gradient(135deg, #2B160B 0%, #1A0D05 100%);
    color: #fff;
    padding: 90px 5vw;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.quick-estimate-inner {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(214, 196, 168, 0.25);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.quick-estimate-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.quick-estimate-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 0.8rem;
    color: #fff;
}

.quick-estimate-header h2 em {
    font-style: italic;
    color: var(--amber);
}

.quick-estimate-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.estimate-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.estimate-form-group.full {
    grid-column: 1 / -1;
}

.estimate-form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-light);
}

.estimate-form-group input,
.estimate-form-group select,
.estimate-form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(214, 196, 168, 0.3);
    color: #fff;
    padding: 0.9rem 1.1rem;
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.estimate-form-group select {
    cursor: pointer;
}

.estimate-form-group select option {
    background: var(--brown-dark);
    color: #fff;
}

.estimate-form-group input:focus,
.estimate-form-group select:focus,
.estimate-form-group textarea:focus {
    outline: none;
    border-color: var(--amber);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(200, 131, 42, 0.25);
}

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

.btn-send-estimate {
    width: 100%;
    padding: 1.1rem;
    background: var(--amber);
    color: var(--brown-dark);
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 6px 25px rgba(200, 131, 42, 0.4);
}

.btn-send-estimate:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 131, 42, 0.55);
}

/* --------------------------------------------------------------------------
   8. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.services-faq-section {
    padding: 90px 5vw;
    background: var(--white);
    max-width: 900px;
    margin: 0 auto;
    scroll-margin-top: 100px;
}

.faq-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-card.open {
    border-color: var(--amber);
    box-shadow: 0 6px 20px rgba(200, 131, 42, 0.12);
}

.faq-q-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.3rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--brown-dark);
    cursor: pointer;
}

.faq-q-btn i {
    font-size: 0.95rem;
    color: var(--amber);
    transition: transform 0.3s ease;
}

.faq-card.open .faq-q-btn i {
    transform: rotate(180deg);
}

.faq-a-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.6rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-mid);
}

.faq-card.open .faq-a-body {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. BOTTOM CTA STRIP
   -------------------------------------------------------------------------- */
.services-cta-strip {
    background: linear-gradient(rgba(30, 15, 5, 0.88), rgba(30, 15, 5, 0.92)), url('/static/img/portfolio/woodx-074.jpg') center/cover fixed;
    color: #fff;
    text-align: center;
    padding: 85px 5vw;
}

.services-cta-inner {
    max-width: 760px;
    margin: 0 auto;
}

.services-cta-strip h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
}

.services-cta-strip h2 em {
    font-style: italic;
    color: var(--amber);
}

.services-cta-strip p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.2rem;
}

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

/* ==========================================================================
   10. SEPARATE SERVICE DETAIL PAGE STYLING (/services/<slug>)
   ========================================================================== */
.detail-layout-section {
    padding: 60px 5vw 100px;
    max-width: 1280px;
    margin: 0 auto;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3.5rem;
    align-items: start;
}

/* DETAIL MAIN CONTENT COLUMN */
.detail-main {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.detail-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.detail-block-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 900;
    color: var(--brown-dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-block-title i {
    color: var(--amber);
    font-size: 1.4rem;
}

.detail-lead-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
}

/* MULTI-PHOTO GALLERY GRID */
.service-photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-photo-item {
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

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

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

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 8, 2, 0.94);
    z-index: 999;
    align-items: center;
    justify-content: center;
}
.lightbox.open {
    display: flex;
}
.lightbox-img {
    max-width: 88vw;
    max-height: 88vh;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
}
.lightbox-close:hover { color: var(--amber); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 2.2rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    z-index: 1001;
}
.lightbox-nav:hover { background: var(--amber); color: var(--brown-dark); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media(max-width: 700px) {
    .lightbox-img { max-width: 92vw; max-height: 78vh; }
    .lightbox-nav { width: 42px; height: 42px; font-size: 1.7rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { font-size: 2rem; top: 12px; right: 16px; }
}

/* ITEMS CRAFTED GRID */
.items-crafted-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-top: 1.5rem;
}

.crafted-item-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.4rem;
    transition: all 0.25s ease;
}

.crafted-item-card:hover {
    border-color: var(--amber);
    background: #fff;
    box-shadow: 0 6px 18px rgba(200, 131, 42, 0.15);
    transform: translateY(-2px);
}

.crafted-item-card h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brown-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crafted-item-card h4 i {
    color: var(--amber);
    font-size: 0.9rem;
}

.crafted-item-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-mid);
}

/* TIMBER & FINISH BREAKDOWN */
.material-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.material-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem;
}

.material-box h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brown-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--amber);
}

.material-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.material-list li {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.material-list li strong {
    color: var(--brown-dark);
    display: block;
    margin-bottom: 2px;
}

/* SPECIFICATIONS TABLE */
.spec-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 1rem 0.5rem;
    font-size: 0.92rem;
}

.spec-table td.spec-lbl {
    font-weight: 700;
    color: var(--brown-dark);
    width: 35%;
}

.spec-table td.spec-val {
    color: var(--text-mid);
    font-weight: 500;
}

/* SIDEBAR COLUMN (STICKY) */
.detail-sidebar {
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.sidebar-card.highlight {
    background: linear-gradient(135deg, #2B160B 0%, #1A0D05 100%);
    color: #fff;
    border-color: rgba(200, 131, 42, 0.4);
}

.sidebar-card.highlight h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.sidebar-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.sidebar-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brown-dark);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--amber);
}

.sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-mid);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar-nav-list a:hover {
    background: var(--cream);
    color: var(--amber);
    padding-left: 1.1rem;
}

.sidebar-nav-list a.active {
    background: var(--amber);
    color: var(--brown-dark);
    font-weight: 800;
}

/* RELATED SERVICES ROW */
.related-services-section {
    background: var(--cream);
    padding: 75px 5vw;
    border-top: 1px solid var(--border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 2.5rem auto 0;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-container {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        position: static;
        margin-top: 2rem;
    }
    .service-workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .timber-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    .timber-grid {
        grid-template-columns: 1fr;
    }
    .service-workflow-steps {
        grid-template-columns: 1fr;
    }
    .estimate-form-grid {
        grid-template-columns: 1fr;
    }
    .service-photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .items-crafted-grid {
        grid-template-columns: 1fr;
    }
    .material-breakdown-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .detail-block {
        padding: 1.6rem;
    }
    .quick-estimate-inner {
        padding: 1.8rem;
    }
}
