/* =========================================================================
   PAVER CRAFT — INNER PAGES STYLESHEET
   Loaded by about.php, projects.php, contact.php and blog.php (in
   addition to style.css). Sections:
     1.  Page hero (shared breadcrumb banner)
     2.  About — Our Story
     3.  About — Mission & Vision
     4.  About — Core Values (flip cards)
     5.  About — Journey timeline
     6.  About — Leadership team
     7.  About — closing CTA strip
     8.  Projects — filter bar + grid
     9.  Projects — featured spotlight
     10. Projects — stats strip
     11. Projects — closing CTA strip
     12. Contact — info cards
     13. Contact — form + map
     14. Contact — departments
     15. Blog — featured post
     16. Blog — grid
     17. Blog — newsletter
     18. Blog — pagination
     19. Responsive
   ========================================================================= */

/* ---------- 1. Page hero ---------- */
.page-hero {
    position: relative;
    margin-top: var(--navbar-height);
    padding: 90px 0 70px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(26, 20, 20, 0.92) 0%, rgba(36, 24, 24, 0.88) 100%);
}
.page-hero__inner { position: relative; z-index: 1; text-align: center; }

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-olive);
    margin-bottom: 16px;
}
.page-hero__eyebrow span { width: 30px; height: 2px; background: var(--color-olive); }

.page-hero__inner h1 {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}

.page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}
.page-hero__breadcrumb a { color: rgba(255, 255, 255, 0.85); transition: color var(--transition); }
.page-hero__breadcrumb a:hover { color: var(--color-olive); }
.page-hero__breadcrumb i { font-size: 10px; }

/* Large "premium" hero treatment — full viewport height instead of the
   shared compact banner height, plus an ambient glow + dot-grid texture,
   an italic serif display heading, a fade seam into the next section and
   a bouncing scroll cue. Opt-in per page (currently about.php, products.php)
   so it reads as a designed moment rather than the flat banner other
   inner pages use. */
.page-hero--premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

/* Sits above the shared dark ::before gradient, below the text (which
   carries z-index: 1) — just a faint dot-grid texture now (the red/olive
   glow blobs previously here were removed per request). */
.page-hero--premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: page-hero-glow-drift 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes page-hero-glow-drift {
    from { opacity: 0.75; transform: translate3d(0, 0, 0); }
    to { opacity: 1; transform: translate3d(-14px, 10px, 0); }
}

/* Fades the hero's dark base into the white section below instead of a
   hard cut-off edge. */
.page-hero--premium .page-hero__seam {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(26, 20, 20, 0) 0%, #fff 100%);
    pointer-events: none;
}

.page-hero--premium .page-hero__inner h1 {
    font-size: 64px;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.35);
}

/* Elegant serif display treatment, set apart from the site's usual Poppins
   so the About Us hero reads as a distinct editorial moment. */
