/* ============================================================
   Calabar Auto Sales — Car Swaps & Sales
   Visual system by High Limit Designs
   ============================================================ */

:root {
    --ink: #0b1220;
    --ink-2: #111c30;
    --charcoal: #0f172a;
    --slate: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --soft-2: #eef2f8;
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-soft: #eff6ff;
    --green: #25d366;
    --green-dark: #1da851;
    --green-ink: #062b16;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 24px 50px -24px rgba(15, 23, 42, .35);
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Sora", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--slate);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

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

a:hover {
    color: var(--blue-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.14;
    letter-spacing: -.02em;
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.85rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1rem; }

::selection {
    background: var(--blue);
    color: #fff;
}

/* ---------- Layout helpers ---------- */

.section {
    padding: 6rem 0;
}

.section--tight {
    padding: 4.5rem 0;
}

.section--soft {
    background: var(--soft);
}

.section--dark {
    background: var(--ink);
    color: #b6c2d4;
}

.section--dark h2,
.section--dark h3 {
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .9rem;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.section--dark .eyebrow {
    color: #93c5fd;
}

.section--dark .eyebrow::before {
    background: #93c5fd;
}

.section-head {
    max-width: 680px;
    margin: 0 auto 3.4rem;
    text-align: center;
}

.section-head h2 {
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--muted);
    font-size: 1.02rem;
    margin: 0;
}

.section--dark .section-head p {
    color: #9fb0c6;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

.lead {
    font-size: 1.08rem;
    color: var(--slate);
}

/* ---------- Buttons ---------- */

.btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .01em;
    text-transform: none;
    border-radius: 999px;
    padding: .82rem 1.55rem;
    border-width: 1px;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .3);
}

.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgba(37, 99, 235, .8);
}

.btn-wa {
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff;
}

.btn-wa:hover,
.btn-wa:focus {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgba(37, 211, 102, .85);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    transform: translateY(-2px);
}

.btn-outline-dark {
    border: 1px solid var(--line-strong);
    color: var(--ink);
    background: #fff;
}

.btn-outline-dark:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -16px rgba(15, 23, 42, .6);
}

.btn-sm {
    padding: .6rem 1.1rem;
    font-size: .85rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Top bar ---------- */

.topbar {
    background: var(--ink);
    color: #a9b6c9;
    font-size: .84rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 42px;
    padding-top: .35rem;
    padding-bottom: .35rem;
    flex-wrap: wrap;
}

.topbar-group {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #c3cddd;
    white-space: nowrap;
}

.topbar-item i {
    color: #93c5fd;
    font-size: .9rem;
}

.topbar-item:hover {
    color: #fff;
}

.topbar-email {
    color: #c3cddd;
}

/* ---------- Navigation ---------- */

.site-nav {
    padding: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow .25s ease;
}

.site-nav.is-scrolled {
    box-shadow: 0 16px 34px -26px rgba(15, 23, 42, .6);
}

.nav-shell {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    min-height: 78px;
}

.navbar-brand.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin: 0;
    padding: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .9);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--ink);
    letter-spacing: -.02em;
}

.brand-sub {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .28rem;
}

.nav-links {
    align-items: center;
    gap: .3rem;
}

.nav-links .nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: .94rem;
    padding: .55rem .85rem !important;
    border-radius: 999px;
    position: relative;
}

.nav-links .nav-link:hover {
    color: var(--blue);
    background: var(--blue-soft);
}

.nav-links .nav-link.active {
    color: var(--blue);
}

.nav-links .nav-link.active::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .22rem;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
}

.nav-cta {
    margin-left: 1.2rem;
    white-space: nowrap;
}

.navbar-light .navbar-toggler {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .42rem .58rem;
}

.navbar-light .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

/* ---------- Hero carousel ---------- */

.hero {
    position: relative;
    background: var(--ink);
}

.hero .carousel-item {
    height: min(80vh, 760px);
    min-height: 580px;
    position: relative;
}

.hero .carousel-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 12, 22, .94) 0%, rgba(7, 12, 22, .78) 42%, rgba(7, 12, 22, .22) 100%),
        linear-gradient(0deg, rgba(7, 12, 22, .6) 0%, rgba(7, 12, 22, 0) 45%);
    z-index: 1;
}

.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    max-width: 680px;
    padding: 4.5rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 1.1rem;
}

.hero-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #93c5fd;
    border-radius: 2px;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.1rem;
    text-shadow: 0 8px 40px rgba(0, 0, 0, .35);
}

.hero p {
    color: #d7e0ec;
    font-size: 1.08rem;
    max-width: 560px;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 58px;
    height: 58px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .28);
    opacity: 1;
    transition: background-color .2s ease, transform .2s ease;
    z-index: 3;
}

