/* =========================================================
   Theme: Decision Classic
   Exact palette + fonts from the Bravis "Decision" demo.
   Feel: traditional established firm with modern polish.
   ========================================================= */

:root {
    --primary-color:   #ffffff;      /* Content bg — white, like the demo */
    --secondary-color: #f7f3ec;      /* Warm cream break */
    --dark-bg:         #262b3e;      /* Demo's exact dark navy */
    --dark-bg-2:       #303649;

    --accent-color:    #c89d66;      /* Demo's exact brass gold */
    --accent-hover:    #a97e46;
    --accent-light:    #d8b585;

    --terracotta: #b8894a;
    --olive:      #7d7a5a;

    --light-color: #262b3e;
    --text-main:   #565b6f;
    --text-muted:  #7d8290;
    --text-on-dark: rgba(255,255,255,0.9);
    --text-on-dark-muted: rgba(255,255,255,0.6);

    --border-color: #eae4d3;
    --border-dark:  rgba(255,255,255,0.09);

    --radius-sm: 0;
    --radius-md: 2px;
}

/* Typography: EXACT demo pairing — Playfair Display display + Poppins body */
body {
    font-family: 'Poppins', -apple-system, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-main);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.75;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--light-color);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}
p { color: var(--text-main); }

/* Uppercase eyebrow with brass rule (demo signature) */
.section-eyebrow, .hero-eyebrow {
    color: var(--accent-color);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent-color);
}
.hero-split-copy .hero-eyebrow {
    color: var(--accent-color);
    padding-left: 0;
}
.hero-split-copy .hero-eyebrow::before {
    display: none;
}
.hero-split-copy .hero-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent-color);
    margin-left: 12px;
    vertical-align: middle;
}

/* =========================================================
   NAVBAR — transparent over hero, cream/navy links on scroll
   ========================================================= */
.navbar {
    background: transparent !important;
    border-bottom: none !important;
    padding: 20px 0 !important;
}
/* Transparent state: white links (hero has dark overlay behind them) */
.navbar:not(.navbar-scrolled) .nav-link {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.navbar:not(.navbar-scrolled) .nav-link:hover,
.navbar:not(.navbar-scrolled) .nav-link.active {
    color: var(--accent-light) !important;
}
/* Scrolled state: solid white bg, navy links, brass hover */
.navbar-scrolled {
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    padding: 8px 0 !important;
}
.navbar-scrolled .nav-link {
    color: var(--light-color) !important;
    text-shadow: none;
}
.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
    color: var(--accent-color) !important;
}
.nav-link {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 2px !important;
    font-weight: 500 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    position: relative !important;
    padding: 12px 16px !important;
}
/* Brass underline slide on hover — like Decision demo */
.nav-link::after {
    content: '' !important;
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 4px !important;
    height: 2px !important;
    background: var(--accent-color) !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform 0.35s ease !important;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1) !important; }

/* Mobile hamburger — brass on hero, navy after scroll */
.navbar:not(.navbar-scrolled) .navbar-toggler {
    border-color: rgba(255,255,255,0.4) !important;
    background: rgba(0,0,0,0.25);
}
.navbar:not(.navbar-scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-scrolled .navbar-toggler {
    border-color: rgba(38,43,62,0.3) !important;
    background: transparent;
}
.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23262b3e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile collapsed menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(38,43,62,0.98) !important;
        border-radius: 0 !important;
        margin-top: 8px;
        padding: 18px 20px !important;
    }
    .navbar-collapse .nav-link { color: #ffffff !important; text-shadow: none; }
    .navbar-collapse .nav-link:hover { color: var(--accent-color) !important; }
    .navbar-scrolled .navbar-collapse { background: rgba(255,255,255,0.98) !important; }
    .navbar-scrolled .navbar-collapse .nav-link { color: var(--light-color) !important; }
}

