/* ==========================================================================
   Prudhoe Technology
   ========================================================================== */

:root {
    --navy-950: #050d19;
    --navy-900: #0a1a2f;
    --navy-800: #102744;
    --navy-700: #1a3a61;
    --blue-600: #1a5fd0;
    --blue-500: #1d6ae5;
    --blue-400: #5cb8ff;
    --blue-100: #e3efff;
    --blue-50:  #f1f7ff;

    --ink:    #0f1b2d;
    --text:   #33435a;
    --muted:  #637389;
    --line:   #e2e8f0;
    --bg:     #ffffff;
    --tint:   #f5f8fc;
    --danger: #c62b3c;
    --success:#138a5b;

    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .05);
    --shadow:    0 1px 2px rgba(15, 27, 45, .04), 0 10px 30px -10px rgba(15, 27, 45, .14);
    --container: 1180px;
    --header-h: 72px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 64px);
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.022em;
    font-weight: 700;
    margin: 0 0 .6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
a  { color: var(--blue-600); }
img, svg { max-width: 100%; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}
.center { text-align: center; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--blue-500); color: #fff; padding: 10px 16px; border-radius: 8px;
    text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--blue-500);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.35em;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { box-shadow: 0 8px 24px -8px rgba(29, 106, 229, .65); }
.btn-primary:hover { --btn-bg: var(--blue-600); transform: translateY(-1px); }
.btn-ghost { --btn-bg: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { --btn-bg: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-ghost-dark { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn-light:hover { --btn-bg: var(--blue-50); transform: translateY(-1px); }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.text-link {
    display: inline-flex; align-items: center; gap: .4em;
    font-weight: 600; text-decoration: none; color: var(--blue-600);
}
.text-link .icon { width: 1em; height: 1em; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

.eyebrow {
    display: inline-block;
    font-size: .8rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-600);
    margin: 0 0 .9rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 26, 47, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(8, 20, 37, .94); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand-mark { width: auto; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; }
.brand-sub  { font-size: .62rem; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--blue-400); margin-top: .35rem; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
    display: block; padding: .5rem .85rem; border-radius: 999px;
    color: rgba(255,255,255,.78); text-decoration: none; font-weight: 500; font-size: .96rem;
    transition: color .2s, background .2s;
}
.site-nav ul a:hover { color: #fff; background: rgba(255,255,255,.07); }
.site-nav ul a[aria-current="page"] { color: #fff; background: rgba(92, 184, 255, .14); }

.nav-phone {
    display: inline-flex; align-items: center; gap: .45rem;
    color: #fff; text-decoration: none; font-weight: 600; font-size: .96rem; white-space: nowrap;
    transition: color .2s;
}
.nav-phone .icon { width: 1.05em; height: 1.05em; color: var(--blue-400); }
.nav-phone:hover { color: var(--blue-400); }
.header-call { display: none; }
/* Not enough room for the number beside the nav: show the icon only. */
@media (min-width: 821px) and (max-width: 1040px) {
    .site-nav { gap: 1.25rem; }
    .nav-phone-number {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
    }
    .nav-phone .icon { width: 1.25em; height: 1.25em; }
}

.nav-toggle {
    display: none;
    width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.18); background: transparent; cursor: pointer;
    position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
    background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after  { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); background: #fff; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: rotate(-45deg); background: #fff; }

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: var(--header-h);
        flex-direction: column; align-items: stretch; gap: 1rem;
        padding: 1rem clamp(20px, 4vw, 40px) 1.5rem;
        background: var(--navy-900);
        border-bottom: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { padding: .8rem 1rem; border-radius: 10px; font-size: 1.05rem; }
    .site-nav .btn { padding: .9em 1.2em; }
    .site-nav .nav-phone { padding: .8rem 1rem; font-size: 1.05rem; }
    .header-call {
        display: grid; place-items: center; width: 44px; height: 44px; margin: 0 10px 0 auto;
        border-radius: 10px; border: 1px solid rgba(255,255,255,.18); color: var(--blue-400);
    }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    color: rgba(255,255,255,.82);
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(29, 106, 229, .35), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(92, 184, 255, .16), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
    margin-top: calc(var(--header-h) * -1);
    padding-top: var(--header-h);
}
.hero-grid {
    position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-inner { padding-block: clamp(80px, 11vw, 150px) clamp(72px, 9vw, 120px); max-width: calc(var(--container)); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .eyebrow { color: var(--blue-400); }
.hero .lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 62ch; color: rgba(255,255,255,.76); }
.hero-call { margin: 1rem 0 0; color: rgba(255,255,255,.76); }
.hero-call a { color: #fff; font-weight: 600; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-points {
    display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
    list-style: none; padding: 0; margin: 2.5rem 0 0;
    font-size: .95rem; color: rgba(255,255,255,.7);
}
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .icon { color: var(--blue-400); width: 1.1em; height: 1.1em; }

.hero-page .hero-inner { padding-block: clamp(64px, 8vw, 110px) clamp(56px, 7vw, 90px); }
.hero-page h1 { max-width: 20ch; }
.hero-compact .hero-inner { padding-bottom: clamp(48px, 6vw, 72px); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-dark {
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(29,106,229,.2), transparent 60%),
        var(--navy-900);
    color: rgba(255,255,255,.75);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--blue-400); }

.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; font-size: 1.08rem; }
.section-dark .section-head p:last-child { color: rgba(255,255,255,.65); }

/* Cards */
.card-grid { display: grid; gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid-3 { grid-template-columns: 1fr; } }
.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dce8; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-icon {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    color: var(--blue-600);
    box-shadow: inset 0 0 0 1px rgba(29,106,229,.15);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-icon-lg { width: 60px; height: 60px; border-radius: 16px; }
.card-icon-lg .icon { width: 28px; height: 28px; }

.card-dark {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.09);
    box-shadow: none;
}
.card-dark:hover { border-color: rgba(92,184,255,.35); box-shadow: none; background: rgba(255,255,255,.06); }
.card-dark p { color: rgba(255,255,255,.66); }
.card-dark .card-icon { background: rgba(92,184,255,.12); color: var(--blue-400); box-shadow: inset 0 0 0 1px rgba(92,184,255,.25); }

/* Split: text + solution list */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.solution-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.solution-list a {
    display: flex; gap: 14px; align-items: flex-start; height: 100%;
    padding: 18px; border-radius: var(--radius-sm);
    background: #fff; border: 1px solid var(--line);
    text-decoration: none; color: var(--text);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.solution-list a:hover { border-color: rgba(29,106,229,.45); box-shadow: var(--shadow); transform: translateY(-2px); }
.solution-list strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: .15rem; }
.solution-list span span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.solution-list-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); flex: none; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .solution-list { grid-template-columns: 1fr; } }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 2rem; }
.chip-row-left { justify-content: flex-start; margin-top: 1.5rem; }
.chip-row li {
    padding: .55em 1.1em; border-radius: 999px;
    background: #fff; border: 1px solid var(--line);
    color: var(--ink); font-weight: 600; font-size: .95rem;
    box-shadow: var(--shadow-sm);
}
.chip-label {
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); margin: 1.75rem 0 0;
}
.chip-label + .chip-row-left { margin-top: .75rem; }
.chip-row-accent li { background: var(--blue-50); border-color: var(--blue-100); color: var(--navy-800); }

