:root {
    --navy: #002b55;
    --navy-2: #001a33;
    --blue: #0057a8;
    --blue-2: #0b74d1;
    --sky: #54b9ff;
    --ice: #eef7ff;
    --line: #d9e8f5;
    --text: #102235;
    --muted: #65788c;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(0, 43, 85, .14);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    line-height: 1.6;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip-link:focus { left: 8px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 43, 85, .08);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); min-width: 240px; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--blue); font-weight: 700; font-size: .68rem; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--navy); font-weight: 750; padding: 10px 12px; border-radius: 999px; font-size: .92rem; }
.site-nav a:hover, .site-nav a.active { background: var(--ice); color: var(--blue); }
.site-nav .nav-cta { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; padding: 11px 16px; box-shadow: 0 10px 20px rgba(0,87,168,.2); }
.site-nav .nav-cta:hover, .site-nav .nav-cta.active { background: var(--navy); color: #fff; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 12px; padding: 10px 12px; font-weight: 800; }

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(84,185,255,.35), transparent 30%),
        linear-gradient(120deg, rgba(238,247,255,.98), rgba(255,255,255,.82) 48%, rgba(0,43,85,.10)),
        linear-gradient(180deg, #fff, #eef7ff);
}
.hero:before {
    content: "";
    position: absolute;
    inset: auto -10% -80px -10%;
    height: 185px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    opacity: .98;
}
.hero:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(255,255,255,.9), transparent 30%),
        repeating-linear-gradient(90deg, rgba(0,43,85,.08) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(0deg, rgba(0,43,85,.06) 0 1px, transparent 1px 58px);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding: 96px 0 132px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0 0 18px; }
