/* ==========================================================================
   Marksman Enterprises — site theme
   Colours taken from the logo: navy #0C2444 and steel grey #B6B8BC
   ========================================================================== */

:root {
    --navy: #0c2444;
    --navy-700: #12325c;
    --navy-900: #081a33;
    --navy-950: #061327;
    --steel: #b6b8bc;
    --steel-200: #dcdee1;
    --steel-100: #eceef1;
    --light: #f4f6f9;
    --text: #5b6474;
    --white: #fff;
    --radius: 4px;
    --shadow: 0 10px 30px rgba(12, 36, 68, .08);
    --shadow-lg: 0 20px 45px rgba(12, 36, 68, .16);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base
   -------------------------------------------------------------------------- */
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
}

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-700); }
img { max-width: 100%; }

.section { padding: 100px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--navy); }
.section-dark .section-title h2 { color: var(--white); }
.section-dark .section-title .kicker { color: var(--steel); }

.lead-text { font-size: 17px; color: var(--navy); font-weight: 500; }

/* Section title with the logo's slanted accent */
.section-title { margin-bottom: 50px; }
.section-title .kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 10px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 20px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0 65%, transparent 65% 72%, var(--steel) 72%);
}
.section-title.text-center h2::after { left: 50%; transform: translateX(-50%); }
.section-title p { margin: 20px 0 0; max-width: 620px; }
.section-title.text-center p { margin-inline: auto; }
.section-dark .section-title h2::after { background: linear-gradient(90deg, var(--white) 0 65%, transparent 65% 72%, var(--steel) 72%); }

/* Buttons
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: var(--radius);
    transition: all .25s var(--ease);
}
.btn-brand { background: var(--navy); border: 2px solid var(--navy); color: var(--white); }
.btn-brand:hover, .btn-brand:focus { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-light-brand { background: var(--white); border: 2px solid var(--white); color: var(--navy); }
.btn-light-brand:hover { background: var(--steel); border-color: var(--steel); color: var(--navy); transform: translateY(-2px); }
.btn-outline-light-brand { background: transparent; border: 2px solid rgba(255, 255, 255, .6); color: var(--white); }
.btn-outline-light-brand:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.link-more {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.link-more i { margin-left: 6px; transition: transform .2s; }
.link-more:hover i { transform: translateX(4px); }

/* Top bar & header
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--navy-900);
    color: var(--steel-200);
    font-size: 13px;
    padding: 9px 0;
}
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar a { color: var(--steel-200); }
.topbar a:hover { color: var(--white); }
.topbar-info li { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info i { color: var(--steel); }
.topbar-social { gap: 4px !important; }
.topbar-social a {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.topbar-social a:hover { background: var(--navy-700); }

.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(12, 36, 68, .12); }
.site-header .navbar { padding: 14px 0; }
.site-header .logo { height: 72px; width: auto; transition: height .3s; }
.site-header.scrolled .logo { height: 56px; }

.site-header .nav-link {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--navy);
    padding: 10px 16px !important;
    position: relative;
}
.site-header .nav-link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 3px;
    background: var(--steel);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--navy); }

.navbar-toggler { border: 0; padding: 8px; box-shadow: none !important; }
.toggler-bar { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero slider
   -------------------------------------------------------------------------- */
.hero .carousel-item {
    height: 720px;
    max-height: calc(100vh - 60px);
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 19, 39, .9) 0%, rgba(12, 36, 68, .65) 55%, rgba(12, 36, 68, .25) 100%);
}
.hero .container { position: relative; height: 100%; display: flex; align-items: center; }
.hero-content { max-width: 720px; color: var(--white); }
.hero-kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--steel);
    padding-left: 50px;
    position: relative;
}
.hero-kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 36px; height: 2px; background: var(--steel); }
.hero-title {
    color: var(--white);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 18px 0;
}
.hero-text { font-size: 18px; color: var(--steel-200); margin-bottom: 34px; max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-brand { background: var(--white); border-color: var(--white); color: var(--navy); }
.hero .btn-brand:hover { background: var(--steel); border-color: var(--steel); color: var(--navy); }

.hero .carousel-item.active .hero-kicker,
.hero .carousel-item.active .hero-title,
.hero .carousel-item.active .hero-text,
.hero .carousel-item.active .hero-buttons { animation: fadeUp .9s var(--ease) both; }
.hero .carousel-item.active .hero-title { animation-delay: .15s; }
.hero .carousel-item.active .hero-text { animation-delay: .3s; }
.hero .carousel-item.active .hero-buttons { animation-delay: .45s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    opacity: 0;
    margin: 0 24px;
    transition: opacity .3s, background .3s;
}
.hero:hover .carousel-control-prev,
.hero:hover .carousel-control-next { opacity: 1; }
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover { background: var(--navy); }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border: 0; background: var(--white); opacity: .4; }
.hero .carousel-indicators .active { opacity: 1; background: var(--steel); }

