:root {
    color-scheme: light;
    --ink: #132432;
    --muted: #526574;
    --blue: #007fb7;
    --blue-dark: #005f89;
    --page: #eef6fa;
    --border: #cfe1ea;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    overflow-x: hidden;
}

body {
    color: var(--ink);
    background: var(--page);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

.hero-section {
    min-height: min(78vh, 760px);
    padding: clamp(2rem, 7vw, 5rem) 1rem;
    display: grid;
    place-items: center;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(0, 55, 82, 0.96), rgba(0, 127, 183, 0.78)),
        #006f9f;
    text-align: center;
}

.hero-content {
    width: min(760px, 100%);
}

.hero-image {
    width: clamp(10rem, 28vw, 15rem);
    aspect-ratio: 1;
    object-fit: cover;
    border: 0.45rem solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    box-shadow: 0 1.5rem 4rem rgba(0, 26, 38, 0.35);
}

.hero-section h1 {
    margin: 1.25rem 0 0.5rem;
    font-size: clamp(2.4rem, 8vw, 5.25rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.content-section {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.content-section h2 {
    margin: 0 0 1.25rem;
    color: var(--blue-dark);
    font-size: clamp(2rem, 6vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-align: center;
}

.about-section {
    max-width: 840px;
}

.about-section p,
.section-intro {
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.12rem);
}

.services-section {
    width: min(1180px, calc(100% - 2rem));
}

.services-list {
    margin-top: 2.75rem;
    display: grid;
    gap: clamp(1.25rem, 4vw, 2.75rem);
}

.service {
    padding: clamp(1rem, 3vw, 1.75rem);
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 4vw, 3rem);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 67, 96, 0.09);
}

.service-right {
    flex-direction: row-reverse;
}

.service-image {
    width: min(42%, 420px);
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 0.8rem;
}

.service-copy {
    flex: 1;
}

.service h3 {
    margin: 0 0 0.7rem;
    color: var(--blue-dark);
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    line-height: 1.2;
}

.service ul {
    margin: 0;
    padding-left: 1.2rem;
}

.service li + li {
    margin-top: 0.45rem;
}

.contact-section {
    max-width: 840px;
    text-align: center;
}

.contact-section .contact-form {
    text-align: left;
}

.page-navigation {
    padding: 0 0 3rem;
}

.site-footer {
    padding: 1.5rem 1rem 2rem;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.reveal-ready .fade-in,
.reveal-ready .service {
    opacity: 0;
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-ready .fade-in {
    transform: translateY(2rem);
}

.reveal-ready .service-left {
    transform: translateX(-3rem);
}

.reveal-ready .service-right {
    transform: translateX(3rem);
}

.reveal-ready .is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .content-section,
    .services-section {
        width: min(100% - 1rem, 1120px);
    }

    .service,
    .service-right {
        flex-direction: column;
        align-items: stretch;
    }

    .service-image {
        width: 100%;
        max-height: 260px;
    }

    .reveal-ready .service-left,
    .reveal-ready .service-right {
        transform: translateY(2rem);
    }

    .reveal-ready .is-visible {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready .fade-in,
    .reveal-ready .service {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
