:root {

    --ink: #232823;

    --g: #1a9a3f;

    --g2: #0fc84a;

    --c: #0b9ab0;

    --bg: #e9f0ef;

    --w: #f7fbfa;

    --mut: #55605a;

    --f: 'Manrope', 'Segoe UI', system-ui, sans-serif;

    --r: 6px
}



* {

    box-sizing: border-box;

    margin: 0;

    padding: 0
}



html {

    scroll-behavior: smooth;

    scroll-padding-top: 80px
}



body {

    font-family: var(--f);

    color: var(--ink);

    background: var(--bg);

    line-height: 1.65;

    overflow-x: hidden
}



img,

svg {

    max-width: 100%
}



a {

    color: inherit
}



h1,

h2,

h3 {

    line-height: 1.1;

    letter-spacing: -.02em
}



:focus-visible {

    outline: 3px solid var(--c);

    outline-offset: 3px
}



.wrap {

    width: min(1200px, 92%);

    margin: auto
}



.sec {

    padding: clamp(64px, 9vw, 120px) 0
}



.dark {

    background: var(--ink);

    color: #e9f0ef
}



h2 {

    font-size: clamp(1.9rem, 4vw, 3.2rem);

    font-weight: 800;

    max-width: 18ch
}



.lead {

    color: var(--mut);

    max-width: 60ch;

    margin-top: 16px
}



.dark .lead {

    color: #a9b8b0
}



.btn {

    display: inline-flex;

    gap: 10px;

    align-items: center;

    padding: 13px 24px;

    border-radius: var(--r);

    font-weight: 700;

    text-decoration: none;

    border: 1.5px solid var(--g);

    background: var(--g);

    color: #fff;

    cursor: pointer;

    font: 700 .95rem var(--f);

    transition: transform .25s, box-shadow .25s, background .25s
}



.btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 24px -8px rgba(26, 154, 63, .6);

    background: var(--g2);

    color: var(--ink)
}



.btn span {

    transition: transform .25s
}



.btn:hover span {

    transform: translateX(5px)
}



.btn.o {

    background: transparent;

    color: inherit;

    border-color: currentColor
}



.btn.o:hover {

    background: var(--c);

    border-color: var(--c);

    color: #fff
}



.lnk {

    text-decoration: none;

    background: linear-gradient(var(--g), var(--g)) 0 100%/0 2px no-repeat;

    transition: background-size .3s
}



.lnk:hover {

    background-size: 100% 2px
}



header.nav {

    position: fixed;

    inset: 0 0 auto;

    z-index: 50;

    background: rgba(233, 240, 239, .6);

    backdrop-filter: blur(14px);

    transition: background .3s, box-shadow .3s
}



header.nav.s {

    background: rgba(233, 240, 239, .96);

    box-shadow: 0 1px 0 rgba(35, 40, 35, .12), 0 8px 24px -16px rgba(0, 0, 0, .3)
}



.nav .wrap {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 64px
}



.logo {

    display: block;

    height: 60px;

    width: 84px;

    overflow: hidden
}



.logo img {

    height: 84px;

    width: 84px;

    margin-top: -12px;

    display: block
}



.nav ul {

    display: flex;

    gap: 30px;

    list-style: none
}



.nav ul a {

    font-weight: 700;

    font-size: .82rem;

    letter-spacing: .06em;

    text-decoration: none;

    padding: 6px 0;

    background: linear-gradient(90deg, var(--g), var(--c)) 0 100%/0 2px no-repeat;

    transition: background-size .3s
}



.nav ul a:hover,

.nav ul a[aria-current] {

    background-size: 100% 2px
}



.burger {

    display: none;

    background: none;

    border: 0;

    width: 44px;

    height: 44px;

    cursor: pointer
}



.burger i {

    display: block;

    width: 24px;

    height: 2px;

    background: var(--ink);

    margin: 6px auto;

    transition: transform .3s, opacity .3s
}



.burger[aria-expanded=true] i:nth-child(1) {

    transform: translateY(8px) rotate(45deg)
}



.burger[aria-expanded=true] i:nth-child(2) {

    opacity: 0
}



.burger[aria-expanded=true] i:nth-child(3) {

    transform: translateY(-8px) rotate(-45deg)
}



.nav .btn {

    padding: 9px 18px;

    font-size: .8rem
}



