/* ============================================
   Schlickmann Construction — Home page layout
   Replicates the live WP site (Stoneham MA) section-by-section.
   Section/button/eyebrow primitives live in design-system.css; this file only
   carries home-specific layouts (hero, why-us, transformations, leader, etc.).
   ============================================ */

/* ============================================
   1) HERO — CSS bg image 1766x860 contain top-center, rounded all 4 sides
              header is in flow (no margin-top compensation)
   ============================================ */
.hero.hero--image {
    position: relative;
    aspect-ratio: 1920 / 914 !important;
    min-height: 380px !important;
    max-height: min(720px, calc(100svh - 96px)) !important;
    height: min(720px, calc(100svh - 96px)) !important;       /* explicit height defeats aspect-ratio + min-height: 100vh from home.css */
    width: 100%;
    max-width: none;
    overflow: hidden;
    margin: 0;
    border-radius: 0;                                                /* full-bleed, edge-to-edge */
    padding-top: 0 !important;
    background-color: var(--color-primary);
    background-image: url('/assets/images/home/slider_1.jpg');       /* legacy fallback */
    background-image: -webkit-image-set(
        url('/assets/images/home/slider_1.avif') type('image/avif'),
        url('/assets/images/home/slider_1.jpg') type('image/jpeg')
    );
    background-image: image-set(
        url('/assets/images/home/slider_1.avif') type('image/avif'),
        url('/assets/images/home/slider_1.jpg') type('image/jpeg')
    );
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;                                          /* edge-to-edge fill */
    display: flex;
    align-items: stretch;
}
.hero.hero--image::before { display: none !important; }
/* legacy <picture> fallback hidden (we now use CSS bg) */
.hero-bg-picture { display: none !important; }
.hero-bg-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.42) 0%,                  /* darker black mask up top */
        rgba(0, 0, 0, 0.52) 45%,
        rgba(18, 36, 59, 0.82) 100%              /* deep navy where text sits */
    );
    pointer-events: none;
}

.hero-container {
    position: relative; z-index: 2;
    display: flex; flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    width: 100%; padding: 60px 60px 56px 0 !important;     /* zero left padding — column hugs edge */
    color: #fff;
    text-align: left;
}
.hero-content {
    flex: 1 1 auto;
    max-width: 780px;
    text-align: left;
    margin: 0 !important;
    padding: 0 0 0 180px !important;     /* column inset from left edge */
    align-self: flex-end !important;     /* lock left column at flex-end (bottom) regardless of cross-axis cascade */
}

