:root {
    --cb-navy: #185298;
    --cb-navy-dark: #081a44;
    --cb-green: #00ae1b;
    --cb-green-hover: #009516;
    --cb-light: #f7f8fa;
    --cb-text: #3d3d3d;
    --cb-white: #ffffff;
    --cb-max: 1140px;
    --cb-font-display: "DM Sans", sans-serif;
    --cb-font-heading: "Poppins", sans-serif;
    --cb-font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--cb-font-body);
    color: var(--cb-text);
    background: var(--cb-white);
    line-height: 1.7;
}

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

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--cb-font-heading);
    color: #000;
    line-height: 1.2;
}

.container { max-width: var(--cb-max); }

.cb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 4px;
    font-family: var(--cb-font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.cb-btn--green {
    background: var(--cb-green);
    color: var(--cb-white);
}

.cb-btn--green:hover { background: var(--cb-green-hover); color: var(--cb-white); }

.cb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 1rem;
    font-family: var(--cb-font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--cb-text);
}

.cb-eyebrow span {
    width: 36px;
    height: 3px;
    background: var(--cb-green);
    flex-shrink: 0;
}

.cb-eyebrow--center { justify-content: center; }

.cb-section { padding: 70px 0; }
.cb-section--light { background: var(--cb-light); }

.cb-section-head { margin-bottom: 2.5rem; }
.cb-section-head h2,
.cb-section-head h4 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.25rem); }

/* Header */
.cb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.cb-header.is-scrolled {
    background: rgba(8, 26, 68, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0;
}

.cb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cb-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cb-white);
}

.cb-logo__mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--cb-green);
    color: var(--cb-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cb-font-heading);
    font-weight: 700;
}

.cb-logo__text {
    font-family: var(--cb-font-heading);
    font-weight: 600;
    font-size: 1.05rem;
}

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

.cb-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cb-nav a {
    color: var(--cb-white);
    font-family: var(--cb-font-heading);
    font-weight: 500;
    font-size: 1rem;
}

.cb-nav a:hover { color: var(--cb-green); }

.cb-header__cta { padding: 0.7rem 1.2rem; font-size: 0.82rem; }

.cb-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.35);
    background: transparent;
    border-radius: 6px;
    padding: 8px;
}

.cb-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--cb-white);
    margin: 5px 0;
}

/* Hero */
.cb-hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.cb-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.cb-hero__content {
    position: relative;
    z-index: 1;
    color: var(--cb-white);
    padding-top: 120px;
    padding-bottom: 80px;
}