@media(max-width:960px) {

    .burger {

        display: block
    }



    .nav .btn {

        display: none
    }



    .nav ul {

        position: absolute;

        top: 64px;

        left: 0;

        right: 0;

        flex-direction: column;

        gap: 0;

        background: var(--bg);

        padding: 0 5%;

        max-height: 0;

        overflow: hidden;

        transition: max-height .45s, padding .45s
    }



    .nav ul.open {

        max-height: 420px;

        padding: 12px 5% 24px
    }



    .nav ul a {

        display: block;

        padding: 14px 0
    }

}



.ic {

    width: 34px;

    height: 34px;

    color: var(--g)
}



.net {

    width: 100%;

    height: auto
}



.ln {

    stroke: var(--c);

    stroke-opacity: .45;

    stroke-width: 1;

    stroke-dasharray: var(--d);

    animation: dr 3s ease-out both
}



.nd {

    fill: var(--g2);

    animation: pl 3s ease-in-out infinite;

    animation-delay: calc(var(--i)*.3s);

    transform-box: fill-box;

    transform-origin: center
}



@keyframes dr {

    from {

        stroke-dashoffset: var(--d)
    }



    to {

        stroke-dashoffset: 0
    }

}



@keyframes pl {

    50% {

        transform: scale(1.7);

        opacity: .6
    }

}



[data-r] {

    opacity: 0;

    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);

    transition-delay: calc(var(--i, 0)*90ms)
}



[data-r=up] {

    transform: translateY(32px)
}



[data-r=left] {

    transform: translateX(-40px)
}



[data-r=right] {

    transform: translateX(40px)
}



[data-r=scale] {

    transform: scale(.92)
}



[data-r].in {

    opacity: 1;

    transform: none
}


#load {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    transition: opacity .5s, visibility .5s
}

#load img {
    width: 140px;
    animation: lg 1s ease both
}

#load b {
    letter-spacing: .3em;
    font-size: .8rem;
    animation: lg 1s .3s ease both
}

#load.x {
    opacity: 0;
    visibility: hidden
}

@keyframes lg {
    from {
        opacity: 0;
        transform: scale(.85)
    }
}



.page-hero {

    background: var(--ink);

    color: #fff;

    padding: 150px 0 90px;

    position: relative;

    overflow: hidden
}



.page-hero h1 {

    font-size: clamp(2.4rem, 6vw, 4.6rem);

    font-weight: 800;

    max-width: 16ch
}



.page-hero p {

    color: #a9b8b0;

    max-width: 55ch;

    margin-top: 18px;

    font-size: 1.1rem
}



.page-hero .net {

    position: absolute;

    right: -5%;

    top: 50%;

    width: min(620px, 60%);

    transform: translateY(-50%);

    opacity: .5
}



.card {

    background: var(--w);

    border: 1px solid rgba(35, 40, 35, .12);

    border-radius: var(--r);

    padding: 28px;

    position: relative;

    transition: transform .3s, box-shadow .3s
}



.card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    height: 3px;

    width: 0;

    background: linear-gradient(90deg, var(--g), var(--c));

    transition: width .4s
}



.card:hover {

    transform: translateY(-6px);

    box-shadow: 0 20px 40px -24px rgba(35, 40, 35, .5)
}



.card:hover::before {

    width: 100%
}



.grid {

    display: grid;

    gap: 20px;

    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));

    margin-top: 44px
}



