:root {
    --bg: #f3f6fb;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --text: #0f1728;
    --muted: #5b6679;
    --line: rgba(15, 23, 40, 0.08);
    --primary: #0f4c81;
    --primary-strong: #0b375d;
    --accent: #dcefff;
    --shadow: 0 24px 60px rgba(15, 23, 40, 0.10);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1180px, calc(100vw - 32px));
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(220, 239, 255, 0.9), transparent 38%),
        linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-footer__text a,
.contact-details a,
.note-card a[href^="tel"],
.note-card a[href^="mailto"] {
    color: inherit;
    text-decoration: none;
}

.site-shell { min-height: 100vh; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(251, 253, 255, 0.78);
    border-bottom: 1px solid rgba(15, 23, 40, 0.05);
}

.site-header__inner,
.section,
.hero,
.page-hero,
.site-footer__inner {
    width: var(--container);
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.site-brand { display: grid; gap: 4px; }
.site-brand__eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-brand__name { font-size: 22px; font-weight: 700; }

.site-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none;
    flex-direction: column;
    gap: 3px;
}

.site-nav-toggle__line {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    margin: 0;
}

.site-nav__list,
.menu-fallback,
.site-footer__list {
    list-style: none;
    display: flex;
    gap: 22px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.site-nav__list a,
.menu-fallback a,
.site-footer__list a { color: var(--muted); }

.site-nav__list,
.menu-fallback {
    flex-wrap: nowrap;
}

.site-nav__list a:hover,
.menu-fallback a:hover,
.site-footer__list a:hover { color: var(--text); }

.site-nav__list a,
.menu-fallback a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav__list a:hover,
.menu-fallback a:hover,
.site-nav__list a:focus-visible,
.menu-fallback a:focus-visible {
    color: var(--primary);
    background: rgba(15, 76, 129, 0.10);
    transform: translateY(-1px);
}

.site-nav__list .current-menu-item > a,
.menu-fallback .current-menu-item > a,
.site-nav__list .current_page_item > a,
.menu-fallback .current_page_item > a {
    color: var(--primary);
    font-weight: 700;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.10);
}

.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), #1b73b8);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 16px 28px rgba(15, 76, 129, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button--ghost {
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    border-color: var(--line);
    box-shadow: none;
}

.button:hover,
.button:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(15, 76, 129, 0.30);
    background: linear-gradient(135deg, #15629f, #2a95de);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 18px 32px rgba(15, 76, 129, 0.24);
}

.hero,
.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 42px;
    align-items: center;
    padding: 56px 0;
}

.page-hero--simple {
    grid-template-columns: minmax(0, 1fr);
}

.page-hero--simple h1 {
    max-width: none;
}

.hero__copy,
.page-hero__copy { display: grid; gap: 20px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background: rgba(15, 76, 129, 0.28);
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(34px, 5.8vw, 58px); max-width: 12ch; }
h2 { font-size: clamp(32px, 5.2vw, 52px); max-width: 12ch; }
h3 { font-size: clamp(24px, 3.2vw, 32px); }

.lead,
.section__intro p,
.content-card p,
.note-card p,
.process-list li {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 6px 0 0;
}

.hero__highlights li {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    color: var(--muted);
}

.hero__visual,
.page-hero__visual,
.service-card__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(145deg, #eef6ff, #dce7f8);
    box-shadow: var(--shadow);
}

.hero__visual {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero__visual img {
    display: block;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.hero__caption-card {
    padding: 24px 26px 26px;
    text-align: left;
}

.hero__caption-title,
.hero__caption-role {
    margin: 0;
}

.hero__caption-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.hero__caption-role {
    margin-top: 8px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
}

.hero__caption-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.hero__caption-meta .hero__caption-role {
    margin-top: 0;
}

.hero__caption-link {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    transition: transform 180ms ease, font-weight 180ms ease, color 180ms ease;
}

.hero__caption-link:hover,
.hero__caption-link:focus-visible {
    color: var(--primary-strong);
    font-weight: 700;
    transform: translateX(3px);
}

.hero__caption-list {
    margin: 16px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.hero__caption-list--about {
    margin-top: 8px;
    padding-left: 22px;
    gap: 12px;
    font-size: 18px;
    line-height: 1.7;
}

.content-card--about {
    gap: 20px;
}

.about-copy {
    display: grid;
    gap: 18px;
}

.about-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.section { padding: 56px 0; }
.section--muted { padding-top: 56px; }
.section--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 28px;
    align-items: start;
}

.section__intro {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.section__intro h2,
.section__copy h2 {
    max-width: none;
}

.section__copy {
    display: grid;
    gap: 26px;
}

.section__intro--profile {
    gap: 22px;
}

.section__intro--profile p,
.section__intro--profile li {
    font-size: 18px;
    line-height: 1.75;
}

.section__intro--profile ul {
    display: grid;
    gap: 18px;
    margin: 10px 0 0;
    padding-left: 22px;
    list-style: disc;
}

.section__intro--profile li {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.section__intro--profile li strong {
    color: var(--text);
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-card,
.content-card,
.note-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(15, 76, 129, 0.18);
    box-shadow: 0 28px 54px rgba(15, 23, 40, 0.16);
}

.service-card__body,
.content-card,
.note-card,
.site-footer__inner {
    padding: 26px;
}

.service-card__body {
    display: grid;
    gap: 14px;
}

.service-grid--text-only .service-card__body {
    min-height: 124px;
    align-content: center;
}

.service-card--text-only h3 {
    max-width: none;
}

.section--services-overview {
    padding-top: 64px;
}

.section--services-overview .section__intro {
    margin-bottom: 34px;
}

.services-overview-panel {
    padding: 32px 36px;
    border: 1px solid rgba(15, 23, 40, 0.07);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 255, 0.92));
    box-shadow: 0 18px 44px rgba(15, 23, 40, 0.06);
}

.service-grid--list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    align-items: start;
    position: relative;
}

.service-grid--list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 40, 0),
        rgba(15, 23, 40, 0.08) 12%,
        rgba(15, 23, 40, 0.08) 88%,
        rgba(15, 23, 40, 0)
    );
    transform: translateX(-20px);
}