.hero .carousel-control-prev {
    left: 1.6rem;
}

.hero .carousel-control-next {
    right: 1.6rem;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-50%) scale(1.05);
}

.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
    width: 1.4rem;
    height: 1.4rem;
}

.hero-indicators {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .35);
    border: 0;
    padding: 0;
    opacity: 1;
    transition: background-color .2s ease, width .2s ease;
}

.hero-indicators .active {
    background: #fff;
    width: 52px;
}

/* ---------- Trust strip ---------- */

.trust {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.9rem 1.6rem;
    border-right: 1px solid var(--line);
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.trust-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--ink);
    line-height: 1.1;
}

.trust-label {
    font-size: .8rem;
    color: var(--muted);
    letter-spacing: .02em;
}

/* ---------- Service cards ---------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 1.4rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.1rem 1.9rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: .55rem;
}

.service-card p {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .9rem;
    color: var(--green-dark);
}

.service-link:hover {
    color: var(--green);
}

/* ---------- Car listings ---------- */

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.car-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.car-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow);
}

.car-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--soft-2);
}

.car-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}

.car-card:hover .car-media img {
    transform: scale(1.05);
}

.car-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: .42rem .72rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .5);
}

.car-badge--blue {
    background: var(--blue);
    color: #fff;
}

.car-body {
    padding: 1.55rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.car-name {
    font-size: 1.22rem;
    margin-bottom: .25rem;
}

.car-year {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}

.car-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem .9rem;
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}

.car-meta span {
    font-size: .84rem;
    color: var(--muted);
    display: block;
    line-height: 1.4;
}

.car-meta strong {
    display: block;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 700;
}

.car-loc {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: .75rem;
}

.car-feat {
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
    flex: 1;
}

.car-body .btn {
    align-self: flex-start;
}

.car-note {
    text-align: center;
    color: var(--muted);
    font-size: .92rem;
    margin: 2.6rem auto 0;
    max-width: 640px;
}

/* ---------- Split / about ---------- */

.split {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-media {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-badge {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
    background: rgba(9, 15, 27, .82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    padding: .95rem 1.3rem;
    border-radius: 15px;
}

.media-badge .big {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.media-badge .small {
    display: block;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #bfdbfe;
    margin-top: .35rem;
}

.split-body p {
    color: var(--slate);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    margin: 1.9rem 0;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.05rem 1.15rem;
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}

.stat span {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .35rem;
}

/* ---------- Value cards ---------- */

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
}

.value-card i {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.value-card p {
    color: var(--muted);
    font-size: .93rem;
    margin: 0;
}

/* ---------- Steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.step {
    padding: 2.2rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.step:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(147, 197, 253, .45);
    transform: translateY(-4px);
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
}

.step h3 {
    color: #fff;
    font-size: 1.18rem;
    margin-bottom: .5rem;
}

.step p {
    color: #9fb0c6;
    font-size: .94rem;
    margin: 0;
}

/* ---------- Page hero ---------- */

.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: var(--ink);
    overflow: hidden;
}

.page-hero .page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 12, 22, .93) 0%, rgba(7, 12, 22, .72) 55%, rgba(7, 12, 22, .35) 100%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0;
    max-width: 720px;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: .9rem;
}

.page-hero p {
    color: #d3ddeb;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0;
}

.crumbs {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #93a3b8;
    margin-bottom: 1.3rem;
}

.crumbs a {
    color: #bfdbfe;
}

.crumbs i {
    font-size: .6rem;
    opacity: .7;
}

/* ---------- Service feature blocks ---------- */

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--line);
}

.feature:first-of-type {
    padding-top: 0;
}

.feature:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature--reverse .feature-media {
    order: 2;
}

.feature-num {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .9rem;
}

.feature-num::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.feature h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.25rem);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--slate);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 1.8rem;
    display: grid;
    gap: .6rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .94rem;
    color: var(--slate);
}

.feature-list i {
    color: var(--blue);
    margin-top: .32rem;
    font-size: .8rem;
}

/* ---------- Forms ---------- */

.form-shell {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2.4rem;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin-bottom: 1.4rem;
}

.field {
    display: flex;
    flex-direction: column;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: .45rem;
}

.form-control,
.form-select {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .8rem 1rem;
    font-size: .95rem;
    color: var(--ink);
    background-color: #f8fafc;
    height: auto;
    min-height: 50px;
    box-shadow: none;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
    color: var(--ink);
}

textarea.form-control {
    min-height: 124px;
    resize: vertical;
}

.form-note {
    font-size: .82rem;
    color: var(--muted);
    margin: 1rem 0 0;
}