/* Action strip (below hero) */
.action-strip { background: var(--navy); padding: 30px 0; position: relative; overflow: hidden; }
.action-strip::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 0;
    bottom: 0;
    width: 340px;
    background: var(--navy-700);
    transform: skewX(-35deg);
}
.action-strip .container { position: relative; z-index: 1; }
.action-strip h2 { color: var(--white); font-size: 22px; text-transform: uppercase; margin: 0; }

/* About
   -------------------------------------------------------------------------- */
.about-media { position: relative; padding: 0 0 70px 0; }
.about-media-main { width: 85%; height: 440px; object-fit: cover; border-radius: var(--radius); }
.about-media-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 250px;
    object-fit: cover;
    border: 8px solid var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.experience-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--navy);
    color: var(--white);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: var(--radius);
    border-left: 5px solid var(--steel);
}
.experience-badge strong { font-family: var(--font-head); font-size: 42px; line-height: 1; }
.experience-badge span { font-family: var(--font-head); font-size: 13px; font-weight: 600; text-transform: uppercase; line-height: 1.4; color: var(--steel-200); }

.accordion-brand .accordion-item { border: 1px solid var(--steel-100); border-radius: var(--radius) !important; margin-bottom: 12px; overflow: hidden; }
.accordion-brand .accordion-button {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
    padding: 18px 22px;
    box-shadow: none;
}
.accordion-brand .accordion-button:not(.collapsed) { background: var(--navy); color: var(--white); }
.accordion-brand .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-brand .accordion-button:focus { box-shadow: none; }
.accordion-brand .accordion-body { padding: 18px 22px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; color: var(--navy); font-weight: 500; }
.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    font-size: 11px;
    display: grid;
    place-items: center;
    background: var(--steel-100);
    border-radius: 50%;
}

/* Facts / counters
   -------------------------------------------------------------------------- */
.facts {
    position: relative;
    padding: 90px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.facts::before { content: ''; position: absolute; inset: 0; background: rgba(8, 26, 51, .9); }
.facts .container { position: relative; }
.fact { text-align: center; color: var(--white); }
.fact i { font-size: 40px; color: var(--steel); margin-bottom: 16px; }
.fact-number { font-family: var(--font-head); font-size: 46px; font-weight: 800; line-height: 1.1; }
.fact-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 600; color: var(--steel-200); margin-top: 6px; }

/* Service cards
   -------------------------------------------------------------------------- */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s;
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-icon {
    position: absolute;
    left: 24px;
    top: -30px;
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 24px;
    border-radius: var(--radius);
    border-bottom: 4px solid var(--steel);
    z-index: 1;
}
.service-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(12, 36, 68, .5)); }
.service-card-body { position: relative; padding: 48px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 19px; margin-bottom: 10px; }
.service-card-body h3 a:hover { color: var(--navy-700); }
.service-card-body p { flex: 1; }

/* Features / why choose us
   -------------------------------------------------------------------------- */
.why-media { position: relative; padding: 0 30px 30px 0; }
.why-media::before { content: ''; position: absolute; right: 0; bottom: 0; width: 75%; height: 75%; border: 6px solid var(--steel-100); border-radius: var(--radius); }
.why-media img { position: relative; border-radius: var(--radius); width: 100%; height: 520px; object-fit: cover; }

.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature h3 { font-size: 16px; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 14px; }
.feature-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--steel-100);
    color: var(--navy);
    font-size: 22px;
    transition: all .3s;
}
.feature:hover .feature-icon,
.value-card:hover .feature-icon,
.contact-box:hover .feature-icon,
.process-step:hover .feature-icon { background: var(--navy); color: var(--white); }
.feature-boxed { background: var(--white); border: 1px solid var(--steel-100); padding: 28px; border-radius: var(--radius); height: 100%; transition: box-shadow .3s, border-color .3s; }
.feature-boxed:hover { box-shadow: var(--shadow); border-color: transparent; }

.value-card, .process-step, .contact-box {
    background: var(--white);
    padding: 38px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: border-color .3s, transform .3s var(--ease);
    position: relative;
}
.value-card:hover, .process-step:hover, .contact-box:hover { border-color: var(--navy); transform: translateY(-6px); }
.value-card h3, .process-step h3, .contact-box h3 { font-size: 18px; margin: 20px 0 10px; }
.value-card p, .process-step p, .contact-box p { margin: 0; }
.process-num { position: absolute; top: 14px; right: 20px; font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--steel-100); line-height: 1; }

/* Projects
   -------------------------------------------------------------------------- */