.page-hero--premium .page-hero__title--display {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.page-hero--premium .page-hero__desc {
    max-width: 560px;
    margin: 22px auto 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.page-hero__scroll {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    animation: page-hero-scroll-bounce 2.2s ease-in-out infinite;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.page-hero__scroll:hover {
    color: #fff;
    border-color: var(--color-olive);
    background: rgba(255, 255, 255, 0.08);
}

@keyframes page-hero-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Left-aligned "editorial" hero — eyebrow + heading + quick-contact chips,
   with a giant low-opacity watermark word behind it, masked so it fades
   out rather than getting hard-clipped at the viewport edge. Opt-in via
   .page-hero--split (currently just contact.php) so the plain .page-hero
   used by applications/blog/projects/paver-blocks and the centered
   .page-hero--premium used by about/products are both untouched. */
.page-hero--split { padding: 110px 0 80px; }

.page-hero--split .page-hero__inner { text-align: left; }
.page-hero--split .page-hero__eyebrow { justify-content: flex-start; }

/* Anchored from the LEFT, close to the container's own left edge — sits
   behind the heading, reading as a full, complete word rather than a
   partially-cropped/faded one. The font-size cap is sized so the full
   word ("CONTACT") comfortably fits before the right edge at every
   desktop width this rule applies to (≥992px), so no mask/fade is needed
   to hide an overflowing tail — it's just fully there, at low opacity. */
.page-hero__watermark {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 28%;
    transform: translateY(-42%);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(70px, 11vw, 190px);
    letter-spacing: 2px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.07);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.page-hero__title--split {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.2vw, 58px);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 18px;
    max-width: 640px;
}
.page-hero__title--split .text-accent { color: var(--color-primary); font-style: italic; font-weight: 600; }

.page-hero--split .page-hero__desc {
    max-width: 460px;
    margin: 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
}

.page-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}
.page-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.page-hero__chip i { color: var(--color-olive); font-size: 13px; }
.page-hero__chip:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.page-hero__chip:hover i { color: #fff; }

/* ---------- 2. About — Our Story ---------- */
.story { padding: 100px 0; background: #fff; }

.story__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.story__media { position: relative; }
.story__media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
}
.story__media-tab {
    position: absolute;
    left: -28px;
    bottom: 34px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    padding: 20px 26px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(91, 103, 32, 0.3);
    max-width: 220px;
}
.story__media-tab i { font-size: 22px; margin-bottom: 8px; display: block; }
.story__media-tab p { font-size: 13px; line-height: 1.5; }

/* Variant for isolated product-shot photos (transparent/plain background)
   instead of full-bleed scene photography — contain + tray instead of crop */
.story__media--contain {
    height: 420px;
    background: var(--color-bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story__media--contain img { height: auto; max-height: 78%; width: auto; max-width: 80%; object-fit: contain; border-radius: 0; }

/* ---------- Related products (product-detail.php) ----------
   Reuses the homepage .products band + .procard grid as-is. The spec
   sheet normally sits flush under the white .story section (no top
   padding); once this light band is between them it needs its own top
   spacing, and a following "Why" section is switched to white so two
   light bands never merge into one. */
.related-products + .specs { padding-top: 100px; }
.related-products + .fresh-start { background: #fff !important; }

/* ---------- Product spec sheet ---------- */
.specs { padding: 0 0 100px; background: #fff; }

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 50px;
}

.spec-item { background: #fff; padding: 26px 28px; }
.spec-item span {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 8px;
}
.spec-item strong { font-size: 17px; font-weight: 700; color: var(--color-dark); }

.story__content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

.story__quote {
    margin-top: 26px;
    padding: 22px 26px;
    border-left: 3px solid var(--color-primary);
    background: var(--color-bg-light);
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    font-style: italic;
    color: var(--color-dark);
}
.story__quote strong { display: block; margin-top: 10px; font-size: 13px; font-style: normal; color: var(--color-primary); }

/* ---------- 3. About — Mission & Vision ---------- */
.pillars { padding: 0 0 100px; background: #fff; }

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

.pillar-card {
    position: relative;
    overflow: hidden;
    padding: 46px 42px;
    border-radius: 20px;
    color: #fff;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.pillar-card--green { background: linear-gradient(155deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); }
.pillar-card--dark { background: linear-gradient(155deg, var(--color-ink-soft) 0%, var(--color-ink) 100%); }

.pillar-card i {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
}
.pillar-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.pillar-card p { font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.75); }

/* ---------- 4. About — Core Values (flip cards) ---------- */
.values { padding: 100px 0; background: var(--color-bg-light); }

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 50px;
}

.value-card { perspective: 1200px; height: 220px; }

.value-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}
.value-card:hover .value-card__inner,
.value-card.is-flipped .value-card__inner { transform: rotateY(180deg); }

.value-card__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 18px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.value-card__face--front {
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.value-card__face--front i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(91, 103, 32, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.value-card__face--front h4 { font-size: 16px; font-weight: 600; color: var(--color-dark); }

.value-card__face--back {
    background: linear-gradient(155deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    transform: rotateY(180deg);
}
.value-card__face--back p { font-size: 13.5px; line-height: 1.7; }

/* ---------- 5. About — The New-Age Advantage ---------- */
.fresh-start { padding: 100px 0; background: #fff; }

.fresh-start__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.fresh-start__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color var(--transition);
}
.fresh-start__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.fresh-start__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    font-size: 22px;
}

.fresh-start__card h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
    margin-bottom: 10px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fresh-start__card p { font-size: 13.5px; color: var(--color-text-light); line-height: 1.7; }

/* ---------- 6. About — Leadership team ---------- */
.team { padding: 100px 0; background: var(--color-bg-light); }

/* flex + a flexible card basis (rather than a 4-column grid) so the
   cards stay centered as a balanced group whatever the headcount — 2
   cards sit centered side by side instead of left-aligned in two empty
   grid tracks, and it still wraps/shrinks naturally on narrow screens
   without needing separate breakpoint column-count overrides. */
.team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 50px;
}

.team-card {
    flex: 0 1 340px;
    max-width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
    transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(0, 0, 0, 0.12); }

.team-card__avatar {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 0 6px var(--color-bg-light);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}
/* Real headshot — fills the circle instead of showing initials */
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Placeholder for a member whose photo isn't in hand yet — a neutral
   cross mark instead of colored initials, so it visibly reads as "photo
   pending" rather than a finished/branded avatar. */
.team-card__avatar--placeholder { background: var(--color-grey-green); font-size: 34px; }
.team-card__avatar--placeholder i { color: rgba(255, 255, 255, 0.85); }
.team-card h4 { font-size: 20px; font-weight: 700; color: var(--color-dark); margin-bottom: 6px; }
.team-card span { font-size: 14.5px; color: var(--color-text-light); display: block; margin-bottom: 22px; }

.team-card__social {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.team-card__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-bg-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background var(--transition), color var(--transition);
}
.team-card__social a:hover { background: var(--color-primary); color: #fff; }

/* ---------- 7. About — closing CTA strip ---------- */
.about-cta { padding: 80px 0; background: #fff; }
/* Sits straight after the white .fresh-start on about.php, so drop the
   top padding to avoid a doubled white gap between the two sections. */
.fresh-start + .about-cta { padding-top: 0; }

.about-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding: 50px 56px;
    border-radius: 24px;
    background: var(--color-bg-light);
}
.about-cta__inner h3 { font-size: 26px; font-weight: 800; color: var(--color-dark); margin-bottom: 8px; }
.about-cta__inner p { font-size: 14.5px; color: var(--color-text-light); }
.about-cta__actions { flex-shrink: 0; }

/* ---------- 8. Projects — filter bar + grid ---------- */
.projects-showcase { padding: 100px 0; background: #fff; }

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 50px 0 44px;
}
.projects-filter__btn {
    padding: 11px 24px;
    border-radius: 30px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition);
}
.projects-filter__btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.projects-filter__btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

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

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.project-card__photo { height: 220px; overflow: hidden; background: var(--color-bg-light); flex-shrink: 0; }
.project-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.5s ease;
}
.project-card:hover .project-card__photo img { transform: scale(1.08); }

.project-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 1;
}

.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.project-card__body h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
    margin-bottom: 8px;
    min-height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project-card__body p { margin-top: auto; font-size: 13.5px; color: var(--color-text-light); display: flex; align-items: center; gap: 8px; }
.project-card__body p i { color: var(--color-primary); }

/* ---------- 9. Projects — featured spotlight ---------- */
.spotlight { padding: 0 0 100px; background: #fff; }

.spotlight__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.spotlight__media { position: relative; background: var(--color-bg-light); }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }

.spotlight__body {
    padding: 56px 52px;
    background: linear-gradient(155deg, var(--color-ink-soft) 0%, var(--color-ink) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.spotlight__body span.section-head__eyebrow { color: var(--color-olive); }
.spotlight__body h3 { font-size: 28px; font-weight: 800; margin: 12px 0 16px; }
.spotlight__body p { font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.7); margin-bottom: 26px; }

.spotlight__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.spotlight__stats strong { display: block; font-size: 22px; font-weight: 800; color: var(--color-olive); }
.spotlight__stats span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* ---------- 10. Projects — stats strip ---------- */
.project-stats { padding: 0 0 100px; background: #fff; }

.project-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-stats__card {
    text-align: center;
    padding: 36px 20px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    transition: transform var(--transition), box-shadow var(--transition);
}
.project-stats__card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06); }
.project-stats__card i { font-size: 26px; color: var(--color-primary); margin-bottom: 16px; }
.project-stats__card strong { display: block; font-size: 30px; font-weight: 800; color: var(--color-dark); }
.project-stats__card span { font-size: 13px; color: var(--color-text-light); }

/* ---------- 11. Projects — closing CTA strip ---------- */
.projects-cta {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(155deg, var(--color-ink-soft) 0%, var(--color-ink) 100%);
}
.projects-cta h3 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.projects-cta p { font-size: 15px; color: rgba(255, 255, 255, 0.65); margin-bottom: 30px; }

/* ---------- 12. Contact — info cards ---------- */
.contact-info { padding: 80px 0 60px; background: #fff; }

.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-info__card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 18px;
    background: var(--color-bg-light);
    transition: transform var(--transition), background var(--transition);
}
.contact-info__card:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07); }

.contact-info__card i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 20px;
}
.contact-info__card h4 { font-size: 15.5px; font-weight: 600; color: var(--color-dark); margin-bottom: 8px; }
.contact-info__card p { font-size: 13.5px; color: var(--color-text-light); line-height: 1.6; }

/* ---------- 13. Contact — form + map ---------- */
.contact-main { padding: 40px 0 100px; background: #fff; }

.contact-main__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 22px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.form-field { position: relative; }
.form-field label {
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 14.5px;
    color: var(--color-text-light);
    pointer-events: none;
    transition: all 0.2s ease;
    background: #fff;
    padding: 0 4px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--color-dark);
    transition: border-color var(--transition);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--color-primary); }