h1 { font-size: clamp(2.55rem, 5.5vw, 5.4rem); letter-spacing: -.055em; max-width: 920px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: -.04em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 16px; }
.lead, .section-lead { font-size: clamp(1.04rem, 1.6vw, 1.25rem); color: #244059; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; min-height: 48px; border-radius: 12px; border: 0; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 900; cursor: pointer; box-shadow: 0 12px 24px rgba(0,87,168,.22); }
.button:hover { color: #fff; transform: translateY(-1px); }
.button-secondary { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.button-secondary:hover { color: var(--blue); background: var(--ice); }
.button-light { background: #fff; color: var(--navy); box-shadow: none; }
.button-light:hover { background: var(--ice); color: var(--blue); }
.hero-card { position: relative; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.82); border-radius: 32px; padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card:before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(0,87,168,.12); border-radius: 24px; pointer-events: none; }
.hero-logo-mark { width: min(100%, 500px); margin: 0 auto 22px; }
.hero-logo-mark img { display: block; width: 100%; height: auto; }
.stat-row { padding: 18px 0; border-top: 1px solid var(--line); }
.stat-row strong { display: block; color: var(--navy); font-size: 1.05rem; }
.stat-row span { color: var(--muted); }

.section { padding: 88px 0; }
.intro-section { padding-bottom: 56px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.centre-align { align-items: center; }
.section-heading { margin-bottom: 34px; }
.section-heading.centre { text-align: center; }
.section-heading.centre .section-lead { margin-left: auto; margin-right: auto; }
.card-grid { display: grid; gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.service-card, .detail-card, .price-card, .form-card, .info-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 12px 30px rgba(0,43,85,.08);
}
.service-card { min-height: 260px; display: flex; flex-direction: column; }
.service-card .icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; color: #fff; font-size: 1.5rem; font-weight: 900; background: linear-gradient(135deg, var(--blue-2), var(--navy)); margin-bottom: 18px; }
.service-card a { margin-top: auto; font-weight: 900; }
.detail-card ul, .price-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.detail-card li, .price-card li { position: relative; padding-left: 28px; color: #40566b; }
.detail-card li:before, .price-card li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 900; }
.dark-section { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #dcedff; position: relative; overflow: hidden; }
.dark-section:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(84,185,255,.18), transparent 24%), radial-gradient(circle at 80% 10%, rgba(84,185,255,.16), transparent 24%); }
.dark-section .container { position: relative; z-index: 1; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .eyebrow { color: #90d2ff; }
.dark-section .detail-card, .dark-section .service-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); box-shadow: none; color: #dcedff; }
.dark-section .detail-card li, .dark-section .price-card li { color: #dcedff; }
.pale-section { background: linear-gradient(180deg, var(--ice), #fff); }
.feature-strip { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255,255,255,.16); border-radius: 28px; overflow: hidden; }
.feature-strip div { padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.16); }
.feature-strip div:last-child { border-right: 0; }
.feature-strip strong { display: block; color: #fff; margin-bottom: 8px; }
.feature-strip span { color: #c5ddf4; }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.steps { display: grid; gap: 18px; }
.steps article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 30px rgba(0,43,85,.08); }
.dark-section .steps article { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; }
.steps span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--ice); color: var(--blue); border-radius: 14px; font-weight: 900; margin-bottom: 12px; }
.dark-section .steps span { background: rgba(84,185,255,.16); color: #fff; }
.steps.compact { grid-template-columns: repeat(3,1fr); }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: 100%; }
.check-grid span { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 14px 16px; border-radius: 14px; font-weight: 800; }
.check-grid.light span { background: #fff; color: var(--navy); border-color: var(--line); }
.stacked-list { display: grid; gap: 14px; }
.stacked-list p { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }

.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(0,43,85,.08); }
.comparison-table th, .comparison-table td { padding: 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison-table th { background: var(--navy); color: #fff; }
.comparison-table tr:last-child td { border-bottom: 0; }
.dark-table { background: rgba(255,255,255,.08); color: #dcedff; box-shadow: none; }
.dark-table th { background: rgba(255,255,255,.10); }
.dark-table th, .dark-table td { border-color: rgba(255,255,255,.16); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue); transform: translateY(-8px); }
.plan-label { color: var(--blue); text-transform: uppercase; font-size: .75rem; letter-spacing: .14em; font-weight: 900; margin-bottom: 10px; }
.price { color: var(--navy); font-size: 1.6rem; font-weight: 950; margin-bottom: 14px; }
.price-card .button { margin-top: auto; }

.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.form-card { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two-cols { grid-template-columns: repeat(2, 1fr); }
label { display: grid; gap: 8px; color: var(--navy); font-weight: 850; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; color: var(--text); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,87,168,.16); border-color: var(--blue); }
textarea { resize: vertical; }
code { background: var(--ice); padding: 2px 5px; border-radius: 6px; }
.error-box { border: 1px solid #ffb8b8; background: #fff5f5; color: #8a1f1f; border-radius: 14px; padding: 14px 16px; }
.error-box ul { margin: 8px 0 0; }
.info-box { background: var(--ice); box-shadow: none; }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-list p { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; margin: 0; }
.contact-list strong { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-list span { color: var(--muted); }
.map-placeholder { min-height: 220px; margin-top: 22px; border-radius: var(--radius); border: 1px dashed var(--blue); background: linear-gradient(135deg, var(--ice), #fff); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--navy); font-weight: 900; }
.map-placeholder small { display: block; color: var(--muted); font-weight: 600; margin-top: 6px; }
.text-page p { font-size: 1.08rem; }
.simple-hero { padding: 110px 0; background: linear-gradient(180deg, var(--ice), #fff); }
.centre { text-align: center; }
.centre-actions { justify-content: center; }

.cta-band { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; padding: 42px 0; }
.cta-band h2 { color: #fff; margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta-band .eyebrow { color: #b9e1ff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer { background: var(--navy-2); color: #c9dcf0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 42px; padding: 58px 0; }
.footer-logo { width: 150px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .94; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid a { display: block; color: #c9dcf0; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.muted { color: #91a8bd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; color: #91a8bd; font-size: .92rem; }
.footer-bottom a { color: #c9dcf0; display: inline; }

@media (max-width: 1050px) {
    .card-grid.four, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .feature-strip div { border-bottom: 1px solid rgba(255,255,255,.16); }
    .hero-grid, .split, .process-grid, .form-layout, .contact-grid { grid-template-columns: 1fr; }
    .hero-grid { padding-top: 66px; }
    .steps.compact { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .menu-toggle { display: inline-flex; }
    .nav-shell { flex-wrap: wrap; }
    .brand { min-width: 0; }
    .brand img { width: 54px; height: 54px; }
    .site-nav { width: 100%; display: none; align-items: stretch; flex-direction: column; background: #fff; border-top: 1px solid var(--line); padding: 12px 0 4px; }
    .site-nav.open { display: flex; }
    .site-nav a { border-radius: 10px; }
    .hero:after { display: none; }
    .hero-grid { gap: 28px; padding-bottom: 105px; }
    .section { padding: 64px 0; }
    .card-grid.three, .card-grid.two, .card-grid.four, .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .form-grid.two-cols, .check-grid { grid-template-columns: 1fr; }
    .cta-band-inner, .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .container, .narrow { width: min(100% - 28px, 1180px); }
    .brand-text { display: none; }
    h1 { font-size: 2.4rem; }
    .hero-card { padding: 22px; }
    .service-card, .detail-card, .price-card, .form-card, .info-box { padding: 20px; }
}