.calabar-form-status {
    margin-top: 12px;
    font-weight: 600;
    font-size: .9rem;
}

.form-aside {
    background: var(--ink);
    color: #c3cddd;
    border-radius: 24px;
    padding: 2.4rem;
    position: relative;
    overflow: hidden;
}

.form-aside::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .35), transparent 70%);
}

.form-aside .eyebrow {
    color: #93c5fd;
}

.form-aside .eyebrow::before {
    background: #93c5fd;
}

.form-aside h2,
.form-aside h3 {
    color: #fff;
    position: relative;
    z-index: 1;
}

.form-aside p {
    position: relative;
    z-index: 1;
}

.aside-points {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
    display: grid;
    gap: .85rem;
    position: relative;
    z-index: 1;
}

.aside-points li {
    display: flex;
    gap: .7rem;
    font-size: .93rem;
    color: #c3cddd;
}

.aside-points i {
    color: #93c5fd;
    margin-top: .3rem;
    font-size: .8rem;
}

/* ---------- Contact cards ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-bottom: 3.4rem;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow);
}

.contact-card .contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
}

.contact-card .contact-icon--green {
    background: #e9fbf0;
    color: var(--green-dark);
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.contact-card p {
    font-size: .92rem;
    color: var(--muted);
    margin-bottom: .9rem;
}

.contact-card a {
    font-weight: 700;
    font-size: .9rem;
    color: var(--blue);
}

.contact-card a.contact-wa {
    color: var(--green-dark);
}

/* ---------- CTA band ---------- */

.cta-band {
    padding: 5rem 0;
    background: var(--soft);
}

.cta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(120deg, #0b1220 0%, #132445 100%);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: 2.5rem;
    align-items: center;
    color: #fff;
    box-shadow: 0 40px 80px -50px rgba(15, 23, 42, .8);
}

.cta::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .45), transparent 65%);
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: #fff;
    margin-bottom: .7rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cta p {
    color: #b9c7da;
    margin: 0;
    max-width: 560px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--ink);
    color: #93a3b8;
    padding: 4.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer .brand-name {
    color: #fff;
}

.footer .brand-sub {
    color: #7f8ea4;
}

.footer-brand p {
    font-size: .92rem;
    color: #93a3b8;
    margin: 1.2rem 0 1.5rem;
    max-width: 340px;
}

.footer h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-links {
    display: grid;
    gap: .62rem;
}

.footer-links a,
.footer-links span {
    color: #b7c3d4;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links i {
    color: #6b7c93;
    font-size: .82rem;
    width: 14px;
}

.footer p.footer-note {
    font-size: .88rem;
    color: #8ea0b8;
    margin-bottom: .8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 1.6rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    color: #93a3b8;
}

.footer-credit a {
    color: #fff;
    font-weight: 700;
}

.footer-credit a:hover {
    color: #bfdbfe;
}

/* ---------- WhatsApp float ---------- */

.calabar-float-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.calabar-wa-float {
    display: flex;
    align-items: center;
    background: var(--green);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    padding: 14px 16px;
    box-shadow: 0 14px 30px -10px rgba(15, 23, 42, .5);
    transition: all .25s ease;
}

.calabar-wa-float i {
    font-size: 27px;
    line-height: 1;
}

.calabar-wa-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .25s ease;
    font-weight: 700;
    font-size: .92rem;
}

.calabar-wa-float:hover {
    background: var(--green-dark);
    transform: translateY(-2px) scale(1.04);
    color: #fff !important;
}

.calabar-wa-float:hover .calabar-wa-label {
    max-width: 180px;
    margin-left: 9px;
}

/* ---------- 404 / coming soon ---------- */

.state-block {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.state-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: var(--blue);
    margin-bottom: 1rem;
}

.state-icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 1.9rem;
    margin: 0 auto 1.6rem;
}

.state-block p {
    color: var(--muted);
    font-size: 1.02rem;
    margin-bottom: 1.8rem;
}