.cta {

    background: linear-gradient(120deg, var(--ink) 40%, #0f5f6c);

    color: #fff;

    border-radius: var(--r);

    padding: clamp(36px, 6vw, 80px)
}



.cta h2 {

    max-width: 20ch
}



.cta .row,

.row {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 28px
}



footer {

    background: var(--ink);

    color: #a9b8b0;

    padding: 70px 0 24px;

    font-size: .92rem
}



footer .g {

    display: grid;

    gap: 36px;

    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr
}



footer h3 {

    color: #fff;

    font-size: .95rem;

    margin-bottom: 14px
}



footer ul {

    list-style: none;

    display: grid;

    gap: 8px
}



footer .logo {

    background: var(--bg);

    border-radius: var(--r);

    margin-bottom: 14px
}



footer .soc {

    display: flex;

    gap: 12px;

    margin-top: 16px
}



footer .soc a {

    width: 38px;

    height: 38px;

    border: 1px solid #4a554d;

    border-radius: 50%;

    display: grid;

    place-items: center;

    transition: background .3s, border-color .3s
}



footer .soc a:hover {

    background: var(--g);

    border-color: var(--g)
}



footer .soc svg {

    width: 17px;

    height: 17px;

    fill: #fff
}



footer .bt {

    border-top: 1px solid #3a443c;

    margin-top: 44px;

    padding-top: 20px
}



@media(max-width:860px) {

    footer .g {

        grid-template-columns: 1fr 1fr
    }



    .page-hero .net {

        opacity: .2
    }

}



@media(max-width:520px) {

    footer .g {

        grid-template-columns: 1fr
    }

}



.field {

    position: relative;

    margin-bottom: 18px
}



.field input,

.field select,

.field textarea {

    width: 100%;

    padding: 22px 14px 8px;

    border: 1.5px solid #b9c7c1;

    border-radius: var(--r);

    background: #fff;

    font: 500 1rem var(--f);

    color: var(--ink);

    transition: border-color .25s, box-shadow .25s
}



.field label {

    position: absolute;

    left: 15px;

    top: 15px;

    font-size: .95rem;

    color: var(--mut);

    pointer-events: none;

    transition: all .2s
}



.field input:focus,

.field select:focus,

.field textarea:focus {

    border-color: var(--c);

    box-shadow: 0 0 0 4px rgba(11, 154, 176, .15);

    outline: 0
}



.field input:focus+label,

.field input:not(:placeholder-shown)+label,

.field textarea:focus+label,

.field textarea:not(:placeholder-shown)+label,

.field select+label {

    top: 5px;

    font-size: .72rem;

    font-weight: 700;

    color: var(--c)
}



.field.bad input,

.field.bad select,

.field.bad textarea {

    border-color: #232823;

    box-shadow: 0 0 0 3px rgba(35, 40, 35, .15)
}



.err {

    display: none;

    font-size: .82rem;

    font-weight: 700;

    margin-top: 5px
}



.field.bad .err {

    display: block
}



.field.bad .err::before {

    content: "! "

}



.fgrid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0 18px
}



.fgrid .full {

    grid-column: 1/-1
}



@media(max-width:640px) {

    .fgrid {

        grid-template-columns: 1fr
    }

}



dialog {

    border: 0;

    border-radius: var(--r);

    padding: 40px;

    max-width: min(460px, 92%);

    margin: auto;

    box-shadow: 0 30px 80px rgba(0, 0, 0, .4)
}



dialog::backdrop {

    background: rgba(35, 40, 35, .7);

    backdrop-filter: blur(4px)
}



dialog[open] {

    animation: lg .4s ease
}



dialog h2 {

    font-size: 1.8rem
}



dialog p {

    margin: 12px 0 24px;

    color: var(--mut)
}



@media(prefers-reduced-motion:reduce) {



    *,

    *::before,

    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important
    }



    [data-r] {

        opacity: 1;

        transform: none
    }

}



.split {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: clamp(30px, 6vw, 80px);

    align-items: start
}



.card h3 {

    font-size: 1.2rem
}



.card p {

    color: var(--mut);

    font-size: .93rem
}



.info {

    list-style: none;

    margin-top: 30px;

    display: grid;

    gap: 18px
}



.info b {

    color: var(--g)
}



.fw {

    background: var(--w);

    border: 1px solid rgba(35, 40, 35, .12);

    border-radius: var(--r);

    padding: clamp(20px, 4vw, 40px)
}



@media(max-width:860px) {

    .split {

        grid-template-columns: 1fr
    }

}

/* =========================================================
   CONTACT PAGE — EDITORIAL REDESIGN + MOTION
   Navbar and footer styles above remain unchanged.
========================================================= */
.contact-page {
    background: #f4f7f4;
}

.contact-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #45d66e;
    font-size: .72rem;
    border: 2px solid #45d66e;
    padding: 6px 12px;
    font-weight: 800;
    letter-spacing: .17em;
    margin-bottom: 22px;
}

.contact-page .eyebrow-dot,
.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: #45d66e;
}

.status-pulse {
    box-shadow: 0 0 0 0 rgba(69, 214, 110, .55);
    animation: contactPulse 2s infinite;
}

.contact-page em {
    color: #43d56c;
    font-style: normal;
}

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0 0;
    background: #202821;
    color: #f7fbf8;
}