.service-card--list-item {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.service-card--list-item:hover,
.service-card--list-item:focus-within {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.service-card--list-item .service-card__body {
    min-height: 0;
    padding: 30px 4px 30px 0;
    gap: 14px;
    align-content: start;
    border-top: 1px solid rgba(15, 23, 40, 0.08);
}

.service-card--list-item:nth-child(-n + 2) .service-card__body {
    padding-top: 0;
    border-top: 0;
}


.service-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.06);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-card--list h3 {
    font-size: clamp(21px, 2vw, 26px);
    line-height: 1.14;
    letter-spacing: -0.03em;
    max-width: none;
}

.service-card--list p {
    margin: 0;
    max-width: 54ch;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
}

.text-link {
    color: var(--primary);
    font-weight: 600;
}

.text-link--arrow {
    transition: transform 180ms ease, font-weight 180ms ease, color 180ms ease;
}

.text-link--arrow:hover,
.text-link--arrow:focus-visible {
    color: var(--primary-strong);
    font-weight: 700;
    transform: translateX(3px);
}

.content-card h2,
.content-card h3,
.content-card h4 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.content-card h2,
.content-card h3 {
    max-width: none;
    hyphens: auto;
    overflow-wrap: break-word;
}

.content-card ul {
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-layout {
    align-items: stretch;
}

.legal-layout {
    align-items: start;
}

.legal-side {
    display: grid;
    gap: 24px;
}

.legal-card {
    display: grid;
    gap: 16px;
}

.legal-card h2,
.legal-card h3 {
    max-width: none;
}

.legal-card p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.legal-card a {
    color: inherit;
    text-decoration: none;
}

.legal-card--creon {
    align-content: start;
}

.legal-card__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
}

.legal-card__logo img {
    width: min(220px, 100%);
    height: auto;
}

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

.contact-card h2 {
    max-width: none;
}

.contact-details,
.parking-list {
    display: grid;
    gap: 18px;
}

.contact-details p,
.parking-list p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.contact-details strong,
.parking-list strong {
    color: var(--text);
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-map-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.contact-map {
    width: 100%;
    height: 520px;
    background: linear-gradient(180deg, #eef6ff, #dfeaf8);
}

.map-pin {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.map-pin svg {
    display: block;
    width: 44px;
    height: 56px;
    filter: drop-shadow(0 10px 24px rgba(15, 23, 40, 0.24));
}

.process-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 12px;
}

.note-card {
    display: grid;
    gap: 16px;
    background: linear-gradient(180deg, #ffffff, #eef6ff);
}

.note-card__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    font-weight: 700;
}

.site-footer { padding: 36px 0 56px; }

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.site-footer__title { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.site-footer__text { margin: 0; color: var(--muted); }

.site-footer__text strong {
    color: var(--text);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .site-footer__inner,
    .hero,
    .page-hero,
    .section--split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-brand__eyebrow {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .site-brand__name {
        font-size: 18px;
    }

    .content-card h2,
    .content-card h3 {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.08;
    }
}

@media (max-width: 760px) {
    .service-grid { grid-template-columns: 1fr; }
    .service-grid--list {
        gap: 0;
        padding: 24px 22px;
    }
    .service-grid--list::before { display: none; }
    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
    .site-header__cta { display: none; }
    .site-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }
    .site-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 12px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: block; }
    .site-nav__list,
    .menu-fallback {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .site-footer__list { flex-wrap: wrap; gap: 14px; }
    .hero,
    .page-hero { padding-top: 40px; }
    .content-card,
    .note-card,
    .service-card__body,
    .site-footer__inner { padding: 22px; }
    .site-footer__item {
        display: block;
    }
    .site-footer__item--subline {
        margin-top: 2px;
    }
    .site-footer__separator {
        display: none;
    }
    .contact-map {
        height: 420px;
    }
    .service-card--list .service-card__body {
        padding: 22px 0 24px;
    }
    .service-card--list:nth-child(2) .service-card__body {
        padding-top: 22px;
        border-top: 1px solid rgba(15, 23, 40, 0.10);
    }
    .lead,
    .section__intro p,
    .content-card p,
    .note-card p,
    .process-list li { font-size: 17px; }
}