/* ---------- Responsive ---------- */

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

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 2.4rem;
    }

    .footer-grid > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 4.5rem 0;
    }

    .nav-shell {
        min-height: 70px;
    }

    .navbar-collapse {
        padding: 1rem 0 1.2rem;
        border-top: 1px solid var(--line);
        margin-top: .7rem;
    }

    .nav-links {
        align-items: stretch;
        gap: .15rem;
        margin-bottom: .9rem;
    }

    .nav-links .nav-link {
        padding: .7rem .9rem !important;
        border-radius: 10px;
    }

    .nav-links .nav-link.active::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        width: 100%;
    }

    .hero .carousel-item {
        height: auto;
        min-height: 560px;
    }

    .hero .carousel-control-prev,
    .hero .carousel-control-next {
        display: none;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .split,
    .feature,
    .form-shell {
        grid-template-columns: 1fr;
        gap: 2.6rem;
    }

    .feature--reverse .feature-media {
        order: 0;
    }

    .feature {
        padding: 3rem 0;
    }

    .value-grid,
    .steps,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid > :last-child {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .topbar-group {
        justify-content: center;
        gap: .9rem;
    }

    .topbar-email {
        display: none;
    }

    .section {
        padding: 3.6rem 0;
    }

    .hero .carousel-item {
        min-height: 600px;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(7, 12, 22, .94) 0%, rgba(7, 12, 22, .8) 70%, rgba(7, 12, 22, .55) 100%),
            linear-gradient(0deg, rgba(7, 12, 22, .7) 0%, rgba(7, 12, 22, .1) 60%);
    }

    .hero-content {
        padding: 3.5rem 0;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .car-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 1.2rem 1rem;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-card,
    .form-aside {
        padding: 1.7rem;
    }

    .cta {
        padding: 2.2rem;
        border-radius: 22px;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero {
        min-height: 300px;
    }

    .page-hero-inner {
        padding: 4rem 0;
    }

    .calabar-float-widget {
        right: 16px;
        bottom: 16px;
    }

    .calabar-wa-float {
        padding: 13px 15px;
    }

    .calabar-wa-float i {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   Motion layer
   Loaded on every page. js/calabar-motion.js adds .calabar-motion
   to <html> only when IntersectionObserver is available and the
   visitor has not asked for reduced motion, so all hidden starting
   states below are conditional. With JS off, content is fully visible.
   Only opacity + transform are animated.
   ============================================================ */

.btn i.fa-arrow-right,
.service-link i.fa-arrow-right,
.contact-card a i.fa-arrow-right {
    transition: transform .25s ease;
}

.btn:hover i.fa-arrow-right,
.btn:focus-visible i.fa-arrow-right,
.service-link:hover i.fa-arrow-right,
.service-link:focus-visible i.fa-arrow-right,
.contact-card a:hover i.fa-arrow-right,
.contact-card a:focus-visible i.fa-arrow-right {
    transform: translateX(4px);
}

.nav-links .nav-link {
    transition: color .2s ease, background-color .2s ease;
}

.footer-links a {
    transition: color .2s ease;
}

.contact-card a {
    transition: color .2s ease;
}

@media (prefers-reduced-motion: no-preference) {

    @keyframes calabar-reveal-up {
        from {
            opacity: 0;
            transform: translate3d(0, 26px, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    @keyframes calabar-hero-text {
        from {
            opacity: 0;
            transform: translate3d(0, 22px, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    .calabar-motion .reveal-item {
        opacity: 0;
    }

    .calabar-motion .reveal-item.is-visible {
        opacity: 1;
        animation: calabar-reveal-up .72s cubic-bezier(.22, .61, .36, 1) backwards;
        animation-delay: var(--reveal-delay, 0ms);
    }

    /* Hero: text rises in on load and again on every slide change. */
    .calabar-motion .hero .carousel-item .hero-eyebrow,
    .calabar-motion .hero .carousel-item .hero-content > h1,
    .calabar-motion .hero .carousel-item .hero-content > p,
    .calabar-motion .hero .carousel-item .hero-actions {
        opacity: 0;
    }

    .calabar-motion .hero .carousel-item.active .hero-eyebrow,
    .calabar-motion .hero .carousel-item.active .hero-content > h1,
    .calabar-motion .hero .carousel-item.active .hero-content > p,
    .calabar-motion .hero .carousel-item.active .hero-actions {
        opacity: 1;
        animation: calabar-hero-text .8s cubic-bezier(.22, .61, .36, 1) backwards;
    }

    .calabar-motion .hero .carousel-item.active .hero-eyebrow {
        animation-delay: .05s;
    }

    .calabar-motion .hero .carousel-item.active .hero-content > h1 {
        animation-delay: .16s;
    }

    .calabar-motion .hero .carousel-item.active .hero-content > p {
        animation-delay: .3s;
    }

    .calabar-motion .hero .carousel-item.active .hero-actions {
        animation-delay: .44s;
    }

    /* Hero: slow, subtle settle on the photo plus a softer crossfade. */
    .calabar-motion .hero .carousel-item > img {
        transform: scale(1.06);
        transition: transform 7s cubic-bezier(.2, .6, .2, 1);
    }

    .calabar-motion .hero .carousel-item.active > img {
        transform: scale(1);
    }

    .hero .carousel-fade .carousel-item {
        transition: opacity .9s ease;
    }
}