/* Contact ribbon — dark like the demo's utility bar */
.contact-ribbon {
    background: var(--dark-bg) !important;
    border-bottom: none !important;
}
.contact-ribbon a, .contact-ribbon .ribbon-hours { color: rgba(255,255,255,0.85) !important; }
.contact-ribbon a:hover, .contact-ribbon .ribbon-hours { color: #ffffff !important; }
.contact-ribbon a i, .contact-ribbon .ribbon-hours i { color: var(--accent-color) !important; }

/* =========================================================
   HERO — dark overlay, big serif headline, brass uppercase CTA
   ========================================================= */
.hero-split {
    background-color: var(--dark-bg) !important;
    background-image:
        linear-gradient(135deg, rgba(38,43,62,0.82) 0%, rgba(38,43,62,0.55) 60%, rgba(38,43,62,0.35) 100%),
        var(--hero-bg) !important;
    background-position: center !important;
    background-size: cover !important;
    min-height: 92vh;
}
.hero-split::before { display: none !important; }
.hero-split::after {
    /* thin brass rule at bottom of hero */
    background: linear-gradient(to right, var(--accent-color), transparent 65%) !important;
    height: 2px !important;
    opacity: 0.6;
}
.hero-split-copy h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.005em !important;
    font-size: clamp(2.2rem, 1.3rem + 4vw, 5rem) !important;
    line-height: 1.15 !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35) !important;
}
.hero-split-copy h1 .word { color: #ffffff !important; }
.hero-split-copy .hero-sub {
    color: rgba(255,255,255,0.9) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.15rem !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3) !important;
}

/* =========================================================
   BUTTONS — sharp corners, brass fill, uppercase Poppins
   ========================================================= */
.btn-primary {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 15px 34px !important;
    letter-spacing: 2px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}
.btn-primary:hover {
    background: var(--accent-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px rgba(200,157,102,0.35) !important;
}

.btn-ghost {
    border-radius: 0 !important;
    letter-spacing: 2px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    padding: 14px 32px !important;
    text-transform: uppercase !important;
}
.hero-split .btn-ghost {
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.55) !important;
    background: transparent !important;
    backdrop-filter: blur(6px);
}
.hero-split .btn-ghost:hover {
    background: rgba(200,157,102,0.15) !important;
    border-color: var(--accent-color) !important;
    color: var(--accent-light) !important;
}
.section-light .btn-ghost, .section-white .btn-ghost {
    color: var(--light-color) !important;
    border: 1px solid var(--light-color) !important;
}
.section-light .btn-ghost:hover, .section-white .btn-ghost:hover {
    background: var(--light-color) !important;
    color: #ffffff !important;
    border-color: var(--light-color) !important;
}

/* =========================================================
   SECTIONS — white + cream alternation, no textures
   ========================================================= */
.section-white { background-color: var(--primary-color) !important; }
.section-light { background-color: var(--secondary-color) !important; }
.section-light::before { display: none !important; }

.section-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--light-color) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    font-size: clamp(1.9rem, 1.15rem + 2vw, 3rem) !important;
    line-height: 1.2 !important;
}
.section-title::after {
    background: var(--accent-color) !important;
    height: 2px !important;
    width: 50px !important;
}

.section-title-foil {
    background: none !important;
    -webkit-text-fill-color: var(--light-color) !important;
    color: var(--light-color) !important;
    animation: none !important;
}

.section-sub { color: var(--text-main) !important; font-family: 'Poppins', sans-serif; }

/* =========================================================
   SERVICES SECTION — white background, navy text, dark tiles below
   ========================================================= */
#services.section-white { background: #ffffff !important; }
#services .section-title { color: var(--light-color) !important; }
#services .section-title::after { background: var(--accent-color) !important; }
#services .section-eyebrow { color: var(--accent-color) !important; }
#services .section-sub { color: var(--text-main) !important; }

/* Non-service cards keep the light look */
.feature-card, .step-card, .value-card, .testimonial-card, .blog-card, .form-card, .accordion-item {
    border-radius: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
}
.feature-card:hover, .testimonial-card:hover, .blog-card:hover {
    box-shadow: 0 20px 40px rgba(38,43,62,0.09) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-6px);
}