.contact-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 76% 45%, rgba(29, 150, 77, .18), transparent 42%),
        linear-gradient(120deg, transparent 45%, rgba(11, 154, 176, .08));
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(35px, 6vw, 90px);
    min-height: 510px;
    padding-bottom: 76px;
}

.contact-hero-copy {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    max-width: 700px;
    font-size: clamp(3rem, 6.2vw, 5.8rem);
    line-height: .99;
    letter-spacing: -.065em;
    font-weight: 800;
}

.contact-hero h1 em {
    display: inline-block;
}

.contact-hero .hero-copy {
    max-width: 530px;
    color: #b8c5bc;
    font-size: 1.06rem;
    margin-top: 26px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    margin-top: 34px;
}

.hero-text-link {
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    color: #e8f0ea;
}

.hero-text-link span {
    display: inline-block;
    margin-left: 6px;
    transition: transform .25s;
}

.hero-text-link:hover span {
    transform: translateX(5px);
}

.contact-page .btn {
    gap: 14px;
}

.contact-page .btn span {
    display: inline-block;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 46px;
    color: #9eaea3;
    font-size: .8rem;
}

.contact-visual {
    min-height: 420px;
    position: relative;
    display: grid;
    place-items: center;
}

.visual-ring {
    position: absolute;
    width: min(360px, 80vw);
    aspect-ratio: 1;
    border: 1px solid rgba(98, 222, 135, .25);
    border-radius: 50%;
}

.ring-a {
    animation: orbitFloat 9s ease-in-out infinite;
}

.ring-b {
    width: min(270px, 64vw);
    border-color: rgba(11, 154, 176, .35);
    transform: rotateX(62deg) rotate(-24deg);
    animation: orbitSpin 24s linear infinite;
}

.visual-core {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: radial-gradient(circle at 35% 25%, #354b3b, #18251d 72%);
    border: 1px solid rgba(103, 226, 139, .55);
    box-shadow: 0 0 0 18px rgba(57, 189, 95, .045), 0 0 80px rgba(40, 192, 88, .15);
    animation: coreBreath 5s ease-in-out infinite;
}

.core-mark {
    font-size: 5rem;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.12em;
}

.core-mark span {
    color: #45d66e;
}

.visual-core>span {
    font-size: .57rem;
    letter-spacing: .2em;
    color: #9ab9a2;
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(38, 51, 42, .83);
    backdrop-filter: blur(14px);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
    animation: cardFloat 5s ease-in-out infinite;
}

.float-card-top {
    top: 58px;
    right: -5px;
}

.float-card-bottom {
    bottom: 65px;
    left: -12px;
    animation-delay: -2.5s;
}

.float-card b,
.float-card small {
    display: block;
}

.float-card b {
    font-size: .82rem;
}

.float-card small {
    margin-top: 3px;
    color: #a9b8b0;
    font-size: .7rem;
}

.float-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(11, 154, 176, .15);
    color: #68d7e4;
    font-size: 1.2rem;
}

.float-icon.green {
    background: rgba(69, 214, 110, .13);
    color: #60e083;
}

.visual-index {
    position: absolute;
    right: 4px;
    bottom: 18px;
    font-size: .65rem;
    letter-spacing: .18em;
    color: #81968a;
}

.visual-index i {
    display: inline-block;
    width: 35px;
    height: 1px;
    vertical-align: middle;
    background: #45d66e;
    margin: 0 10px;
}

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.orb-one {
    width: 360px;
    height: 360px;
    top: -230px;
    left: 12%;
    background: rgba(69, 214, 110, .08);
}

.orb-two {
    width: 230px;
    height: 230px;
    right: 4%;
    bottom: 4%;
    background: rgba(11, 154, 176, .08);
}

.hero-bottom-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 19px 4%;
    color: #829489;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .17em;
}

.contact-intro {
    background: #f4f7f4;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.dark-eyebrow {
    color: #168d3b !important;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4.5vw, 4.1rem);
    letter-spacing: -.055em;
}

.section-heading h2 em {
    color: #168d3b;
    font-style: normal;
}

.section-heading>p {
    max-width: 360px;
    color: #66736a;
    margin-bottom: 5px;
}

.contact-paths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.path-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 290px;
    padding: 28px;
    border: 1px solid #dce5dd;
    border-radius: 14px;
    background: #fbfdfb;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}

.path-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    right: -70px;
    bottom: -70px;
    background: #dff6e5;
    transition: transform .4s;
}

