/* Kitchen Worktops Replacement - Scoped Services Page Styles */
:root {
    --kwr-gold: #aa8453;
    --kwr-gold-dark: #967344;
    --kwr-dark: #222222;
    --kwr-cream: #f8f5f0;
    --kwr-border: rgba(170, 132, 83, 0.22);
    --kwr-text: #555555;
}

h1, h2, h3 {
    text-wrap: balance;
}

/* Active dropdown item indicator */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item.active:hover {
    color: var(--kwr-gold);
    font-weight: 600;
}

/* Redesigned Intro & Installation Overview Section */
.wi-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 42px;
    align-items: start;
}
.wi-intro-editorial h1 {
    margin-bottom: 18px;
}
.wi-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 28px;
}
.wi-pillar-item {
    background: #ffffff;
    border: 1px solid var(--kwr-border);
    border-radius: 8px;
    padding: 14px 12px;
    transition: transform .25s ease, border-color .25s ease;
}
.wi-pillar-item:hover {
    transform: translateY(-3px);
    border-color: var(--kwr-gold);
}
.wi-pillar-num {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--kwr-gold);
    margin-bottom: 4px;
}
.wi-pillar-title {
    display: block;
    font-family: 'Gilda Display', serif;
    font-size: 17px;
    color: var(--kwr-dark);
    margin-bottom: 2px;
}
.wi-pillar-sub {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--kwr-text);
}
.wi-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.wi-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .25s ease;
}
.wi-cta-primary {
    background: var(--kwr-gold);
    color: #ffffff !important;
    border: 1px solid var(--kwr-gold);
}
.wi-cta-primary:hover {
    background: var(--kwr-gold-dark);
    border-color: var(--kwr-gold-dark);
    transform: translateY(-2px);
}
.wi-cta-outline {
    background: #ffffff;
    color: var(--kwr-dark) !important;
    border: 1px solid var(--kwr-border);
}
.wi-cta-outline:hover {
    border-color: var(--kwr-gold);
    color: var(--kwr-gold) !important;
    transform: translateY(-2px);
}

