/* ==========================================================================
   Suly Renovations — public site styles
   Brand tokens (--sr-*) are printed by includes/header.php from Admin → Settings → Colours & Fonts.
   ========================================================================== */

:root {
    --sr-primary: #E31B23;
    --sr-primary-rgb: 227, 27, 35;
    --sr-primary-dark: #B8121A;
    --sr-dark: #071E29;
    --sr-dark-rgb: 7, 30, 41;
    --sr-dark-2: #0E2F3D;
    --sr-light: #F3F5F6;
    --sr-text: #23313A;
    --sr-muted: #5E6E77;
    --sr-border: #E2E7EA;
    --sr-white: #FFFFFF;
    --sr-font-heading: "Barlow", system-ui, sans-serif;
    --sr-font-body: "Inter", system-ui, sans-serif;
    --sr-radius: 10px;
    --sr-radius-sm: 6px;
    --sr-shadow-sm: 0 2px 10px rgba(7, 30, 41, .06);
    --sr-shadow: 0 12px 32px rgba(7, 30, 41, .10);
    --sr-shadow-lg: 0 24px 60px rgba(7, 30, 41, .16);
    --sr-section-y: 6rem;
    --sr-logo-h: 64px;
    --sr-header-h: 88px;
    --sr-ease: cubic-bezier(.2, .7, .2, 1);

    --bs-primary: var(--sr-primary);
    --bs-primary-rgb: var(--sr-primary-rgb);
    --bs-link-color: var(--sr-primary);
    --bs-link-color-rgb: var(--sr-primary-rgb);
    --bs-link-hover-color: var(--sr-primary-dark);
    --bs-body-font-family: var(--sr-font-body);
    --bs-body-color: var(--sr-text);
    --bs-border-color: var(--sr-border);
}

@media (max-width: 991.98px) {
    :root { --sr-section-y: 4.5rem; --sr-header-h: 76px; }
}
@media (max-width: 575.98px) {
    :root { --sr-section-y: 3.75rem; }
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sr-header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--sr-font-body);
    color: var(--sr-text);
    font-size: 1rem;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--sr-font-heading);
    font-weight: 700;
    color: var(--sr-dark);
    line-height: 1.15;
    letter-spacing: -.01em;
}
h1, .h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }

