:root {
    --font-body: "Roboto", sans-serif;
    --font-heading: "Roboto", sans-serif;
    --primary: #2f5d50;
    --on-primary: #fff;
    --primary-variant: #659a2f;
    --surface: #fff;
    --surface-variant: #eef6f2;
    --on-surface: #40524d;
    --on-surface-strong: #0d1f1a;
    --outline: rgba(64, 82, 77, .18);
    --maxw: 1120px;
    --radius: 16px;
    --shadow-sm: 0 8px 20px rgba(3, 30, 22, .1);
    --shadow-md: 0 16px 38px rgba(3, 30, 22, .16);
    --shadow-lg: 0 26px 60px rgba(3, 30, 22, .2)
}

body,
html {
    margin: 0;
    overflow-x: hidden
}

*,
:after,
:before {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65
}

main img {
    display: block;
    height: auto;
    max-width: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--on-surface-strong);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -.015em;
    margin: 0 0 .5rem
}

h1 {
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.1
}

h2 {
    font-size: clamp(26px, 3.3vw, 40px);
    line-height: 1.18
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--maxw);
    padding-left: clamp(1rem, 5vw, 3rem);
    padding-right: clamp(1rem, 5vw, 3rem);
    width: 100%
}

section {
    padding-bottom: clamp(56px, 7vw, 88px);
    padding-top: clamp(56px, 7vw, 88px)
}

.hero {
    align-items: center;
    display: flex;
    min-height: 500px;
    overflow: hidden;
    padding: clamp(36px, 6vw, 72px) 0;
    position: relative
}

.hero-grid {
    align-items: stretch;
    display: grid;
    gap: 40px;
    grid-template-columns: 1.15fr .85fr;
    min-height: 550px
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px
}

.eyebrow {
    background: rgba(47, 93, 80, .08);
    border: 1px solid rgba(47, 93, 80, .3);
    border-radius: 2rem;
    color: var(--primary);
    display: inline-block;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
    margin-bottom: .5rem;
    padding: .375rem .875rem;
    text-transform: uppercase;
    width: fit-content
}

.hero h1 {
    color: #0d1f1a;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 18px
}

.hero .lead {
    color: #40524d;
    font-size: 1.2rem;
    margin-bottom: 24px
}

.btns {
    display: flex;
    gap: 22px;
    margin-top: 12px
}

.hero-art {
    align-items: stretch;
    display: flex;
    justify-content: flex-end;
    margin-right: calc(clamp(1rem, 5vw, 3rem)*-1);
    position: relative
}

.hero-art img {
    height: 100%;
    max-width: 140%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
    width: auto
}

@media (max-width:900px) {
    .hero-grid {
        gap: 32px;
        grid-template-columns: 1fr;
        min-height: auto;
        text-align: center
    }

    .hero-copy {
        margin: 0 auto;
        max-width: 100%
    }

    .hero-art {
        align-items: center;
        justify-content: center;
        margin-right: 0;
        min-height: 400px
    }

    .hero-art img {
        height: 100%;
        max-width: 90%;
        min-height: 300px;
        object-fit: contain;
        width: auto
    }

    .hero {
        min-height: unset;
        padding: 36px 0
    }
}

@media (max-width:540px) {
    .hero {
        padding: 18px 0
    }

    .hero h1 {
        font-size: 2rem
    }

    .btns {
        flex-direction: column;
        gap: 12px
    }

    .hero-art {
        min-height: 300px
    }

    .hero-art img {
        min-height: 250px
    }
}

.btn {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    gap: 10px;
    padding: 14px 18px;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s
}

.btn.primary {
    background: var(--primary);
    color: #fff
}

.btn.primary:hover {
    box-shadow: 0 8px 20px rgba(47, 93, 80, .3);
    transform: translateY(-2px)
}

.btn.ghost {
    background: hsla(0, 0%, 100%, .1);
    border: 1px solid hsla(0, 0%, 100%, .22);
    color: #e6eef8
}