/* Partner logos */
.partner-grid {
    --cols: 5; --gap: 16px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
    list-style: none; padding: 0; margin: 0;
}
.partner-grid li {
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    display: grid; place-items: center;
    padding: 8px 16px; border-radius: var(--radius-sm);
    background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.partner-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dce8; }
.partner-grid img { display: block; width: 100%; height: auto; }
.partner-grid-all { --cols: 6; }
.partner-more { margin: 2.5rem 0 0; }
.partner-note { margin: 2.5rem 0 0; color: var(--muted); }
@media (max-width: 1100px) { .partner-grid-all { --cols: 5; } }
@media (max-width: 960px) { .partner-grid { --cols: 3; } .partner-grid-all { --cols: 4; } }
@media (max-width: 720px) { .partner-grid-all { --cols: 3; } }
@media (max-width: 560px) { .partner-grid, .partner-grid-all { --cols: 2; --gap: 12px; } }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.prose-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose p { font-size: 1.08rem; }
.prose p:first-child::first-line { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .prose-split { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
    background: linear-gradient(var(--blue-500), rgba(29,106,229,.12));
}
.timeline-item { position: relative; padding-left: 44px; }
.timeline-item + .timeline-item { margin-top: 28px; }
.timeline-item::before {
    content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--blue-500); box-shadow: 0 0 0 5px var(--tint);
}
.timeline-era { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .6rem; }
.timeline-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.timeline-card p { margin: 0; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.two-col p:not(.eyebrow) { color: var(--muted); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Solutions
   -------------------------------------------------------------------------- */
.subnav {
    position: sticky; top: var(--header-h); z-index: 40;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.subnav ul {
    display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 0;
    overflow-x: auto; scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
    display: block; white-space: nowrap; padding: .45em 1em; border-radius: 999px;
    color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600;
    transition: color .2s, background .2s;
}
.subnav a:hover { color: var(--ink); background: var(--tint); }
.subnav a.is-active { color: var(--blue-600); background: var(--blue-50); }

.solutions { max-width: 1000px; }
.solution { display: grid; grid-template-columns: 120px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px); }
.solution + .solution { border-top: 1px solid var(--line); }
.solution:first-child { padding-top: 0; }
.solution-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.solution-num { font-size: .85rem; font-weight: 700; color: var(--blue-600); letter-spacing: .1em; }
.solution-body > p { color: var(--text); }
.solution-after { margin-top: 1.5rem; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--navy-800) !important; font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 10px; }
.check-list li {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: var(--radius-sm);
    background: var(--tint); border: 1px solid var(--line);
    font-size: .98rem; line-height: 1.5;
}
.check-list .icon { color: var(--blue-600); margin-top: .1em; width: 1.15em; height: 1.15em; }
@media (max-width: 700px) {
    .solution { grid-template-columns: 1fr; gap: 16px; }
    .solution-aside { flex-direction: row; align-items: center; }
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { padding-block: 0 clamp(64px, 8vw, 112px); }
.section-tint + .cta, .section-dark + .cta { padding-top: clamp(64px, 8vw, 112px); }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: clamp(32px, 5vw, 56px);
    border-radius: 22px;
    color: rgba(255,255,255,.8);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(92,184,255,.35), transparent 60%),
        linear-gradient(135deg, var(--blue-600), var(--navy-800));
    box-shadow: 0 30px 60px -30px rgba(16, 39, 68, .6);
}
.cta-inner > div { max-width: 640px; }
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.cta-call { font-size: .95rem; }
.cta-call a { color: #fff; font-weight: 600; white-space: nowrap; }
/* Once the band stacks, line the actions up with the text. */
@media (max-width: 1080px) { .cta-actions { align-items: flex-start; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .form-card { order: -1; } }

.contact-aside h2 { font-size: 1.5rem; }
.steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; }
.steps strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.steps-num {
    flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: .92rem;
    box-shadow: inset 0 0 0 1px var(--blue-100);
}
.contact-facts { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.contact-facts li { display: flex; gap: 12px; color: var(--muted); font-size: .96rem; }
.contact-facts .icon { color: var(--blue-600); margin-top: .15em; }
.contact-facts a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-facts a:hover { color: var(--blue-600); text-decoration: underline; }

.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--shadow);
    position: relative;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: .3em; }