.form-field.is-active label,
.form-field input:focus + label,
.form-field textarea:focus + label {
    top: -9px;
    left: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
}

.contact-form__submit { align-self: flex-start; border: none; }

.contact-form__success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    background: rgba(91, 103, 32, 0.1);
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 600;
}
.contact-form__success.is-visible { display: flex; }
.contact-form__success i { font-size: 18px; }

.contact-form__error {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    background: rgba(198, 40, 40, 0.08);
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 600;
    margin-top: 14px;
}
.contact-form__error.is-visible { display: flex; }
.contact-form__error i { font-size: 18px; }

.contact-map {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, var(--color-bg-light) 0%, #ececec 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
.contact-map__pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 103, 32, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 103, 32, 0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 75%);
    mask-image: radial-gradient(circle at center, #000 0%, transparent 75%);
    pointer-events: none;
}
.contact-map__content { position: relative; z-index: 1; text-align: center; padding: 40px; }
.contact-map__pin {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 0 0 10px rgba(91, 103, 32, 0.12);
}
.contact-map__content h4 { font-size: 17px; font-weight: 700; color: var(--color-dark); margin-bottom: 6px; }
.contact-map__content p { font-size: 13.5px; color: var(--color-text-light); margin-bottom: 22px; line-height: 1.6; }
/* Embedded map inside the contact panel */
.contact-map__iframe {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 12px;
    margin-bottom: 18px;
    display: block;
}