.why-perfecta {
    background: #659e8a2f;
    color: var(--on-surface);
    overflow: hidden;
    position: relative
}

.why-wrap {
    align-items: center;
    display: grid;
    gap: clamp(28px, 4vw, 70px);
    grid-template-columns: 1fr 1fr
}

@media (max-width:980px) {
    .why-wrap {
        grid-template-columns: 1fr
    }
}

.why-copy .eyebrow {
    color: var(--primary);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 10px;
    text-transform: uppercase
}

.why-copy h2 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 12px
}

.why-copy p.lead {
    color: #2c3e36;
    font-size: clamp(16px, 2.1vw, 19px);
    margin: 8px 0 16px
}

.why-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 10px 0 18px;
    padding: 0
}

.why-list li {
    color: #40524d;
    padding-left: 30px;
    position: relative
}

.why-list li:before {
    background: radial-gradient(circle at 40% 40%, rgba(47, 93, 80, .35), rgba(47, 93, 80, .08));
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(47, 93, 80, .35);
    content: "";
    height: 18px;
    left: 0;
    position: absolute;
    top: 4px;
    width: 18px
}

.btn-green {
    align-items: center;
    background: linear-gradient(135deg, #7fe0c3, #659a2f);
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(101, 154, 47, .25);
    color: #061417;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 18px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, filter .2s
}

.btn-green:hover {
    box-shadow: 0 24px 56px rgba(101, 154, 47, .35);
    filter: brightness(1.03);
    transform: translateY(-2px)
}

.why-media {
    justify-self: end;
    max-width: 520px;
    min-height: 420px;
    position: relative;
    width: 100%
}

.frame {
    background: #fff;
    border: 1px solid rgba(64, 82, 77, .08);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(3, 6, 22, .18);
    overflow: hidden;
    position: absolute;
    z-index: 1
}

.frame img {
    height: 100%;
    object-fit: cover;
    width: 100%
}

.frame.lg {
    height: 360px;
    right: 0;
    top: 0;
    width: 100%
}

.frame.sm {
    bottom: -6px;
    height: 260px;
    right: 24px;
    width: 72%;
    z-index: 2
}

.stats-badge {
    background: #0f1622;
    border: 1px solid rgba(47, 93, 80, .25);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(3, 6, 22, .25);
    color: #e9fff7;
    display: grid;
    gap: 18px;
    grid-auto-flow: column;
    padding: 10px 14px;
    position: absolute;
    right: 12px;
    top: -8px;
    z-index: 3
}

.stat-big {
    color: #7fe0c3;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.05
}

.stat-small {
    color: #c7f6e8;
    font-size: 12px;
    opacity: .95
}

@media (max-width:980px) {
    .why-media {
        justify-self: stretch;
        min-height: 520px;
        width: 100%
    }

    .frame.lg {
        height: auto;
        min-height: 260px;
        position: relative;
        width: 100%
    }

    .frame.sm {
        height: auto;
        min-height: 190px;
        right: 6%;
        width: 62%
    }
}

.lead {
    font-size: clamp(16px, 2.2vw, 19px)
}

.why-us-steps {
    background: #659e8a2f;
    color: #40524d
}

.why-us-steps .steps-wrap {
    align-items: center;
    display: grid;
    gap: clamp(24px, 4vw, 56px);
    grid-template-columns: .98fr 1.02fr
}

@media (max-width:980px) {
    .why-us-steps .steps-wrap {
        grid-template-columns: 1fr
    }
}

.steps-media {
    background: #fff;
    border: 1px solid rgba(47, 93, 80, .14);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(3, 30, 22, .18);
    margin: 0;
    overflow: hidden;
    width: 100%
}

.steps-media img {
    aspect-ratio: 4/5;
    object-fit: cover;
    width: 100%
}

.steps-content .section-title h2 {
    color: #0d1f1a;
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 900;
    margin: 0 0 8px
}

.steps-content .section-title p {
    color: #2c3e36;
    font-size: clamp(15px, 2vw, 18px);
    margin: 0 0 18px
}

.steps {
    background: #fff;
    border: 1px solid rgba(47, 93, 80, .16);
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(3, 30, 22, .12);
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 18px 18px 6px;
    position: relative
}

.steps:before {
    background: linear-gradient(#cfece2, #a6d8c8);
    border-radius: 2px;
    bottom: 22px;
    content: "";
    left: 40px;
    position: absolute;
    top: 22px;
    width: 2px
}

.step {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: 56px 1fr;
    position: relative
}

.badge {
    background: var(--primary);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(47, 93, 80, .24), inset 0 0 0 1px rgba(0, 0, 0, .06);
    color: #fff;
    display: grid;
    height: 56px;
    place-items: center;
    width: 56px;
    z-index: 1
}

.badge svg {
    height: 24px;
    width: 24px
}

.step h3 {
    color: #0f2a23;
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 700;
    margin: 2px 0 4px
}

.step p {
    color: #2f4a41;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0
}

@media (max-width:520px) {
    .steps {
        padding: 12px 14px 4px
    }

    .steps:before {
        left: 34px
    }

    .step {
        gap: 10px;
        grid-template-columns: 48px 1fr
    }

    .badge {
        border-radius: 12px;
        height: 48px;
        width: 48px
    }

    .badge svg {
        height: 20px;
        width: 20px
    }
}

#services.services-alt {
    background: #fff;
    color: var(--on-surface)
}

#services.services-alt h2 {
    color: var(--on-surface-strong);
    font-weight: 900;
    text-align: center
}

