:root {
    --forest: #103B2B;
    --forest-deep: #09291E;
    --emerald: #188653;
    --emerald-dark: #116B40;
    --emerald-soft: #E8F5ED;
    --page-green: #F3FAF5;
    --mint: #D9EDE0;
    --gold: #E4B65D;
    --white: #FFFFFF;
    --ink: #19352A;
    --muted: #5D7166;
    --border: #DCEBE1;
    --shadow: 0 18px 50px rgba(16, 59, 43, 0.09);
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--page-green);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font-family: "DM Sans", Arial, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--emerald-dark);
    text-decoration: none;
}

a:hover {
    color: var(--forest);
}

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

::selection {
    color: var(--forest-deep);
    background: var(--mint);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 82px 0;
}

.section-sm {
    padding: 52px 0;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 14px;
    color: var(--forest);
    font-family: "Manrope", "DM Sans", Arial, sans-serif;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4.4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
    margin: 0 0 16px;
}

small,
.small,
.eyebrow,
.form-help {
    font-size: 13px;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--forest);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: var(--emerald-dark);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    background: var(--gold);
    content: "";
}

.lead,
.muted {
    color: var(--muted);
}

.lead {
    font-size: 18px;
}

.text-center {
    text-align: center;
}

/* HEADER */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(15px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--forest);
}

.brand:hover {
    color: var(--forest);
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(145deg, var(--emerald), var(--forest));
    border-radius: 14px;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-copy strong {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-copy > span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    color: #3D5548;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--emerald-dark);
    background: var(--emerald-soft);
}

.nav-link.nav-contact {
    padding: 12px 18px;
    color: var(--white);
    background: var(--forest);
}

.nav-link.nav-contact:hover,
.nav-link.nav-contact.is-active {
    color: var(--white);
    background: var(--emerald-dark);
}

.nav-toggle {
    display: none;
}

/* BUTTONS */

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--white);
    background: var(--emerald);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn:hover {
    color: var(--white);
    background: var(--emerald-dark);
    transform: translateY(-2px);
}

.btn-dark {
    color: var(--white);
    background: var(--forest);
}

.btn-dark:hover {
    background: var(--forest-deep);
}

.btn-outline {
    color: var(--forest);
    background: var(--white);
    border-color: var(--border);
}

.btn-outline:hover {
    color: var(--forest);
    background: var(--emerald-soft);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

/* PHOTO SLIDER */

.hero-slider {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: var(--white);
    background: var(--forest);
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
    visibility: visible;
    opacity: 1;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 7s ease;
}

.hero-slide.is-active img {
    transform: scale(1.07);
}

/* Individual faded overlays for each slide. */
.hero-slide::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(
        90deg,
        rgba(7, 38, 26, 0.87) 0%,
        rgba(12, 68, 43, 0.70) 52%,
        rgba(16, 59, 43, 0.32) 100%
    );
}

.hero-slide[data-overlay="emerald"]::after {
    background: linear-gradient(
        90deg,
        rgba(5, 48, 31, 0.88),
        rgba(17, 111, 65, 0.69),
        rgba(15, 76, 48, 0.35)
    );
}

.hero-slide[data-overlay="forest"]::after {
    background: linear-gradient(
        90deg,
        rgba(5, 30, 23, 0.89),
        rgba(16, 59, 43, 0.72),
        rgba(13, 64, 43, 0.36)
    );
}

.hero-slide[data-overlay="mint"]::after {
    background: linear-gradient(
        90deg,
        rgba(8, 48, 33, 0.88),
        rgba(18, 91, 56, 0.69),
        rgba(9, 49, 33, 0.35)
    );
}

.hero-content {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 120px;
}

.hero-copy {
    max-width: 760px;
}

.hero-content .eyebrow {
    color: #D9F2E2;
}

.hero-content h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: var(--white);
}

.hero-content p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(16px, 1.6vw, 20px);
}