a { color: var(--sr-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sr-primary-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--sr-primary); color: #fff; }

:focus-visible { outline: 3px solid rgba(var(--sr-primary-rgb), .55); outline-offset: 2px; }

.skip-link {
    position: absolute; left: 1rem; top: -60px; z-index: 2000;
    background: var(--sr-primary); color: #fff; padding: .6rem 1rem; border-radius: var(--sr-radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.text-primary { color: var(--sr-primary) !important; }
.bg-primary { background-color: var(--sr-primary) !important; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------- */
.btn {
    font-family: var(--sr-font-heading);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .95rem;
    border-radius: var(--sr-radius-sm);
    padding: .8rem 1.5rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem 1rem; font-size: .82rem; }
.btn-primary {
    --bs-btn-bg: var(--sr-primary);
    --bs-btn-border-color: var(--sr-primary);
    --bs-btn-hover-bg: var(--sr-primary-dark);
    --bs-btn-hover-border-color: var(--sr-primary-dark);
    --bs-btn-active-bg: var(--sr-primary-dark);
    --bs-btn-active-border-color: var(--sr-primary-dark);
    --bs-btn-disabled-bg: var(--sr-primary);
    --bs-btn-disabled-border-color: var(--sr-primary);
    --bs-btn-focus-shadow-rgb: var(--sr-primary-rgb);
    box-shadow: 0 8px 20px rgba(var(--sr-primary-rgb), .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(var(--sr-primary-rgb), .34); }
.btn-dark {
    --bs-btn-bg: var(--sr-dark);
    --bs-btn-border-color: var(--sr-dark);
    --bs-btn-hover-bg: var(--sr-dark-2);
    --bs-btn-hover-border-color: var(--sr-dark-2);
}
.btn-outline-light { --bs-btn-hover-color: var(--sr-dark); border-width: 2px; }
.btn-outline-dark {
    --bs-btn-color: var(--sr-dark); --bs-btn-border-color: var(--sr-dark);
    --bs-btn-hover-bg: var(--sr-dark); --bs-btn-hover-border-color: var(--sr-dark);
    border-width: 2px;
}
.btn-outline-primary {
    --bs-btn-color: var(--sr-primary); --bs-btn-border-color: var(--sr-primary);
    --bs-btn-hover-bg: var(--sr-primary); --bs-btn-hover-border-color: var(--sr-primary); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--sr-primary-dark); --bs-btn-active-border-color: var(--sr-primary-dark);
    border-width: 2px;
}

.link-arrow {
    font-family: var(--sr-font-heading);
    font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .88rem;
    display: inline-flex; align-items: center; gap: .45rem;
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Sections & headings
   ----------------------------------------------------------------------- */
.section { padding: var(--sr-section-y) 0; position: relative; }
.section-light { background: var(--sr-light); }
.section-dark { background: var(--sr-dark); color: rgba(255, 255, 255, .78); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading .lead-text { color: var(--sr-muted); font-size: 1.08rem; margin-bottom: 0; }
.section-dark .section-heading .lead-text { color: rgba(255, 255, 255, .72); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--sr-font-heading);
    font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--sr-primary); margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.text-center .eyebrow::after, .section-heading.text-center .eyebrow::after { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--sr-primary); }

.lead-text { font-size: 1.08rem; color: var(--sr-muted); }
.prose p { margin-bottom: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 500; color: var(--sr-dark); }
.check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: .2rem;
    width: 1.35rem; height: 1.35rem; border-radius: 50%;
    background: rgba(var(--sr-primary-rgb), .12); color: var(--sr-primary);
    font-size: .7rem; display: grid; place-items: center;
}
.check-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (max-width: 575.98px) { .check-list-2 { grid-template-columns: 1fr; } }

/* Reveal on scroll (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--sr-ease), transform .7s var(--sr-ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Top bar & header
   ----------------------------------------------------------------------- */
.topbar {
    background: var(--sr-dark);
    color: rgba(255, 255, 255, .78);
    font-size: .86rem;
    padding: .55rem 0;
}
.topbar a, .topbar span { color: rgba(255, 255, 255, .82); display: inline-flex; align-items: center; gap: .5rem; }
.topbar a:hover { color: #fff; }
.topbar .social-icons a, .topbar .social-icons i,
.social-icons a, .social-icons a i { color: #fff !important; }
.social-icons-dark a, .social-icons-dark a i { color: var(--sr-dark) !important; }
.social-icons-dark a:hover, .social-icons-dark a:hover i { color: #fff !important; }
.topbar i { color: var(--sr-primary); }
.topbar-info span > i { margin-right: .5rem; }

.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: #fff;
    border-bottom: 1px solid rgba(7, 30, 41, .06);
    transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(7, 30, 41, .10); }
.site-header .navbar { padding: .7rem 0; min-height: var(--sr-header-h); }
.site-header .navbar > .container { flex-wrap: nowrap; }
.navbar-brand { padding: 0; margin-right: 1.5rem; flex-shrink: 0; }
.brand-logo { height: var(--sr-logo-h); width: auto; display: block; transition: height .25s ease; }
.site-header.is-scrolled .brand-logo { height: calc(var(--sr-logo-h) * .86); }
.brand-text { font-family: var(--sr-font-heading); font-weight: 800; font-size: 1.5rem; color: var(--sr-dark); }
@media (max-width: 575.98px) {
    .brand-logo { height: min(var(--sr-logo-h), 50px); }
    .site-header.is-scrolled .brand-logo { height: min(var(--sr-logo-h), 46px); }
    .navbar-brand { margin-right: .5rem; }
}

.site-header .navbar-nav { gap: .15rem; }
.site-header .nav-link {
    font-family: var(--sr-font-heading);
    font-weight: 600; font-size: 1.02rem; letter-spacing: .02em;
    color: var(--sr-dark);
    padding: .6rem .8rem !important;
    position: relative;
}
.site-header .nav-link::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px;
    background: var(--sr-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
    border: 0; margin: 0;
}
.site-header .nav-link:hover, .site-header .nav-link.active, .site-header .nav-link.show { color: var(--sr-primary); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .dropdown-toggle::after { display: block; }
.site-header .dropdown-toggle { padding-right: 1.35rem !important; }
.site-header .dropdown-toggle::before {
    content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem;
    position: absolute; right: .45rem; top: 50%; transform: translateY(-50%);
}

.mega-menu {
    border: 0; border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-lg);
    padding: 1rem;
    width: min(640px, 90vw);
    left: 50% !important; transform: translateX(-50%);
    border-top: 3px solid var(--sr-primary);
    margin-top: .4rem !important;
}
@media (min-width: 1200px) {
    .has-mega:hover > .mega-menu, .has-mega:focus-within > .mega-menu { display: block; }
    .has-mega > .mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
}
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .5rem; }
.mega-link {
    display: flex; align-items: center; gap: .75rem;
    padding: .55rem .65rem; border-radius: var(--sr-radius-sm);
    color: var(--sr-dark); font-weight: 500; font-size: .95rem;
}
.mega-link:hover { background: var(--sr-light); color: var(--sr-primary); }
.mega-icon {
    width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(var(--sr-primary-rgb), .1); color: var(--sr-primary); font-size: .9rem;
}
.mega-all {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    margin-top: .75rem; padding: .7rem; border-radius: var(--sr-radius-sm);
    background: var(--sr-dark); color: #fff;
    font-family: var(--sr-font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
}
.mega-all:hover { background: var(--sr-primary); color: #fff; }

.header-phone { align-items: center; gap: .65rem; color: var(--sr-dark); white-space: nowrap; }
.header-phone:hover { color: var(--sr-primary); }
.header-phone-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(var(--sr-primary-rgb), .1); color: var(--sr-primary); font-size: 1.05rem;
}
.header-phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone-text small { font-size: .74rem; color: var(--sr-muted); text-transform: uppercase; letter-spacing: .08em; }
.header-phone-text strong { font-family: var(--sr-font-heading); font-size: 1.12rem; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .header-phone { display: none !important; } }
@media (max-width: 400px) { .header-actions .btn { display: none !important; } }

.menu-toggle {
    width: 46px; height: 46px; border: 0; border-radius: var(--sr-radius-sm);
    background: var(--sr-dark);
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    flex-shrink: 0;
}
.menu-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease; }
.menu-toggle:hover { background: var(--sr-primary); }

/* Mobile menu */
.mobile-menu { background: var(--sr-dark); color: #fff; width: min(360px, 88vw) !important; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 1.25rem; }
.mobile-logo { height: 50px; width: auto; }
.mobile-nav { margin: 0; }
.mobile-nav > li { border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mobile-nav a {
    display: block; padding: .85rem 0;
    color: #fff; font-family: var(--sr-font-heading); font-weight: 600; font-size: 1.12rem;
}
.mobile-nav a.active, .mobile-nav a:hover { color: var(--sr-primary); }
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-sub-toggle {
    width: 40px; height: 40px; border: 0; border-radius: var(--sr-radius-sm);
    background: rgba(255, 255, 255, .08); color: #fff;
}
.mobile-sub-toggle i { transition: transform .2s ease; }
.mobile-sub-toggle:not(.collapsed) i { transform: rotate(180deg); }
.mobile-sub { padding: 0 0 .75rem .25rem; }
.mobile-sub a { font-family: var(--sr-font-body); font-weight: 500; font-size: .95rem; padding: .45rem 0; color: rgba(255, 255, 255, .78); display: flex; gap: .7rem; align-items: center; }
.mobile-sub a i { width: 18px; color: var(--sr-primary); text-align: center; }
.mobile-menu-footer { padding-top: 1.5rem; }
.mobile-contact { display: flex; align-items: center; gap: .7rem; color: rgba(255, 255, 255, .85); padding: .35rem 0; word-break: break-word; }
.mobile-contact i { color: var(--sr-primary); width: 18px; }

/* Social icons */
.social-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
/* Inline brand logos (brand_svg()) sized like the icon font glyphs they replace. */
.icon-brand { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }

.social-icons a {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 1rem;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.social-icons a:hover { background: var(--sr-primary); color: #fff; transform: translateY(-3px); }
.social-icons-sm a { width: 30px; height: 30px; font-size: .8rem; }
.social-icons-dark a { background: var(--sr-light); color: var(--sr-dark); }
.social-icons-dark a:hover { background: var(--sr-primary); color: #fff; }

/* --------------------------------------------------------------------------
   Home hero slider
   ----------------------------------------------------------------------- */
.hero-slider { position: relative; background: var(--sr-dark); }
.hero-slider .carousel-item { height: clamp(560px, 86vh, 820px); overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}
.hero-slider .carousel-item.active .hero-bg { transform: scale(1); }
.hero-slider .carousel-item::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(var(--sr-dark-rgb), .92) 0%, rgba(var(--sr-dark-rgb), .72) 42%, rgba(var(--sr-dark-rgb), .25) 100%),
        linear-gradient(0deg, rgba(var(--sr-dark-rgb), .55) 0%, rgba(var(--sr-dark-rgb), 0) 40%);
}
.hero-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    padding-bottom: 5rem;
    max-width: 720px;
}
.hero-content .eyebrow { color: #fff; }
.hero-content .eyebrow::before { background: var(--sr-primary); }
.hero-content h1, .hero-content .hero-title { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem); font-weight: 800; margin-bottom: 1.25rem; }
.hero-content p { color: rgba(255, 255, 255, .85); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); max-width: 600px; margin-bottom: 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .85rem; }

.carousel-item.active .hero-anim { animation: heroUp .9s var(--sr-ease) both; }
.carousel-item.active .hero-anim:nth-child(2) { animation-delay: .12s; }
.carousel-item.active .hero-anim:nth-child(3) { animation-delay: .24s; }
.carousel-item.active .hero-anim:nth-child(4) { animation-delay: .36s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .carousel-item.active .hero-anim { animation: none; }
    .hero-bg { transition: none; transform: none; }
}

.hero-controls {
    position: absolute; z-index: 5; right: 0; left: 0; bottom: 6.5rem;
    pointer-events: none;
}
.hero-controls .container { display: flex; justify-content: flex-end; gap: .6rem; }
.hero-arrow {
    pointer-events: auto;
    width: 52px; height: 52px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06);
    color: #fff; display: grid; place-items: center; font-size: 1rem;
    transition: background-color .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: var(--sr-primary); border-color: var(--sr-primary); }
.hero-slider .carousel-indicators { margin-bottom: 6.8rem; justify-content: flex-start; margin-left: calc((100vw - min(100vw, 1320px)) / 2 + 12px); margin-right: 0; }
.hero-slider .carousel-indicators [data-bs-target] {
    width: 34px; height: 4px; border-radius: 2px; border: 0; background: #fff; opacity: .4; margin: 0 .3rem 0 0;
}
.hero-slider .carousel-indicators .active { opacity: 1; background: var(--sr-primary); width: 54px; }
@media (max-width: 991.98px) {
    .hero-controls { display: none; }
    .hero-slider .carousel-indicators { margin-left: 12px; margin-bottom: 5.4rem; }
    .hero-content { padding-bottom: 6rem; }
}
@media (max-width: 575.98px) {
    .hero-slider .carousel-item { height: auto; min-height: 600px; }
    .hero-slider .carousel-item::after { background: linear-gradient(180deg, rgba(var(--sr-dark-rgb), .70) 0%, rgba(var(--sr-dark-rgb), .88) 100%); }
    .hero-content { padding-top: 4.5rem; padding-bottom: 7rem; min-height: 600px; }
    .hero-buttons .btn { flex: 1 1 100%; }
}

/* Trust cards under the hero */
.trust-strip { position: relative; z-index: 6; margin-top: -4.5rem; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff; border-radius: var(--sr-radius); box-shadow: var(--sr-shadow-lg); overflow: hidden;
}
.trust-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.75rem 1.5rem;
    border-right: 1px solid var(--sr-border);
    transition: background-color .25s ease;
}
.trust-item:last-child { border-right: 0; }
.trust-item:hover { background: var(--sr-light); }
.trust-icon {
    width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--sr-primary); color: #fff; font-size: 1.35rem;
    box-shadow: 0 10px 20px rgba(var(--sr-primary-rgb), .3);
}
.trust-item h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.trust-item p { margin: 0; font-size: .92rem; color: var(--sr-muted); line-height: 1.5; }
@media (max-width: 991.98px) {
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--sr-border); }
}
@media (max-width: 575.98px) {
    .trust-strip { margin-top: -3.5rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid var(--sr-border); padding: 1.2rem 1.25rem; }
    .trust-item:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Intro / about split
   ----------------------------------------------------------------------- */
.split-media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.split-media::before {
    content: ""; position: absolute; left: 0; bottom: 0; width: 55%; height: 70%;
    background:
        repeating-linear-gradient(45deg, rgba(var(--sr-primary-rgb), .9) 0 2px, transparent 2px 12px);
    border-radius: var(--sr-radius);
    opacity: .25;
}
.split-media img {
    position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
    border-radius: var(--sr-radius); box-shadow: var(--sr-shadow-lg);
}
.experience-badge {
    position: absolute; right: -1rem; bottom: 0;
    background: var(--sr-primary); color: #fff;
    border-radius: var(--sr-radius);
    padding: 1.35rem 1.6rem;
    display: flex; align-items: center; gap: .9rem;
    box-shadow: 0 18px 40px rgba(var(--sr-primary-rgb), .38);
    max-width: 260px;
}
.experience-badge strong { font-family: var(--sr-font-heading); font-size: 3.2rem; line-height: 1; font-weight: 800; }
.experience-badge span { font-family: var(--sr-font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.25; font-size: .92rem; }
@media (max-width: 575.98px) {
    .split-media { padding: 0 0 2rem 1.25rem; }
    .experience-badge { right: .5rem; padding: 1rem 1.2rem; }
    .experience-badge strong { font-size: 2.4rem; }
}
.split-media-duo { position: relative; padding-bottom: 18%; }
.split-media-duo .img-main { width: 82%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--sr-radius); box-shadow: var(--sr-shadow); }
.split-media-duo .img-secondary {
    position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--sr-radius); border: 8px solid #fff; box-shadow: var(--sr-shadow-lg);
}
.split-media-duo .experience-badge { left: 1rem; right: auto; bottom: 1rem; }

