/* =========================================================
   Saivvio — design system
   Navy / sky-blue brand palette, Poppins + Inter type.
   ========================================================= */

:root {
    --navy: #0a1f44;
    --navy-soft: #1e5f8f;
    --blue: #5FA8E0;
    --blue-pale: #EAF4FC;
    --bg: #FAFAF8;
    --surface: #ffffff;
    --text: #14213d;
    --text-muted: #4a5568;
    --text-faint: #8892a6;
    --border: #e9ecf1;
    --border-soft: #e6e6e1;
    --error: #b23c3c;
    --success: #1e7a4c;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 14px rgba(10, 31, 68, 0.06);
    --shadow: 0 16px 32px rgba(10, 31, 68, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 31, 68, 0.16);
    --container: 1180px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

p { margin: 0; }

a {
    color: var(--navy-soft);
    text-decoration: none;
    transition: color .2s var(--ease);
}
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 12px 20px;
    z-index: 999;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* -------------------- buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    padding: 15px 28px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
}
.btn--dark {
    background: var(--navy);
    color: #fff;
}
.btn--dark:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(10, 31, 68, .28);
}
.btn--outline {
    border-color: #cdd6e2;
    color: var(--navy);
    background: transparent;
}
.btn--outline:hover {
    border-color: var(--blue);
    background: var(--blue-pale);
    color: var(--navy);
}
.btn--light {
    background: #fff;
    color: var(--navy);
}
.btn--light:hover {
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn--sm { padding: 10px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* -------------------- header -------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 248, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 31, 68, .08); }

.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 32px;
}

.brand { display: flex; align-items: center; }
.brand__logo { height: 32px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all .2s var(--ease);
}
.nav-link:hover { background: var(--blue-pale); color: var(--navy); }
.nav-link.is-active { background: var(--blue-pale); color: var(--navy); }
.nav-cta { margin-left: 10px; }

.nav-social { display: flex; gap: 10px; }
.nav-social--desktop { margin-left: 4px; }
.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-pale);
    color: var(--navy-soft);
    transition: all .2s var(--ease);
}
.icon-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.icon-btn--outline {
    background: rgba(255, 255, 255, .08);
    color: #cfe0ee;
}
.icon-btn--outline:hover { background: var(--blue); color: var(--navy); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    margin: 0 auto;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px 26px;
    border-top: 1px solid var(--border-soft);
}
.nav-mobile.is-open { display: flex; animation: popIn .2s ease both; }
.nav-mobile__link {
    padding: 13px 6px;
    font-weight: 500;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
}
.nav-mobile__link.is-active { color: var(--navy-soft); font-weight: 600; }
.nav-mobile__cta { margin-top: 14px; }
.nav-mobile .nav-social { margin-top: 18px; gap: 20px; }
.nav-mobile .nav-social a { font-weight: 500; color: var(--text-muted); }

@media (max-width: 900px) {
    .nav-desktop, .nav-social--desktop { display: none; }
    .nav-toggle { display: flex; }
}

/* -------------------- section helpers -------------------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--pale { background: var(--blue-pale); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-pale);
    color: var(--navy-soft);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 52px;
    text-align: center;
}
.section-head h2 { font-size: 34px; font-weight: 700; margin-bottom: 14px; text-wrap: pretty; }
.section-head p { font-size: 16.5px; color: var(--text-muted); }

/* -------------------- reveal-on-scroll -------------------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@keyframes floatBlobA { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18px, -26px) scale(1.06); } }
@keyframes floatBlobB { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-22px, 20px) scale(1.08); } }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pageEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

main { animation: pageEnter .5s var(--ease) both; }

/* -------------------- hero (home) -------------------- */
.hero {
    max-width: var(--container);
    margin: 0 auto;
    padding: 76px 32px 60px;
    position: relative;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: center;
}
.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin: 22px 0 20px;
    text-wrap: pretty;
}
.hero p.lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 46ch;
    margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__art {
    position: relative;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
}
.hero__blob--a {
    width: 62%; height: 62%;
    background: #cfe6f8;
    opacity: .8;
    top: 4%; left: 2%;
    animation: floatBlobA 7s ease-in-out infinite;
}
.hero__blob--b {
    width: 46%; height: 46%;
    background: var(--navy);
    opacity: .16;
    bottom: 6%; right: 6%;
    animation: floatBlobB 8.5s ease-in-out infinite;
}
.hero__photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: floatBlobA 9s ease-in-out infinite;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,31,68,0) 40%, rgba(10,31,68,.55) 100%);
}
.hero__badge {
    position: absolute;
    left: 20px; bottom: 20px;
    z-index: 2;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
}
.hero__badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-pale);
}

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 38px; }
    .hero__art { aspect-ratio: 4/3; order: -1; }
}

