/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #333;
    background: #f2f2f2;
    line-height: 1.6;
}

a { color: #1f8a80; text-decoration: none; }
a:hover { text-decoration: underline; }

img {
    display: block;
    max-width: 100%;
}

/* ===== LAYOUT ===== */
.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

.narrow { max-width: 860px; }
.center-text, .header-title { text-align: center; }

section {
    position: relative;
    padding: 85px 0;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 50px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-flex {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 100%;
}

.logo-img {
    width: auto;
    height: 46px;
}

.site-title,
.logo-link span {
    line-height: 1;
    color: #1c6f63;
    white-space: nowrap;
}

.site-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.logo-link span {
    font-size: 22px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 28px;
    font-weight: 700;
    color: #1c6f63;
}

.main-nav a:hover,
.main-nav a.active {
    text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 9px;
    width: 100%;
    height: 2px;
    background: #145a52;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { letter-spacing: -.02em; }

h2 {
    margin: 0 0 16px;
    font-size: 38px;
    line-height: 1.15;
    color: #1c6f63;
}

h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #1c6f63;
}

/* ===== HEADING / BARS ===== */
.heading-flex {
    display: flex;
    align-items: center;
    gap: 18px;
}

.heading-flex h1,
.heading-flex h2,
.heading-flex h3 {
    margin: 0;
}

.center-heading,
.center-text .heading-flex {
    justify-content: center;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.bars .bar {
    display: block;
    width: 12px;
    border-radius: 8px 8px 0 0;
}

.bars-lg { height: 120px; }
.bars-md { height: 54px; }
.bars-lg .bar { width: 14px; }

.bar1 { height: 40%; background: #1f8a80; }
.bar2 { height: 70%; background: #6fbf73; }
.bar3 { height: 55%; background: #a4d65e; }
.bar4 { height: 85%; background: #8ecae6; }
.bar5 { height: 100%; background: #b8e0d2; }

/* ===== HERO ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: 140px 0;
    color: #fff;
    background: url('../images/hero.jpg') center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.35));
}

.hero-content,
.hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-copy { max-width: 1100px; }

.eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.88);
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    color: #fff;
}

.hero-text {
    max-width: 860px;
    margin: 30px 0 32px;
    font-size: 21px;
    color: rgba(255,255,255,.94);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: #1f8a80;
    transition: transform .2s ease, opacity .2s ease;
}

.btn:hover {
    text-decoration: none;
    opacity: .95;
    transform: translateY(-2px);
}

.btn:visited { color: #fff; }
.btn-secondary { background: #6fbf73; }

/* ===== SECTIONS ===== */
.intro,
.why-us,
.page-section { background: #fff; }

.services-preview { background: #f4f8f7; }
.testimonials { background: #eef6f5; }
.contact-strip { background: #e9efed; }

.page-section .container.narrow { max-width: 860px; }

.intro p,
.services-preview p,
.why-us p,
.testimonials p,
.contact-strip p,
.page-section p,
.page-section li,
.service-text-card p {
    font-size: 18px;
}

.page-section ul { padding-left: 22px; }

/* ===== SECTION HEADINGS ===== */
.section-heading { margin-bottom: 34px; }

.section-heading h2 {
    position: relative;
    padding-bottom: 10px;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #6fbf73;
}

.center-text .section-heading h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== CARDS / GRIDS ===== */
.grid-3,
.staff-grid,
.services-card-grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.staff-grid,
.services-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.service-text-card,
.contact-location,
.contact-location-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.card {
    padding: 24px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0,0,0,.12);
}

.service-card {
    overflow: hidden;
    padding: 0;
}

.service-card h3,
.service-card p {
    padding-left: 24px;
    padding-right: 24px;
}

.service-card h3 { padding-top: 6px; }
.service-card p { padding-bottom: 24px; }

.card-image {
    width: 100%;
    height: 240px;
    margin-bottom: 18px;
    object-fit: cover;
}

.icon-card { min-height: 220px; }

.testimonial-card .quote {
    margin: 0 0 18px;
    font-style: italic;
}

.quote-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1c6f63;
}

.quote-meta {
    margin: 2px 0 0;
    font-size: 12px !important;
    line-height: 1.3;
    color: #777;
}

.service-text-card {
    min-height: 190px;
    padding: 26px 24px;
    border-radius: 16px;
}

.service-text-card h3 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.35;
    color: #1c6f63;
}

.service-text-card p {
    margin: 0;
    line-height: 1.55;
    color: #333;
}

/* ===== PARALLAX ===== */
.parallax-strip {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    color: #fff;
    isolation: isolate;
}

.parallax-strip::before {
    content: "";
    position: absolute;
    inset: -80px 0;
    z-index: -2;
    background: url('../images/parallax-bg.jpg') center center / cover no-repeat;
    transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.12);
    will-change: transform;
}

.parallax-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(28, 111, 99, 0.48);
}

.parallax-strip .container {
    position: relative;
    z-index: 2;
}

.parallax-strip .section-heading {
    margin-bottom: 18px;
}

.parallax-strip h2,
.parallax-strip p {
    color: #fff;
}

.parallax-strip p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 20px;
    text-align: center;
}

@media (max-width: 900px) {
    .parallax-strip {
        padding: 90px 0;
    }

    .parallax-strip::before {
        inset: -40px 0;
        transform: none;
    }

    .parallax-strip h2 {
        font-size: 34px;
    }
}

/* ===== CONTACT ===== */
.contact-locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 28px 0;
    text-align: left;
}

.contact-location {
    padding: 20px;
    border-radius: 12px;
}

.contact-location strong {
    display: inline-block;
    margin-bottom: 6px;
    color: #333;
}

.contact-location a {
    font-weight: 600;
    color: #1f8a80;
    text-decoration: none;
}

.contact-location span { color: #555; }

.contact-line {
    margin: 18px 0 28px;
    font-weight: 700;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.contact-location-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.map-embed {
    width: 100%;
    height: 380px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9ecef;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== INNER HERO ===== */
.inner-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    padding: 0;
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.inner-hero.about { background-image: url('../images/about-banner.jpg'); }
.inner-hero.services { background-image: url('../images/services-banner.jpg'); }
.inner-hero.contact { background-image: url('../images/contact-banner.jpg'); }

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.25));
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 40px;
}

.inner-hero .heading-flex h1 {
    font-size: 54px;
    line-height: 1.05;
    color: #fff;
}

/* ===== STAFF ===== */
.staff-card {
    padding: 20px;
    text-align: center;
}

.staff-card p {
    font-size: 14px;
    line-height: 1.45;
    color: #555;
}

.staff-image {
    width: 100%;
    height: 260px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 12px;
}

.staff-role {
    margin: 6px 0 10px;
    font-weight: 700;
    color: #1c6f63;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 40px 0 34px;
    color: #fff;
    background: #1c6f63;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-content { position: relative; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 48px;
    align-items: start;
}

.footer-col h3,
.footer-location strong,
.footer-copy {
    color: #fff;
}

.footer-col h3 { margin: 0 0 18px; }
.footer-company p { margin: 0 0 18px; }

.footer-location { margin-bottom: 24px; }
.footer-location:last-child { margin-bottom: 0; }

.footer-location strong {
    display: inline-block;
    margin-bottom: 4px;
}

.footer-location a {
    display: inline-block;
    margin: 4px 0;
    font-weight: 500;
}

.footer-location span { color: rgba(255,255,255,.88); }

.footer-bars-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    align-self: end;
}

.footer-bars-wrap .bars { height: 140px; }

.footer-copy {
    margin-top: 30px;
    font-size: 14px;
}

.footer-copy p { margin: 0; }

/* ===== REVEAL ===== */
.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .75s ease, transform .75s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero h1 { font-size: 50px; }
    .hero-copy { max-width: 980px; }
    .bars-lg { height: 104px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .header-flex {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
    }

    .main-nav {
        margin-top: 15px;
        text-align: left;
    }

    .main-nav a {
        display: inline-block;
        height: auto;
        margin-left: 0;
        margin-right: 18px;
    }

    .hero {
        min-height: auto;
        padding: 110px 0;
    }

    .hero-copy,
    .hero-text {
        max-width: 100%;
    }

    .hero .heading-flex,
    .inner-hero .heading-flex {
        align-items: flex-start;
    }

    .hero h1 { font-size: 40px; }
    .hero-text { font-size: 18px; }

    .grid-3,
    .contact-locations,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr auto;
        gap: 30px;
    }

    .footer-bars-wrap {
        align-self: center;
        justify-content: flex-end;
        margin-top: 0;
    }

    .footer-bars-wrap .bars { height: 110px; }

    .parallax-strip {
        padding: 90px 0;
        background-attachment: scroll;
    }

    .parallax-strip::before {
        background-attachment: scroll;
        transform: none;
    }

    .parallax-strip h2 { font-size: 34px; }

    .inner-hero { min-height: 260px; }
    .inner-hero .heading-flex h1 { font-size: 42px; }

    .staff-grid,
    .services-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    section { padding: 65px 0; }

    .hero h1,
    .inner-hero .heading-flex h1 {
        font-size: 34px;
    }

    h2 { font-size: 30px; }

    .heading-flex {
        flex-direction: column;
        gap: 12px;
    }

    .center-heading,
    .center-text .heading-flex {
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn { width: auto; }

    .inner-hero { min-height: 220px; }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bars-wrap {
        align-self: start;
        justify-content: flex-start;
        margin-top: 20px;
    }

    .footer-bars-wrap .bars { height: 100px; }

    .staff-grid,
    .services-card-grid {
        grid-template-columns: 1fr;
    }

    .service-text-card { min-height: auto; }
}