@font-face {
    font-family: "FrohesLocal";
    src: local("Aptos"), local("Segoe UI Variable"), local("Segoe UI"), local("Arial");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --brand: #079fce;
    --brand-deep: #057da4;
    --brand-soft: #e8f7fc;
    --ink: #17242c;
    --muted: #64747c;
    --line: #dce5e9;
    --surface: #ffffff;
    --surface-alt: #f5f8f9;
    --grey: #a7a7aa;
    --shadow: 0 18px 48px rgba(26, 55, 69, 0.10);
    --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--surface);
    font-family: "FrohesLocal", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section-space { padding: 58px 0; }

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 999;
    transform: translateY(-160%);
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.icon { width: 1.12em; height: 1.12em; flex: 0 0 auto; }

.site-header {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid rgba(23, 36, 44, 0.08);
    background: rgba(255, 255, 255, .97);
}
.header-inner {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-block: 18px;
}
.header-logo {
    width: 400px;
    max-width: 400px;
    flex: 0 1 400px;
    text-decoration: none;
}
.header-logo img {
    width: 100%;
    max-width: 400px;
    height: auto;
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}
.header-phone .icon { color: var(--brand); width: 20px; height: 20px; }

.hero {
    position: relative;
    overflow: visible;
    background:
        linear-gradient(120deg, rgba(7, 159, 206, .08), transparent 50%),
        linear-gradient(180deg, #fff 0%, #f7fafb 100%);
    border-bottom: 1px solid var(--line);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--grey) 0 35%, var(--brand) 35% 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: none;
    padding-top: 42px;
    padding-bottom: 48px;
}
.paint-accent {
    position: absolute;
    pointer-events: none;
    opacity: .09;
    background: var(--brand);
    clip-path: polygon(0 18%, 90% 0, 100% 17%, 87% 32%, 100% 44%, 84% 58%, 96% 77%, 7% 100%, 15% 78%, 0 61%, 12% 43%);
}
.paint-accent-one { width: 430px; height: 70px; right: -95px; top: 56px; transform: rotate(6deg); }
.paint-accent-two { width: 300px; height: 50px; left: -100px; bottom: 50px; transform: rotate(-7deg); opacity: .055; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: var(--brand-deep);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 900;
}
.status-dot {
    width: 9px;
    height: 9px;
    background: var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(7, 159, 206, .12);
}

h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -.035em; }
h1, h2, h3, p { text-wrap: pretty; }
.hero h1 {
    margin: 0;
    width: 100%;
    max-width: none;
    font-size: clamp(2.8rem, 5.4vw, 5.3rem);
    font-weight: 850;
}
.lead {
    width: 100%;
    max-width: none;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}
.hero-actions {
    width: 100%;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 850;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.button-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.button-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.button-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.button-small { min-height: 42px; padding: 9px 15px; font-size: .9rem; }

.split-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    align-items: start;
}
.section-heading h2,
.services-heading h2,
.contact-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
}
.about-copy > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.quick-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}
.quick-facts > div {
    display: flex;
    gap: 12px;
    padding-top: 15px;
    border-top: 2px solid var(--brand-soft);
}
.quick-facts .icon { width: 21px; height: 21px; margin-top: 2px; color: var(--brand); }
.quick-facts span { color: var(--muted); font-size: .94rem; }
.quick-facts strong { color: var(--ink); }

.services { background: var(--surface-alt); }
.services-heading {
    display: block;
    margin-bottom: 38px;
}
.services-heading .eyebrow {
    margin-bottom: 12px;
}
.services-heading .services-intro {
    max-width: 780px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1rem;
    text-align: left;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.service-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    min-height: 156px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(31, 65, 79, .025);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: rgba(7, 159, 206, .5); box-shadow: 0 14px 30px rgba(31, 65, 79, .075); }
.service-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-deep);
}
.service-icon .icon { width: 22px; height: 22px; }
.service-card h3 { margin: 2px 0 7px; font-size: 1.04rem; letter-spacing: -.015em; }
.service-card p { margin: 0; color: var(--muted); font-size: .89rem; line-height: 1.45; }

.contact { background: #fff; }
.contact-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 44px;
    padding: 40px;
    color: #fff;
    background: var(--ink);
}
.contact-panel::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 50px;
    right: -90px;
    top: 35px;
    background: var(--brand);
    opacity: .22;
    transform: rotate(7deg);
    clip-path: polygon(0 18%, 88% 0, 96% 20%, 80% 32%, 100% 46%, 83% 62%, 94% 83%, 4% 100%, 13% 74%, 0 58%, 8% 40%);
}
.contact-copy, .contact-grid, .external-note { position: relative; z-index: 1; }
.eyebrow-light { color: #80dcf7; }
.contact-copy h2 { color: #fff; }
.contact-copy p:last-child { margin: 15px 0 0; color: #b9c8cf; font-size: .95rem; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.contact-card {
    min-height: 80px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.055);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); border-color: rgba(128,220,247,.5); }