/* Eyebrow — small uppercase line above the title */
.hero-eyebrow {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 22px;
    padding-left: 14px;
    border-left: 2px solid rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

/* H1 — refined weights with proper hierarchy */
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.4vw, 68px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
    color: #FFFFFF;
    text-align: left;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
.hero h1 .hero-line { display: block; }
.hero h1 .hero-line--bold   { font-weight: 800; color: #FFFFFF; }
.hero h1 .hero-line--accent { font-weight: 400; color: #B6C8E0; letter-spacing: -1px; }

/* Subtitle — softer, tighter max-width */
.hero-subtitle {
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 17px !important;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin: 0 0 28px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Trust meta row — stars rating + license badge */
.hero-meta {
    display: inline-flex; align-items: center; gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Roboto', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    margin-top: 6px;
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-item svg { color: var(--color-gold); flex-shrink: 0; }
.hero-meta-item strong { font-weight: 600; color: #FFFFFF; }
.hero-meta-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.25); }

/* Hero actions — column-stacked at bottom-right */
.hero-actions {
    display: flex; flex-direction: column; gap: 12px;
    flex-shrink: 0;
    align-items: stretch;
    min-width: 280px;
}

/* Hero buttons — premium dark+white treatment (overrides btn-pill defaults) */
.btn-hero {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 28px;
    border-radius: 999px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
    white-space: nowrap;
}
.btn-hero svg { stroke-width: 2.2; flex-shrink: 0; }

.btn-hero--primary {
    background: #FFFFFF;
    color: var(--color-primary);
    border-color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.btn-hero--primary:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(109, 139, 178, 0.4);
}

.btn-hero--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.btn-hero--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #FFFFFF;
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .hero-container { flex-direction: column; align-items: stretch; gap: 28px; padding: 50px 36px 44px 0 !important; }
    .hero-actions { align-self: flex-start; min-width: 260px; margin-left: 30px; }
}
@media (max-width: 768px) {
    .hero.hero--image { aspect-ratio: auto; min-height: 480px; width: 100%; margin: 0; border-radius: 0; background-size: cover; background-position: center center; }
    .hero-container { padding: 30px 22px 28px 0 !important; gap: 24px; }
    .hero-content { padding-left: 22px !important; }
    .hero-actions { margin-left: 22px; }
    .hero-eyebrow { font-size: 11px; }
    .hero-meta { font-size: 12.5px; gap: 14px; }
    .hero-actions { width: 100%; min-width: 0; }
    .btn-hero { width: 100%; padding: 14px 22px; font-size: 14.5px; }
}

/* ============================================
   2) STATS COUNTERS — uses .ds-stats from design-system.css
   ============================================ */

/* ============================================
   3) WHY CHOOSE US — single image LEFT + text RIGHT (WP fidelity)
   ============================================ */
.why-section { padding: 80px 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }

.why-image { margin: 0; border-radius: 14px; overflow: hidden; }
.why-image img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.why-image:hover img { transform: scale(1.02); }

.why-content .lead {
    font-size: 1.05rem; color: var(--color-text); margin: 8px 0 16px; line-height: 1.65;
}
.why-content p { color: var(--color-text-muted); line-height: 1.7; margin-bottom: 14px; }

.why-checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.why-checklist li {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 0;
    color: var(--color-text);
    font-size: 1rem;
}
.why-checklist li svg { color: var(--color-secondary); flex-shrink: 0; }

@media (max-width: 992px) {
    .why-grid { grid-template-columns: 1fr; gap: 50px; }
    .why-image { max-width: 600px; margin: 0 auto; }
}

/* ============================================
   4) FEATURED PROJECTS — SEO/GEO showcase grid (3x2)
   ============================================ */
.featured-projects { padding: 90px 0 100px; background: #F9F9FB; }

.featured-projects-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: end;
    max-width: none;
    margin-bottom: 56px;
    text-align: left;
    padding: 0;
}
.featured-projects-header .section-h2 { margin: 14px 0 0; }
.featured-projects-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 540px;
    justify-self: end;
}
.featured-projects-intro strong { color: var(--color-primary); font-weight: 600; }

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

.project-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(18, 36, 59, 0.06);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    display: flex;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(18, 36, 59, 0.12);
}

.project-card-link {
    display: flex; flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.project-card-media {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #EAEEF3;
}
.project-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.project-card:hover .project-card-media img { transform: scale(1.05); }

.project-card-tag {
    position: absolute;
    top: 14px; left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.project-card-body {
    padding: 22px 22px 24px;
    display: flex; flex-direction: column;
    flex: 1;
    gap: 10px;
}

.project-card-location {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.project-card-location svg { color: var(--color-secondary); flex-shrink: 0; }

.project-card-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
    margin: 0;
}

.project-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
    flex: 1;
}

.project-card-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 6px 0 0;
    padding-top: 14px;
    border-top: 1px solid #EEF1F5;
}
.project-card-specs > div { display: flex; flex-direction: column; gap: 2px; }
.project-card-specs dt {
    font-family: 'Roboto', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.project-card-specs dd {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

.project-card-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-top: 4px;
    transition: gap 0.25s ease, color 0.25s ease;
}
.project-card:hover .project-card-cta { gap: 10px; color: var(--color-primary); }

.featured-projects-footer {
    display: flex; justify-content: center;
    margin-top: 56px;
}

@media (max-width: 1100px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
    .featured-projects { padding: 70px 0 80px; }
    .featured-projects-header { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
    .featured-projects-intro { justify-self: start; }
}
@media (max-width: 600px) {
    .projects-grid { grid-template-columns: 1fr; gap: 20px; }
    .project-card-specs { gap: 8px; }
}

/* ============================================
   5) MEET THE LEADER
   ============================================ */
.leader-section { padding: 100px 0 80px; background: #fff; }
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.leader-content p { color: var(--color-text-muted); line-height: 1.75; margin-bottom: 14px; font-size: 1rem; }
.leader-quote {
    margin: 24px 0 0;
    padding: 20px 0 0 22px;
    border-left: 3px solid var(--color-secondary);
    font-style: italic;
    color: var(--color-primary);
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}

.leader-portrait {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    background: linear-gradient(135deg, #F9F9FB, #E1E5EB);
}
.leader-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.leader-card {
    position: absolute; right: 18px; bottom: 18px;
    background: var(--color-primary); color: #fff;
    padding: 14px 20px; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(18, 36, 59, 0.2);
}
.leader-card-role { display: block; font-size: 0.75rem; opacity: 0.7; letter-spacing: 0.5px; }
.leader-card-name { display: block; font-size: 1.05rem; font-weight: 700; margin-top: 2px; }

@media (max-width: 992px) {
    .leader-grid { grid-template-columns: 1fr; gap: 40px; }
    .leader-portrait { max-width: 480px; margin: 0 auto; }
}

/* ============================================
   6) TESTIMONIALS — navy bg + reviews grid (WP fidelity: no watermark)
   ============================================ */
.testimonials-section { padding: 80px 0 100px; background: var(--color-primary); color: #fff; position: relative; }
.testimonials-section .section-header { color: #fff; margin-bottom: 50px; }
.testimonials-section .section-h2 { color: #fff; }
.testimonials-section .section-subtitle { color: rgba(255, 255, 255, 0.78); margin-bottom: 30px; }

/* Reviews infinite carousel — white cards, Google avatars, gold stars, 4 visible symmetric */
.testimonials-section .container { max-width: 1500px; }

/* Match TESTIMONIALS label color to "Saying About Us" h2 accent (#728CAC) */
.testimonials-section .section-label,
.testimonials-section .section-label--accent {
    color: #728CAC !important;
    border-left-color: #728CAC !important;
}

/* CTA wrapper below carousel */
.reviews-cta {
    display: flex; justify-content: center;
    margin-top: 50px;
}

.reviews-carousel {
    position: relative;
    width: 100%;
    margin-top: 40px;
}
.reviews-viewport {
    overflow: hidden;
    padding: 14px 0;
    container-type: inline-size;            /* enables 100cqi for child sizing */
}
.reviews-track {
    display: flex;
    gap: 18px;
    will-change: transform;
    width: max-content;
    align-items: stretch;                   /* all cards same height */
}

/* Carousel-only override — design-system has the base .review-card.
   Inside .reviews-carousel the cards are flex children with cqi-based width. */
.reviews-carousel .review-card { flex: 0 0 calc((100cqi - 54px) / 4); width: auto; }

/* Reviews carousel arrows — discreet, outside cards */
.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    z-index: 5;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
}
.reviews-arrow:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
}
.reviews-arrow:active { transform: translateY(-50%) scale(0.96); }
.reviews-arrow--prev { left: -16px; }
.reviews-arrow--next { right: -16px; }
.reviews-arrow svg { display: block; }

@media (max-width: 1100px) {
    .review-card { flex: 0 0 calc((100cqi - 36px) / 3); }     /* 3 visible */
}
@media (max-width: 768px) {
    .review-card { flex: 0 0 calc((100cqi - 18px) / 2); }     /* 2 visible */
}
@media (max-width: 540px) {
    .review-card { flex: 0 0 100cqi; }                          /* 1 visible */
    .reviews-arrow { width: 38px; height: 38px; }
    .reviews-arrow--prev { left: 0; }
    .reviews-arrow--next { right: 0; }
}

/* ============================================
   7) OUR PROCESS — horizontal numbered timeline (Schema.org HowTo)
   ============================================ */
.process-section { padding: 100px 0; background: #FFFFFF; }

.process-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.process-header .section-label { display: inline-block; }
.process-header .section-h2 { margin-top: 14px; }
.process-lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 18px 0 0;
}

.process-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
/* connector line behind step markers — desktop only */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 32px;                              /* aligns with marker center (64/2) */
    left: calc(12.5% + 32px);                /* offset past first marker */
    right: calc(12.5% + 32px);               /* offset before last marker */
    height: 2px;
    background: linear-gradient(to right,
        rgba(109, 139, 178, 0.85) 0%,
        rgba(109, 139, 178, 0.35) 100%);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.process-step-marker {
    position: relative;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(18, 36, 59, 0.18);
    flex-shrink: 0;
}
.process-step-num {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
}
.process-step-icon {
    position: absolute;
    bottom: -6px; right: -6px;
    width: 28px; height: 28px;
    padding: 5px;
    background: var(--color-secondary);
    color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(18, 36, 59, 0.25);
}

.process-step-body {
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 100%;
}
.process-step-time {
    display: inline-block;
    background: rgba(109, 139, 178, 0.12);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 999px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.4;
}
.process-step-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.25;
}
.process-step-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}
.process-step-deliverable {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #F4F7FB;
    color: var(--color-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.process-step-deliverable svg { color: var(--color-secondary); flex-shrink: 0; }

.process-cta {
    margin-top: 70px;
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center;
    gap: 18px;
}
.process-cta-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}
.process-cta-text strong { color: var(--color-primary); font-weight: 700; }

@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }
    /* vertical connector line on mobile */
    .process-timeline::before {
        top: 0; bottom: 0;
        left: 32px; right: auto;
        width: 2px; height: auto;
        background: linear-gradient(to bottom,
            rgba(109, 139, 178, 0.85) 0%,
            rgba(109, 139, 178, 0.35) 100%);
    }
    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 22px;
        padding-bottom: 36px;
    }
    .process-step-body { text-align: left; align-items: flex-start; }
}
@media (max-width: 600px) {
    .process-section { padding: 70px 0 80px; }
    .process-header { margin-bottom: 44px; }
    .process-step-marker { width: 56px; height: 56px; }
    .process-timeline::before { left: 28px; }
}

/* ============================================
   8) SERVICES — video LEFT + content RIGHT (2-col split)
   ============================================ */
.services-section { padding: 0; background: var(--color-primary-light); }
.services-split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 640px;
}

.services-visual {
    position: relative; overflow: hidden;
    background: #2c3e54;
    min-height: 480px;
}
.services-visual img,
.services-visual video,
.services-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.services-content {
    background: var(--color-primary-light);
    padding: 80px 60px;
    color: #fff;
    display: flex; align-items: center;
}
.services-content-inner { max-width: 720px; margin: 0 auto; width: 100%; text-align: left; }
.services-content .section-label { display: inline-block; }
.services-content .section-h2 { color: #fff; text-align: left; margin-bottom: 12px; }
.services-subtitle { color: rgba(255, 255, 255, 0.85); text-align: left; margin: 0 0 40px; max-width: 560px; }

.services-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;       /* 2x2 inside the right column */
    gap: 18px;
    margin-bottom: 40px;
    text-align: left;
}
.service-card-mini {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 28px 26px 32px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}
.service-card-mini:hover { background: rgba(255, 255, 255, 0.10); transform: translateY(-3px); }
.service-card-icon-square {
    width: 52px; height: 52px;
    background: #fff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary-light);
    margin-bottom: 18px;
}
.service-card-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.2; }
.service-card-desc  { font-size: 0.92rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); margin: 0; }

