:root {
    --bg: #ffffff;
    --bg-soft: #f4fbfa;
    --bg-mint: #e9f7f4;
    --teal: #005f66;
    --teal-dark: #01484e;
    --teal-soft: #d9f0ed;
    --accent: #c9914b;
    --text: #172a31;
    --muted: #52656d;
    --border: #d8e5e3;
    --shadow: 0 18px 50px rgba(0, 78, 84, 0.12);
    --container: min(1120px, calc(100vw - 40px));
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 72px;
    padding: 10px max(24px, calc((100vw - 1120px) / 2));
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(216, 229, 227, 0.8);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 180px;
}

.brand img,
.footer-logo {
    object-fit: contain;
}

.site-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    color: #223941;
    font-size: 0.95rem;
    font-weight: 600;
}

.site-nav a {
    position: relative;
    padding: 8px 0;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--teal);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-cta,
.button,
.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    border-radius: var(--radius);
    font-weight: 750;
    line-height: 1.1;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
    padding: 12px 18px;
    background: var(--teal);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 95, 102, 0.18);
    white-space: nowrap;
}

.button {
    padding: 14px 20px;
    border: 1px solid transparent;
}

.button-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 95, 102, 0.2);
}

.button-secondary {
    color: var(--teal);
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.78);
}

.header-cta:hover,
.button:hover,
.footer-button:hover {
    transform: translateY(-2px);
}

.button-primary:hover,
.header-cta:hover {
    background: var(--teal-dark);
    box-shadow: 0 18px 34px rgba(0, 78, 84, 0.26);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    background: var(--teal);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
    align-items: center;
    min-height: 640px;
    overflow: hidden;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0.3) 62%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, #f8fcfb 0%, #ffffff 70%);
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 92px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--bg-soft));
    content: "";
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(560px, calc(100vw - 40px));
    margin-left: max(20px, calc((100vw - 1120px) / 2));
    padding: 72px 0 96px;
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    color: var(--teal);
    font-size: clamp(3rem, 5.4vw, 5.35rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: 0;
}

.hero p {
    max-width: 520px;
    margin: 22px 0 0;
    color: #435860;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.hero-media {
    position: relative;
    align-self: stretch;
    min-height: 520px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center right;
}

.hero-media::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.36) 31%, rgba(255, 255, 255, 0) 64%);
    content: "";
    pointer-events: none;
}

.section-heading {
    width: var(--container);
    margin: 0 auto 28px;
    text-align: center;
}

.section-heading h2,
.contact-band h2,
.page-hero h1 {
    margin: 0;
    color: var(--teal);
    font-size: clamp(1.7rem, 2.8vw, 2.45rem);
    line-height: 1.1;
}

.section-heading p {
    max-width: 720px;
    margin: 12px auto 0;
    color: var(--muted);
}

.process,
.services,
.faq {
    padding: 56px 0;
}

.process {
    background: linear-gradient(180deg, var(--bg-soft), #fff);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: var(--container);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 34px 28px;
    min-height: 180px;
}

.step + .step {
    border-left: 1px solid var(--border);
}

.step-number {
    position: absolute;
    top: 28px;
    left: 108px;
    color: var(--teal);
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
}

.icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--teal-soft);
    color: var(--teal);
    grid-row: 1 / span 2;
}

.icon svg,
.service-grid svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step h3 {
    grid-column: 2;
    margin: 42px 0 6px;
    color: var(--teal-dark);
    font-size: 1.05rem;
}

.step p {
    grid-column: 2;
}

.step p,
.service-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: var(--container);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-grid article {
    min-height: 178px;
    padding: 28px 22px;
}

.service-grid article + article {
    border-left: 1px solid var(--border);
}

.service-grid svg {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    color: var(--teal);
}

.service-grid h3 {
    margin: 0 0 8px;
    color: var(--teal-dark);
    font-size: 0.98rem;
    line-height: 1.2;
}

.faq {
    background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    width: var(--container);
    margin: 0 auto;
}

details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 14px 18px;
    color: var(--text);
    cursor: pointer;
    font-weight: 720;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--teal);
    border-right: 2px solid var(--teal);
    content: "";
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

details[open] summary::after {
    transform: rotate(135deg);
}

details p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: var(--container);
    margin: 0 auto 64px;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--teal);
    color: #fff;
    box-shadow: var(--shadow);
}

.contact-band h2 {
    color: #fff;
}

.contact-band p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.contact-band .button-primary {
    background: #fff;
    color: var(--teal);
    box-shadow: none;
    white-space: nowrap;
}

.site-footer {
    background: var(--teal);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
    gap: 54px;
    width: var(--container);
    margin: 0 auto;
    padding: 58px 0 44px;
}

.footer-logo {
    max-width: 190px;
    margin-bottom: 18px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #fff;
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid a:hover {
    color: #fff;
}

.footer-phone {
    color: #fff !important;
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-button {
    width: max-content;
    margin-top: 14px !important;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: var(--container);
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
}

.footer-bottom p {
    margin: 0;
}

.content-page {
    background: linear-gradient(180deg, var(--bg-soft), #fff 260px);
}

.page-hero,
.legal-content {
    width: min(860px, calc(100vw - 40px));
    margin: 0 auto;
}

.page-hero {
    padding: 82px 0 38px;
}

.page-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.15rem;
}

.legal-content {
    padding: 0 0 72px;
}

.legal-content h2 {
    margin: 30px 0 8px;
    color: var(--teal);
    font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
    color: #394d55;
}

.legal-content ul {
    padding-left: 22px;
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: auto auto;
    }

    .site-nav {
        order: 3;
        grid-column: 1 / -1;
        justify-content: center;
        padding-bottom: 8px;
    }

    .header-cta {
        justify-self: end;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy {
        width: var(--container);
        margin: 0 auto;
        padding: 64px 0 30px;
    }

    .hero-media {
        min-height: 430px;
        order: -1;
    }

    .hero-media img {
        min-height: 430px;
        object-position: center;
    }

    .hero-media::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), #fff 94%);
    }

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

    .step + .step,
    .service-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .service-grid article {
        min-height: auto;
    }

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

@media (max-width: 760px) {
    :root {
        --container: min(100vw - 28px, 1120px);
    }

    .site-header {
        min-height: 66px;
        padding: 10px 14px;
        gap: 12px;
    }

    .brand {
        min-width: 138px;
    }

    .brand img {
        width: 148px;
        height: auto;
    }

    .menu-toggle {
        display: grid;
        justify-self: end;
    }

    .site-nav {
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: #fff;
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        padding: 12px;
    }

    .site-nav a::after {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hero-copy {
        padding: 38px 0 28px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 13vw, 3.75rem);
    }

    .hero-media,
    .hero-media img {
        min-height: 300px;
    }

    .hero-actions,
    .contact-band {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .process,
    .services,
    .faq {
        padding: 42px 0;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .step {
        grid-template-columns: 58px 1fr;
        min-height: auto;
        padding: 26px 18px;
    }

    .step-number {
        top: 24px;
        left: 90px;
        font-size: 1.65rem;
    }

    .icon {
        width: 58px;
        height: 58px;
    }

    .icon svg,
    .service-grid svg {
        width: 28px;
        height: 28px;
    }

    .step h3 {
        margin-top: 34px;
    }

    .service-grid article {
        padding: 24px 18px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    summary {
        gap: 18px;
        align-items: flex-start;
    }

    .contact-band {
        margin-bottom: 44px;
        padding: 26px 20px;
    }

    .contact-band .button-primary {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 0 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

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