.call-inline { display: inline-flex; align-items: center; gap: .85rem; color: var(--sr-dark); }
.call-inline:hover { color: var(--sr-primary); }
.call-inline-icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; background: var(--sr-dark); color: #fff; font-size: 1.1rem;
    transition: background-color .2s ease;
}
.call-inline:hover .call-inline-icon { background: var(--sr-primary); }
.call-inline small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sr-muted); }
.call-inline strong { font-family: var(--sr-font-heading); font-size: 1.3rem; }

/* --------------------------------------------------------------------------
   Service cards
   ----------------------------------------------------------------------- */
.service-card {
    height: 100%;
    background: #fff; border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-sm);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .3s var(--sr-ease), box-shadow .3s ease;
    position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sr-shadow); }
.service-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sr-light); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sr-ease); }
.service-card:hover .service-card-media img { transform: scale(1.07); }
.service-card-icon {
    position: absolute; left: 1.25rem; top: -29px; z-index: 2;
    width: 58px; height: 58px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--sr-primary); color: #fff; font-size: 1.35rem;
    box-shadow: 0 10px 22px rgba(var(--sr-primary-rgb), .35);
    transition: background-color .25s ease;
}
.service-card:hover .service-card-icon { background: var(--sr-dark); }
.service-card-body { padding: 2.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; position: relative; }
.service-card-body h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.service-card-body h3 a { color: var(--sr-dark); }
.service-card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card-body h3 a:hover { color: var(--sr-primary); }
.service-card-body p { color: var(--sr-muted); font-size: .95rem; margin-bottom: 1.1rem; flex: 1; }
.service-card-body .link-arrow { color: var(--sr-primary); } /* plain text: clicks fall through to the title link */
.service-card:hover .link-arrow i { transform: translateX(4px); }