.services-cta-row { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.services-cta-row .btn-pill--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.services-cta-row .btn-pill--light:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 992px) {
    .services-split { grid-template-columns: 1fr; }
    .services-visual { min-height: 320px; height: clamp(280px, 50vw, 460px); }
    .services-content { padding: 60px 24px 80px; }
}
@media (max-width: 600px) {
    .services-grid-row { grid-template-columns: 1fr; }
    .services-cta-row { flex-direction: column; align-items: stretch; }
}

/* ============================================
   10) LATEST NEWS
   ============================================ */
.news-section { padding: 100px 0; background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid #E7E7E7; border-radius: 12px; padding: 30px; transition: box-shadow 0.2s ease; }
.news-card:hover { box-shadow: 0 12px 30px rgba(18, 36, 59, 0.08); }
.news-card-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin: 0 0 14px; }
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--color-primary); }
.news-card-excerpt { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 18px; }
.news-card-meta { padding: 14px 0; border-top: 1px solid #E7E7E7; }
.news-card-link { color: var(--color-secondary); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-decoration: none; }
.news-card-link:hover { color: var(--color-primary); }
.news-card-date { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 14px; padding-top: 14px; border-top: 1px solid #E7E7E7; font-style: italic; }

@media (max-width: 992px) { .news-grid { grid-template-columns: 1fr; } }

/* ============================================
   11) PORTFOLIO GALLERY (navy bg)
   ============================================ */
.portfolio-section { padding: 100px 0; background: var(--color-primary); color: #fff; }
.portfolio-section .section-h2 { color: #fff; }
.portfolio-subtitle { color: rgba(255, 255, 255, 0.78); margin-bottom: 0; max-width: 480px; margin-left: auto; margin-right: auto; }
.section-header--portfolio { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; max-width: none; text-align: left; margin-bottom: 60px; }
.section-header--portfolio .section-h2 { text-align: left; margin: 0; }
.section-header--portfolio .portfolio-subtitle { text-align: left; margin: 0; max-width: none; }

/* Portfolio section — wider container + accent-color label match */
.portfolio-section .container { max-width: 1500px; }
.portfolio-section .section-label,
.portfolio-section .section-label--accent {
    color: #728CAC !important;
    border-left-color: #728CAC !important;
}

/* ─── Portfolio category filter pills ─── */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}
.portfolio-filter {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.82);
    padding: 10px 20px;
    border-radius: 999px;
    font-family: 'Roboto', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.18s ease;
}
.portfolio-filter:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.42);
    color: #FFFFFF;
    transform: translateY(-1px);
}
.portfolio-filter.is-active {
    background: #FFFFFF;
    color: var(--color-primary);
    border-color: #FFFFFF;
}