.path-card:hover {
    transform: translateY(-8px);
    border-color: #79d394;
    box-shadow: 0 24px 55px rgba(26, 70, 37, .09);
}

.path-card:hover::after {
    transform: scale(2.2);
}

.path-index {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: #87958a;
}

.path-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 27px 0 21px;
    border-radius: 12px;
    background: #e4f7e9;
    color: #168d3b;
    font-size: 1.35rem;
}

.path-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.path-card p {
    color: #68766d;
    font-size: .9rem;
    line-height: 1.8;
}

.path-link {
    margin-top: auto;
    padding-top: 22px;
    color: #168d3b;
    font-weight: 800;
    font-size: .82rem;
}

.path-link b {
    margin-left: 7px;
    transition: margin .25s;
}

.path-card:hover .path-link b {
    margin-left: 13px;
}

.contact-main {
    background: #e7eee8;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: start;
}

.contact-aside {
    position: sticky;
    top: 105px;
}

.contact-aside h2 {
    font-size: clamp(2.5rem, 4.8vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.06em;
}

.contact-aside h2 em {
    color: #39a95b;
    font-style: normal;
}

.aside-copy {
    max-width: 420px;
    color: #637066;
    margin-top: 22px;
    line-height: 1.9;
}

.contact-detail-list {
    display: grid;
    gap: 22px;
    margin-top: 38px;
}

.contact-detail {
    display: flex;
    gap: 14px;
    align-items: center;
}

.contact-detail.find-us {
    align-items: flex-start;
}

.office-addresses {
    display: grid;
    gap: 12px;
}

.office-addresses p {
    margin: 0;
    color: #26372a;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.6;
}

.office-addresses strong {
    font-weight: 800;
}

.detail-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #cdd9cf;
    border-radius: 12px;
    color: #168d3b;
    background: rgba(255, 255, 255, .55);
    font-weight: 800;
}

.contact-detail small {
    display: block;
    font-size: .64rem;
    letter-spacing: .15em;
    color: #87958a;
    font-weight: 800;
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail div>span {
    color: #26372a;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    color: #168d3b;
}

.aside-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid #d0dbd2;
    color: #66736a;
    font-size: .8rem;
}

.contact-form-panel {
    padding: clamp(24px, 4vw, 46px);
    background: #fbfdfb;
    border: 1px solid #dce5dd;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(36, 61, 41, .07);
}

.form-panel-heading {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5ece6;
}

.form-step {
    display: flex;
    justify-content: space-between;
    color: #168d3b;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.form-step b {
    color: #9aa69c;
    font-weight: 700;
}

.form-panel-heading h3 {
    margin-top: 17px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: -.04em;
}

.form-panel-heading p {
    color: #7c887f;
    font-size: .82rem;
    margin-top: 9px;
}

.contact-form-panel .fgrid {
    gap: 0 16px;
}

.contact-form-panel .field {
    margin-bottom: 18px;
}

.contact-form-panel .field label {
    position: static;
    display: block;
    color: #455349;
    font-size: .78rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.contact-form-panel .field input,
.contact-form-panel .field select,
.contact-form-panel .field textarea {
    padding: 13px 14px;
    border: 1px solid #d5dfd7;
    border-radius: 9px;
    background: #fff;
    font: 500 .9rem var(--f);
    color: #232823;
    outline: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
}

.contact-form-panel .field input:focus,
.contact-form-panel .field select:focus,
.contact-form-panel .field textarea:focus {
    border-color: #1a9a3f;
    box-shadow: 0 0 0 4px rgba(26, 154, 63, .1);
    background: #fdfffd;
}

.contact-form-panel .field textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form-panel .field.bad input,
.contact-form-panel .field.bad select,
.contact-form-panel .field.bad textarea {
    border-color: #c93c3c;
    box-shadow: 0 0 0 3px rgba(201, 60, 60, .08);
}

.contact-form-panel .err {
    display: none;
    color: #bd3333;
    font-size: .75rem;
    margin-top: 5px;
}

.contact-form-panel .field.bad .err {
    display: block;
}

.field-full {
    grid-column: 1 / -1;
}

.form-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 5px;
}

.form-submit p {
    max-width: 270px;
    color: #849087;
    font-size: .7rem;
    line-height: 1.6;
}

.submit-btn {
    border: 0;
}

.contact-bottom {
    position: relative;
    overflow: hidden;
    background: #202821;
    color: #f7fbf8;
    padding: clamp(55px, 8vw, 100px) 0;
}