.project-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.project-filter button {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 10px 22px;
    border: 2px solid var(--steel-200);
    background: transparent;
    color: var(--navy);
    border-radius: var(--radius);
    transition: all .25s;
}
.project-filter button:hover,
.project-filter button.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.section-dark .project-filter button { color: var(--white); border-color: rgba(255, 255, 255, .25); }
.section-dark .project-filter button:hover,
.section-dark .project-filter button.active { background: var(--white); border-color: var(--white); color: var(--navy); }

.project-item { transition: opacity .35s, transform .35s var(--ease); }
.project-item.is-hidden { display: none; }
.project-item.is-entering { opacity: 0; transform: scale(.96); }

.project-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3.4; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover img { transform: scale(1.1); }
.project-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, transparent 35%, rgba(6, 19, 39, .92));
}
.project-card-cat {
    align-self: flex-start;
    background: var(--steel);
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
}
.project-card h3 { font-size: 20px; margin-bottom: 4px; }
.project-card h3 a { color: var(--white); }
.project-card-loc { color: var(--steel-200); font-size: 14px; }
.project-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 0;
    background: var(--steel);
    transition: width .45s var(--ease);
}
.project-card:hover::after { width: 100%; }

/* Testimonials
   -------------------------------------------------------------------------- */
.testimonials { background: var(--light); }
.testimonial {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    margin: 0;
    height: 100%;
    border-left: 4px solid var(--navy);
}
.testimonial-quote { position: absolute; right: 30px; top: 26px; font-size: 44px; color: var(--steel-100); }
.testimonial blockquote { font-size: 16px; font-style: italic; margin-bottom: 24px; position: relative; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--steel-100); }
.testimonial figcaption strong { display: block; font-family: var(--font-head); color: var(--navy); }
.testimonial figcaption span { font-size: 13px; color: var(--steel); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Team
   -------------------------------------------------------------------------- */
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-card-img { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.team-card:hover .team-card-img img { transform: scale(1.06); }
.team-card-social {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 16px;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(70px);
    transition: transform .4s var(--ease);
}
.team-card:hover .team-card-social { transform: none; }
.team-card-social a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: var(--white); border-radius: var(--radius); }
.team-card-social a:hover { background: var(--steel); color: var(--navy); }
.team-card-body { padding: 22px; text-align: center; border-bottom: 4px solid var(--navy); }
.team-card-body h3 { font-size: 18px; margin-bottom: 2px; }
.team-card-body span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); font-weight: 600; }

/* Quote form
   -------------------------------------------------------------------------- */
.quote-box { background: var(--white); padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 5px solid var(--navy); }
.inquiry-form .form-control,
.inquiry-form .form-select {
    border: 1px solid var(--steel-200);
    border-radius: var(--radius);
    padding: 13px 16px;
    font-size: 14px;
    background-color: var(--light);
    color: var(--navy);
}
.inquiry-form .form-control:focus,
.inquiry-form .form-select:focus { border-color: var(--navy); background-color: var(--white); box-shadow: 0 0 0 3px rgba(12, 36, 68, .1); }
.inquiry-form ::placeholder { color: #8a93a3; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert-brand { background: #e8f1ea; color: #1e5631; border: 1px solid #c4dfcb; border-radius: var(--radius); }

/* News
   -------------------------------------------------------------------------- */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.07); }
.post-card-date {
    position: absolute;
    left: 20px;
    top: 20px;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 8px 12px;
    font-family: var(--font-head);
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1.2;
    border-radius: var(--radius);
    border-bottom: 3px solid var(--steel);
}
.post-card-date strong { display: block; font-size: 22px; }
.post-card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.post-card-body p { flex: 1; }
.post-card-cat { font-size: 13px; color: var(--steel); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.post-card-body h3 { font-size: 18px; margin: 8px 0 10px; }

/* Page banner
   -------------------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 110px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
}
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 19, 39, .92), rgba(12, 36, 68, .75)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); font-size: 44px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.page-banner .breadcrumb { justify-content: center; margin: 0; font-family: var(--font-head); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.page-banner .breadcrumb a { color: var(--steel); }
.page-banner .breadcrumb a:hover { color: var(--white); }
.page-banner .breadcrumb-item.active { color: var(--white); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--steel); }

/* Detail pages & sidebar
   -------------------------------------------------------------------------- */
.detail-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px; }
.detail-title { font-size: 30px; margin-bottom: 16px; }

.sidebar-widget { background: var(--light); padding: 30px; border-radius: var(--radius); margin-bottom: 30px; }
.widget-title { font-size: 18px; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid var(--steel-200); position: relative; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--navy); }

.service-menu { list-style: none; padding: 0; margin: 0; }
.service-menu li + li { margin-top: 8px; }
.service-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px 20px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius);
    border-left: 4px solid transparent;
    transition: all .25s;
}
.service-menu a:hover, .service-menu a.active { background: var(--navy); color: var(--white); border-left-color: var(--steel); }