/* =========================================================
   SERVICE CARDS — dark navy tile with gold icon square
   ========================================================= */
.service-card {
    border-radius: 0 !important;
    background: var(--dark-bg-2) !important;
    border: 1px solid rgba(200,157,102,0.18) !important;
    box-shadow: none !important;
    padding: 30px 34px 30px 26px !important;
    display: grid !important;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 32px;
    row-gap: 6px;
    align-items: start;
    position: relative;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.service-card::before, .service-card::after { display: none !important; }
.service-card:hover {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 1px var(--accent-color), 0 20px 40px rgba(0,0,0,0.35) !important;
    transform: translateY(-4px);
}

/* Gold square icon block — white glyph */
.service-card i {
    grid-column: 1; grid-row: 1 / span 2;
    width: 64px; height: 64px;
    background: linear-gradient(180deg, var(--accent-light), var(--accent-color)) !important;
    border-radius: 3px !important;
    color: #ffffff !important;
    font-size: 1.6rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px 0 0 !important;
    padding: 0;
    box-shadow: 0 6px 14px rgba(200,157,102,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover i {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(200,157,102,0.4);
}

/* Title on right of icon, top */
.service-card h3 {
    grid-column: 2; grid-row: 1;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.25;
    letter-spacing: -0.005em;
}
.service-card h3::after { display: none !important; }

/* Body copy — pure white */
.service-card p {
    grid-column: 2; grid-row: 2;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    margin: 10px 0 0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400;
}

/* Read more — hidden by default, reveals on hover */
.service-card-arrow {
    grid-column: 1 / -1; grid-row: 3;
    color: var(--accent-color) !important;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    border-top: 1px solid rgba(200,157,102,0.15) !important;
    padding-top: 14px !important;
    margin: 18px 0 0 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.4s ease, padding-top 0.4s ease, border-color 0.35s ease;
}
.service-card:hover .service-card-arrow {
    max-height: 60px;
    opacity: 1;
    margin-top: 18px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(200,157,102,0.25) !important;
}

/* Uniform brass icon backgrounds (no per-card rainbow) */
.row > .col-lg-3 .service-card i,
.row > .col-md-6 .service-card i,
.row > [class*="col-"] .service-card i {
    color: #ffffff !important;
    background: linear-gradient(180deg, var(--accent-light), var(--accent-color)) !important;
}

@media (max-width: 575.98px) {
    .service-card { padding: 24px 24px 24px 20px !important; grid-template-columns: 52px 1fr; column-gap: 22px; }
    .service-card i { width: 52px; height: 52px; font-size: 1.25rem !important; }
    .service-card h3 { font-size: 1.1rem !important; }
    .service-card p { font-size: 0.88rem !important; }
}

/* =========================================================
   TESTIMONIALS — Playfair italic quote, brass company caps
   ========================================================= */
.testimonial-card { padding: 40px 32px 32px !important; }
.testimonial-review {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    line-height: 1.65 !important;
    color: var(--light-color) !important;
}
.testimonial-name {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--light-color) !important;
}
.testimonial-company {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 2px !important;
    font-size: 0.7rem !important;
    color: var(--accent-color) !important;
    font-weight: 500;
    text-transform: uppercase !important;
}
.testimonial-avatar {
    border-radius: 0 !important;
    border: 1px solid var(--border-color) !important;
}
.testimonial-quote { color: rgba(200,157,102,0.12) !important; }
.stars i { color: var(--accent-color) !important; }

/* =========================================================
   FAQ — Playfair questions, brass on open
   ========================================================= */
.accordion-item { margin-bottom: 8px !important; }
.accordion-button {
    background: #ffffff !important;
    color: var(--light-color) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    padding: 22px 26px !important;
    border-radius: 0 !important;
}
.accordion-button:not(.collapsed) { color: var(--accent-color) !important; background: #ffffff !important; }
.accordion-button:focus { box-shadow: none !important; outline: 2px solid var(--accent-color) !important; outline-offset: -2px; }
.accordion-body { color: var(--text-main) !important; }

/* =========================================================
   STATS — dark, brass numerals in Playfair
   ========================================================= */
.stats-section {
    background-color: var(--dark-bg) !important;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(200,157,102,0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(200,157,102,0.08) 0%, transparent 55%) !important;
}
/* On dark stats section — force everything readable */
.stats-section .section-eyebrow,
.stats-section .section-eyebrow::after,
.stats-section .section-title,
.stats-section .section-title-foil,
.stats-section h1, .stats-section h2, .stats-section h3, .stats-section h4,
.stats-section p, .stats-section .section-sub {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    animation: none !important;
}
.stats-section .section-title::after { background: var(--accent-color) !important; }
.stats-section .section-eyebrow { color: var(--accent-light) !important; }
.stats-section .section-eyebrow::after { background: var(--accent-color) !important; }
.stat-number {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--accent-color) !important;
}
.stat-label { color: rgba(255,255,255,0.75) !important; }
.stat-card.glass-panel { border-radius: 0 !important; }
.stat-icon { color: var(--accent-color) !important; }

/* =========================================================
   ABOUT PREVIEW
   ========================================================= */
.about-preview-visual { padding: 8px !important; background: #ffffff !important; border: 1px solid var(--border-color); }
.about-preview-badge {
    background: var(--dark-bg) !important;
    border-left: 3px solid var(--accent-color) !important;
    font-family: 'Playfair Display', Georgia, serif;
}
.about-preview-badge span { color: rgba(255,255,255,0.9) !important; }

/* Why pillars — brass Playfair numerals */
.why-pillar-num {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--accent-color) !important;
    font-weight: 700 !important;
}

/* Feature card */
.feature-card { padding: 32px 26px 26px !important; }
.feature-card-icon {
    background: transparent !important;
    color: var(--feature-color, var(--accent-color));
    width: 48px;
    height: 48px;
    border-radius: 0 !important;
    font-size: 1.6rem !important;
    justify-content: flex-start !important;
    padding: 0;
}
.feature-card-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.2rem !important;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--feature-color, var(--accent-color));
    display: inline-block;
    margin-bottom: 16px !important;
    color: var(--light-color) !important;
}
.feature-card::before { display: none !important; }
.feature-card-desc { color: var(--text-main) !important; font-family: 'Poppins', sans-serif !important; }

