:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #eef4fb;
    --surface-muted: #f8fafc;
    --text: #1f2937;
    --muted: #5b6574;
    --line: #d9e2ec;
    --primary: #175ea8;
    --primary-dark: #10487f;
    --primary-soft: #e7f0fb;
    --success: #0f766e;
    --success-soft: #e5f8f4;
    --error: #b42318;
    --error-soft: #fef3f2;
    --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --radius-sm: 12px;
    --max-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -10rem;
    z-index: 2000;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(var(--max-width), calc(100% - 2rem));
    margin-inline: auto;
}

.section {
    padding: 4.5rem 0;
}

.section--compact {
    padding: 2.75rem 0;
}

.section--muted {
    background: linear-gradient(180deg, rgba(231, 240, 251, 0.52), rgba(248, 250, 252, 0.82));
}

h1,
h2,
h3 {
    margin: 0 0 0.8rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.55rem, 3vw, 2.4rem);
}

h3 {
    font-size: 1.15rem;
}

p,
ul {
    margin: 0 0 1rem;
}

ul {
    padding-left: 1.1rem;
}

.eyebrow {
    margin-bottom: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 62ch;
}

.section-heading {
    max-width: 66ch;
    margin-bottom: 2rem;
}

.section-heading p:last-child {
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 1.25rem;
}

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

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

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

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

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.45rem;
}

.card--soft {
    background: var(--surface-soft);
}

.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    background: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.button--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.button--ghost:hover {
    background: var(--surface);
}

.button--secondary {
    background: var(--text);
    color: #fff;
}

.button--secondary:hover {
    background: #111827;
}

.button--small {
    min-height: 42px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 226, 236, 0.8);
}

.topbar {
    display: none;
    border-bottom: 1px solid rgba(217, 226, 236, 0.7);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
}

.topbar p {
    margin: 0;
    color: var(--muted);
}

.topbar__inner,
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.topbar__inner {
    min-height: 44px;
}

.topbar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.header__inner {
    min-height: 78px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--text);
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand__mark {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 24px rgba(23, 94, 168, 0.22);
}

.brand__text {
    display: grid;
    gap: 0.1rem;
}

.brand__text strong {
    font-size: 1rem;
}

.brand__text span:last-child {
    color: var(--muted);
    font-size: 0.92rem;
}

.nav-toggle {
    display: inline-grid;
    gap: 0.28rem;
    width: 48px;
    height: 48px;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.nav-toggle span:not(.visually-hidden) {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    left: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.site-header.is-open .site-nav {
    display: grid;
    gap: 1rem;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav li + li {
    margin-top: 0.35rem;
}

.site-nav a {
    display: inline-block;
    padding: 0.45rem 0;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.site-nav a[aria-current="page"] {
    color: var(--primary);
}

.hero,
.page-intro {
    padding: 4.5rem 0 3rem;
}

.hero__grid,
.contact-layout {
    display: grid;
    gap: 1.25rem;
}

.hero__panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 240, 251, 0.78));
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    padding: 1.45rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(217, 226, 236, 0.7);
}

.info-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: 800;
}

.hero__meta {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    font-weight: 600;
    font-size: 0.94rem;
}

.text-link {
    font-weight: 700;
}

.service-card h3,
.value-card h3,
.factor-card h3,
.step-card h3,
.contact-box h3 {
    margin-bottom: 0.55rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.7rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}

.step-card {
    position: relative;
    padding-top: 1.2rem;
}

.step-card__number {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
}

.notice {
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    color: var(--text);
}

.notice--large {
    padding: 1.4rem 1.45rem;
}

.service-detail__content,
.split-layout {
    display: grid;
    gap: 1.25rem;
}

.service-area-box {
    display: grid;
    gap: 1rem;
}

.contact-list-plain,
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list-plain li,
.footer-list li {
    margin-bottom: 0.7rem;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.faq__question::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1;
}

.faq__question[aria-expanded="true"]::after {
    content: "−";
}

.faq__answer {
    padding: 0 1.1rem 1rem;
    color: var(--muted);
}

.contact-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.35rem;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.35rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(23, 94, 168, 0.12);
}

.field textarea {
    resize: vertical;
    min-height: 160px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: var(--error);
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.field__error {
    min-height: 1.2rem;
    margin: 0;
    color: var(--error);
    font-size: 0.92rem;
}

.checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
}

.checkbox input {
    margin-top: 0.25rem;
    width: 1.05rem;
    height: 1.05rem;
}

.form-hint {
    color: var(--muted);
    font-size: 0.95rem;
}

.status-box {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
}

.status-box--hidden {
    display: none;
}

.status-box--success {
    background: var(--success-soft);
    border-color: rgba(15, 118, 110, 0.18);
    color: var(--success);
}

.status-box--error {
    background: var(--error-soft);
    border-color: rgba(180, 35, 24, 0.18);
    color: var(--error);
}

.cta-band {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(180deg, #fff, #f3f7fd);
    box-shadow: var(--shadow);
}

.legal-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.45rem;
}

.legal-content h2 {
    margin-top: 1.8rem;
    font-size: 1.35rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-note {
    margin-top: 1.5rem;
    padding: 1rem;
    border-left: 4px solid var(--primary);
    background: var(--surface-soft);
    border-radius: 0 12px 12px 0;
}

.site-footer {
    margin-top: 1rem;
    padding: 3rem 0 1.5rem;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.95);
}

.footer__grid {
    display: grid;
    gap: 1.4rem;
}

.footer__grid h2 {
    font-size: 1.12rem;
    color: #fff;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer__bottom p {
    margin: 0;
}

.footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 720px) {
    .topbar {
        display: block;
    }

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

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

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

    .hero__grid,
    .contact-layout,
    .service-detail__content,
    .split-layout,
    .footer__grid,
    .cta-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .field--full {
        grid-column: 1 / -1;
    }

    .footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 980px) {
    .grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex !important;
        align-items: center;
        gap: 1.35rem;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-nav ul {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .site-nav li + li {
        margin-top: 0;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.75fr);
        align-items: center;
    }

    .hero,
    .page-intro {
        padding: 5.5rem 0 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}