/* Right Summary Checklist Card */
.wi-scope-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--kwr-border);
    border-radius: 10px;
    padding: 28px 26px 24px;
    box-shadow: 0 10px 30px rgba(42, 37, 32, 0.07);
    overflow: hidden;
}
.wi-scope-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4c4a8 0%, #aa8453 50%, #d4c4a8 100%);
}
.wi-scope-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.wi-scope-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--kwr-gold);
    margin-bottom: 4px;
    display: block;
}
.wi-scope-title {
    font-family: 'Gilda Display', serif;
    font-size: 23px;
    color: var(--kwr-dark);
    margin: 0;
    line-height: 1.25;
}
.wi-scope-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wi-scope-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.wi-scope-list li:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}
.wi-scope-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(170, 132, 83, 0.12);
    color: var(--kwr-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 2px;
}
.wi-scope-text {
    font-family: 'Barlow', sans-serif;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--kwr-text);
    margin: 0;
}
.wi-scope-text strong {
    color: var(--kwr-dark);
    font-weight: 600;
}
.wi-scope-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.wi-meta-box {
    background: var(--kwr-cream);
    border-radius: 6px;
    padding: 10px 12px;
    text-align: center;
}
.wi-meta-val {
    display: block;
    font-family: 'Gilda Display', serif;
    font-size: 20px;
    color: var(--kwr-gold);
    line-height: 1.2;
}
.wi-meta-lbl {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: var(--kwr-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Feature / Scope Grid (.wcu-section / .wcu-box) */
.wcu-section {
    padding: 90px 0 70px;
    background: #ffffff;
}
.wcu-heading-wrap {
    margin-bottom: 40px;
}
.wcu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.wcu-box {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(170, 132, 83, 0.2);
    border-radius: 10px;
    padding: 32px 26px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(42, 37, 32, 0.05);
    transition: transform .35s cubic-bezier(.25, .46, .45, .94),
                box-shadow .35s cubic-bezier(.25, .46, .45, .94),
                border-color .35s ease;
}
.wcu-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #d4c4a8 20%, #b49b78 50%, #d4c4a8 80%, transparent 100%);
    opacity: 0;
    transition: opacity .35s ease;
}
.wcu-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(42, 37, 32, 0.10);
    border-color: var(--kwr-gold);
}
.wcu-box:hover::before {
    opacity: 1;
}
.wcu-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-100%);
    pointer-events: none;
}
.wcu-box:hover .wcu-shine {
    animation: kwrSweep .75s ease forwards;
}
@keyframes kwrSweep {
    to { transform: translateX(100%); }
}
.wcu-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--kwr-cream);
    border: 1px solid rgba(170, 132, 83, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--kwr-gold);
    margin-bottom: 18px;
}
.wcu-icon-wrap svg {
    width: 22px;
    height: 22px;
}
.wcu-title {
    font-family: 'Gilda Display', serif;
    font-size: 21px;
    color: var(--kwr-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.wcu-text {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--kwr-text);
    margin-bottom: 0;
}

/* Materials Cards Section (.mtl-section / .mtl-box) */
.mtl-section {
    padding: 90px 0 60px;
    background: var(--kwr-cream);
}
.mtl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.mtl-box {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(170, 132, 83, 0.2);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(42, 37, 32, 0.05);
    transition: transform .35s cubic-bezier(.25, .46, .45, .94),
                box-shadow .35s cubic-bezier(.25, .46, .45, .94),
                border-color .35s ease;
}
.mtl-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #d4c4a8 20%, #b49b78 50%, #d4c4a8 80%, transparent 100%);
    opacity: 0;
    z-index: 3;
    transition: opacity .35s ease;
}
.mtl-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(42, 37, 32, 0.11);
    border-color: var(--kwr-gold);
}
.mtl-box:hover::before {
    opacity: 1;
}
.mtl-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    z-index: 2;
    pointer-events: none;
}
.mtl-box:hover .mtl-shine {
    animation: kwrSweep .75s ease forwards;
}
.mtl-img-wrap {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #eae4da;
}
.mtl-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}
.mtl-box:hover .mtl-img-wrap img {
    transform: scale(1.05);
}
.mtl-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.mtl-title {
    font-family: 'Gilda Display', serif;
    font-size: 21px;
    color: var(--kwr-dark);
    margin: 0 0 10px 0;
}
.mtl-text {
    font-family: 'Barlow', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--kwr-text);
    margin: 0 0 18px 0;
    flex-grow: 1;
}
.mtl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--kwr-gold);
    text-decoration: none;
    transition: gap .25s ease, color .25s ease;
}
.mtl-btn:hover {
    gap: 12px;
    color: var(--kwr-gold-dark);
}

/* Our Process – 4 Step Grid (.opr-section / .opr-grid / .opr-box) */
.opr-section {
    padding: 90px 0;
    background: var(--kwr-cream);
}
.opr-heading-wrap {
    margin-bottom: 40px;
}
.opr-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.opr-box {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(170, 132, 83, 0.22);
    border-radius: 10px;
    padding: 30px 24px 26px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(42, 37, 32, 0.05);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.opr-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(42, 37, 32, 0.10);
    border-color: var(--kwr-gold);
}
.opr-step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: rgba(170, 132, 83, 0.25);
    line-height: 1;
}
.opr-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--kwr-cream);
    border: 1px solid rgba(170, 132, 83, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--kwr-gold);
    margin-bottom: 18px;
}
.opr-icon-wrap svg {
    width: 22px;
    height: 22px;
}
.opr-box p {
    font-family: 'Barlow', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--kwr-text);
    margin-bottom: 0;
}

/* Related Services Links Strip */
.related-services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}
.related-service-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 12px;
    min-height: 52px;
    background: var(--kwr-cream);
    border: 1px solid var(--kwr-border);
    border-radius: 6px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--kwr-dark);
    text-decoration: none;
    transition: all .25s ease;
}
.related-service-pill:hover {
    background: var(--kwr-gold);
    border-color: var(--kwr-gold);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .wi-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .wi-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wcu-grid,
    .mtl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .opr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .related-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .wi-scope-card {
        padding: 22px 18px 20px;
    }
    .wcu-section,
    .mtl-section,
    .opr-section {
        padding: 60px 0;
    }
    .wcu-grid,
    .mtl-grid,
    .opr-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .related-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
