:root {
    --bg: #f8fffd;
    --surface: #ffffff;
    --surface-soft: #edfafa;
    --surface-soft-2: #f2fbfb;
    --text: #30353f;
    --muted: #718086;
    --line: rgba(24, 110, 108, 0.12);
    --teal: #15cdb9;
    --teal-strong: #119e97;
    --teal-dark: #103c42;
    --shadow: 0 24px 60px rgba(15, 72, 82, 0.08);
    --shadow-soft: 0 18px 42px rgba(15, 72, 82, 0.06);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 18px;
}
@font-face {
    font-family: 'DIN';
    src: url('./assets/font/DIN-Medium-2.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gilroy-Black';
    src: url('./assets/font/Gilroy-Black.ttf') format('truetype');
}
@font-face {
    font-family: 'Gilroy-Bold';
    src: url('./assets/font/Gilroy-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Gilroy-Light';
    src: url('./assets/font/Gilroy-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Gilroy-Medium';
    src: url('./assets/font/Gilroy-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Gilroy-Regular';
    src: url('./assets/font/Gilroy-Regular.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Gilroy-Medium', Helvetica, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(160, 247, 235, 0.2), transparent 22%),
        linear-gradient(180deg, #f6fffe 0%, #ffffff 26%, #f8fffd 100%);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container,
.nav-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(17, 158, 151, 0.08);
    background: rgba(244, 255, 252, 0.94);
    backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(244, 255, 252, 0.98);
    box-shadow: 0 16px 40px rgba(14, 68, 76, 0.08);
}

.nav-shell {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 800;
    color: #1f242c;
    white-space: nowrap;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: 0 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 10px;
    color: #35404c;
    font-size: 15px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--teal-strong);
    background: rgba(21, 205, 185, 0.16);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #22303b;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-banner {
    position: relative;
    background: #eafaf9;
}

.hero-banner__image {
    width: 100%;
    height: auto;
}

.hero-banner__caption {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 3vw, 44px);
    width: min(calc(100% - 48px), 980px);
    transform: translateX(-50%);
    text-align: center;
}

.hero-banner__caption p {
    color: #ffffff;
    font-family: Gilroy-Black;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.2;
    text-shadow: 0 10px 28px rgba(13, 74, 104, 0.42);
}

.section {
    padding: 84px 0;
}

.section-compact {
    padding-top: 28px;
}

.section-tint {
    background: linear-gradient(180deg, rgba(236, 251, 250, 0.92), rgba(246, 255, 254, 0.92));
}

.section-dark {
    background: #04090b;
}

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

.section-heading--tight {
    margin-bottom: 36px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #7c8f93;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: #2d333d;
    font-family: Gilroy-Black;
}

h2 {
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

h3 {
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 800;
    line-height: 1.18;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.panel {
    padding: 34px 40px 42px;
    border-radius: var(--radius-lg);
}

.panel-soft {
    background: #ebf9f8;
}

.home-why {
    padding: 36px 40px 38px;
}

.home-why__intro {
    max-width: 720px;
    margin-bottom: 34px;
}

.home-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.home-why__card {
    display: grid;
    gap: 18px;
    align-content: start;
}

.home-why__media {
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 32px rgba(15, 72, 82, 0.06);
}

.home-why__media img {
    width: 100%;
    border-radius: 18px;
}

.home-why__body h3 {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.3;
}

.home-why__body p {
    font-size: 14px;
    line-height: 1.62;
}

.metrics-strip {
    background: #0f2d2c;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-item {
    min-height: 112px;
    display: grid;
    place-content: center;
    gap: 10px;
    text-align: center;
}

.metric-item strong {
    color: #7cf8ed;
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 800;
    line-height: 1;
}

.metric-item span {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 700;
}

.feature-grid,
.value-grid,
.pillar-text-grid,
.pillar-image-grid,
.service-highlight-grid,
.footer-grid {
    display: grid;
    gap: 28px;
}

.feature-grid,
.value-grid,
.pillar-text-grid,
.pillar-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.value-card,
.pillar-copy,
.pillar-image-card,
.service-highlight-card,
.media-card,
.contact-form-shell,
.service-panel {
    background: rgba(255, 255, 255, 0.94);
    /* border: 1px solid var(--line); */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.feature-card,
.value-card,
.pillar-copy,
.service-highlight-card {
    padding: 0;
}

.feature-card img,
.value-card img,
.pillar-image-card img,
.service-highlight-card img,
.media-card img {
    width: 100%;
    border-radius: calc(var(--radius-md) - 2px);
}

.feature-card h3,
.value-card h3 {
    margin: 24px 0 14px;
    font-size: 18px;
    line-height: 1.25;
}

.feature-card p,
.value-card p {
    font-size: 14px;
}

.feature-card {
    padding: 16px 16px 22px;
}

.value-card {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.value-card img {
    border: 1px solid rgba(24, 110, 108, 0.08);
    box-shadow: var(--shadow-soft);
}

.profile-grid,
.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.profile-copy {
    max-width: 500px;
}

.profile-copy p + p {
    margin-top: 18px;
}

.media-card {
    padding: 0;
    overflow: hidden;
}

.pillar-copy {
    min-height: 190px;
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.pillar-copy h3 {
    margin-bottom: 18px;
    font-size: 22px;
}

.pillar-image-card {
    overflow: hidden;
}

.service-stack {
    display: grid;
    gap: 18px;
}

.service-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    gap: 40px;
    align-items: center;
    padding: 28px 38px;
}

.service-panel--reverse {
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 0.92fr);
}

.service-panel--reverse .service-panel__copy {
    order: 2;
}

.service-panel--reverse .service-panel__media {
    order: 1;
}

.service-panel__media img {
    width: 100%;
    border-radius: var(--radius-sm);
}

.service-number {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 10px;
    color: #ffffff;
    background: #158f8c;
    font-size: 24px;
    font-weight: 800;
}

.service-panel__copy h3 {
    max-width: 12ch;
    margin-bottom: 22px;
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.05;
}

.service-highlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-highlight-card {
    overflow: hidden;
    border-radius: 10px;
}
.service-highlight-card > img {
    border-radius: 10px;
}

.support-copy {
    max-width: 520px;
}

.support-copy h2 {
    margin-bottom: 18px;
}

.contact-form-shell {
    padding: 54px 48px 46px;
    background: #f5fffd;
}

.contact-form-shell .section-heading {
    margin-bottom: 28px;
}

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

.field-row {
    display: grid;
    gap: 20px;
}

.field-row--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid rgba(88, 191, 238, 0.7);
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input {
    height: 54px;
    padding: 0 18px;
}

.contact-form textarea {
    min-height: 256px;
    padding: 18px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #b4b9c0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #22d8c0;
    box-shadow: 0 0 0 4px rgba(34, 216, 192, 0.14);
}

.button {
    min-width: 190px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    justify-self: center;
    color: #17343d;
    background: linear-gradient(135deg, #27f0ca, #22d8c0);
    box-shadow: 0 20px 36px rgba(34, 216, 192, 0.26);
}

.image-banner {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.image-banner img {
    width: 100%;
}

.image-banner--full {
    width: 100%;
    border-radius: 0;
}

.image-banner--dark {
    border-radius: 0;
}

.site-footer {
    padding: 56px 0 22px;
    background: #f5fffd;
}

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

.footer-brand {
    margin-bottom: 18px;
    font-size: 18px;
    white-space: nowrap;
    display: flex !important;
}

.footer-brand-block p {
    max-width: 320px;
}

.site-footer h3 {
    margin: 0 0 18px;
    color: #29313b;
    font-size: 18px;
    font-weight: 800;
}

.site-footer a {
    display: block;
    width: max-content;
    margin-bottom: 10px;
    color: #34414d;
    font-weight: 700;
}

.footer-contact-link {
    width: max-content;
    margin: 0 0 10px;
    color: #34414d;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    padding-left: 26px;
}

.footer-contact-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.footer-contact-link--phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23119e97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.79.61 2.64a2 2 0 0 1-.45 2.11L8 9.91a16 16 0 0 0 6.09 6.09l1.44-1.27a2 2 0 0 1 2.11-.45c.85.28 1.74.49 2.64.61A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.footer-contact-link--email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23119e97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' ry='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.site-footer a:hover {
    color: var(--teal-strong);
}

.copyright {
    width: min(1180px, calc(100% - 48px));
    margin: 40px 0 0;
    margin-inline: auto;
    color: #7f8e95;
    font-size: 14px;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast {
    position: fixed;
    top: 96px;
    right: 22px;
    z-index: 80;
    max-width: 320px;
    padding: 14px 16px;
    border: 1px solid rgba(24, 110, 108, 0.16);
    border-radius: 16px;
    background: #ebfffb;
    box-shadow: var(--shadow);
    color: #18343c;
    font-weight: 800;
    transform: translateX(calc(100% + 30px));
    transition: transform 220ms ease;
}

.toast.is-visible {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 980px) {
    .home-why__grid,
    .feature-grid,
    .value-grid,
    .pillar-text-grid,
    .pillar-image-grid,
    .footer-grid,
    .field-row--three {
        grid-template-columns: 1fr;
    }

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

    .profile-grid,
    .support-layout,
    .service-panel,
    .service-panel--reverse {
        grid-template-columns: 1fr;
    }

    .service-panel--reverse .service-panel__copy,
    .service-panel--reverse .service-panel__media {
        order: initial;
    }

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

    .profile-copy,
    .support-copy {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .container,
    .nav-shell {
        width: calc(100% - 28px);
    }

    .nav-shell {
        min-height: 70px;
    }

    .brand {
        gap: 12px;
        font-size: 18px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 14px;
        right: 14px;
        display: grid;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(247, 255, 253, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .nav-links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        justify-content: center;
    }

    .section {
        padding: 58px 0;
    }

    .hero-banner__caption {
        width: calc(100% - 28px);
        bottom: 12px;
    }

    .hero-banner__caption p {
        font-size: 16px;
    }

    .section-compact {
        padding-top: 18px;
    }

    .panel,
    .contact-form-shell,
    .service-panel {
        padding: 22px;
    }

    .home-why {
        padding: 24px 20px 26px;
    }

    .metrics-grid,
    .service-highlight-grid {
        grid-template-columns: 1fr;
    }

    .feature-card h3,
    .value-card h3 {
        font-size: 18px;
    }

    .feature-card p,
    .value-card p,
    .service-panel__copy p,
    .pillar-copy p,
    .profile-copy p,
    .support-copy p {
        font-size: 16px;
    }

    .service-panel__copy h3 {
        max-width: none;
        font-size: 38px;
    }

    .contact-form textarea {
        min-height: 190px;
    }

    .button,
    .button-primary {
        width: 100%;
    }

    .copyright {
        width: calc(100% - 28px);
    }
}
