:root {
    --teal: #5cd4d4;
    --teal-deep: #2a9e9a;
    --teal-soft: #e6faf9;
    --charcoal: #2d2d2d;
    --ink: #1a1a1a;
    --muted: #5c5c5c;
    --line: rgba(45, 45, 45, 0.12);
    --white: #ffffff;
    --shadow: 0 8px 22px rgba(21, 120, 116, 0.1);
    --radius: 12px;
    --font: "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
    --display: "Segoe UI Semibold", "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
    color: var(--charcoal);
    font-family: var(--font);
    font-size: 0.95rem;
    line-height: 1.45;
    background-color: #eef9f8;
    background-image: linear-gradient(180deg, #d8f4f2 0%, #eef9f8 38%, #f7fcfc 70%, #ffffff 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 120% 90% at 50% -5%, rgba(92, 212, 212, 0.35) 0%, transparent 58%);
}

.page {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.35rem, 3.5vh, 2.25rem);
    width: min(100% - 2rem, 860px);
    min-height: 100dvh;
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(1rem, 2.6vh, 1.6rem) 0;
    animation: fade-in 0.55s ease-out both;
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand {
    display: block;
    margin-bottom: 0.55rem;
    transition: transform 0.25s ease;
}

.brand:hover,
.brand:focus-visible {
    transform: translateY(-2px);
}

.brand img {
    display: block;
    width: clamp(110px, 16vh, 156px);
    height: auto;
}

.eyebrow {
    margin: 0 0 0.35rem;
    color: var(--teal-deep);
    font-size: clamp(0.65rem, 1.3vh, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: none;
}

.hero h1 {
    margin: 0 0 0.4rem;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.4rem, 3.8vh, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.lede {
    margin: 0 0 0.95rem;
    max-width: 30rem;
    color: var(--muted);
    font-size: clamp(0.84rem, 1.7vh, 0.98rem);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.4rem 1.05rem;
    border-radius: 8px;
    border: 2px solid transparent;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:focus-visible {
    outline: 3px solid rgba(92, 212, 212, 0.55);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--teal-deep);
    color: var(--white);
    border-color: var(--teal-deep);
}

.btn-primary:hover {
    background: #238884;
    border-color: #238884;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.65);
    color: var(--charcoal);
    border-color: rgba(45, 45, 45, 0.22);
}

.btn-secondary:hover {
    border-color: var(--teal-deep);
    color: var(--teal-deep);
    transform: translateY(-1px);
}

.clarity {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.55rem;
    margin: 0;
    max-width: 40rem;
    color: var(--muted);
    font-size: clamp(0.74rem, 1.5vh, 0.86rem);
}

.clarity strong {
    color: var(--ink);
}

.clarity .dot {
    color: var(--teal-deep);
    font-weight: 700;
}

/* Services */
.services {
    text-align: center;
}

.services h2 {
    margin: 0 0 0.15rem;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1rem, 2.2vh, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-intro {
    margin: 0 auto 0.9rem;
    max-width: 34rem;
    color: var(--muted);
    font-size: clamp(0.74rem, 1.5vh, 0.86rem);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 4.6rem;
    padding: 0.55rem 0.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.service:hover,
.service:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(42, 158, 154, 0.45);
    background: var(--white);
    box-shadow: var(--shadow);
}

.service:focus-visible {
    outline: 3px solid rgba(92, 212, 212, 0.55);
    outline-offset: 2px;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
    background: var(--teal-soft);
    color: var(--teal-deep);
}

.service-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.service-title {
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(0.7rem, 1.4vh, 0.82rem);
    font-weight: 700;
    line-height: 1.2;
}

/* Footer */
.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: clamp(0.7rem, 1.4vh, 0.8rem);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.2rem !important;
}

.footer-legal {
    font-size: clamp(0.62rem, 1.2vh, 0.72rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #7a7a7a;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 720px) {
    .service-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service:nth-child(4) {
        grid-column: 1;
    }

    .service:nth-child(5) {
        grid-column: 2;
    }

    .clarity .dot {
        display: none;
    }

    .clarity {
        flex-direction: column;
        gap: 0.2rem;
    }
}

@media (max-width: 520px) {
    body {
        overflow: auto;
    }

    .page {
        min-height: 100dvh;
        min-height: 100vh;
        justify-content: flex-start;
        padding: 1rem 0 1.25rem;
    }

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

    .service:nth-child(4),
    .service:nth-child(5) {
        grid-column: auto;
    }

    .service:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page,
    .brand,
    .btn,
    .service {
        animation: none !important;
        transition: none !important;
    }
}