.contact-icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--brand); }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-card small { display: block; color: #9db0b9; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.contact-card strong { display: block; margin-top: 1px; font-size: .9rem; overflow-wrap: anywhere; }
.arrow-icon { color: #80dcf7; }
.external-note {
    grid-column: 2;
    margin: -27px 0 0;
    padding-top: 34px;
    color: #8fa4ae;
    font-size: .76rem;
}

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1.25fr auto auto;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: .84rem;
}
.footer-inner > div { display: flex; flex-direction: column; }
.footer-inner strong { color: var(--ink); }
.footer-inner nav { display: flex; gap: 17px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover, .footer-inner a[aria-current="page"] { color: var(--brand-deep); }

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 28px rgba(7, 126, 164, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    cursor: pointer;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease;
}
.scroll-top:hover { background: var(--brand-deep); }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top .icon { width: 22px; height: 22px; }

.legal-main { padding: 54px 0 72px; background: var(--surface-alt); min-height: calc(100vh - 170px); }
.legal-shell { max-width: 900px; }
.legal-main h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 0 0 28px; }
.legal-card { background: #fff; border: 1px solid var(--line); padding: clamp(26px, 5vw, 48px); box-shadow: 0 16px 40px rgba(31,65,79,.05); }
.legal-card h2 { margin: 28px 0 8px; font-size: 1.16rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin: 0 0 14px; color: var(--muted); }
.legal-card a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .split-layout { grid-template-columns: 1fr; gap: 26px; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-panel { grid-template-columns: 1fr; gap: 28px; }
    .external-note { grid-column: 1; margin: 0; padding-top: 0; }
    .footer-inner { grid-template-columns: 1fr auto; }
    .copyright { display: none; }
}

@media (max-width: 700px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .section-space { padding: 46px 0; }
    .header-inner { min-height: 0; gap: 14px; padding-block: 14px; }
    .header-logo {
        width: min(280px, calc(100% - 54px));
        max-width: 280px;
        flex: 1 1 auto;
        min-width: 0;
    }
    .header-logo img { width: 100%; max-width: 280px; }
    .header-phone span { display: none; }
    .header-phone .icon { width: 22px; height: 22px; }
    .hero-inner { padding-top: 34px; padding-bottom: 42px; }
    .hero h1 { font-size: clamp(2.35rem, 11vw, 3.65rem); }
    .lead { margin-top: 18px; font-size: 1rem; }
    .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 24px;
        padding-bottom: 2px;
    }
    .hero-actions .button { width: 100%; min-width: 0; }
    .quick-facts { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 0; }
    .contact-panel { padding: 30px 18px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { min-height: 74px; }
    .footer-inner { min-height: 116px; grid-template-columns: 1fr; gap: 10px; padding-block: 22px; }
    .footer-inner nav { justify-content: flex-start; }
    .scroll-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
    .legal-page .header-inner { flex-wrap: nowrap; }
    .legal-page .button-small { width: auto; font-size: .78rem; padding-inline: 11px; }
    .legal-main { padding: 46px 0 64px; }
}

@media (max-width: 430px) {
    .legal-page .header-logo { width: min(200px, calc(100% - 145px)); }
    .legal-page .button-small { max-width: 135px; line-height: 1.15; }
}


@media (max-width: 520px) {
    .header-inner { gap: 10px; }
    .header-logo { min-width: 0; max-width: 280px; }
    .header-logo img { max-width: 280px; }
    .header-phone {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        justify-content: center;
        border: 1px solid var(--line);
        background: #fff;
    }
    .header-phone .icon { width: 19px; height: 19px; }
    .services-heading { margin-bottom: 30px; }
}

@media (max-width: 360px) {
    .shell { width: min(calc(100% - 22px), var(--shell)); }
    .header-logo { width: calc(100% - 50px); max-width: 280px; }
    .header-logo img { max-width: 280px; }
    .hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
    .contact-card { grid-template-columns: auto minmax(0, 1fr) auto; }
    .contact-card strong { font-size: .84rem; }
}


@media (hover: none) {
    .button:hover,
    .service-card:hover,
    .contact-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