@media (max-width: 600px) {
    .contact-map__iframe { height: 200px; }
}

/* ---------- 14. Contact — departments ---------- */
.departments { padding: 0 0 100px; background: #fff; }

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

.department-card {
    padding: 34px 30px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.department-card:hover { border-color: var(--color-primary); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05); }
.department-card i {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(91, 103, 32, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.department-card h4 { font-size: 15px; font-weight: 600; color: var(--color-dark); margin-bottom: 6px; }
.department-card p { font-size: 13px; color: var(--color-text-light); margin-bottom: 8px; }
.department-card a { font-size: 13px; font-weight: 600; color: var(--color-primary); }

/* ---------- 15. Blog — featured post ---------- */
.blog-featured { padding: 100px 0 50px; background: #fff; }

.blog-featured__card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}
/* position:relative + an absolutely-positioned img (rather than the img
   just being width/height:100% in normal flow) so a portrait-orientation
   photo can't feed its own intrinsic aspect ratio back into this grid
   track's auto height — .blog-featured__media has no intrinsic size of
   its own now, so the row height comes purely from .blog-featured__body's
   content, and this panel just stretches (default align-items) to match
   it, with the img filling whatever that turns out to be via inset:0. */
.blog-featured__media { position: relative; background: var(--color-bg-light); }
.blog-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.blog-featured__body { padding: 50px 48px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.blog-featured__tag {
    background: rgba(91, 103, 32, 0.1);
    color: var(--color-primary);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
}
.blog-featured__date { font-size: 13px; color: var(--color-text-light); }
.blog-featured__body h2 { font-size: 26px; font-weight: 800; color: var(--color-dark); margin-bottom: 14px; }
.blog-featured__body p { font-size: 14.5px; color: var(--color-text-light); line-height: 1.75; margin-bottom: 24px; }

.blog-featured__author { display: flex; align-items: center; gap: 12px; }
.blog-featured__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.blog-featured__author strong { display: block; font-size: 13.5px; color: var(--color-dark); }
.blog-featured__author span { font-size: 12px; color: var(--color-text-light); }

/* ---------- 16. Blog — grid ---------- */
.blog-grid-section { padding: 20px 0 100px; background: #fff; }

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

.blog-card { display: flex; flex-direction: column; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.blog-card__photo { height: 190px; overflow: hidden; background: var(--color-bg-light); flex-shrink: 0; }
.blog-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__photo img { transform: scale(1.08); }

/* flex-column + link pinned to the bottom via margin-top:auto, and the
   heading/paragraph clamped to a fixed number of lines, so every card in a
   row lines up evenly regardless of how long its own text happens to be */
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.blog-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-card__tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-primary); }
.blog-card__date { font-size: 12px; color: var(--color-text-light); }
.blog-card__body h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 47px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card__body p {
    font-size: 13.5px;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card__link { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; }
.blog-card__link i { font-size: 11px; transition: transform var(--transition); }
.blog-card:hover .blog-card__link i { transform: translateX(4px); }

/* ---------- 17. Blog — newsletter ---------- */
.newsletter {
    padding: 70px 0;
    background: linear-gradient(155deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}
.newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    color: #fff;
}
.newsletter__text h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.newsletter__text p { font-size: 14px; color: rgba(255, 255, 255, 0.8); }

.newsletter__form {
    display: flex;
    background: #fff;
    border-radius: 40px;
    padding: 6px;
    gap: 6px;
    min-width: 380px;
}
.newsletter__form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 14px;
    color: var(--color-dark);
}
.newsletter__form input:focus { outline: none; }
.newsletter__form button {
    border: none;
    border-radius: 34px;
    padding: 12px 26px;
    background: var(--color-dark);
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}
.newsletter__form button:hover { background: var(--color-ink); }

/* ---------- 18. Blog — pagination ---------- */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 60px 0 100px;
    background: #fff;
}
.blog-pagination a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.blog-pagination a:hover,
.blog-pagination a.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 991px) {
    .page-hero { padding: 70px 0 50px; }
    .page-hero__inner h1 { font-size: 34px; }
    .page-hero--premium { min-height: 70vh; padding: 60px 0 70px; }
    .page-hero--premium .page-hero__inner h1 { font-size: 40px; }

    .page-hero--split { padding: 90px 0 60px; }
    .page-hero--split .page-hero__inner { text-align: center; }
    .page-hero--split .page-hero__eyebrow { justify-content: center; }
    .page-hero__title--split { max-width: 100%; }
    .page-hero--split .page-hero__desc { margin: 0 auto; text-align: center; }
    .page-hero__chips { justify-content: center; }
    /* Centered here (hero text itself goes centered at this breakpoint
       too) — right must be reset to auto, otherwise it'd combine with
       the base rule's `left` and over-constrain the box to width: 0. */
    .page-hero__watermark { left: 50%; right: auto; transform: translate(-50%, -42%); opacity: 0.7; }

    .story__grid { grid-template-columns: 1fr; gap: 40px; }
    .story__media img { height: 320px; }
    .story__media-tab { left: 16px; }

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

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

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

    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .spotlight__wrap { grid-template-columns: 1fr; }
    .spotlight__media { height: 280px; }
    .spotlight__body { padding: 44px 36px; }
    .project-stats__grid { grid-template-columns: repeat(2, 1fr); }

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

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

    .blog-featured__card { grid-template-columns: 1fr; }
    .blog-featured__media { height: 280px; }
    .blog-featured__body { padding: 40px 36px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 600px) {
    .related-products + .specs { padding-top: 70px; }
    .page-hero__inner h1 { font-size: 28px; }
    .page-hero__watermark { display: none; }

    .values__grid { grid-template-columns: 1fr; }
    .fresh-start__grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }

    .projects-grid { grid-template-columns: 1fr; }
    .spotlight__body { padding: 36px 24px; }
    .spotlight__stats { grid-template-columns: 1fr; gap: 16px; }
    .project-stats__grid { grid-template-columns: 1fr; }

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

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

    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured__body { padding: 32px 24px; }

    .about-cta__inner { text-align: center; justify-content: center; padding: 40px 28px; }
    .about-cta__actions { flex-shrink: 1; width: 100%; justify-content: center; }
    .newsletter__inner { justify-content: center; text-align: center; }
    .newsletter__form { min-width: 100%; }
}
