:root {
    --bg: #ffffff;
    --cloud: #b0e0e9;
    --cloud-soft: #e4f5fa;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --text: #1d1d1b;
    --muted: #54616a;
    --line: #d7e6ea;
    --brand: #dd6729;
    --brand-dark: #226d7a;
    --accent: #dd6729;
    --shadow: 0 22px 50px rgba(34, 109, 122, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: var(--brand-dark);
    color: #fff;
    font-size: 0.92rem;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding: 10px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(215, 230, 234, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 16px;
}

.brand img {
    display: block;
}

.main-nav {
    display: flex;
    gap: 18px;
    color: var(--text);
    font-weight: 600;
}

.main-nav a:hover,
.topbar a:hover,
.site-footer a:hover {
    color: var(--brand);
}

.hero,
.section {
    padding: 84px 0;
}

.hero-grid,
.two-column,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 32px;
}

.hero-grid,
.two-column,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.hero {
    background: var(--cloud);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    grid-template-columns: minmax(340px, 0.96fr) minmax(0, 1.04fr);
    gap: 56px;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
    position: relative;
    z-index: 1;
    animation: heroFadeUp 0.9s ease both;
}

.hero-intro {
    font-size: 1.45rem;
    line-height: 1.45;
    color: var(--brand-dark);
}

.hero-contact {
    margin-top: 24px;
    color: var(--brand-dark);
}

.hero-media {
    position: relative;
    min-height: 620px;
    animation: heroFloatIn 1.1s ease both;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-photo-frame {
    position: absolute;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 70px rgba(34, 109, 122, 0.18);
}

.hero-photo-main {
    left: 0;
    top: 26px;
    width: min(100%, 470px);
    aspect-ratio: 4 / 5;
    z-index: 2;
}

.hero-photo-accent {
    display: none;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.92;
    animation: slowSpin 16s linear infinite;
}

.hero-shape-back {
    width: 180px;
    left: -34px;
    top: 0;
}

.hero-shape-front {
    width: 170px;
    right: -24px;
    bottom: 0;
    animation-direction: reverse;
}

.hero-badge {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 40px rgba(34, 109, 122, 0.14);
    backdrop-filter: blur(10px);
}

.hero-badge-top {
    top: 0;
    right: 46px;
    animation: badgeSlide 1.1s ease both;
}

.hero-badge-bottom {
    left: 22px;
    bottom: 0;
    animation: badgeSlide 1.1s ease 0.16s both;
}

.hero-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px dashed rgba(34, 109, 122, 0.22);
    pointer-events: none;
}

.hero-orbit-one {
    width: 520px;
    height: 520px;
    left: -20px;
    top: 42px;
    animation: slowSpin 24s linear infinite;
}

.hero-orbit-two {
    width: 380px;
    height: 380px;
    right: 20px;
    top: 130px;
    animation: slowSpin 20s linear infinite reverse;
}

.hero-metrics {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-metrics div {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    animation: heroFadeUp 0.8s ease both;
}

.hero-metrics div:nth-child(1) {
    animation-delay: 0.12s;
}

.hero-metrics div:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-metrics div:nth-child(3) {
    animation-delay: 0.28s;
}

.hero-metrics strong {
    display: block;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--brand-dark);
}

.hero-metrics span {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 0 14px;
}

h1,
h2,
h3 {
    line-height: 1.1;
    margin: 0 0 16px;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    max-width: 12ch;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.lead {
    font-size: 1.1rem;
    max-width: 60ch;
    color: var(--text);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.button-primary {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.button-secondary {
    border-color: var(--brand);
    color: var(--brand);
    background: transparent;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(34, 109, 122, 0.14);
}

.card,
.quote-panel,
.contact-card,
.legal-content,
.stat,
.step {
    background: var(--surface-strong);
    border: 1px solid rgba(216, 208, 196, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quote-panel,
.contact-card,
.legal-content {
    padding: 30px;
}

.card-grid,
.stat-grid,
.steps {
    display: grid;
    gap: 22px;
}

.card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 36px;
}

.card {
    padding: 26px;
    border-top: 5px solid var(--brand);
    animation: cardRise 0.7s ease both;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:nth-child(2) {
    animation-delay: 0.08s;
}

.card:nth-child(3) {
    animation-delay: 0.16s;
}

.card:nth-child(4) {
    animation-delay: 0.24s;
}

.card:hover,
.stat:hover,
.step:hover,
.contact-card:hover,
.quote-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(34, 109, 122, 0.18);
}

.section-white {
    background: #fff;
}

.section-blue {
    background: var(--cloud-soft);
}

.section-forest {
    color: #fff;
    background:
        linear-gradient(rgba(34, 109, 122, 0.86), rgba(34, 109, 122, 0.86)),
        url("/forest_w2.svg") center/cover no-repeat;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 24px;
}

.section-head-light .eyebrow,
.section-head-light h2 {
    color: #fff;
}

.section-copy {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.02rem;
}

.stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
    padding: 28px;
}

.stat strong,
.step span {
    display: block;
    font-size: 2rem;
    color: var(--brand);
    margin-bottom: 8px;
    font-weight: 800;
}

.quote-panel {
    background: linear-gradient(135deg, var(--brand-dark), #2da3bd);
    color: #fff;
    font-size: 1.25rem;
    animation: heroFadeUp 0.9s ease 0.12s both;
}

.steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
}

.step {
    padding: 26px;
    color: var(--text);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloatIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slowBob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes badgeSlide {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.contact-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.contact-list.large li {
    align-items: flex-start;
}

.contact-list span,
.contact-list a {
    color: var(--muted);
    text-align: right;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.full-width {
    grid-column: 1 / -1;
}

.contact-form label span {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
    color: var(--text);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox input {
    width: auto;
    margin-top: 3px;
}

.form-message {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
}

.form-message-success {
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
}

.form-message-error {
    background: rgba(185, 28, 28, 0.08);
    color: #991b1b;
}

.site-footer {
    padding: 40px 0 54px;
    border-top: 1px solid rgba(215, 230, 234, 0.8);
    background: #fff;
}

.footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
}

.footer-logo {
    display: block;
    margin-bottom: 16px;
}

.footer-grid h2,
.footer-grid h3 {
    margin-bottom: 10px;
}

.legal-page .section {
    padding-top: 72px;
}

.legal-content {
    max-width: 760px;
}

@media (max-width: 960px) {
    .hero-grid,
    .two-column,
    .contact-grid,
    .card-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-nav {
        display: none;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-media {
        min-height: 520px;
    }

    .hero-photo-main {
        width: min(88%, 480px);
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-orbit-one,
    .hero-orbit-two {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero,
    .section {
        padding: 64px 0;
    }

    .container {
        width: min(1120px, calc(100% - 24px));
    }

    .topbar-inner {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-media {
        min-height: 420px;
    }

    .hero-photo-main {
        width: 86%;
        aspect-ratio: 4 / 5;
    }

    .hero-badge-top {
        right: 0;
        max-width: 220px;
    }

    .hero-badge-bottom {
        left: 0;
    }

    .form-grid,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .contact-list li {
        flex-direction: column;
    }

    .contact-list span,
    .contact-list a {
        text-align: left;
    }
}
