/* ===================================================================
   BHAWANI ESTATES (Regd.) — Design System
   Concept: "The Ledger" — a registered property consultancy's visual
   identity built on the brand's own mark (signal blue + vivid orange),
   drafted with the quiet authority of a deed register: hairline rules,
   mono ledger labels, and blueprint corner-marks borrowed from the
   architecture & landscape side of the business.
   =================================================================== */

/* -------------------------------------------------- */
/* tokens */
/* -------------------------------------------------- */
:root {
    --ink:        #0B2545;   /* deep navy — primary dark surface   */
    --ink-2:      #133463;   /* lighter navy for gradients/hovers  */
    --blue:       #0178E0;   /* signal blue — from the brand mark  */
    --orange:     #FF6100;   /* vivid orange — from the brand mark */
    --orange-dark:#DE5000;
    --paper:      #F7F4EE;   /* warm paper section background      */
    --paper-2:    #EFEAE0;   /* slightly deeper paper for contrast */
    --charcoal:   #23262B;   /* body text                          */
    --grey:       #6B7076;   /* muted text                         */
    --line:       #E1DCCF;   /* hairline borders on paper          */
    --line-dark:  rgba(255,255,255,0.14);
    --white:      #FFFFFF;

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Inter', Arial, Helvetica, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

    --radius: 2px;
    --shadow-soft: 0 20px 50px -20px rgba(11, 37, 69, 0.25);
    --shadow-card: 0 10px 30px -12px rgba(11, 37, 69, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
}

p { color: var(--grey); }

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

img { max-width: 100%; height: auto; }

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

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.id-color { color: var(--orange); }
.id-color-blue { color: var(--blue); }
.id-color-light { color: #fff; }

/* -------------------------------------------------- */
/* eyebrow / ledger-label — the signature typographic device */
/* -------------------------------------------------- */
.ledger-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    margin-bottom: 14px;
}

.ledger-label::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

.ledger-label.on-dark { color: #FFB68A; }

.ledger-bar {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    row-gap: 6px;
}

.ledger-bar span {
    padding: 0 14px;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.ledger-bar span:first-child { padding-left: 0; }
.ledger-bar span:last-child { border-right: none; }

/* Section heading pattern used across pages */
.section-head {
    max-width: 720px;
    margin-bottom: 46px;
}

.section-head.text-center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin-bottom: 0;
}

.section-head p {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 1.02rem;
}

/* -------------------------------------------------- */
/* blueprint grid texture — signature background device */
/* -------------------------------------------------- */
.blueprint-bg {
    position: relative;
    background-color: var(--ink);
    background-image:
        linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 44px 44px;
}

.blueprint-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 18% 15%, rgba(1,120,224,0.35), transparent 55%),
                radial-gradient(ellipse at 85% 90%, rgba(255,97,0,0.22), transparent 50%);
    pointer-events: none;
}

/* corner brackets — architectural drafting mark, used on card hover */
.corner-marks { position: relative; }

.corner-marks::before,
.corner-marks::after,
.corner-marks .cm-br,
.corner-marks .cm-bl {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--orange);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 3;
}

.corner-marks::before { top: 8px; left: 8px; border-top: 2px solid; border-left: 2px solid; transform: translate(6px,6px); }
.corner-marks::after { top: 8px; right: 8px; border-top: 2px solid; border-right: 2px solid; transform: translate(-6px,6px); }

.corner-marks:hover::before,
.corner-marks:hover::after { opacity: 1; transform: translate(0,0); }

/* -------------------------------------------------- */
/* top utility bar */
/* -------------------------------------------------- */
.info-bar {
    background: var(--ink);
    color: rgba(255,255,255,0.82);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    padding: 9px 0;
}

.info-bar a { color: rgba(255,255,255,0.82); }
.info-bar a:hover { color: var(--orange); }

.info-bar strong { color: #fff; font-weight: 600; }

.info-bar .separator {
    display: inline-block;
    width: 1px;
    height: 11px;
    background: rgba(255,255,255,0.3);
    margin: 0 16px;
    vertical-align: middle;
}

.info-bar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: rgba(255,255,255,0.85);
    font-size: 0.72rem;
}

.info-bar .social-icons a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* -------------------------------------------------- */
/* navbar */
/* -------------------------------------------------- */
.main-navbar {
    padding: 16px 0;
    background: #fff;
    transition: padding .25s ease, box-shadow .25s ease;
    border-bottom: 1px solid var(--line);
}

.main-navbar.is-scrolled {
    padding: 8px 0;
    box-shadow: 0 8px 24px -14px rgba(11,37,69,0.3);
}

.main-navbar .navbar-brand img {
    max-height: 56px;
    width: auto;
    transition: max-height .25s ease;
}

.main-navbar.is-scrolled .navbar-brand img { max-height: 44px; }

.main-navbar .nav-link {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal);
    padding: 10px 16px !important;
    position: relative;
}

.main-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--ink); }

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }

.btn-nav-cta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 22px !important;
    margin-left: 6px;
}

/* -------------------------------------------------- */
/* buttons */
/* -------------------------------------------------- */
.btn {
    border-radius: var(--radius);
    font-weight: 600;
    letter-spacing: 0.02em;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    color: #fff;
}

.btn-outline-light:hover { color: var(--ink); }

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

.btn-lg { padding: 14px 30px; font-size: 0.95rem; }

/* -------------------------------------------------- */
/* HOME — hero */
/* -------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 150px;
}

.hero .container { position: relative; z-index: 2; }

.hero-copy { max-width: 760px; }

.hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.hero .lead {
    color: rgba(255,255,255,0.82);
    font-size: 1.12rem;
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-ledger {
    margin-bottom: 26px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* floating stat card that overlaps the hero's bottom edge */
.hero-stats {
    position: relative;
    z-index: 3;
    margin-top: -84px;
}

.hero-stats .stat-card {
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 3px solid var(--orange);
}

.hero-stats .stat-card:nth-child(2n) { border-bottom-color: var(--blue); }

.hero-stats .stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--ink);
    font-weight: 700;
    display: block;
    line-height: 1;
}

.hero-stats .stat-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
    display: block;
    margin-top: 8px;
}

/* -------------------------------------------------- */
/* page hero (about / contact) — shorter variant */
/* -------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 64px;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    margin-bottom: 0;
}

.breadcrumb-ledger {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
}

.breadcrumb-ledger a { color: rgba(255,255,255,0.65); }
.breadcrumb-ledger a:hover { color: var(--orange); }
.breadcrumb-ledger .sep { margin: 0 8px; color: rgba(255,255,255,0.4); }

/* -------------------------------------------------- */
/* content spacing */
/* -------------------------------------------------- */
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,0.8); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

/* -------------------------------------------------- */
/* intro / who-we-are split */
/* -------------------------------------------------- */
.framed-media {
    position: relative;
    padding: 18px;
}

.framed-media::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--line);
    z-index: 0;
}

.framed-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.framed-media .fm-tag {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 18px;
    transform: translateY(50%);
    background: var(--ink);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 18px;
    border-left: 3px solid var(--orange);
}

.dropcap {
    float: left;
    font-family: var(--font-display);
    font-size: 3.4rem;
    line-height: 0.8;
    padding: 6px 10px 0 0;
    font-weight: 700;
    color: var(--orange);
}

/* -------------------------------------------------- */
/* service cards */
/* -------------------------------------------------- */
.svc-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    padding: 38px 28px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.svc-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    font-size: 1.25rem;
    margin-bottom: 22px;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.svc-card:nth-child(odd) .svc-icon { border-color: var(--orange); color: var(--orange); }
.svc-card:nth-child(even) .svc-icon { border-color: var(--blue); color: var(--blue); }

.svc-card:hover .svc-icon { background: var(--ink); color: #fff; border-color: var(--ink); }

.svc-card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.svc-card p { margin-bottom: 14px; font-size: 0.95rem; }

.svc-more {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 600;
}

.svc-more:hover { color: var(--orange); }

/* -------------------------------------------------- */
/* projects grid */
/* -------------------------------------------------- */
.proj-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.proj-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
    opacity: 0.92;
}

.proj-card:hover img { transform: scale(1.08); opacity: 1; }

.proj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11,37,69,0.92) 0%, rgba(11,37,69,0.15) 55%, transparent 75%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 2;
}

.proj-overlay .ptag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
}

.proj-overlay h4 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0;
}

/* -------------------------------------------------- */
/* tabs (services detail on home) */
/* -------------------------------------------------- */
.de_tab .de_nav.nav-tabs {
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 4px;
}

.de_tab .de_nav.nav-tabs .nav-link {
    font-family: var(--font-mono);
    background: transparent;
    border: none;
    color: var(--grey);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    padding: 12px 4px;
    margin-right: 22px;
    border-bottom: 2px solid transparent;
}

.de_tab .de_nav.nav-tabs .nav-link.active {
    background: transparent;
    color: var(--ink);
    border-bottom-color: var(--orange);
}

.de_tab_content {
    border: none;
    padding: 26px 0 0;
    background: transparent;
    font-size: 1.02rem;
}

/* -------------------------------------------------- */
/* CTA banner */
/* -------------------------------------------------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
    text-align: center;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    max-width: 720px;
    margin: 0 auto 28px;
}

/* -------------------------------------------------- */
/* testimonials */
/* -------------------------------------------------- */
.quote-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 32px 28px;
    height: 100%;
    position: relative;
}

.quote-card .qmark {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--orange);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.quote-card p.qtext {
    color: var(--charcoal);
    font-size: 0.98rem;
}

.quote-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quote-card:nth-child(2n) .quote-avatar { background: var(--orange); }