/* ─── Portfolio symmetric 4-column grid (uniform tiles) ─── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.portfolio-tile {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    aspect-ratio: 4 / 3;                    /* uniform shape across all tiles */
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.portfolio-tile.is-hidden {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}
/* size modifiers neutralized — kept for future masonry re-enable */
.portfolio-tile--small,
.portfolio-tile--medium,
.portfolio-tile--large {
    grid-column: span 1;
    grid-row: span 1;
}

.portfolio-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-tile:hover img { transform: scale(1.06); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 20px;
    background: linear-gradient(to top,
        rgba(18, 36, 59, 0.92) 0%,
        rgba(18, 36, 59, 0.55) 35%,
        rgba(18, 36, 59, 0.05) 70%,
        transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.portfolio-tile:hover .portfolio-overlay { opacity: 1; }

.portfolio-tile-tag {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 5px 11px;
    border-radius: 999px;
    font-family: 'Roboto', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.portfolio-overlay-body { display: flex; flex-direction: column; gap: 6px; }
.portfolio-tile-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.25;
}
.portfolio-tile-loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.88);
}

.portfolio-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px;
    font-size: 0.95rem;
    margin: 0;
}

.portfolio-footer {
    display: flex; justify-content: center;
    margin-top: 56px;
}

@media (max-width: 1100px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    /* show overlay always on touch devices for clarity */
    .portfolio-overlay { opacity: 1; background: linear-gradient(to top, rgba(18, 36, 59, 0.85) 0%, rgba(18, 36, 59, 0.2) 60%, transparent 100%); }
}
@media (max-width: 540px) {
    .portfolio-filters { gap: 8px; }
    .portfolio-filter { padding: 8px 14px; font-size: 11.5px; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 992px) {
    .section-header--portfolio { grid-template-columns: 1fr; }
    .section-header--portfolio .section-h2,
    .section-header--portfolio .portfolio-subtitle { text-align: left; }
}

/* ============================================
   12) FAQ
   ============================================ */
.faq-section { padding: 100px 0; background: var(--color-bg-alt); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}
.faq-question {
    width: 100%; padding: 22px 26px;
    background: transparent; border: 0;
    display: flex; align-items: center; justify-content: space-between;
    text-align: left;
    font-family: var(--font-primary); font-size: 1.05rem; font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: color 0.2s ease;
}
.faq-question span { flex: 1; padding-right: 14px; }
.faq-toggle { font-size: 1.4rem; color: var(--color-secondary); width: 24px; text-align: center; flex-shrink: 0; }
.faq-item.active .faq-question { color: var(--color-secondary); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 26px; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 600px; padding: 0 26px 24px; }
.faq-answer p { color: var(--color-text-muted); line-height: 1.7; margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Hide HLD-era sections we replaced */
.intro-section,
.why-us-section,
.trust-bar,
.final-cta-section { display: none !important; }
