:root {
    --bg: #f2f6f8;
    --bg-soft: #e8eff2;
    --surface: #ffffff;
    --surface-strong: #0f1f2d;
    --text: #122230;
    --text-muted: #516473;
    --primary: #0f6d7c;
    --primary-strong: #0a5561;
    --accent: #f2a541;
    --border: #d8e3e8;
    --shadow: 0 18px 46px rgba(15, 31, 45, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: linear-gradient(160deg, var(--bg) 0%, #f6f9fb 34%, var(--bg-soft) 100%);
    line-height: 1.6;
}

.site-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 15%, rgba(15, 109, 124, 0.09), transparent 34%),
        radial-gradient(circle at 85% 14%, rgba(242, 165, 65, 0.14), transparent 28%),
        radial-gradient(circle at 84% 82%, rgba(11, 45, 68, 0.08), transparent 30%);
}

a {
    color: inherit;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}

.section-pad {
    padding: 4.5rem 0;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 2.8vw + 1rem, 3.5rem);
}

h2 {
    font-size: clamp(1.45rem, 1.8vw + 0.8rem, 2.2rem);
}

p {
    margin: 0 0 1rem;
    color: var(--text-muted);
}

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

.lead {
    font-size: clamp(1.02rem, 0.5vw + 0.95rem, 1.24rem);
    color: #355062;
}

.narrow {
    max-width: 760px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(246, 249, 251, 0.92);
    border-bottom: 1px solid rgba(216, 227, 232, 0.9);
}

.top-bar {
    background: #0d2f42;
    color: #e5f2f6;
    font-size: 0.88rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
}

.top-bar-item {
    margin: 0;
    color: #d6eaf2;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.top-bar-contact a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0;
    gap: 1rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    color: #fff;
    background: linear-gradient(140deg, var(--primary), #12384d);
}

.brand-text {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    color: #0e2231;
}

.main-nav {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.93rem;
    color: #324b5b;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    background: #dce9ef;
    color: #10293a;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-weight: 700;
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
}

.hero {
    padding-top: 5.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 1.6rem;
    align-items: start;
}

.hero-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 2vw + 1rem, 2.8rem);
    box-shadow: var(--shadow);
}

.hero-content h1 {
    max-width: 18ch;
    text-wrap: balance;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 1.2rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e7f2f5;
    color: #1b5460;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 0.8rem;
}

.hero-card {
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #0f2e44 0%, #164766 100%);
    color: #f0f8fb;
    padding: clamp(1.4rem, 1vw + 1rem, 2rem);
    box-shadow: var(--shadow);
    align-self: start;
}

.hero-card h2,
.hero-card p {
    color: inherit;
}

.hero-card ul {
    margin: 1rem 0;
    padding-left: 1.1rem;
}

.hero-card li {
    margin-bottom: 0.45rem;
}

.section-head {
    margin-bottom: 1.4rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

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

.service-card p,
.service-card li {
    color: #486072;
}

.section-accent {
    background: linear-gradient(180deg, rgba(16, 48, 70, 0.05), rgba(16, 48, 70, 0.01));
    border-top: 1px solid rgba(192, 210, 220, 0.55);
    border-bottom: 1px solid rgba(192, 210, 220, 0.55);
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
    align-items: start;
}

.check-list,
.process-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.check-list li,
.process-list li {
    margin-bottom: 0.45rem;
    color: #3e5566;
}

.info-panel {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #f6fbfd;
    padding: 1.25rem;
}

.info-panel p,
.info-panel li {
    color: #294557;
}

.cta-strip {
    background: linear-gradient(135deg, #0f6d7c 0%, #134b6e 100%);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2vw + 1rem, 2.6rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-strip h2,
.cta-strip p {
    color: #f4fbff;
}

.page-hero {
    padding-top: 5rem;
}

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

.form-card label,
form label {
    display: block;
    margin-bottom: 0.32rem;
    font-weight: 700;
    color: #21384a;
}

.form-card input,
.form-card textarea,
form input,
form textarea {
    width: 100%;
    border: 1px solid #c8d8e0;
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.7rem;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.form-card input:focus,
.form-card textarea:focus,
form input:focus,
form textarea:focus {
    outline: 2px solid rgba(15, 109, 124, 0.25);
    border-color: var(--primary);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.alert.success {
    background: #e2f7ea;
    color: #12552d;
    border: 1px solid #9fd8b2;
}

.alert.error {
    background: #ffe8e8;
    color: #8c2323;
    border: 1px solid #f5b4b4;
}

.error-text {
    display: block;
    color: #9b2f2f;
    margin: -0.3rem 0 0.65rem;
    font-size: 0.84rem;
    font-weight: 600;
}

.btn {
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.72rem 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1.2;
    min-height: 46px;
    white-space: nowrap;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #12567a 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 109, 124, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--primary-strong) 0%, #0f4c6a 100%);
}

.btn-outline {
    background: transparent;
    color: #17384d;
    border: 1px solid #9cb7c3;
}

.block {
    width: 100%;
}

.policy-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(1.4rem, 2vw, 2rem);
    box-shadow: var(--shadow);
}

.policy-content h2 {
    font-size: 1.18rem;
    margin-top: 1.2rem;
}

.policy-content a {
    color: var(--primary);
}

.not-found {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 3rem);
    box-shadow: var(--shadow);
}

.site-footer {
    margin-top: 2rem;
    background: #0b1f2d;
    color: #d5e6ee;
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.85fr;
    gap: 1rem;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
    color: inherit;
    margin-bottom: 0.7rem;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    text-decoration: underline;
}

.ssl-note {
    display: inline-flex;
    border: 1px solid rgba(172, 206, 225, 0.45);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(172, 206, 225, 0.2);
    margin-top: 1.4rem;
    padding: 1rem 0 1.4rem;
}

.footer-bottom p {
    margin: 0;
    color: #9eb7c4;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1.18fr 0.82fr;
        gap: 1.1rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 3.1vw, 3.1rem);
    }
}

@media (max-width: 1100px) {
    .top-bar-contact {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 0.4rem);
        border: 1px solid var(--border);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.98);
        display: none;
        flex-direction: column;
        padding: 0.55rem;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar-contact {
        flex-wrap: wrap;
    }

    .section-pad {
        padding: 3.3rem 0;
    }

    .container {
        width: min(1120px, calc(100% - 1.5rem));
    }

    .cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 560px) {
    .hero-actions .btn {
        width: 100%;
    }

    .hero-tags span {
        width: 100%;
        justify-content: center;
    }

    .brand-text {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-content,
    .hero-card,
    .service-card,
    .info-panel,
    .form-card,
    .cta-strip {
        animation: rise-in 0.58s ease both;
    }

    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .service-card:nth-child(4) {
        animation-delay: 0.08s;
    }

    @keyframes rise-in {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