/* =========================================================
   BLOG CARDS
   ========================================================= */
.blog-card-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    color: var(--light-color) !important;
}
.blog-card-excerpt { color: var(--text-main) !important; font-family: 'Poppins', sans-serif !important; }
.blog-card-more {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 2px !important;
    color: var(--accent-color) !important;
}
.blog-card-date {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 2px !important;
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
}
.blog-card-media-placeholder { background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-2)) !important; }

/* =========================================================
   FORM CARD
   ========================================================= */
.form-card { padding: 40px 34px !important; }
.form-label {
    font-family: 'Poppins', sans-serif !important;
    color: var(--text-muted) !important;
    letter-spacing: 1.5px !important;
    font-size: 0.7rem !important;
}
.form-control, .form-select {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    color: var(--light-color) !important;
    font-family: 'Poppins', sans-serif !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(200,157,102,0.15) !important;
}
.form-privacy { color: var(--text-muted) !important; }
.form-privacy i { color: var(--accent-color) !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--dark-bg) !important; }
.footer-heading {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--accent-color) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}
.footer-links a, .footer-contact a, .footer-contact li {
    color: rgba(255,255,255,0.7) !important;
    font-family: 'Poppins', sans-serif !important;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-color) !important; }
.footer-tagline { color: rgba(255,255,255,0.65) !important; font-family: 'Poppins', sans-serif !important; }
.footer-copyright { color: rgba(255,255,255,0.5) !important; }
.footer-policy-links a { color: rgba(255,255,255,0.5) !important; }
.footer-social a { color: rgba(255,255,255,0.7) !important; }
.footer-social a:hover { background: var(--accent-color) !important; border-color: var(--accent-color) !important; color: #ffffff !important; }

/* Scroll progress */
.scroll-progress > span {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light)) !important;
    box-shadow: 0 0 8px rgba(200,157,102,0.5) !important;
}

