:root {
    --gold: #F5A623;
    --gold-dark: #d4881a;
    --blue: #1B2A5E;
    --blue-mid: #243578;
    --aqua: #18B8D4;
    --aqua-dark: #129eb8;
    --white: #F5F5F5;
    --bg: #ffffff;
    --ink: #111827;
    --muted: #6B7280;
    --border: #E5E7EB;
    --surface: #F8F9FB;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 16px rgba(27, 42, 94, 0.12);
    border-bottom: 1px solid rgba(27, 42, 94, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.88rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--aqua-dark);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--blue) !important;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--gold-dark) !important;
}

/* HERO */
.hero {
    --hero-image: url('iStock-2216533449.jpg');
    position: relative;
    overflow: hidden;
    padding: 6rem 3rem 5rem;
    min-height: 560px;
    background: linear-gradient(to bottom,
    rgba(27, 42, 94, 0.16) 0%,
    rgba(27, 42, 94, 0.52) 38%,
    rgba(27, 42, 94, 0.88) 74%,
    rgba(10, 16, 40, 0.97) 100%
    ),
    var(--hero-image) 52% 22% / cover no-repeat;
}

@media (max-width: 900px) {
    .hero {
        padding: 5rem 1.5rem 4rem;
        min-height: 520px;
        background: linear-gradient(to bottom,
        rgba(27, 42, 94, 0.20) 0%,
        rgba(27, 42, 94, 0.56) 38%,
        rgba(27, 42, 94, 0.90) 74%,
        rgba(10, 16, 40, 0.97) 100%
        ),
        var(--hero-image) 60% 20% / cover no-repeat;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 500px;
        background: linear-gradient(to bottom,
        rgba(27, 42, 94, 0.22) 0%,
        rgba(27, 42, 94, 0.60) 36%,
        rgba(27, 42, 94, 0.92) 72%,
        rgba(10, 16, 40, 0.98) 100%
        ),
        var(--hero-image) 62% 18% / cover no-repeat;
    }

    .hero-eyebrow {
        width: min(100%, 110px);
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    width: min(100%, 126px);
    margin-bottom: 1.5rem;
}

.hero-eyebrow img {
    display: block;
    width: 100%;
    height: auto;
}

h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 4.5vw, 3.75rem);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h1 .hi {
    color: var(--gold);
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    max-width: 48ch;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--blue);
    padding: 0.95rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    position: relative;
    z-index: 2;
    transition: background 0.2s, transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    font-family: 'Roboto', sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.btn-ghost {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s, opacity 0.15s;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-ghost:hover {
    color: #fff;
}

.nav-cta,
.nav-links a,
.logo,
.form-submit {
    position: relative;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-cta,
.form-submit {
    user-select: none;
    -webkit-user-select: none;
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.nav-cta:focus-visible,
.form-submit:focus-visible {
    outline: 3px solid rgba(24, 184, 212, 0.35);
    outline-offset: 3px;
}

.btn-primary:active,
.btn-ghost:active,
.nav-cta:active,
.form-submit:active,
.btn-primary.is-pressed,
.btn-ghost.is-pressed,
.nav-cta.is-pressed,
.form-submit.is-pressed {
    transform: translateY(0) scale(0.985);
}

/* Gauge card */
.gauge-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2rem;
}

.gauge-card-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.score-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(#ef4444 0deg 83deg, rgba(255, 255, 255, 0.08) 83deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-inner {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(27, 42, 94, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-num {
    font-family: 'Roboto Slab', serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #ef4444;
    line-height: 1;
}

.score-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.score-desc {
    flex: 1;
}

.score-desc .title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.score-desc .sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.metric-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.metric-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.3rem;
}

.metric-val {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.metric-val.bad {
    color: #ef4444;
}

.metric-val.warn {
    color: #f59e0b;
}

/* STATS */

/* SECTIONS */
section {
    padding: 5rem 3rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(24, 184, 212, 0.1);
    border: 1px solid rgba(24, 184, 212, 0.25);
    color: var(--aqua-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--blue);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* QUOTES */
.pain-section {
    background: var(--surface);
}

.quotes-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0 3rem;
}

.quote-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid var(--aqua);
    transition: transform 0.2s, box-shadow 0.2s;
}

.quote-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(27, 42, 94, 0.08);
}