/* Compact icon cards (services page list / related) */
.icon-card {
    height: 100%; padding: 1.75rem; border-radius: var(--sr-radius);
    background: #fff; border: 1px solid var(--sr-border);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    position: relative;
}
.icon-card:hover { border-color: transparent; box-shadow: var(--sr-shadow); transform: translateY(-4px); }
.icon-card .ic-icon {
    width: 56px; height: 56px; border-radius: 12px; margin-bottom: 1.1rem;
    display: grid; place-items: center; font-size: 1.35rem;
    background: rgba(var(--sr-primary-rgb), .1); color: var(--sr-primary);
    transition: background-color .25s ease, color .25s ease;
}
.icon-card:hover .ic-icon { background: var(--sr-primary); color: #fff; }
.icon-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.icon-card p { color: var(--sr-muted); font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------------------
   Stats band
   ----------------------------------------------------------------------- */
.stats-band {
    background:
        linear-gradient(120deg, rgba(var(--sr-dark-rgb), .97), rgba(var(--sr-dark-rgb), .9)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 16px);
    background-color: var(--sr-dark);
    padding: 4rem 0;
    color: #fff;
}
.stat { text-align: center; padding: .5rem 1rem; position: relative; }
.stat-icon { font-size: 1.6rem; color: var(--sr-primary); margin-bottom: .6rem; }
.stat-value { font-family: var(--sr-font-heading); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: #fff; }
.stat-label { margin-top: .5rem; color: rgba(255, 255, 255, .72); font-weight: 500; }
@media (min-width: 768px) {
    .stats-band .col-md-3 + .col-md-3 .stat::before, .stats-band .col-lg-3 + .col-lg-3 .stat::before {
        content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, .12);
    }
}

/* --------------------------------------------------------------------------
   Why choose us
   ----------------------------------------------------------------------- */
.why-card {
    height: 100%;
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.6rem;
    background: #fff; border-radius: var(--sr-radius);
    border-bottom: 3px solid transparent;
    box-shadow: var(--sr-shadow-sm);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.why-card:hover { border-color: var(--sr-primary); transform: translateY(-4px); box-shadow: var(--sr-shadow); }
.why-icon {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-size: 1.2rem;
    background: var(--sr-dark); color: #fff;
    transition: background-color .25s ease;
}
.why-card:hover .why-icon { background: var(--sr-primary); }
.why-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.why-card p { margin: 0; font-size: .93rem; color: var(--sr-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Process
   ----------------------------------------------------------------------- */
.process-grid { counter-reset: step; }
.process-step { position: relative; text-align: center; padding: 0 .75rem; }
.process-num {
    position: relative; z-index: 1;
    width: 92px; height: 92px; margin: 0 auto 1.4rem; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; border: 2px dashed rgba(var(--sr-primary-rgb), .45);
    color: var(--sr-primary); font-size: 1.7rem;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.process-num::after {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: -4px; right: -4px;
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sr-dark); color: #fff;
    font-family: var(--sr-font-heading); font-weight: 700; font-size: .8rem;
}
.process-step:hover .process-num { background: var(--sr-primary); color: #fff; border-color: var(--sr-primary); border-style: solid; }
.process-step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.process-step p { color: var(--sr-muted); font-size: .95rem; margin: 0; }
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: ""; position: absolute; top: 46px; left: calc(50% + 58px); right: calc(-50% + 58px);
        border-top: 2px dashed rgba(var(--sr-primary-rgb), .3);
    }
}

/* --------------------------------------------------------------------------
   Projects
   ----------------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn {
    border: 2px solid var(--sr-border); background: #fff; color: var(--sr-dark);
    border-radius: 999px; padding: .5rem 1.2rem;
    font-family: var(--sr-font-heading); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
    transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--sr-primary); color: var(--sr-primary); }
.filter-btn.active { background: var(--sr-primary); border-color: var(--sr-primary); color: #fff; }

.project-card {
    position: relative; display: block; width: 100%;
    border: 0; padding: 0; text-align: left;
    border-radius: var(--sr-radius); overflow: hidden;
    aspect-ratio: 4 / 3.1; background: var(--sr-dark);
    box-shadow: var(--sr-shadow-sm);
    cursor: zoom-in;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sr-ease), opacity .3s ease; }
.project-card:hover img { transform: scale(1.08); opacity: .9; }
.project-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(var(--sr-dark-rgb), .9) 0%, rgba(var(--sr-dark-rgb), .15) 55%, rgba(var(--sr-dark-rgb), 0) 100%);
}
.project-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.35rem 1.4rem; color: #fff; }
.project-cat {
    display: inline-block; margin-bottom: .55rem;
    background: var(--sr-primary); color: #fff;
    font-family: var(--sr-font-heading); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
    padding: .25rem .65rem; border-radius: 4px;
}
.project-info h3, .project-info .project-title { display: block; color: #fff; font-family: var(--sr-font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; font-size: 1.25rem; margin: 0 0 .2rem; }
.project-loc { font-size: .88rem; color: rgba(255, 255, 255, .8); display: flex; align-items: center; gap: .4rem; }
.project-zoom {
    position: absolute; top: 1rem; right: 1rem; z-index: 2;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--sr-dark);
    opacity: 0; transform: scale(.7); transition: all .3s ease;
}
.project-card:hover .project-zoom, .project-card:focus-visible .project-zoom { opacity: 1; transform: none; }
.project-count {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: .78rem; font-weight: 600;
    padding: .2rem .55rem; border-radius: 4px;
}
.project-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(4, 14, 19, .94);
    display: none; align-items: center; justify-content: center;
    padding: 4.5rem 1rem 5.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 11rem); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 1rem; }
.lightbox figcaption strong { display: block; font-family: var(--sr-font-heading); font-size: 1.2rem; }
.lightbox figcaption span { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.lb-btn {
    position: absolute; border: 0;
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem;
    transition: background-color .2s ease;
}
.lb-btn:hover { background: var(--sr-primary); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; top: 1.6rem; left: 1.5rem; color: rgba(255, 255, 255, .7); font-size: .9rem; }
@media (max-width: 575.98px) {
    .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
    .lb-prev { left: calc(50% - 60px); }
    .lb-next { right: calc(50% - 60px); }
}

/* --------------------------------------------------------------------------
   Who we serve
   ----------------------------------------------------------------------- */
.client-card {
    height: 100%;
    display: flex; align-items: center; gap: 1rem;
    padding: 1.2rem 1.35rem;
    border-radius: var(--sr-radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.client-card:hover { background: rgba(var(--sr-primary-rgb), .14); border-color: rgba(var(--sr-primary-rgb), .5); transform: translateY(-3px); }
.client-icon {
    width: 50px; height: 50px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center; background: var(--sr-primary); color: #fff; font-size: 1.15rem;
}
.client-card h3 { font-size: 1.08rem; margin: 0; color: #fff; }
.client-card p { margin: .2rem 0 0; font-size: .87rem; color: rgba(255, 255, 255, .65); line-height: 1.5; }
.section-light .client-card, .client-card.on-light { background: #fff; border-color: var(--sr-border); }
.section-light .client-card h3, .client-card.on-light h3 { color: var(--sr-dark); }
.section-light .client-card p, .client-card.on-light p { color: var(--sr-muted); }

/* --------------------------------------------------------------------------
   Testimonials
   ----------------------------------------------------------------------- */
.testimonial-track {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3rem) / 3);
    gap: 1.5rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: .5rem .25rem 1.5rem;
    /* Matches the side padding, so the browser does not snap-scroll the track on load (that scroll made Chrome drop the page's LCP). */
    scroll-padding-inline: .25rem;
    scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
@media (max-width: 991.98px) { .testimonial-track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 575.98px) { .testimonial-track { grid-auto-columns: 88%; } }
.testimonial-card {
    scroll-snap-align: start;
    background: #fff; border-radius: var(--sr-radius);
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: var(--sr-shadow-sm);
    display: flex; flex-direction: column;
    position: relative;
    border-top: 3px solid var(--sr-primary);
}
.testimonial-card .quote-icon { position: absolute; right: 1.5rem; top: 1.25rem; font-size: 2.6rem; color: rgba(var(--sr-primary-rgb), .14); }
.stars { color: #F5A623; font-size: .9rem; display: inline-flex; gap: .15rem; }
.stars .star-empty { color: #d9dde1; }
.testimonial-card blockquote { margin: 1rem 0 1.5rem; color: var(--sr-text); font-size: .98rem; line-height: 1.7; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.avatar {
    width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--sr-dark); color: #fff;
    font-family: var(--sr-font-heading); font-weight: 700; font-size: 1.05rem;
}
.testimonial-author strong { display: block; font-family: var(--sr-font-heading); color: var(--sr-dark); font-size: 1.05rem; line-height: 1.2; }
.testimonial-author span { font-size: .85rem; color: var(--sr-muted); }
.slider-nav { display: flex; gap: .6rem; }
.slider-btn {
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--sr-border); background: #fff; color: var(--sr-dark);
    display: grid; place-items: center; transition: all .2s ease;
}
.slider-btn:hover { background: var(--sr-primary); border-color: var(--sr-primary); color: #fff; }

/* --------------------------------------------------------------------------
   Service areas
   ----------------------------------------------------------------------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.area-pill {
    display: flex; align-items: center; gap: .6rem;
    padding: .8rem 1rem; border-radius: var(--sr-radius-sm);
    background: #fff; border: 1px solid var(--sr-border);
    font-weight: 600; color: var(--sr-dark); font-size: .95rem;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.area-pill i { color: var(--sr-primary); }
.area-pill:hover { border-color: var(--sr-primary); transform: translateY(-2px); }
.area-pill small { display: block; font-weight: 400; color: var(--sr-muted); font-size: .78rem; }
.map-frame { border-radius: var(--sr-radius); overflow: hidden; box-shadow: var(--sr-shadow); background: var(--sr-light); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* --------------------------------------------------------------------------
   FAQ accordion
   ----------------------------------------------------------------------- */
.faq-accordion .accordion-item {
    border: 1px solid var(--sr-border); border-radius: var(--sr-radius) !important;
    margin-bottom: .85rem; overflow: hidden; background: #fff;
}
.faq-accordion .accordion-button {
    font-family: var(--sr-font-heading); font-weight: 700; font-size: 1.1rem; color: var(--sr-dark);
    padding: 1.15rem 1.35rem; background: #fff; box-shadow: none; gap: 1rem;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--sr-primary); background: #fff; }
.faq-accordion .accordion-button::after {
    background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-size: .8rem;
    background: var(--sr-light); color: var(--sr-dark); transform: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after { content: "\f068"; background: var(--sr-primary); color: #fff; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(var(--sr-primary-rgb), .2); }
.faq-accordion .accordion-body { padding: 0 1.35rem 1.35rem; color: var(--sr-muted); }

.side-cta {
    border-radius: var(--sr-radius); overflow: hidden;
    background: var(--sr-dark); color: rgba(255, 255, 255, .8);
    padding: 2rem; position: relative;
}
.side-cta::before {
    content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
    background: rgba(var(--sr-primary-rgb), .25);
}
.side-cta > * { position: relative; }
.side-cta h3 { color: #fff; margin-bottom: .75rem; }
.side-cta .side-cta-phone { display: flex; align-items: center; gap: .75rem; color: #fff; margin: 1.25rem 0; }
.side-cta .side-cta-phone i {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sr-primary);
}
.side-cta .side-cta-phone strong { font-family: var(--sr-font-heading); font-size: 1.3rem; }

/* --------------------------------------------------------------------------
   CTA band
   ----------------------------------------------------------------------- */
.cta-band {
    position: relative; overflow: hidden;
    padding: 5.5rem 0;
    color: rgba(255, 255, 255, .85);
    background-color: var(--sr-dark);
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band > .container { z-index: 2; }
.cta-band::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(var(--sr-dark-rgb), .96) 0%, rgba(var(--sr-dark-rgb), .86) 55%, rgba(var(--sr-primary-rgb), .78) 100%);
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 992px) { .cta-actions { align-items: flex-end; } }
.cta-phone { display: inline-flex; align-items: center; gap: .85rem; color: #fff; }
.cta-phone:hover { color: #fff; }
.cta-phone-icon {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    border: 2px solid rgba(255, 255, 255, .4); font-size: 1.05rem;
    transition: background-color .2s ease, border-color .2s ease;
}
.cta-phone:hover .cta-phone-icon { background: #fff; color: var(--sr-primary); border-color: #fff; }
.cta-phone small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cta-phone strong { font-family: var(--sr-font-heading); font-size: 1.45rem; }

/* --------------------------------------------------------------------------
   Inner page hero
   ----------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0 clamp(3.5rem, 2.5rem + 4vw, 6rem);
    color: #fff;
    background-color: var(--sr-dark);
    overflow: hidden;
}
/* Banner photo (an <img> so phones get a small copy), then the gradient, then the text. */
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.page-hero > .container { z-index: 2; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(var(--sr-dark-rgb), .93) 0%, rgba(var(--sr-dark-rgb), .74) 55%, rgba(var(--sr-dark-rgb), .45) 100%);
}
.page-hero::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; z-index: 1;
    background: linear-gradient(90deg, var(--sr-primary) 0 30%, transparent 30%);
}
.page-hero h1 { color: #fff; font-weight: 800; margin-bottom: .75rem; max-width: 860px; }
.page-hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: rgba(255, 255, 255, .82); max-width: 700px; margin: 0; }
.page-hero .breadcrumb { margin-bottom: 1.1rem; font-size: .9rem; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: var(--sr-primary); }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { content: "\203A"; font-weight: 700; }
.page-hero .breadcrumb-item.active { color: #ff8a8e; }

/* --------------------------------------------------------------------------
   Rich text (service & page bodies)
   ----------------------------------------------------------------------- */
.rich-text { font-size: 1.03rem; }
.rich-text h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 2.2rem 0 1rem; }
.rich-text h3 { font-size: 1.3rem; margin: 1.8rem 0 .75rem; }
.rich-text h2:first-child, .rich-text h3:first-child { margin-top: 0; }
.rich-text p { margin-bottom: 1.15rem; }
.rich-text ul, .rich-text ol { margin-bottom: 1.25rem; padding-left: 1.25rem; }
.rich-text ul { list-style: none; padding-left: 0; }
.rich-text ul li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; }
.rich-text ul li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: .1rem; color: var(--sr-primary); font-size: .85rem;
}
.rich-text ol li { margin-bottom: .55rem; }
.rich-text a { text-decoration: underline; text-underline-offset: 3px; }
.rich-text img { border-radius: var(--sr-radius); margin: 1rem 0; }
.rich-text blockquote { border-left: 4px solid var(--sr-primary); padding: .5rem 0 .5rem 1.25rem; font-style: italic; color: var(--sr-dark); }

/* --------------------------------------------------------------------------
   Service detail
   ----------------------------------------------------------------------- */
.service-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--sr-radius); box-shadow: var(--sr-shadow); margin-bottom: 2rem; }
.service-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.65; color: var(--sr-dark); font-weight: 500; margin-bottom: 1.75rem; }
.feature-box { background: var(--sr-light); border-radius: var(--sr-radius); padding: 1.75rem; margin: 2rem 0; border-left: 4px solid var(--sr-primary); }
.feature-box h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.sidebar-sticky { position: sticky; top: calc(var(--sr-header-h) + 1.5rem); }
.sidebar-card { background: #fff; border: 1px solid var(--sr-border); border-radius: var(--sr-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h3 { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--sr-light); }
.service-nav { list-style: none; padding: 0; margin: 0; }
.service-nav li + li { margin-top: .35rem; }
.service-nav a {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .7rem .9rem; border-radius: var(--sr-radius-sm);
    background: var(--sr-light); color: var(--sr-dark); font-weight: 600; font-size: .95rem;
    transition: background-color .2s ease, color .2s ease;
}
.service-nav a i { font-size: .75rem; opacity: .6; }
.service-nav a:hover, .service-nav a.active { background: var(--sr-primary); color: #fff; }
.service-nav a:hover i, .service-nav a.active i { opacity: 1; }

/* --------------------------------------------------------------------------
   Forms & contact
   ----------------------------------------------------------------------- */
.form-label { font-weight: 600; color: var(--sr-dark); font-size: .92rem; margin-bottom: .4rem; }
.form-control, .form-select {
    border-radius: var(--sr-radius-sm); border: 1px solid #D5DDE1;
    padding: .8rem 1rem; font-size: 1rem; background-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--sr-primary); box-shadow: 0 0 0 .22rem rgba(var(--sr-primary-rgb), .15); }
.form-check-input:checked { background-color: var(--sr-primary); border-color: var(--sr-primary); }
.form-card { background: #fff; border-radius: var(--sr-radius); box-shadow: var(--sr-shadow); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.form-note { font-size: .85rem; color: var(--sr-muted); display: flex; gap: .5rem; align-items: flex-start; }
.form-note i { color: var(--sr-primary); margin-top: .2rem; }
.required-mark { color: var(--sr-primary); }

.contact-card { background: var(--sr-dark); color: rgba(255, 255, 255, .8); border-radius: var(--sr-radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); height: 100%; }
.contact-card h2, .contact-card h3 { color: #fff; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.info-item:last-of-type { border-bottom: 0; }
.info-icon { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--sr-primary); color: #fff; font-size: 1.05rem; }
.info-item small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; color: rgba(255, 255, 255, .55); margin-bottom: .1rem; }
.info-item a, .info-item span { color: #fff; font-weight: 600; word-break: break-word; }
.info-item a:hover { color: var(--sr-primary); }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .92rem; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.hours-list li span:last-child { color: #fff; font-weight: 600; text-align: right; }

/* --------------------------------------------------------------------------
   Mission / value cards, founder
   ----------------------------------------------------------------------- */
.value-card { height: 100%; padding: 2.1rem 1.8rem; border-radius: var(--sr-radius); background: #fff; box-shadow: var(--sr-shadow-sm); position: relative; overflow: hidden; }
.value-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--sr-primary); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease; }
.value-card:hover::after { transform: scaleX(1); }
.value-card .value-icon { font-size: 1.9rem; color: var(--sr-primary); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.3rem; }
.value-card p { color: var(--sr-muted); margin: 0; }

.founder-block { background: var(--sr-dark); border-radius: var(--sr-radius); color: rgba(255, 255, 255, .82); padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); position: relative; overflow: hidden; }
.founder-block .fa-quote-left { position: absolute; right: 2rem; top: 1.5rem; font-size: 5rem; color: rgba(255, 255, 255, .06); }
.founder-block blockquote { font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem); line-height: 1.65; color: #fff; margin: 0 0 1.5rem; font-weight: 500; }
.founder-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sr-primary); }
.founder-block .avatar { width: 64px; height: 64px; background: var(--sr-primary); font-size: 1.35rem; }
.founder-name { font-family: var(--sr-font-heading); color: #fff; font-size: 1.2rem; font-weight: 700; display: block; }
.founder-role { color: rgba(255, 255, 255, .6); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
.site-footer { background: var(--sr-dark); color: rgba(255, 255, 255, .7); padding-top: 5rem; font-size: .95rem; }
.footer-brand img { width: 210px; height: auto; margin-bottom: 1.35rem; }
.footer-about { margin-bottom: 1.5rem; line-height: 1.75; }
.footer-review-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.footer-review-link:hover { color: #fff; }
.footer-title {
    font-size: 1.2rem; color: #fff; margin-bottom: 1.35rem; padding-bottom: .8rem; position: relative;
}
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--sr-primary); border-radius: 2px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .55rem; }
.footer-links a { color: rgba(255, 255, 255, .72); display: inline-flex; align-items: center; gap: .5rem; transition: color .2s ease, transform .2s ease; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem; color: var(--sr-primary); }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .8rem; }
.footer-contact i { color: var(--sr-primary); margin-top: .3rem; width: 16px; text-align: center; }
.footer-contact a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-hours { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.footer-hours li span:last-child { color: rgba(255, 255, 255, .9); text-align: right; }
.footer-bottom { margin-top: 4rem; padding: 1.35rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; background: rgba(0, 0, 0, .18); text-align: center; }

/* --------------------------------------------------------------------------
   Floating actions
   ----------------------------------------------------------------------- */
.float-whatsapp {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25D366; color: #fff; font-size: 1.85rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    transition: transform .2s ease;
}
.float-whatsapp:hover { color: #fff; transform: scale(1.08); }
.float-whatsapp::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25D366; animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .float-whatsapp::before { animation: none; } }

.back-to-top {
    position: fixed; right: 1.25rem; bottom: 5.4rem; z-index: 1039;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    display: grid; place-items: center;
    background: var(--sr-dark); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--sr-primary); }

.mobile-action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -6px 24px rgba(7, 30, 41, .18);
}
.mobile-action-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .95rem .5rem; color: #fff;
    font-family: var(--sr-font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem;
}
.mab-call { background: var(--sr-dark); }
.mab-quote { background: var(--sr-primary); }
.mobile-action-bar a:only-child { grid-column: 1 / -1; }
@media (max-width: 575.98px) {
    body:has(.mobile-action-bar) { padding-bottom: 58px; }
    body:has(.mobile-action-bar) .float-whatsapp { bottom: calc(58px + 1rem); width: 52px; height: 52px; font-size: 1.6rem; }
    body:has(.mobile-action-bar) .back-to-top { bottom: calc(58px + 4.9rem); }
}

/* --------------------------------------------------------------------------
   Misc
   ----------------------------------------------------------------------- */
.error-page { padding: 7rem 0; text-align: center; }
.error-code { font-family: var(--sr-font-heading); font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: 1; color: var(--sr-primary); }
.img-rounded-shadow { border-radius: var(--sr-radius); box-shadow: var(--sr-shadow); }
.alert { border-radius: var(--sr-radius-sm); }
.badge-soft { background: rgba(var(--sr-primary-rgb), .1); color: var(--sr-primary); font-weight: 700; border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--sr-muted); }
.empty-state i { font-size: 2.5rem; color: var(--sr-border); margin-bottom: 1rem; display: block; }

@media print {
    .topbar, .site-header, .site-footer, .cta-band, .float-whatsapp, .back-to-top, .mobile-action-bar { display: none !important; }
}

/* ==========================================================================
   Projects, service areas, FAQ, custom pages & 404 (public-misc-pages)
   ========================================================================== */
.empty-state-text { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Projects filter with counts */
.projects-filter .filter-btn { display: inline-flex; align-items: center; gap: .5rem; }
.projects-filter .filter-count {
    display: inline-grid; place-items: center;
    min-width: 1.45rem; height: 1.45rem; padding: 0 .4rem; border-radius: 999px;
    background: var(--sr-light); color: var(--sr-muted);
    font-family: var(--sr-font-body); font-size: .72rem; font-weight: 700; letter-spacing: 0;
    transition: background-color .2s ease, color .2s ease;
}
.projects-filter .filter-btn:hover .filter-count { background: rgba(var(--sr-primary-rgb), .1); color: var(--sr-primary); }
.projects-filter .filter-btn.active .filter-count { background: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 575.98px) {
    .projects-filter { gap: .4rem; margin-bottom: 2rem; }
    .projects-filter .filter-btn { padding: .42rem .85rem; font-size: .8rem; gap: .4rem; }
}

/* Service areas */
.areas-map { height: 100%; }
.areas-map iframe { min-height: 360px; }
@media (min-width: 992px) { .areas-map iframe { min-height: 460px; } }

.area-regions { display: grid; gap: 1rem; }
.area-region {
    display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.5rem; align-items: start;
    background: #fff; border-radius: var(--sr-radius); padding: 1.5rem;
    box-shadow: var(--sr-shadow-sm);
}
.area-region-title { display: flex; align-items: center; gap: .8rem; font-size: 1.2rem; margin: 0; padding-top: .2rem; }
.area-region-icon {
    width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--sr-primary); color: #fff; font-size: 1rem;
    box-shadow: 0 8px 18px rgba(var(--sr-primary-rgb), .28);
}
.area-region .area-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .6rem; }
.area-region .area-pill { background: var(--sr-light); border-color: transparent; padding: .65rem .9rem; font-size: .93rem; }
.area-region .area-pill:hover { background: #fff; border-color: var(--sr-primary); }
@media (max-width: 991.98px) {
    .area-region { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 575.98px) {
    .area-region { padding: 1.15rem; }
    .area-region .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .area-region .area-pill { font-size: .87rem; padding: .6rem .7rem; gap: .45rem; }
}

.areas-cta {
    margin-top: 2.5rem;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
    padding: 2rem 2.25rem; border-radius: var(--sr-radius);
    background: var(--sr-dark); color: rgba(255, 255, 255, .78);
    border-left: 5px solid var(--sr-primary);
    box-shadow: var(--sr-shadow);
}
.areas-cta h3 { color: #fff; margin-bottom: .45rem; }
.areas-cta-text { flex: 1 1 420px; }
.areas-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.areas-cta .call-inline { color: #fff; }
.areas-cta .call-inline small { color: rgba(255, 255, 255, .6); }
.areas-cta .call-inline-icon { background: var(--sr-primary); }
.areas-cta .call-inline:hover .call-inline-icon { background: #fff; color: var(--sr-primary); }
@media (max-width: 575.98px) {
    .areas-cta { padding: 1.5rem 1.25rem; border-left-width: 4px; }
    .areas-cta-actions { width: 100%; }
    .areas-cta-actions .btn { width: 100%; }
}

/* Service link tiles (service areas page, 404) */
.areas-services, .error-services { display: grid; gap: .6rem; }
.areas-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.areas-services li + li, .error-services li + li { margin-top: 0; }
.areas-services a, .error-services a { height: 100%; padding: .9rem 1.1rem; }
.svc-link-name { display: flex; align-items: center; gap: .75rem; min-width: 0; text-align: left; }
.service-nav a .svc-link-icon { width: 1.25rem; flex-shrink: 0; text-align: center; font-size: .98rem; opacity: 1; color: var(--sr-primary); transition: color .2s ease; }
.service-nav a:hover .svc-link-icon { color: #fff; }
@media (max-width: 1199.98px) { .areas-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .areas-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .areas-services { grid-template-columns: 1fr; } }

/* FAQ sidebar contact card */
.mini-contact-card { margin-bottom: 0; }
.mini-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.mini-contact li { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.mini-contact-icon {
    width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(var(--sr-primary-rgb), .1); color: var(--sr-primary);
}
.mini-contact small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sr-muted); line-height: 1.35; }
.mini-contact a { color: var(--sr-dark); font-weight: 600; word-break: break-word; }
.mini-contact a:hover { color: var(--sr-primary); }
.mini-hours { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--sr-border); }
.mini-hours-title { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--sr-muted); margin-bottom: .4rem; }
.mini-hours-title i { color: var(--sr-primary); font-size: .85rem; }
.mini-hours ul { list-style: none; padding: 0; margin: 0; }
.mini-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .9rem; border-bottom: 1px dashed var(--sr-border); }
.mini-hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-hours li span:last-child { color: var(--sr-dark); font-weight: 600; text-align: right; }

/* Custom pages */
.custom-page-body > :last-child { margin-bottom: 0; }

/* 404 */
.error-page { background: linear-gradient(180deg, var(--sr-light) 0%, #fff 75%); padding: clamp(4rem, 3rem + 5vw, 7rem) 0; }
.error-code { display: flex; align-items: center; justify-content: center; gap: .06em; margin-bottom: 1.25rem; letter-spacing: -.02em; }
.error-code-icon {
    width: .78em; height: .78em; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sr-dark); color: #fff;
    box-shadow: 0 18px 40px rgba(var(--sr-dark-rgb), .25);
}
.error-code-icon i { font-size: .38em; }
.error-title { margin-bottom: 1rem; }
.error-text { max-width: 620px; margin: 0 auto 2rem; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }
.error-links { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--sr-border); }
.error-links-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sr-muted); margin-bottom: 1.25rem; }
.error-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.error-services a { background: #fff; border: 1px solid var(--sr-border); }
@media (max-width: 767.98px) { .error-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .error-services { grid-template-columns: 1fr; }
    .error-actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   About, services & service detail pages (public-about-services)
   ----------------------------------------------------------------------- */
/* About: founder message */
.founder-heading { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); color: #fff; margin-bottom: 1.1rem; }
.founder-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.35rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.founder-bio { margin-top: 1.25rem; color: rgba(255, 255, 255, .78); font-size: .98rem; line-height: 1.7; }
.founder-bio p:last-child { margin-bottom: 0; }
.founder-role { display: block; }
.founder-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--sr-radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
@media (max-width: 767.98px) { .founder-portrait { max-width: 240px; aspect-ratio: 1; } }

/* Services overview */
.services-intro { margin-bottom: 3rem; }

/* Service detail */
.feature-box h2 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.service-block { margin-top: 3.5rem; }
.service-block-title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
@media (max-width: 991.98px) { .service-sidebar .sidebar-sticky { position: static; } }

/* --------------------------------------------------------------------------
   Estimate form & contact page (contact-mail)
   ----------------------------------------------------------------------- */
.quote-form .form-select option[value=""] { color: var(--sr-muted); }
.quote-form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-top: .5rem; }
.quote-form-footer .form-note { flex: 1 1 260px; }
.quote-form-footer.is-compact { flex-direction: column-reverse; align-items: stretch; gap: .85rem; }
.quote-form-sm .form-label { font-size: .85rem; margin-bottom: .3rem; }
.quote-form-sm .form-control, .quote-form-sm .form-select { padding: .65rem .85rem; font-size: .95rem; }
.quote-form-compact { border-top: 3px solid var(--sr-primary); }
.quote-form-compact .alert { font-size: .9rem; }
@media (max-width: 575.98px) { .quote-form-footer .btn { width: 100%; } }

.contact-card .info-item > div { min-width: 0; }
.contact-card-subtitle {
    display: flex; align-items: center; gap: .55rem;
    font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 .75rem;
}
.contact-card-subtitle i { color: var(--sr-primary); }
.contact-hours { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-social { margin-top: 1.75rem; }
.btn-whatsapp { --bs-btn-bg: #25D366; --bs-btn-border-color: #25D366; --bs-btn-color: #fff; --bs-btn-hover-bg: #1EBE5A; --bs-btn-hover-border-color: #1EBE5A; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #1AA851; --bs-btn-active-color: #fff; }
.btn-whatsapp i, .btn-whatsapp .icon-brand { font-size: 1.2rem; }
.contact-map { line-height: 0; background: var(--sr-light); }
.contact-map iframe { width: 100%; height: clamp(320px, 45vw, 460px); border: 0; filter: grayscale(.15); }

/* --------------------------------------------------------------------------
   Service-area landing pages (area.php) and links to them
   ----------------------------------------------------------------------- */
a.area-pill::after {
    content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    margin-left: auto; padding-left: .35rem; font-size: .72rem; color: var(--sr-muted);
    transition: transform .2s ease, color .2s ease;
}
a.area-pill:hover { color: var(--sr-primary); }
a.area-pill:hover::after { color: var(--sr-primary); transform: translateX(3px); }
span.area-pill { cursor: default; }
span.area-pill:hover { transform: none; border-color: var(--sr-border); }
.area-region span.area-pill:hover { background: var(--sr-light); border-color: transparent; }

.area-highlight {
    height: 100%; padding: 1.5rem; border-radius: var(--sr-radius);
    background: var(--sr-light); border: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.area-highlight:hover { background: #fff; border-color: var(--sr-border); }
.area-highlight-icon {
    width: 46px; height: 46px; border-radius: 10px; margin-bottom: 1rem;
    display: grid; place-items: center;
    background: #fff; color: var(--sr-primary); font-size: 1.15rem; box-shadow: var(--sr-shadow-sm);
}
.area-highlight h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.area-highlight p { margin: 0; color: var(--sr-muted); font-size: .94rem; line-height: 1.6; }

.area-hoods-box { margin: 3rem 0 0; }
.area-hoods { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-hoods li {
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem;
    border-radius: 999px; background: #fff; box-shadow: var(--sr-shadow-sm);
    font-weight: 600; font-size: .9rem; color: var(--sr-dark);
}
.area-hoods li i { color: var(--sr-primary); font-size: .78rem; }

.area-more-title { font-size: 1.25rem; margin: 3rem 0 1.25rem; }
.area-testimonials-title { margin: 3.5rem 0 1.5rem; }
.area-map-title { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.area-map-title i { color: var(--sr-primary); }
.area-map iframe { min-height: 360px; }
@media (min-width: 992px) { .area-map iframe { min-height: 420px; } }

/* Service page sidebar: links to the area pages */
.area-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.area-links a {
    display: inline-block; padding: .35rem .75rem; border-radius: 999px;
    background: var(--sr-light); color: var(--sr-dark); font-size: .87rem; font-weight: 600;
    transition: background .2s ease, color .2s ease;
}
.area-links a:hover { background: var(--sr-primary); color: #fff; }

/* Footer: links to the area pages */
.footer-areas { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-area-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; }
.footer-area-links a { color: rgba(255, 255, 255, .72); font-size: .9rem; transition: color .2s ease; }
.footer-area-links a:hover { color: #fff; }
.footer-areas + .footer-bottom { margin-top: 2.5rem; }

/* Home-page email signup */
.newsletter-section { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--sr-dark); }
.newsletter-panel {
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem);
    align-items: center; padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: calc(var(--sr-radius) + 6px);
    background: var(--sr-dark-2); border: 1px solid rgba(255,255,255,.09); box-shadow: var(--sr-shadow-lg);
}
.newsletter-copy h2 { color: #fff; margin-bottom: .8rem; }
.newsletter-copy p { color: rgba(255,255,255,.72); margin: 0; font-size: 1.04rem; line-height: 1.7; }
.newsletter-fields { display: grid; grid-template-columns: 1fr 1.35fr auto; gap: .65rem; }
.newsletter-fields .form-control { min-height: 50px; border: 1px solid rgba(255,255,255,.18); }
.newsletter-fields .btn { white-space: nowrap; }
.newsletter-consent { margin-top: 1rem; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.55; }
.newsletter-consent .form-check-input { margin-top: .22rem; background-color: transparent; border-color: rgba(255,255,255,.5); }
.newsletter-consent .form-check-input:checked { background-color: var(--sr-primary); border-color: var(--sr-primary); }
.newsletter-privacy { display: inline-block; margin-top: .5rem; color: rgba(255,255,255,.7); font-size: .8rem; text-decoration: underline; }
.newsletter-privacy:hover { color: #fff; }
.newsletter-form-wrap .alert { font-size: .9rem; }
@media (max-width: 991.98px) {
    .newsletter-panel { grid-template-columns: 1fr; }
    .newsletter-fields { grid-template-columns: 1fr 1fr; }
    .newsletter-fields .btn { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) { .newsletter-fields { grid-template-columns: 1fr; } .newsletter-fields .btn { grid-column: auto; } }

/* Email preference page */
.unsubscribe-page { min-height: 60vh; display: flex; align-items: center; }
.unsubscribe-card { max-width: 620px; background: #fff; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--sr-radius); box-shadow: var(--sr-shadow); }
.unsubscribe-card h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 1rem 0; }
.unsubscribe-card p { color: var(--sr-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.unsubscribe-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sr-light); color: var(--sr-primary); font-size: 1.7rem; }
.unsubscribe-icon.success { color: #198754; }
