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

:root {
    --bg: #0b1020;
    --panel: rgba(15, 23, 42, 0.88);
    --panel-border: rgba(148, 163, 184, 0.16);
    --panel-soft: rgba(30, 41, 59, 0.68);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --primary: #3b82f6;
    --primary-strong: #2563eb;
    --danger: #f87171;
    --success: #22c55e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent 30%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 25%),
        linear-gradient(180deg, #060b16 0%, #0b1020 100%);
    color: var(--text);
    min-height: 100vh;
    padding: 32px 20px 48px;
}

body.modal-open {
    overflow: hidden;
}

.page-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.hero {
    margin-bottom: 28px;
}

.hero-panel,
.info-card,
.inquiry-form {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}

.hero-panel {
    border-radius: 28px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.82) 42%, rgba(2, 6, 23, 0.58) 100%),
        url('heronew.png') center center/cover no-repeat;
}

.eyebrow,
.section-kicker {
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-panel h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.04;
    max-width: 760px;
    margin-bottom: 18px;
}

.hero-copy-wrap {
    max-width: 760px;
}

.hero-copy {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.22);
    color: #dbeafe;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 18px;
}

.pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #bfdbfe;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-note {
    color: #cbd5e1;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
    max-width: 680px;
}

.hero-stat {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-stat strong {
    display: block;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

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

.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.progress-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.progress-step {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.24);
}

.progress-number {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #ffffff;
    font-weight: 800;
}

.progress-step strong {
    display: block;
    margin-bottom: 6px;
}

.progress-step p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.94rem;
}

.reassurance-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.reassurance-item {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.64);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.reassurance-item strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
}

.reassurance-item span {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.94rem;
}

.info-card {
    border-radius: 22px;
    padding: 26px;
}

.info-card h2 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.info-list {
    color: var(--muted);
    padding-left: 20px;
    display: grid;
    gap: 10px;
    line-height: 1.7;
}

.inquiry-form {
    border-radius: 28px;
    padding: 34px;
}

.form-section + .form-section {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.section-heading h2 {
    font-size: 1.45rem;
    margin-bottom: 18px;
}

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

.service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card {
    display: block;
    min-height: 128px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: var(--panel-soft);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.service-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.02rem;
}

.service-card span {
    color: var(--muted);
    line-height: 1.6;
}

.service-option input:checked + .service-card {
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px);
}

.form-grid {
    display: grid;
    gap: 18px;
}

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

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.7);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    background: rgba(15, 23, 42, 0.92);
}

.form-group .is-error {
    border-color: rgba(248, 113, 113, 0.85);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}

.field-error {
    color: #fca5a5;
    font-size: 0.88rem;
    margin-top: 2px;
}

.privacy-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.response-note {
    margin-top: 14px;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.65;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.16);
}

.alternate-path {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.92rem;
}

.alternate-path a {
    color: #bfdbfe;
    text-decoration: none;
}

.alternate-path a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 22px;
}

.submit-btn,
.modal-close-btn {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.submit-btn {
    min-width: 220px;
    padding: 15px 26px;
    position: relative;
}

.submit-btn:hover,
.modal-close-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

.submit-btn.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

.submit-help,
.form-status {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.form-status {
    min-height: 24px;
}

.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(2, 6, 23, 0.68);
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal[hidden] {
    display: none;
}

.modal-content {
    width: min(100%, 520px);
    border-radius: 24px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.16);
    padding: 32px;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.4);
}

.modal-header {
    margin-bottom: 16px;
}

.success-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 1.45rem;
}

.modal-content p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

.modal-close-btn {
    padding: 12px 22px;
}

@media (max-width: 820px) {
    .intro-grid,
    .progress-strip,
    .reassurance-strip,
    .service-grid,
    .form-grid.two-col {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .inquiry-form {
        padding: 26px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body {
        padding: 18px 14px 32px;
    }

    .hero-panel h1 {
        font-size: 2rem;
    }

    .submit-btn {
        width: 100%;
    }

    .modal-content {
        padding: 24px;
    }
}