#services.services-alt .lead {
    color: #2c3e36;
    font-size: clamp(15px, 2vw, 17px);
    margin: 8px auto 40px;
    max-width: 760px;
    opacity: .9;
    text-align: center
}

.svc-list {
    display: grid;
    gap: 3rem
}

.svc-row {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: 1.05fr .95fr
}

.svc-row.flip {
    grid-template-columns: .95fr 1.05fr
}

@media (max-width:900px) {

    .svc-row,
    .svc-row.flip {
        grid-template-columns: 1fr
    }

    .svc-row.flip .svc-art {
        grid-row: 1
    }
}

.svc-art {
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    width: 100%
}

.svc-art img {
    object-fit: contain;
    width: 100%
}

.svc-copy h3 {
    align-items: center;
    color: #0f2a23;
    display: flex;
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 700;
    gap: 10px;
    margin: 0 0 6px
}

.icon-inline {
    color: var(--primary-variant);
    flex-shrink: 0
}

.svc-copy p {
    color: #2f4a41;
    font-size: 15.5px;
    margin: 0 0 10px
}

.svc-bullets {
    color: #2f4a41;
    margin: 10px 0 0;
    padding-left: 18px
}

.svc-bullets li {
    margin: 6px 0
}

.svc-pill {
    background: linear-gradient(135deg, #7fe0c3, #659a2f);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(101, 154, 47, .25);
    color: #06201a;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 8px;
    padding: 6px 10px
}/* CTA Section */
.cta {
    background-color: var(--primary);
    /* Fallback */
    border-radius: 22px;
    color: #fff;
    text-align: center;
    padding: 24px !important;
}

.cta h3 {
    color: #fff !important;
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 0.5rem;
}

.cta p {
    color: #e6f7f2 !important;
    font-size: clamp(16px, 2vw, 18px);
    margin: 0 auto 1.5rem;
    max-width: 600px;
}

.cta .btn-primary {
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    font-weight: 700;
    padding: 12px 24px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.cta .btn-primary:hover {
    background: #f0fdf9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Reusing Media Overlay styles if available, or defining minimal support */
.media-overlay {
    position: relative;
    overflow: hidden;
    /* ensure text is above background */
    z-index: 1;
}

/* Background image handling - similar to About Us */
.bg-home-cta {
    /* You can set a specific image here if desired, e.g. --bg: url(...) */
    background-image: linear-gradient(135deg, var(--primary), #1a3c32);
}

.media-overlay.tint-green {
    /* If you want the tint effect */
    background-color: var(--primary);
}
