@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --paper: #f6f8fb;
    --white: #ffffff;
    --navy: #0b1f33;
    --navy-2: #123047;
    --blue: #1d6fa8;
    --blue-deep: #155a8a;
    --teal: #0f766e;
    --teal-soft: #e6f4f2;
    --blue-soft: #e8f3fa;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    min-height: 100vh;
}

img {
    max-width: 100%;
}

a {
    color: var(--blue);
}

.wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 248, 251, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.logo {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.05rem;
}

.menu-checkbox {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--ink);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 0.2rem;
}

.nav ul a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
}

.nav ul a:hover,
.nav ul a.is-active {
    color: var(--ink);
    background: var(--white);
}

.hero {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(29, 111, 168, 0.35), transparent 55%),
        radial-gradient(700px 380px at 0% 110%, rgba(15, 118, 110, 0.28), transparent 50%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
    padding: 5.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: center;
}

.hero-portrait-wrap {
    text-align: center;
}

.hero-portrait-crop {
    width: 312px;
    height: 390px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
    display: block;
}

.hero-portrait-wrap span {
    display: block;
    margin-top: 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ad7d0;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    max-width: 16ch;
    margin-bottom: 1.2rem;
}

.hero .lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.86);
    max-width: 40rem;
    margin-bottom: 0.9rem;
}

.hero .lead + .lead {
    margin-bottom: 0;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-solid {
    background: var(--blue);
    color: var(--white);
}

.btn-solid:hover {
    background: var(--blue-deep);
}

.btn-full {
    width: 100%;
}

.section {
    padding: 5rem 0;
}

.section-head {
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.7rem;
}

.section-head p,
.muted {
    color: var(--muted);
}

.page-hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
    padding: 3.4rem 0;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1.1rem;
}

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

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

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

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

.card h3,
.card h4 {
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: -2.4rem;
    position: relative;
    z-index: 2;
}

.stat {
    background: var(--white);
    border-radius: 20px;
    padding: 1.3rem 1.4rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.stat strong {
    display: block;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.stat span {
    color: var(--muted);
    font-size: 0.9rem;
}

.situation {
    min-height: 100%;
}

.situation .num {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}

.pillar {
    height: 100%;
}

.pillar .kicker {
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.bio-list {
    margin: 0.9rem 0 0 1.05rem;
    color: var(--muted);
}

.bio-list li {
    margin-bottom: 1.05rem;
}

.bio-list strong {
    display: block;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.pillar ul,
.price-card ul {
    margin: 0.9rem 0 0 1.05rem;
    color: var(--muted);
}

.pillar li,
.price-card li {
    margin-bottom: 0.35rem;
}

.pricing-note {
    background: var(--blue-soft);
    border: 0;
}

.price-card {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0.6rem 0 0.8rem;
}

.price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
}

.price-card.featured {
    border-color: var(--blue);
    background: linear-gradient(180deg, #f4f9fd 0%, #fff 42%);
}

.badge {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--blue);
    color: #fff;
    margin-bottom: 0.7rem;
}

.quote-card {
    padding: 1.8rem;
}

.quote-card blockquote {
    font-size: 1.02rem;
    color: #334155;
    margin-bottom: 1.1rem;
}

.quote-card cite {
    font-style: normal;
    font-weight: 700;
    display: block;
}

.quote-card .role {
    color: var(--muted);
    font-size: 0.86rem;
}

.slideshow {
    position: relative;
}

.slideshow.js-enabled .slide {
    display: none;
}

.slideshow.js-enabled .slide.active {
    display: block;
    animation: fade 0.4s ease;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.slide-arrow,
.slide-dot {
    border: 0;
    cursor: pointer;
}

.slide-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.3rem;
}

.slide-dots {
    display: flex;
    gap: 0.45rem;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.slide-dot.active {
    background: var(--blue);
    transform: scale(1.2);
}

.mid-cta {
    margin: 2.8rem auto 0;
    max-width: 34rem;
    text-align: center;
    padding: 0.4rem 0.5rem 0;
}

.mid-cta h2 {
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.mid-cta p {
    color: var(--muted);
    margin: 0 auto 1.35rem;
    max-width: 28rem;
}

.mid-cta .btn {
    white-space: nowrap;
}

.cta-band {
    background: var(--navy);
    color: var(--white);
    border-radius: 28px;
    padding: 2.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.cta-band h2 {
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.75);
}

.form {
    display: grid;
    gap: 0.85rem;
}

.form input,
.form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    font: inherit;
    background: #fff;
}

.form input:focus,
.form textarea:focus {
    outline: 2px solid rgba(29, 111, 168, 0.25);
    border-color: var(--blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.1rem;
}

.site-footer {
    margin-top: 3rem;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    padding: 2.6rem 0;
}

.site-footer a {
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.legal {
    max-width: 46rem;
}

.legal h2 {
    margin: 2rem 0 0.6rem;
}

.legal p,
.legal li {
    color: var(--muted);
    margin-bottom: 0.7rem;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.9fr);
    gap: 2.4rem;
    align-items: start;
}

.about-copy h2 {
    margin: 1.8rem 0 0.7rem;
}

.about-copy p,
.about-copy li {
    color: var(--muted);
    margin-bottom: 0.85rem;
}

.about-photos {
    position: sticky;
    top: 5.5rem;
}

.about-photos img {
    width: 70%;
    height: auto;
    margin-left: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 72% 18%;
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: block;
}

@media (max-width: 900px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .stat-row,
    .contact-grid,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        text-align: center;
    }

    .hero-portrait-wrap {
        order: -1;
    }

    .hero-portrait-crop {
        width: 218px;
        height: 273px;
    }

    .hero h1,
    .hero .lead {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .actions {
        justify-content: center;
    }

    .about-photos {
        position: static;
        max-width: 15.4rem;
        margin: 0 auto;
    }

    .about-photos img {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .menu-icon {
        display: block;
    }

    .nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 0 0 1rem;
    }

    .menu-checkbox:checked ~ ul {
        display: flex;
    }

    .nav {
        flex-wrap: wrap;
    }
}