.quote-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-source {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* PAIN GRID */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pain-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 42, 94, 0.1);
    border-color: var(--aqua);
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--aqua));
    opacity: 0;
    transition: opacity 0.2s;
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(245, 166, 35, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
}

.pain-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--blue);
    margin-bottom: 0.55rem;
}

.pain-body {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--muted);
}

/* CHECKLIST */
.check-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    transition: border-color 0.2s, background 0.2s;
}

.check-item:hover {
    border-color: var(--aqua);
    background: rgba(24, 184, 212, 0.04);
}

.check-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 0.1rem;
}

.check-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--blue);
    margin-bottom: 0.25rem;
}

.check-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Report card */
.report-card {
    background: var(--blue);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 42, 94, 0.2);
}

.report-head {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.report-head-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.report-head-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.2rem;
}

.report-badge {
    background: var(--gold);
    color: var(--blue);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.report-body {
    padding: 1.75rem;
}

.rr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rr:last-child {
    border-bottom: none;
}

.rr-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.rr-val {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 0.95rem;
}

.rr-val.bad {
    color: #ef4444;
}

.rr-val.warn {
    color: #f59e0b;
}

.rr-val.gold {
    color: var(--gold);
    font-size: 1.15rem;
}

/* FORM */
#audit {
    background: var(--surface);
    padding: 0;
}

.form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.form-left {
    padding: 5rem 3rem;
    background: var(--blue);
}

.form-left-eyebrow {
    display: inline-flex;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.form-left h2 {
    color: #fff;
    margin-bottom: 1.25rem;
}

.form-left p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
}

.perk-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.perk-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #fff;
    line-height: 1.5;
}

.perk-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.form-right {
    padding: 5rem 3rem;
    background: var(--bg);
}

.form-right h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.form-right > p {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.03em;
}

input, select, textarea {
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--ink);
    padding: 0.82rem 1rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--aqua);
    box-shadow: 0 0 0 3px rgba(24, 184, 212, 0.12);
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.8rem;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 0.15rem;
}

.checkbox-field label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0;
    line-height: 1.5;
}

.form-submit {
    background: var(--gold);
    color: var(--blue);
    border: 0;
    border-radius: 8px;
    padding: 0.95rem 1.2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 54px;
}

.form-submit:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 166, 35, 0.22);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.form-submit.is-submitting::after {
    content: '';
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    border: 2px solid rgba(27, 42, 94, 0.24);
    border-top-color: var(--blue);
    animation: form-spin 0.7s linear infinite;
}

.form-status {
    min-height: 1.25rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.form-note {
    font-size: 0.74rem;
    color: var(--muted);
    text-align: center;
    margin-top: 1rem;
}

.iframe-form-wrap {
    width: 100%;
    height: 831px;
    min-height: 831px;
    overflow: visible;
}

.iframe-form-wrap iframe {
    display: block;
    width: 100%;
    height: 831px !important;
    min-height: 831px !important;
}

/* FOOTER */
footer {
    background: var(--blue);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .hero-inner, .check-two-col, .form-wrapper {
        grid-template-columns: 1fr;
    }

    .quotes-row, .pain-grid {
        grid-template-columns: 1fr;
    }

    .form-left, .form-right {
        padding: 3rem 1.5rem;
    }

    section {
        padding: 3.5rem 1.5rem;
    }

    footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }
}

@media (max-width: 640px) {
    .form-left, .form-right {
        padding: 2.5rem 1rem;
    }

    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-copy {
        line-height: 1.6;
    }
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

.footer-social svg {
    display: block;
}

.section-intro {
    max-width: 100%;
}

.section-inner > p {
    max-width: 100%;
}

#services,
#process,
#contact,
#audit {
    scroll-margin-top: 110px;
}

@keyframes form-spin {
    to {
        transform: rotate(360deg);
    }
}