.form-intro { color: var(--muted); font-size: .92rem; }
.req { color: var(--danger); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%;
    font: inherit; font-size: 1rem; color: var(--ink);
    padding: .75em .9em;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background .2s;
    appearance: none; -webkit-appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23637389' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8em center; background-size: 18px;
    padding-right: 2.5em;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cdd6e3; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; background: #fff; border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(29,106,229,.15);
}
.has-error input, .has-error textarea { border-color: var(--danger); background: #fff8f8; }
.has-error input:focus, .has-error textarea:focus { box-shadow: 0 0 0 4px rgba(198,43,60,.14); }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; }
.form-alert {
    margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm);
    background: #fff4f5; border: 1px solid #f5c9cf; color: #8f1d2c; font-size: .95rem;
}
.form-note { font-size: .85rem; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding-block: 24px; }
.form-success-icon {
    display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: #e6f6ef; color: var(--success); margin-bottom: 18px;
}
.form-success-icon .icon { width: 30px; height: 30px; stroke-width: 2.2; }
.form-success p { color: var(--muted); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: .35rem; }

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.error-code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #fff; opacity: .95; margin-bottom: .2em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.62); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; }
.footer-brand p { max-width: 42ch; margin-top: 1.2rem; }
.footer-heading { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-block: 0 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); line-height: 1.7; }
.footer-bottom a { color: rgba(255,255,255,.8); }
.footer-bottom a:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 500; word-break: break-word; }
.footer-contact a:hover { color: var(--blue-400); }
.footer-contact .icon { color: var(--blue-400); }
.footer-contact { display: grid; gap: .6rem; justify-items: start; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Reveal on scroll (progressive enhancement)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