.cb-hero h1 {
    max-width: 760px;
    margin: 0 0 1.5rem;
    color: var(--cb-white);
    font-family: var(--cb-font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
}

.cb-hero h1 strong { font-weight: 700; }

.cb-hero__rule {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cb-hero__rule span {
    width: 50px;
    height: 2px;
    background: var(--cb-white);
}

.cb-hero__rule p {
    margin: 0;
    font-family: var(--cb-font-heading);
    letter-spacing: 0.18em;
    font-size: 0.95rem;
}

/* Contact strip */
.cb-contact-strip {
    background: var(--cb-white);
    padding: 1.1rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.cb-contact-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    font-size: 0.95rem;
}

.cb-contact-strip__label {
    font-weight: 600;
    color: var(--cb-text);
}

.cb-contact-strip__label i { color: var(--cb-green); margin-right: 6px; }

.cb-contact-strip a {
    color: var(--cb-navy-dark);
    font-weight: 600;
}

.cb-contact-strip__sep { color: #888; }

/* About */
.cb-about h2 strong { color: var(--cb-navy-dark); }

.cb-about__images { position: relative; min-height: 420px; }

.cb-about__main {
    width: 100%;
    border-radius: 6px;
    min-height: 420px;
    object-fit: cover;
}

.cb-about__inset {
    position: absolute;
    right: -10px;
    bottom: -20px;
    width: 52%;
    border: 5px solid var(--cb-light);
    border-radius: 5px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Stats */
.cb-stats {
    background: var(--cb-navy);
    padding: 60px 0;
}

.cb-stat {
    position: relative;
    text-align: center;
    color: var(--cb-white);
    padding: 1rem 0;
}

.cb-stat__ghost {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cb-font-body);
    font-size: 3.5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px #0b1838;
    opacity: 0.35;
    pointer-events: none;
}

.cb-stat__value {
    display: block;
    position: relative;
    z-index: 1;
    font-family: var(--cb-font-heading);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.cb-stat__label {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* Reputation */
.cb-reputation h3 {
    font-family: var(--cb-font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cb-reputation p {
    max-width: 820px;
    margin: 0 auto 1rem;
}

/* Services track */
.cb-services { position: relative; padding: 0 0 70px; background: var(--cb-white); }

.cb-services__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 20px 10px;
    scrollbar-width: none;
}

.cb-services__track::-webkit-scrollbar { display: none; }

.cb-service-panel {
    position: relative;
    flex: 0 0 calc(25% - 8px);
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
}

.cb-service-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.cb-service-panel__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem;
    color: var(--cb-white);
}

.cb-service-panel__content h2 {
    color: var(--cb-white);
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
}

.cb-service-panel__content a {
    color: var(--cb-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}

.cb-services__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 1rem;
}

.cb-services__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: var(--cb-white);
}

/* Portfolio */
.cb-portfolio-slide {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.cb-portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-portfolio .swiper-button-prev,
.cb-portfolio .swiper-button-next { color: var(--cb-navy); }

.cb-portfolio .swiper-pagination-bullet-active { background: var(--cb-green); }

/* Testimonials */
.cb-testimonial-card {
    background: var(--cb-white);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    height: 100%;
}

.cb-testimonial-card__stars {
    color: #f5b301;
    margin-bottom: 1rem;
}

.cb-testimonial-card p { margin: 0 0 1rem; }

.cb-testimonial-card strong {
    display: block;
    color: #000;
}

.cb-testimonial-card span {
    color: #777;
    font-size: 0.9rem;
}

/* Page hero */
.cb-page-hero {
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.cb-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.cb-page-hero .container {
    position: relative;
    z-index: 1;
    color: var(--cb-white);
    padding-top: 120px;
    padding-bottom: 60px;
}

.cb-page-hero h1 {
    margin: 0;
    color: var(--cb-white);
    font-family: var(--cb-font-display);
    font-size: clamp(2.2rem, 4vw, 3.25rem);
}

.cb-rounded-image { border-radius: 8px; width: 100%; object-fit: cover; }

.cb-service-card {
    background: var(--cb-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    height: 100%;
}

.cb-service-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.cb-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-service-card h3 {
    font-size: 1.15rem;
    margin: 1rem 1rem 0.5rem;
}

.cb-service-card a {
    display: inline-block;
    margin: 0 1rem 1.25rem;
    color: var(--cb-green);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.82rem;
}

/* Gallery */
.cb-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.cb-gallery-filter {
    border: 1px solid #ddd;
    background: var(--cb-white);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-family: var(--cb-font-heading);
    font-size: 0.88rem;
}

.cb-gallery-filter.is-active,
.cb-gallery-filter:hover {
    background: var(--cb-green);
    border-color: var(--cb-green);
    color: var(--cb-white);
}

.cb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cb-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 3 / 2;
}

.cb-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cb-gallery-item:hover img { transform: scale(1.05); }

/* Contact */
.cb-contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.cb-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.85rem;
}

.cb-contact-list i { color: var(--cb-green); width: 18px; }

.cb-contact-form {
    background: var(--cb-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.cb-contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.cb-contact-form input,
.cb-contact-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

/* Footer */
.cb-footer__cta {
    background: var(--cb-navy);
    color: var(--cb-white);
    text-align: center;
    padding: 2rem 0;
}

.cb-footer__cta p {
    margin: 0;
    font-family: var(--cb-font-heading);
    font-size: 1.45rem;
}

.cb-footer__main {
    background: var(--cb-navy);
    color: #ebebeb;
    padding: 3.5rem 0;
}

.cb-footer__main h4 {
    color: var(--cb-white);
    font-size: 1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.cb-footer__main ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cb-footer__main li { margin-bottom: 0.55rem; }

.cb-footer__main a:hover { color: var(--cb-white); }

.cb-logo--footer { margin-bottom: 1rem; }

.cb-footer__bar {
    background: var(--cb-navy-dark);
    color: #ccc;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.cb-floating-call {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    background: var(--cb-green);
    color: var(--cb-white);
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.cb-floating-call i { margin-right: 8px; }

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

@media (max-width: 991.98px) {
    .cb-nav-toggle { display: block; }
    .cb-nav-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cb-navy-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    .cb-nav-wrap:not(.show) { display: none; }
    .cb-nav-wrap.show { display: flex; }
    .cb-nav { flex-direction: column; align-items: flex-start; }
    .cb-service-panel { flex-basis: calc(50% - 8px); }
    .cb-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cb-about__inset { position: static; width: 70%; margin: -40px auto 0; }
}

@media (max-width: 575.98px) {
    .cb-service-panel { flex-basis: 85%; }
    .cb-gallery-grid { grid-template-columns: 1fr; }
}