.bottom-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
}

.bottom-inner h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -.06em;
}

.bottom-inner h2 em {
    font-style: normal;
    color: #45d66e;
}

.btn-light {
    background: #f7fbf8 !important;
    border-color: #f7fbf8 !important;
    color: #202821 !important;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.btn-light:hover {
    background: #45d66e !important;
    border-color: #45d66e !important;
}

.bottom-decoration {
    position: absolute;
    right: 5%;
    bottom: -130px;
    font-size: 20rem;
    line-height: 1;
    color: rgba(255, 255, 255, .035);
    font-weight: 800;
    letter-spacing: -.12em;
    pointer-events: none;
}

.contact-modal {
    width: min(460px, 92vw);
    padding: 38px;
    border: 1px solid #dce5dd;
    border-radius: 18px;
    background: #fbfdfb;
    color: #232823;
}

.contact-modal::backdrop {
    background: rgba(19, 31, 22, .7);
    backdrop-filter: blur(6px);
}

.contact-modal h2 {
    margin-top: 14px;
    font-size: 2rem;
}

.contact-modal p {
    color: #68766d;
    margin: 12px 0 24px;
    line-height: 1.8;
}

.modal-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dff6e5;
    color: #168d3b;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 22px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--delay, 0ms);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

@keyframes contactPulse {
    70% {
        box-shadow: 0 0 0 8px rgba(69, 214, 110, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(69, 214, 110, 0);
    }
}

@keyframes orbitFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-12px) rotate(4deg);
    }
}

@keyframes orbitSpin {
    from {
        transform: rotateX(62deg) rotate(-24deg);
    }

    to {
        transform: rotateX(62deg) rotate(336deg);
    }
}

@keyframes coreBreath {

    0%,
    100% {
        box-shadow: 0 0 0 18px rgba(57, 189, 95, .045), 0 0 80px rgba(40, 192, 88, .15);
    }

    50% {
        box-shadow: 0 0 0 28px rgba(57, 189, 95, .025), 0 0 100px rgba(40, 192, 88, .25);
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@media (max-width: 900px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 42px;
    }

    .contact-hero-copy {
        padding-top: 10px;
    }

    .contact-visual {
        min-height: 360px;
    }

    .contact-paths {
        grid-template-columns: 1fr 1fr;
    }

    .contact-paths .path-card:last-child {
        grid-column: 1 / -1;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        position: static;
    }

    .contact-detail-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding-top: 118px;
    }

    .contact-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .contact-hero-grid {
        min-height: 0;
    }

    .contact-visual {
        min-height: 300px;
    }

    .visual-core {
        width: 155px;
        height: 155px;
    }

    .core-mark {
        font-size: 4.1rem;
    }

    .float-card {
        padding: 11px 12px;
    }

    .float-card-top {
        top: 30px;
        right: 0;
    }

    .float-card-bottom {
        bottom: 34px;
        left: 0;
    }

    .hero-bottom-line {
        justify-content: flex-start;
        column-gap: 22px;
        font-size: .56rem;
    }

    .section-heading {
        display: block;
    }

    .section-heading>p {
        margin-top: 20px;
    }

    .contact-paths {
        grid-template-columns: 1fr;
    }

    .contact-paths .path-card:last-child {
        grid-column: auto;
    }

    .path-card {
        min-height: 255px;
    }

    .contact-detail-list {
        grid-template-columns: 1fr;
    }

    .bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .bottom-decoration {
        font-size: 12rem;
        bottom: -80px;
    }

    .contact-form-panel {
        padding: 22px 18px;
    }

    .form-submit {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}


/* =========================================
   CONTACT PAGE — LIVE CONNECTION ANIMATION
========================================= */

.connection-visual {
    position: relative;
    min-height: 420px;
    isolation: isolate;
    overflow: hidden;
}

/* Background glow */
.connection-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(26, 154, 63, 0.13);
    filter: blur(65px);
    transform: translate(-50%, -50%);
    animation: connectionGlow 5s ease-in-out infinite;
    pointer-events: none;
}

/* SVG connection lines */
.connection-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.connection-path {
    fill: none;
    stroke: rgba(110, 210, 143, 0.38);
    stroke-width: 1.3;
    stroke-dasharray: 5 7;
    animation: connectionFlow 12s linear infinite;
}