/* -------------------- page header banner (about/services/contact) -------------------- */
.page-banner {
    position: relative;
    padding: 130px 32px 70px;
    color: #fff;
    background: linear-gradient(120deg, rgba(10,31,68,.94), rgba(10,31,68,.82)), var(--banner-img, none) center/cover no-repeat;
    overflow: hidden;
}
.page-banner__inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.page-banner .eyebrow { background: rgba(255,255,255,.14); color: #cfe0ee; }
.page-banner h1 { color: #fff; font-size: 42px; font-weight: 700; margin: 18px 0 14px; text-wrap: pretty; }
.page-banner p { color: #b9c8dc; font-size: 17px; max-width: 56ch; }
.page-banner::before {
    content: '';
    position: absolute; top: -10%; right: -6%;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: var(--blue);
    opacity: .16;
    filter: blur(10px);
    animation: floatBlobA 9s ease-in-out infinite;
}

/* -------------------- pillars strip -------------------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pillar { transition: transform .2s var(--ease); }
.pillar:hover { transform: translateY(-4px); }
.pillar__title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 8px; }
.pillar__desc { font-size: 14.5px; color: #9db3d1; line-height: 1.55; }

@media (max-width: 780px) {
    .pillars { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* -------------------- cards -------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all .25s var(--ease);
}
.card:hover {
    box-shadow: var(--shadow);
    border-color: #cfe0ee;
    transform: translateY(-6px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    padding: 28px 22px;
    cursor: pointer;
}
.service-card__icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: transform .25s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.08); }
.service-card__icon--blue { background: var(--blue); }
.service-card__icon--navy { background: var(--navy); }
.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-bottom: 12px; }
.service-card__link { font-size: 13px; font-weight: 600; color: var(--navy-soft); }

@media (max-width: 980px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* -------------------- process steps -------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 24px; left: 12%; right: 12%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--blue);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
    margin: 0 auto 18px;
    transition: all .25s var(--ease);
}
.step:hover .step__num { background: var(--navy); color: #fff; transform: scale(1.12); }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; max-width: 220px; margin: 0 auto; }

@media (max-width: 780px) {
    .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .steps::before { display: none; }
}

/* -------------------- FAQ accordion -------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.faq-item__q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--navy);
}
.faq-item__icon {
    font-size: 20px;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform .25s var(--ease);
    line-height: 1;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease), padding .3s var(--ease);
    padding: 0 24px;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}
.faq-item.is-open .faq-item__a { max-height: 240px; padding: 0 24px 22px; }

/* -------------------- services accordion (services page) -------------------- */
.service-accordion { display: flex; flex-direction: column; gap: 16px; }
.service-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}
.service-panel__head {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    cursor: pointer;
    text-align: left;
}
.service-panel__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: transform .25s var(--ease);
}
.service-panel.is-open .service-panel__icon { transform: rotate(-8deg) scale(1.05); }
.service-panel__head h3 { font-size: 19px; font-weight: 600; flex: 1; }
.service-panel__chev { font-size: 22px; color: var(--blue); transition: transform .25s var(--ease); }
.service-panel.is-open .service-panel__chev { transform: rotate(180deg); }
.service-panel__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s var(--ease);
}
.service-panel.is-open .service-panel__body { grid-template-rows: 1fr; }
.service-panel__body-inner { padding: 0 28px 28px; overflow: hidden; min-height: 0; }
.service-panel__body-inner .lead { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.service-points { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.service-points li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: #334; }
.service-points li::before {
    content: '';
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    align-self: center;
}
.service-panel__media { border-radius: 12px; overflow: hidden; margin-top: 16px; max-height: 200px; }
.service-panel__media img { width: 100%; height: 200px; object-fit: cover; }

/* -------------------- quote / CTA bands -------------------- */
.cta-band {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.cta-band__quote {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
    text-wrap: pretty;
}
.cta-band .btn { margin-top: 32px; }

.cta-box {
    background: var(--navy);
    border-radius: 18px;
    padding: 44px 40px;
    text-align: center;
}
.cta-box h3 { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.cta-box p { color: #9db3d1; font-size: 15px; margin-bottom: 22px; }

/* -------------------- about page -------------------- */
.about-copy { font-size: 18px; line-height: 1.8; color: #334; display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.about-copy .lead-strong { font-weight: 600; color: var(--navy); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 24px; }
.value-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 780px) { .value-grid { grid-template-columns: 1fr; } }

.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.info-card { padding: 26px; }
.info-card__icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--blue-pale);
    color: var(--navy-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.info-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.info-card p, .info-card li { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }
.info-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat { text-align: center; }
.stat__num { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 700; color: var(--navy); }
.stat__label { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 780px) { .stat-row { grid-template-columns: 1fr; gap: 32px; } }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* -------------------- contact page -------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.contact-info__row { display: flex; align-items: center; gap: 14px; }
.contact-info__icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--blue-pale);
    color: var(--navy-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info__label { font-size: 12.5px; color: var(--text-faint); margin-bottom: 2px; }
.contact-info__value { font-size: 15.5px; font-weight: 500; }
.contact-info__socials { display: flex; gap: 14px; }

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
}

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #334; margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-pale);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-error { font-size: 13.5px; color: var(--error); margin-top: -4px; margin-bottom: 14px; display: none; }
.field-error.is-visible { display: block; }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

.form-alert {
    font-size: 13.5px;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: none;
}
.form-alert.is-visible { display: block; }
.form-alert--error { background: #fbeaea; color: var(--error); }

.form-success {
    text-align: center;
    padding: 46px 10px;
    animation: popIn .3s ease both;
}
.form-success__icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--navy-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin: 0 auto 18px;
}
.form-success h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--text-muted); }

.btn[data-loading="true"] { opacity: .75; pointer-events: none; }
.btn .spinner {
    display: none;
    width: 15px; height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    animation: spin .7s linear infinite;
}
.btn[data-loading="true"] .spinner { display: inline-block; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* -------------------- footer -------------------- */
.site-footer { background: var(--navy); padding: 64px 32px 0; }
.site-footer__top {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.site-footer__col a { color: #9db3d1; font-size: 14.5px; }
.site-footer__col a:hover { color: #fff; }
.footer-logo { height: 26px; width: auto; margin-bottom: 8px; filter: brightness(0) invert(1); }
.site-footer__brand p { color: #7f96b8; font-size: 14px; line-height: 1.6; margin-bottom: 6px; }
.site-footer__bottom {
    max-width: var(--container);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    font-size: 13.5px;
    color: #7f96b8;
    text-align: center;
}

@media (max-width: 780px) {
    .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .site-footer__top { grid-template-columns: 1fr; }
}

/* -------------------- quote modal -------------------- */
body.modal-open { overflow: hidden; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 31, 68, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s var(--ease), visibility 0s linear 0s;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow: var(--shadow-lg);
    transform: translateY(16px) scale(.98);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.modal-overlay.is-open .modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--blue-pale);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .2s var(--ease);
}
.modal-close:hover { background: var(--navy); color: #fff; }

.modal-box__head { margin-bottom: 24px; }
.modal-box__head h3 { font-size: 24px; font-weight: 700; margin: 14px 0 8px; }
.modal-box__head p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 560px) {
    .modal-box { padding: 30px 22px 26px; }
}

/* -------------------- back to top -------------------- */
.back-to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s var(--ease);
    z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); color: var(--navy); transform: translateY(-3px); }

/* -------------------- 404 -------------------- */
.error-page {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 32px 100px;
}
.error-page__code {
    font-family: 'Poppins', sans-serif;
    font-size: 110px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    background: linear-gradient(120deg, var(--navy), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.error-page h1 { font-size: 26px; margin: 10px 0 14px; }
.error-page p { color: var(--text-muted); margin-bottom: 30px; }

/* -------------------- misc utilities -------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