.quote-name { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.quote-role { font-family: var(--font-mono); font-size: 0.7rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; }

/* -------------------------------------------------- */
/* decades timeline (About signature) */
/* -------------------------------------------------- */
.timeline {
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 14px;
    scrollbar-width: thin;
}

.timeline-item {
    flex: 1 1 220px;
    min-width: 220px;
    position: relative;
    padding: 0 26px 0 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    right: 26px;
    height: 1px;
    background: var(--line);
}

.timeline-item:last-child::before { display: none; }

.timeline-year {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--orange);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
    position: relative;
}

.timeline-year::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--orange);
    margin-right: 10px;
    vertical-align: middle;
}

.timeline-item:nth-child(even) .timeline-year { color: var(--blue); }
.timeline-item:nth-child(even) .timeline-year::before { background: var(--blue); }

.timeline-item h4 { font-size: 1rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.9rem; margin: 0; }

/* -------------------------------------------------- */
/* value cards (About) */
/* -------------------------------------------------- */
.value-card {
    padding: 8px 0 8px 24px;
    border-left: 2px solid var(--line);
    height: 100%;
}

.value-card .vnum {
    font-family: var(--font-mono);
    color: var(--grey);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 10px;
}

.value-card h4 { font-size: 1.08rem; margin-bottom: 10px; }
.value-card p { font-size: 0.94rem; margin: 0; }

/* -------------------------------------------------- */
/* stats counters */
/* -------------------------------------------------- */
.counter-row { text-align: center; }

.counter-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--ink);
    line-height: 1;
}

.counter-num .suffix { color: var(--orange); }

.counter-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
    margin-top: 10px;
    display: block;
}

/* -------------------------------------------------- */
/* contact page */
/* -------------------------------------------------- */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 26px 22px;
    height: 100%;
    text-align: left;
    transition: box-shadow .25s ease, border-color .25s ease;
}

.contact-info-card:hover { box-shadow: var(--shadow-card); border-color: transparent; }

.contact-info-card i {
    font-size: 1.2rem;
    color: var(--orange);
    margin-bottom: 14px;
    display: inline-block;
}

.contact-info-card h4 {
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.contact-info-card p, .contact-info-card a { font-size: 0.92rem; margin: 0; color: var(--grey); }

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    padding: 40px;
}

.contact-form-wrap .form-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border-radius: 0;
    border: 1px solid var(--line);
    padding: 12px 14px;
    background: var(--paper);
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,97,0,0.12);
    background: #fff;
}

.map-frame {
    border: 1px solid var(--line);
    padding: 14px;
    background: #fff;
    height: 100%;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    display: block;
    filter: grayscale(0.25) contrast(1.05);
}

.office-block {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 24px;
}

.office-block dt {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--grey);
}

.office-block dd { margin-bottom: 14px; font-weight: 600; color: var(--ink); }

/* -------------------------------------------------- */
/* footer */
/* -------------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.68);
    padding: 74px 0 0;
    font-size: 0.94rem;
}

.site-footer h3 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.site-footer a { color: rgba(255,255,255,0.68); }
.site-footer a:hover { color: var(--orange); }

.site-footer .footer-logo {
    max-width: 190px;
    margin-bottom: 18px;
    background: #fff;
    padding: 10px 14px;
}

.site-footer ul { margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a::before {
    content: "\2192";
    margin-right: 8px;
    color: var(--orange);
}

.site-footer address {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    line-height: 2;
}

.subfooter {
    border-top: 1px solid var(--line-dark);
    margin-top: 50px;
    background: rgba(0,0,0,0.18);
    padding: 20px 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-family: var(--font-mono);
}

.subfooter a { color: rgba(255,255,255,0.55) !important; }
.subfooter a:hover { color: var(--orange) !important; }

/* -------------------------------------------------- */
/* back to top */
/* -------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background: var(--ink);
    color: #fff;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 6px 18px rgba(11,37,69,0.35);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.back-to-top.show { display: block; opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); color: #fff; }

/* -------------------------------------------------- */
/* reveal-on-scroll — progressive enhancement only.
   Content is fully visible by default; JS opts elements
   INTO the hidden-then-reveal animation, so anyone without
   JS (or if IntersectionObserver never fires) still sees
   everything. Never gate content behind script execution. */
/* -------------------------------------------------- */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------- */
/* responsive */
/* -------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero { padding: 60px 0 120px; }
    .hero-stats { margin-top: -70px; }
    .timeline { flex-wrap: wrap; }
    .timeline-item { flex: 1 1 45%; padding-bottom: 24px; }
}

@media (max-width: 767.98px) {
    .section { padding: 60px 0; }
    .cta-banner { padding: 56px 0; }
    .hero { padding: 50px 0 100px; text-align: left; }
    .hero-stats { margin-top: -64px; }
    .hero-stats .stat-card { padding: 20px 12px; }
    .contact-form-wrap { padding: 26px; }
    .info-bar .text-md-end { margin-top: 6px; }
    .timeline-item { flex: 1 1 100%; }
    .timeline-item::before { display: none; }
}