.path-project,
.path-meeting {
    stroke: rgba(70, 190, 210, 0.42);
}

/* Animated signals */
.connection-dot {
    fill: #62e58a;
    filter: drop-shadow(0 0 5px #45d66e);
}

.dot-project,
.dot-meeting {
    fill: #68d7e4;
    filter: drop-shadow(0 0 5px #159bb5);
}

/* Central hub */
.connection-hub {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 154px;
    height: 154px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(98, 222, 135, 0.6);
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 25%,
        #354b3b,
        #18251d 75%
    );
    box-shadow:
        0 0 0 12px rgba(57, 189, 95, 0.045),
        0 0 50px rgba(40, 192, 88, 0.14);
    transform: translate(-50%, -50%);
    animation: hubFloat 5s ease-in-out infinite;
}

.hub-ring {
    position: absolute;
    inset: -10px;
    border: 1px dashed rgba(98, 222, 135, 0.45);
    border-radius: 50%;
    animation: hubRotate 28s linear infinite;
}

.hub-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #62e58a;
}

.hub-icon svg {
    width: 100%;
    height: 100%;
}

.connection-hub strong {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.connection-hub > span {
    color: #9ab9a2;
    font-size: 0.57rem;
    letter-spacing: 0.15em;
}

/* Contact nodes */
.contact-node {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 190px;
    min-height: 68px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(38, 51, 42, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
    animation: nodeFloat 5s ease-in-out infinite;
}

.contact-node strong,
.contact-node small {
    display: block;
}

.contact-node strong {
    color: #f7fbf8;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.contact-node small {
    margin-top: 4px;
    color: #a9b8b0;
    font-size: 0.61rem;
    white-space: nowrap;
}

.node-symbol {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: rgba(69, 214, 110, 0.13);
    color: #62e58a;
    font-size: 1.1rem;
    font-weight: 800;
}

.node-status {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    margin-left: auto;
    border-radius: 50%;
    background: #45d66e;
    box-shadow: 0 0 9px rgba(69, 214, 110, 0.8);
}

/* Node positions */
.node-email {
    top: 12%;
    left: 0;
}

.node-project {
    top: 12%;
    right: 0;
    animation-delay: -1.2s;
}

.node-support {
    bottom: 17%;
    left: 0;
    animation-delay: -2.4s;
}

.node-meeting {
    right: 0;
    bottom: 17%;
    animation-delay: -3.2s;
}

.node-project .node-symbol,
.node-meeting .node-symbol {
    background: rgba(11, 154, 176, 0.16);
    color: #68d7e4;
}

/* Bottom label */
.connection-index {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    color: #91a398;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
}

.connection-live-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #45d66e;
    box-shadow: 0 0 9px rgba(69, 214, 110, 0.8);
    animation: liveDotPulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes connectionFlow {
    to {
        stroke-dashoffset: -120;
    }
}

@keyframes connectionGlow {
    0%, 100% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12);
    }
}

@keyframes hubFloat {
    0%, 100% {
        margin-top: 0;
    }

    50% {
        margin-top: -6px;
    }
}

@keyframes hubRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes nodeFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -6px;
    }
}

@keyframes liveDotPulse {
    50% {
        box-shadow: 0 0 0 6px rgba(69, 214, 110, 0.08);
    }
}

/* Tablet */
@media (max-width: 900px) {
    .connection-visual {
        min-height: 360px;
        max-width: 460px;
        width: 100%;
        margin-inline: auto;
    }

    .contact-node {
        width: 178px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .connection-visual {
        min-height: 330px;
    }

    .connection-hub {
        width: 125px;
        height: 125px;
    }

    .hub-icon {
        width: 35px;
        height: 35px;
    }

    .connection-hub strong {
        font-size: 0.68rem;
    }

    .contact-node {
        width: 155px;
        min-height: 58px;
        gap: 7px;
        padding: 8px;
    }

    .node-symbol {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    .contact-node strong {
        font-size: 0.59rem;
    }

    .contact-node small {
        font-size: 0.52rem;
    }

    .node-email,
    .node-project {
        top: 8%;
    }

    .node-support,
    .node-meeting {
        bottom: 15%;
    }

    .connection-index {
        font-size: 0.48rem;
        letter-spacing: 0.07em;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .connection-visual *,
    .connection-visual *::before,
    .connection-visual *::after {
        animation: none !important;
    }
}