/* Inline links */
.btn-inline-link { color: var(--accent-color) !important; font-family: 'Poppins', sans-serif !important; }
.btn-inline-link:hover { color: var(--accent-hover) !important; }

/* Rich content */
.rich-content { font-family: 'Poppins', sans-serif; }
.rich-content h2, .rich-content h3, .rich-content h4 {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--light-color) !important;
}
.rich-content a { color: var(--accent-color) !important; }

/* =========================================================
   FULL CONTRAST PASS — ensure every element reads clearly
   on its section background. This overrides earlier rules.
   ========================================================= */

/* Nav — transparent phase (over dark hero): white text with shadow */
.navbar:not(.navbar-scrolled) .nav-link,
.navbar:not(.navbar-scrolled) .navbar-brand,
.navbar:not(.navbar-scrolled) .navbar-brand span {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.navbar:not(.navbar-scrolled) .nav-link:hover,
.navbar:not(.navbar-scrolled) .nav-link.active { color: var(--accent-light) !important; }

/* Nav — scrolled phase (solid white bg): navy text */
.navbar-scrolled { background: #ffffff !important; }
.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand,
.navbar-scrolled .navbar-brand span {
    color: var(--light-color) !important;
    text-shadow: none;
}
.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active { color: var(--accent-color) !important; }

/* ANY dark-bg section — force text visible */
.hero-split, .hero-split *,
.stats-section, .stats-section *,
#services, #services *,
.section-dark, .section-dark *,
.site-footer, .site-footer * {
    /* Reset text color on descendants inside dark sections */
}

/* Hero copy */
.hero-split .hero-eyebrow { color: var(--accent-color) !important; }
.hero-split .hero-eyebrow::after { background: var(--accent-color) !important; }
.hero-split h1, .hero-split h1 .word,
.hero-split .hero-sub,
.hero-split p { color: #ffffff !important; }

/* Stats section — ALL text white/gold (don't touch section bg itself) */
.stats-section p, .stats-section span,
.stats-section .section-title, .stats-section h1, .stats-section h2, .stats-section h3, .stats-section h4,
.stats-section .section-title-foil, .stats-section .section-sub {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    animation: none !important;
}
.stats-section {
    color: #ffffff !important;
}
.stats-section .section-title::after { background: var(--accent-color) !important; }
.stats-section .section-eyebrow { color: var(--accent-color) !important; }
.stats-section .section-eyebrow::after { background: var(--accent-color) !important; }
.stats-section .stat-number,
.stats-section .stat-number .stat-counter { color: var(--accent-color) !important; }
.stats-section .stat-label { color: #ffffff !important; }
.stats-section .stat-card, .stats-section .stat-card * { color: #ffffff; }
.stats-section .stat-card .stat-number, .stats-section .stat-card .stat-counter { color: var(--accent-color) !important; }
.stats-section .stat-icon i { color: var(--accent-color) !important; }
.stats-section .stat-icon { color: var(--accent-color) !important; }

/* Services section (white bg) — navy heading, gold eyebrow, muted sub */
#services .section-title,
#services .section-title-foil,
#services h1, #services h2 {
    color: var(--light-color) !important;
    -webkit-text-fill-color: var(--light-color) !important;
    background: none !important;
    animation: none !important;
}
#services .section-title::after { background: var(--accent-color) !important; }
#services .section-eyebrow { color: var(--accent-color) !important; }
#services .section-eyebrow::after { background: var(--accent-color) !important; }
#services .section-sub, #services > .container > p { color: var(--text-main) !important; }

/* Cream / white section titles — stay navy (readable on light bg) */
.section-light .section-title,
.section-white .section-title,
.section-light .section-title-foil,
.section-white .section-title-foil {
    color: var(--light-color) !important;
    -webkit-text-fill-color: var(--light-color) !important;
    background: none !important;
    animation: none !important;
}
.section-light .section-eyebrow,
.section-white .section-eyebrow { color: var(--accent-color) !important; }
.section-light > .container p, .section-white > .container > p,
.section-light .section-sub, .section-white .section-sub { color: var(--text-main) !important; }
/* Explicitly override for dark service cards inside white sections */
.section-white .service-card p, .section-light .service-card p { color: #ffffff !important; }

/* Contact form section (white bg) — labels and controls */
#contact .form-label { color: var(--text-muted) !important; }
#contact .form-control, #contact .form-select {
    background: #ffffff !important;
    color: var(--light-color) !important;
    border-color: var(--border-color) !important;
}
#contact .form-control::placeholder { color: var(--text-muted) !important; }

/* About-preview overlay badge is dark bg — white text */
.about-preview-badge, .about-preview-badge * { color: #ffffff !important; }
.about-preview-badge i { color: var(--accent-color) !important; }
.about-preview-badge span { color: rgba(255,255,255,0.92) !important; }

/* Why-choose pillars on white bg — navy titles, muted descriptions */
#why-choose-us .why-pillar-title { color: var(--light-color) !important; }
#why-choose-us .why-pillar-desc { color: var(--text-main) !important; }
#why-choose-us .why-pillar-num { color: var(--accent-color) !important; }

/* Testimonials on cream — navy quote, brass caps */
#testimonials .testimonial-review { color: var(--light-color) !important; }
#testimonials .testimonial-name { color: var(--light-color) !important; }
#testimonials .testimonial-company { color: var(--accent-color) !important; }

/* Blog cards on white — navy title, muted body */
#latest-insights .blog-card-title { color: var(--light-color) !important; }
#latest-insights .blog-card-excerpt { color: var(--text-main) !important; }
#latest-insights .blog-card-date { color: var(--text-muted) !important; }
#latest-insights .blog-card-more { color: var(--accent-color) !important; }

/* FAQs on cream — accordion buttons + body */
#faqs .accordion-button { color: var(--light-color) !important; background: #ffffff !important; }
#faqs .accordion-button:not(.collapsed) { color: var(--accent-color) !important; }
#faqs .accordion-body { color: var(--text-main) !important; }

/* Footer — always dark, always white text on gold headings */
.site-footer, .site-footer p, .site-footer li, .site-footer a, .site-footer span {
    color: rgba(255,255,255,0.72) !important;
}
.site-footer .footer-heading { color: var(--accent-color) !important; }
.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover { color: var(--accent-color) !important; }
.site-footer .footer-copyright { color: rgba(255,255,255,0.5) !important; }

/* Contact ribbon — dark bg */
.contact-ribbon, .contact-ribbon * {
    color: rgba(255,255,255,0.85) !important;
}
.contact-ribbon a i, .contact-ribbon .ribbon-hours i { color: var(--accent-color) !important; }
.contact-ribbon a:hover { color: var(--accent-light) !important; }

/* =========================================================
   Service card responsive layout: stack when narrow
   ========================================================= */
/* Desktop 992px+ where cards are col-lg-3 (4-per-row, ~280-320px wide) — stack icon on top */
@media (min-width: 992px) {
    .col-lg-3 .service-card {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        row-gap: 4px !important;
        padding: 28px 26px !important;
    }
    .col-lg-3 .service-card i {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin: 0 0 16px !important;
    }
    .col-lg-3 .service-card h3 {
        grid-column: 1 !important;
        grid-row: 2 !important;
        font-size: 1.2rem !important;
    }
    .col-lg-3 .service-card p {
        grid-column: 1 !important;
        grid-row: 3 !important;
        margin: 8px 0 0 !important;
    }
    .col-lg-3 .service-card-arrow {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }
}