.help-box { background: var(--navy); color: var(--steel-200); text-align: center; }
.help-box > i { font-size: 44px; color: var(--steel); margin-bottom: 16px; }
.help-box h3 { color: var(--white); font-size: 20px; }
.help-phone { display: inline-block; margin-top: 6px; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--white); }
.help-phone:hover { color: var(--steel); }

.feature-pill { background: var(--light); padding: 14px 18px; border-radius: var(--radius); color: var(--navy); font-weight: 600; font-size: 14px; }
.feature-pill i { color: var(--navy); margin-right: 8px; }

.project-info { background: var(--light); padding: 30px; border-radius: var(--radius); position: sticky; top: 120px; }
.project-info ul { list-style: none; padding: 0; margin: 0; }
.project-info li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--steel-200); }
.project-info li i { color: var(--navy); }
.project-info li strong { color: var(--navy); font-family: var(--font-head); font-size: 14px; text-align: right; }

.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; margin-bottom: 12px; color: var(--steel); text-transform: uppercase; font-weight: 600; letter-spacing: .5px; }
.post-meta i { color: var(--navy); margin-right: 4px; }

.recent-posts { list-style: none; padding: 0; margin: 0; }
.recent-posts li { display: flex; gap: 14px; align-items: center; }
.recent-posts li + li { margin-top: 16px; }
.recent-posts img { width: 78px; height: 64px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.recent-posts a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.4; }
.recent-posts span { font-size: 12px; color: var(--steel); }

/* Contact
   -------------------------------------------------------------------------- */
.contact-box a { color: var(--text); }
.contact-box a:hover { color: var(--navy); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
.hours-box { background: var(--light); padding: 28px; border-radius: var(--radius); margin-top: 24px; }
.hours-box .footer-hours li { border-color: var(--steel-200); color: var(--text); }
.hours-box .footer-hours li span:last-child { color: var(--navy); }

/* CTA band & footer
   -------------------------------------------------------------------------- */
.cta-band { background: var(--navy-700); padding: 46px 0; position: relative; overflow: hidden; }
.cta-band::before {
    content: '';
    position: absolute;
    left: -80px;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--steel);
    opacity: .12;
    transform: skewX(-35deg);
}
.cta-band .container { position: relative; }
.cta-band h3 { color: var(--white); font-size: 24px; text-transform: uppercase; margin-bottom: 4px; }
.cta-band p { color: var(--steel-200); margin: 0; }

.site-footer { background: var(--navy-950); color: #a9b0bd; padding-top: 80px; font-size: 14px; }
.site-footer a { color: #a9b0bd; }
.site-footer a:hover { color: var(--white); }
.footer-logo { height: 92px; width: auto; }
.footer-title { color: var(--white); font-size: 17px; text-transform: uppercase; margin-bottom: 26px; padding-bottom: 14px; position: relative; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--steel); }

.footer-social { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border-radius: var(--radius); transition: all .25s; }
.footer-social a:hover { background: var(--steel); color: var(--navy); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 10px; color: var(--steel); }
.footer-links a:hover { padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; }
.footer-contact i { color: var(--steel); margin-top: 5px; width: 16px; }

.footer-hours { list-style: none; padding: 0; margin: 0; }
.footer-hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.footer-hours li span:last-child { color: var(--white); font-weight: 600; }

.footer-bottom { margin-top: 60px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    border-bottom: 3px solid var(--steel);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s;
    z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy-700); color: var(--white); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .section { padding: 72px 0; }
    .section-title h2 { font-size: 30px; }
    .hero-title { font-size: 42px; }
    .site-header .logo { height: 52px; }
    .navbar-collapse { padding: 12px 0 8px; border-top: 1px solid var(--steel-100); margin-top: 12px; }
    .site-header .nav-link { padding: 12px 0 !important; }
    .site-header .nav-link::after { left: 0; right: auto; width: 40px; }
    .why-media img { height: 380px; }
    .project-info { position: static; }
    .facts { background-attachment: scroll; }
}

@media (max-width: 767.98px) {
    .topbar-info li:first-child { display: none; }
    .hero .carousel-item { min-height: 560px; }
    .hero-title { font-size: 32px; }
    .hero-text { font-size: 16px; }
    .action-strip h2 { font-size: 18px; text-align: center; }
    .action-strip::after { display: none; }
    .section-title h2 { font-size: 26px; }
    .page-banner { padding: 80px 0; }
    .page-banner h1 { font-size: 30px; }
    .about-media-main { width: 100%; height: 320px; }
    .about-media-small { display: none; }
    .about-media { padding-bottom: 0; }
    .quote-box { padding: 28px 20px; }
    .fact-number { font-size: 36px; }
    .cta-band h3 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