.hero-content .btn-outline {
    color: var(--white);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-content .btn-outline:hover {
    background: rgba(255, 255, 255, 0.20);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.slider-controls {
    position: absolute;
    right: max(20px, calc((100% - var(--container)) / 2));
    bottom: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(9, 41, 30, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}

.slider-arrow:hover {
    background: rgba(9, 41, 30, 0.82);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background: rgba(255, 255, 255, 0.6);
    border: 0;
    border-radius: 99px;
    cursor: pointer;
}

.slider-dot.is-active {
    width: 26px;
    background: var(--gold);
}

/* VALUE STRIP */

.value-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.value-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
}

.value-item + .value-item {
    border-left: 1px solid var(--border);
}

.value-icon,
.card-icon {
    width: 50px;
    height: 50px;
    display: grid;
    flex: 0 0 50px;
    place-items: center;
    color: var(--emerald-dark);
    background: var(--emerald-soft);
    border-radius: 15px;
    font-size: 23px;
}

.value-item strong {
    display: block;
    color: var(--forest);
    font-size: 15px;
}

.value-item span:not(.value-icon) {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

/* CONTENT SECTIONS */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.intro-image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.intro-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.image-note {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 17px 20px;
    color: var(--white);
    background: rgba(9, 41, 30, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.image-note strong {
    display: block;
    font-size: 17px;
}

.image-note span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.info-card {
    height: 100%;
    padding: 27px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 26px rgba(16, 59, 43, 0.035);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card .card-icon,
.info-card .card-icon {
    margin-bottom: 20px;
}

.service-card p,
.info-card p {
    color: var(--muted);
}

.service-card h3 a {
    color: var(--forest);
}

.service-card h3 a:hover {
    color: var(--emerald-dark);
}

.card-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.soft-panel {
    padding: clamp(26px, 5vw, 50px);
    background: linear-gradient(135deg, #EAF7EE, #F7FCF8 65%, #E0F2E7);
    border: 1px solid #D5E9DC;
    border-radius: var(--radius-lg);
}

.dark-panel {
    padding: clamp(28px, 5vw, 54px);
    color: var(--white);
    background: linear-gradient(135deg, var(--forest), #176A43);
    border-radius: var(--radius-lg);
}

.dark-panel h2,
.dark-panel h3 {
    color: var(--white);
}

.dark-panel p {
    color: rgba(255, 255, 255, 0.85);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-list li::before {
    width: 23px;
    height: 23px;
    display: grid;
    flex: 0 0 23px;
    place-items: center;
    margin-top: 2px;
    color: var(--emerald-dark);
    background: var(--mint);
    border-radius: 50%;
    content: "✓";
    font-size: 13px;
    font-weight: 900;
}

.cta-band {
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    background: linear-gradient(120deg, #E3F4E8, #F7FCF8 75%);
    border: 1px solid #D0E7D8;
    border-radius: var(--radius-lg);
}

.cta-band h2 {
    margin-bottom: 10px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.cta-band p {
    margin: 0;
    color: var(--muted);
}

/* INNER PAGE HERO */

.page-hero {
    padding: 72px 0;
    background: linear-gradient(120deg, #E4F4E9, #F7FCF8 65%, #DFF0E5);
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    max-width: 850px;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.page-hero p {
    max-width: 740px;
    color: var(--muted);
    font-size: 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    font-weight: 700;
}

.service-detail {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    scroll-margin-top: 110px;
}

.service-detail .card-icon {
    margin: 0;
}

.service-detail p {
    color: var(--muted);
}

/* CONTACT FORM */

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 14px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 19px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.contact-detail .card-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    font-size: 20px;
}

.contact-detail strong {
    display: block;
    margin-bottom: 4px;
    color: var(--forest);
}

.contact-detail p {
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.contact-form {
    padding: clamp(22px, 4vw, 36px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.form-field {
    display: grid;
    gap: 7px;
    margin-bottom: 17px;
}

.form-field label {
    color: var(--forest);
    font-size: 14px;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: #FBFEFC;
    border: 1px solid #CFE1D5;
    border-radius: 10px;
    font-size: 15px;
}

.form-field textarea {
    min-height: 145px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--emerald);
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 134, 83, 0.12);
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-help {
    color: var(--muted);
}

.notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 14px;
}

.notice-success {
    color: #14532D;
    background: #EAF8EE;
    border-color: #B9E3C5;
}

.notice-error {
    color: #8A2525;
    background: #FFF0F0;
    border-color: #F1C7C7;
}

.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* FOOTER */

.site-footer {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--forest-deep);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 1fr 1.15fr;
    gap: 34px;
    padding-top: 58px;
    padding-bottom: 50px;
}

.footer-brand {
    color: var(--white);
}

.footer-brand .brand-copy > span {
    color: rgba(255, 255, 255, 0.68);
}

.footer-brand-column > p {
    max-width: 340px;
    margin: 22px 0 16px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-email {
    color: #C7EFD5;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column h2 {
    margin-bottom: 7px;
    color: var(--white);
    font-size: 15px;
    letter-spacing: 0;
}

.footer-column > a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.footer-column > a:hover,
.footer-contact-column p a:hover {
    color: #C7EFD5;
}

.footer-column p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.footer-column p span {
    color: var(--gold);
}

.footer-contact-column p a {
    color: rgba(255, 255, 255, 0.86);
    overflow-wrap: anywhere;
}

.footer-whatsapp {
    margin-top: 7px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.footer-bottom-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom a {
    color: #C7EFD5;
    font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intro-grid {
        gap: 32px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 76px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 12px;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 20px;
        height: 2px;
        background: var(--forest);
        border-radius: 2px;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        padding: 14px 20px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(16, 59, 43, 0.09);
    }

    .primary-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .nav-link {
        justify-content: space-between;
        padding: 13px 15px;
    }

    .nav-link.nav-contact {
        justify-content: center;
        margin-top: 4px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intro-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 570px;
    }

    .hero-content {
        padding-top: 75px;
        padding-bottom: 115px;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px;
    }
}

@media (max-width: 600px) {
    .container,
    .hero-content {
        width: calc(100% - 30px);
    }

    .section {
        padding: 58px 0;
    }

    .section-sm {
        padding: 40px 0;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy > span {
        max-width: 205px;
        font-size: 13px;
        letter-spacing: 0;
    }

    .hero-slider {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 62px;
        padding-bottom: 120px;
    }

    .hero-content h1 {
        font-size: clamp(2.15rem, 10.5vw, 3.1rem);
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-slide::after,
    .hero-slide[data-overlay="emerald"]::after,
    .hero-slide[data-overlay="forest"]::after,
    .hero-slide[data-overlay="mint"]::after {
        background: linear-gradient(
            90deg,
            rgba(5, 35, 24, 0.90),
            rgba(12, 68, 43, 0.75)
        );
    }

    .slider-controls {
        right: 15px;
        bottom: 18px;
    }

    .value-strip-inner,
    .grid-2,
    .grid-3,
    .grid-4,
    .form-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .value-item {
        padding: 17px 5px;
    }

    .value-item + .value-item {
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .service-card,
    .info-card,
    .service-detail {
        padding: 22px;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 52px 0;
    }

    .page-hero p {
        font-size: 16px;
    }

    .form-field.full {
        grid-column: auto;
    }

    .footer-main {
        gap: 28px;
        padding-top: 42px;
        padding-bottom: 38px;
    }

    .footer-bottom-inner {
        min-height: 70px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .cta-band {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   MIGRATE GENERAL ENTERPRISES — SAAS PRO HEADER & FOOTER
   ========================================================= */

:root {
    --migrate-forest: #103B2B;
    --migrate-forest-deep: #09291E;
    --migrate-emerald: #188653;
    --migrate-mint: #D9EDE0;
    --migrate-pale: #F3FAF5;
    --migrate-gold: #E4B65D;
    --migrate-ink: #192B23;
    --migrate-muted: #64756B;
    --migrate-border: #E0EBE3;
    --migrate-white: #FFFFFF;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(16, 59, 43, 0.09);
    box-shadow: 0 5px 24px rgba(16, 59, 43, 0.045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-container,
.footer-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.header-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 15px;
    color: #FFFFFF;
    background: linear-gradient(145deg, #188653, #103B2B);
    box-shadow: 0 7px 17px rgba(24, 134, 83, 0.2);
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.brand-mark-dot {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 7px;
    height: 7px;
    border: 2px solid #103B2B;
    border-radius: 50%;
    background: var(--migrate-gold);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.brand-name {
    color: var(--migrate-forest);
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-tagline {
    color: var(--migrate-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15px;
}

.primary-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    color: #4C5F54;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--migrate-emerald);
    background: #EFF8F1;
}

.nav-link.is-active::after {
    position: absolute;
    right: 14px;
    bottom: 4px;
    left: 14px;
    height: 2px;
    border-radius: 3px;
    background: var(--migrate-emerald);
    content: "";
}

.header-cta,
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 19px;
    border: 1px solid var(--migrate-emerald);
    border-radius: 12px;
    color: #FFFFFF;
    background: var(--migrate-emerald);
    box-shadow: 0 6px 16px rgba(24, 134, 83, 0.15);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.footer-cta:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    background: var(--migrate-forest);
    border-color: var(--migrate-forest);
    box-shadow: 0 10px 22px rgba(16, 59, 43, 0.18);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--migrate-border);
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 3px;
    background: var(--migrate-forest);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    padding: 12px 16px;
    transform: translateY(-150%);
    border-radius: 8px;
    color: #FFFFFF;
    background: var(--migrate-forest);
    font-size: 14px;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Footer */

.site-footer {
    margin-top: 70px;
    color: #D9E8DE;
    background: var(--migrate-forest-deep);
}

.footer-top {
    padding: 64px 0 38px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(24, 134, 83, 0.17), transparent 42%),
        var(--migrate-forest-deep);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 42px;
}

.footer-brand .brand-name {
    color: #FFFFFF;
}

.footer-brand .brand-tagline {
    color: #B8CEC0;
}

.footer-description {
    max-width: 350px;
    margin: 22px 0;
    color: #B8CEC0;
    font-size: 14px;
    line-height: 1.85;
}

.footer-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(217, 237, 224, 0.17);
    border-radius: 10px;
    color: #E8F3EB;
    background: rgba(255, 255, 255, 0.045);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background 180ms ease, border-color 180ms ease;
}

.footer-contact-pill:hover {
    color: #FFFFFF;
    border-color: rgba(217, 237, 224, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.footer-heading {
    margin: 5px 0 22px;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.footer-link-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-link-list a,
.footer-detail a,
.footer-bottom-links a {
    color: #B8CEC0;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.7;
    transition: color 180ms ease;
}

.footer-link-list a:hover,
.footer-detail a:hover,
.footer-bottom-links a:hover {
    color: var(--migrate-gold);
}

.footer-detail {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 17px;
}

.footer-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(217, 237, 224, 0.14);
    border-radius: 10px;
    color: #A8E1BD;
    background: rgba(255, 255, 255, 0.045);
}

.footer-detail p {
    margin: 2px 0 0;
    color: #B8CEC0;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.footer-newsletter-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding: 28px 30px;
    border: 1px solid rgba(217, 237, 224, 0.14);
    border-radius: 18px;
    background: linear-gradient(
        115deg,
        rgba(24, 134, 83, 0.2),
        rgba(255, 255, 255, 0.035)
    );
}

.footer-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--migrate-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-newsletter-strip h2 {
    margin: 0 0 7px;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 800;
    letter-spacing: -0.6px;
}

.footer-newsletter-strip p {
    margin: 0;
    color: #B8CEC0;
    font-size: 14px;
    line-height: 1.7;
}

.footer-cta {
    flex: 0 0 auto;
    color: var(--migrate-forest);
    border-color: var(--migrate-gold);
    background: var(--migrate-gold);
    box-shadow: none;
}

.footer-cta:hover {
    color: var(--migrate-forest);
    border-color: #F0CC7D;
    background: #F0CC7D;
}

.footer-bottom {
    border-top: 1px solid rgba(217, 237, 224, 0.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.footer-bottom-inner > p {
    margin: 0;
    color: #9DB7A6;
    font-size: 13px;
    line-height: 1.7;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #668674;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(217, 237, 224, 0.18);
    border-radius: 11px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.back-to-top:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    background: var(--migrate-emerald);
}

/* Responsive navigation and footer */

@media (max-width: 980px) {
    .header-container {
        gap: 15px;
    }

    .nav-link {
        padding-inline: 10px;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }
}

@media (max-width: 760px) {
    .header-container,
    .footer-container {
        width: min(100% - 30px, 1200px);
    }

    .header-container {
        min-height: 72px;
    }

    .brand-mark {
        flex-basis: 41px;
        width: 41px;
        height: 41px;
        border-radius: 13px;
        font-size: 22px;
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-tagline {
        font-size: 13px;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 44px;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
        padding: 15px;
        border-bottom: 1px solid var(--migrate-border);
        background: #FFFFFF;
        box-shadow: 0 18px 28px rgba(16, 59, 43, 0.12);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .nav-link {
        min-height: 46px;
        padding-inline: 14px;
    }

    .nav-link.is-active::after {
        display: none;
    }

    .header-cta {
        margin-top: 5px;
    }

    .footer-top {
        padding-top: 48px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 22px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 520px;
    }

    .footer-newsletter-strip {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 36px;
        padding: 23px;
    }

    .footer-bottom-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (max-width: 440px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand-column {
        grid-column: auto;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .back-to-top {
        position: absolute;
        right: 15px;
    }

    .footer-bottom-inner {
        position: relative;
        padding-right: 48px;
    }

    .footer-cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-footer *,
    .primary-navigation * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
