/* ==========================================================================
   Keval Ponkiya & Associates (KPA) — Chartered Accountants
   Stylesheet organization:
   Variables → Reset → Typography → Global → Header → Hero → Sections
   → Components → Forms → Footer → Floating actions → Responsive
   ========================================================================== */

/* ============================ VARIABLES ============================ */
:root {
    /* Brand palette — Navy & Gold */
    --navy:      #0d1b3e;
    --navy-2:    #12224f;
    --navy-3:    #1b2f63;
    --gold:      #c8a24a;
    --gold-2:    #e6c56b;
    --green:     #3f9c35;
    --green-2:   #56b84a;
    --gold-soft: #f5ecd6;

    /* Neutrals */
    --ink:       #16203a;
    --body:      #46506a;
    --muted:     #6b7591;
    --line:      #e5e8f0;
    --bg:        #ffffff;
    --surface:   #f6f8fc;
    --surface-2: #eef1f8;

    /* Type */
    --font-head: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Spacing / shape */
    --radius:    14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --section-y: 96px;

    /* Effects */
    --shadow-sm: 0 4px 14px rgba(13, 27, 62, .06);
    --shadow:    0 14px 40px rgba(13, 27, 62, .10);
    --shadow-lg: 0 26px 60px rgba(13, 27, 62, .16);
    --ring:      0 0 0 .22rem rgba(200, 162, 74, .30);
    --t:         .3s cubic-bezier(.22, .61, .36, 1);

    --container: 1200px;
}

/* ============================ RESET ============================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    overflow-x: hidden;            /* guard against horizontal scroll */
}

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

a { color: var(--navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }

ul { margin: 0; padding: 0; }

/* Consistent scroll offset for anchor targets under the sticky header */
:target, section[id], span[id] { scroll-margin-top: 96px; }

/* ============================ TYPOGRAPHY ============================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .6rem;
    letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .85rem;
    position: relative;
    padding-left: 42px;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 30px; height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
}
.eyebrow-light { color: var(--gold-2); }
.eyebrow-light::before { background: var(--gold-2); }

.section-title {
    font-size: clamp(1.7rem, 1rem + 2.4vw, 2.7rem);
    margin-bottom: 1rem;
}

.section-intro {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 620px;
}
.section-head .section-intro { margin-left: auto; margin-right: auto; }

.text-white { color: #fff !important; }
.text-light-muted { color: rgba(255, 255, 255, .72) !important; }

/* ============================ GLOBAL ============================ */
.container { max-width: var(--container); }

.section { padding: var(--section-y) 0; }

.section-head { max-width: 760px; margin: 0 auto 56px; }

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

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 999px;
    padding: .7rem 1.6rem;
    letter-spacing: .01em;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
    border: 2px solid transparent;
}
.btn:focus-visible { box-shadow: var(--ring); }
.btn-lg { padding: .9rem 2rem; font-size: 1.02rem; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: var(--navy);
    box-shadow: 0 10px 24px rgba(200, 162, 74, .35);
}
.btn-gold:hover {
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(200, 162, 74, .48);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}
.btn-navy:hover { background: var(--navy-3); color: #fff; transform: translateY(-2px); }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

/* Reveal-on-scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================ HEADER ============================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar-info li { display: flex; align-items: center; gap: 7px; }
.topbar-info li + li { margin-left: 26px; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.topbar-info i, .topbar-social i { color: var(--gold-2); }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar-social li + li { margin-left: 16px; }
.topbar-social a { font-size: 1rem; }

.main-nav {
    background: #fff;
    padding: .55rem 0;
    box-shadow: var(--shadow-sm);
    transition: padding var(--t), box-shadow var(--t);
}
.main-nav.scrolled { padding: .3rem 0; box-shadow: var(--shadow); }

/* Brand */
.navbar-brand { display: flex; align-items: center; gap: 12px; padding: 0; }
.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    flex: none;
    display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); text-transform: uppercase; letter-spacing: .01em; }
.brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green); font-weight: 700; }

/* Nav links */
.main-nav .nav-link {
    color: var(--ink);
    font-weight: 500;
    font-size: .96rem;
    padding: .5rem .95rem;
    position: relative;
}
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .95rem; right: .95rem; bottom: .3rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--navy); }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }

.nav-cta { color: var(--navy) !important; padding: .55rem 1.4rem !important; }
.nav-cta::after { display: none; }

/* Custom hamburger */
.navbar-toggler { border: none; padding: .4rem; box-shadow: none !important; }
.navbar-toggler:focus-visible { box-shadow: var(--ring) !important; }
.toggler-bar {
    display: block;
    width: 26px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}
.toggler-bar + .toggler-bar { margin-top: 6px; }

/* Mobile offcanvas drawer (right-side overlay) — interior styling scoped to
   below the lg breakpoint so it never leaks into the desktop horizontal nav. */
.offcanvas.offcanvas-end { width: min(360px, 86vw); }
.offcanvas-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.offcanvas-brand { display: inline-flex; align-items: center; gap: 10px; }
.offcanvas-brand .brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy); line-height: 1.15; }
.offcanvas-header .btn-close { --bs-btn-close-color: var(--navy); opacity: .75; }
.offcanvas-header .btn-close:hover { opacity: 1; }

@media (max-width: 991.98px) {
    .offcanvas-body { padding: 8px 12px 20px; }
    .offcanvas .navbar-nav .nav-item { border-bottom: 1px solid var(--line); }
    .offcanvas .navbar-nav .nav-item:last-child { border-bottom: none; }
    .offcanvas .nav-link { padding: .85rem 1rem; font-size: 1rem; }
    .offcanvas .nav-link::after { display: none; }
    .offcanvas .nav-cta { display: block; margin: 16px 1rem 6px; text-align: center; }
}

/* ============================ HERO ============================ */
.hero {
    position: relative;
    color: #fff;
    padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 9vw, 130px);
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 500px at 78% -10%, rgba(200, 162, 74, .22), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(27, 47, 99, .9), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0a1533 100%);
}
.hero-bg::after {                     /* subtle grid pattern */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 78%);
}

.hero-title {
    color: #fff;
    font-size: clamp(2.3rem, 1.1rem + 4.6vw, 4.1rem);
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
}
.hero-title .accent {
    background: linear-gradient(120deg, var(--gold-2), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    font-size: 1.14rem;
    color: rgba(255, 255, 255, .82);
    max-width: 560px;
    margin-bottom: 2rem;
}
.hero-lead strong { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    padding: .5rem 1rem;
    border-radius: 999px;
}
.hero-chips i { color: var(--gold-2); }

/* Hero snapshot card */
.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lg);
}
.hero-card-badge {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold-2);
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 999px;
    margin-bottom: 14px;
}
.hero-card-title { color: #fff; font-size: 1.5rem; margin-bottom: 20px; }
.hero-card-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-card-list i {
    font-size: 1.25rem;
    color: var(--gold-2);
    flex: none;
    margin-top: 2px;
}
.hero-card-list strong { display: block; color: #fff; font-weight: 600; }
.hero-card-list span { font-size: .88rem; color: rgba(255, 255, 255, .7); }
.hero-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--gold-2);
    font-weight: 600;
}
.hero-card-link:hover { color: #fff; gap: 12px; }

/* ============================ QUICK FACTS ============================ */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-row { border-radius: var(--radius); overflow: hidden; }
.fact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 24px;
}
.fact + .fact { }
.fact i {
    font-size: 1.7rem;
    color: var(--gold);
    background: #fff;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    flex: none;
}
.fact-title { display: block; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.fact-sub { display: block; font-size: .85rem; color: var(--muted); }

/* ============================ ABOUT ============================ */
.checklist { margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--body); }
.checklist i { color: var(--gold); font-size: 1.15rem; margin-top: 3px; flex: none; }

.proprietor-card {
    position: relative;
    background:
        radial-gradient(700px 300px at 100% 0%, rgba(200, 162, 74, .12), transparent 60%),
        linear-gradient(160deg, var(--navy), var(--navy-2));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(200, 162, 74, .25);
    overflow: hidden;
}
.proprietor-media { position: relative; }
.proprietor-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 52%, rgba(13, 27, 62, .55) 82%, var(--navy) 100%);
    pointer-events: none;
}
.proprietor-body { padding: 24px 36px 38px; }
.proprietor-avatar {
    width: 84px; height: 84px;
    border-radius: 20px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.9rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(200, 162, 74, .4);
}
.proprietor-photo {
    display: block;
    width: 100%;
    height: clamp(300px, 30vw, 380px);
    object-fit: cover;
    object-position: center 45%;
}
.proprietor-name { color: #fff; font-size: 1.55rem; margin-bottom: 2px; }
.proprietor-role { color: var(--gold-2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; margin-bottom: 18px; }
.proprietor-quals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.proprietor-quals li {
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: .32rem .8rem;
    border-radius: 999px;
}
.proprietor-mno { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: .95rem; margin-bottom: 22px; }
.proprietor-mno i { color: var(--gold-2); }
.proprietor-focus { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; }
.focus-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.proprietor-focus p { margin: 6px 0 0; color: #fff; font-weight: 500; }

/* ============================ STATS ============================ */
.stats {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    position: relative;
    padding: 66px 0;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 50% -30%, rgba(200, 162, 74, .18), transparent 65%);
}
.stat { position: relative; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2.4rem, 1.4rem + 3vw, 3.4rem);
    line-height: 1;
    color: var(--gold-2);
    margin-bottom: 8px;
}
.stat-label { color: rgba(255, 255, 255, .82); font-size: .95rem; font-weight: 500; }

/* ============================ SPECIALIZATION / SERVICE CARDS ============================ */
.specialization { background: var(--bg); }

.service-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    display: grid; place-items: center;
    width: 58px; height: 58px;
    border-radius: 15px;
    background: var(--gold-soft);
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 18px;
    transition: background var(--t), color var(--t);
}
.service-card:hover .service-icon { background: var(--navy); color: var(--gold-2); }
.service-title { font-size: 1.16rem; margin-bottom: .5rem; }
.service-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ============================ SERVICES TABS ============================ */
.services { background: var(--surface); }

/* Sub-headings that separate the merged service groups */
.services-subhead {
    text-align: center;
    font-size: clamp(1.35rem, 1rem + 1.3vw, 1.7rem);
    margin: 60px 0 34px;
    padding-bottom: 14px;
    position: relative;
}
.services-subhead::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 54px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

.service-tabs {
    gap: 10px;
    border: none;
    margin-bottom: 42px;
    flex-wrap: wrap;
}
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .93rem;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--t);
}
.tab-btn i { color: var(--gold); transition: color var(--t); }
.tab-btn:hover { border-color: var(--gold); color: var(--navy); }
.tab-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    box-shadow: var(--shadow);
}
.tab-btn.active i { color: var(--gold-2); }

.practice-item {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform var(--t), box-shadow var(--t);
}
.practice-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.practice-icon {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-3), var(--navy));
    color: var(--gold-2);
    font-size: 1.35rem;
    margin-bottom: 16px;
}
.practice-item h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.practice-item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ============================ MISSION / VISION / PHILOSOPHY ============================ */
.mvp { background: var(--bg); }
.mvp-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    text-align: center;
    transition: transform var(--t), box-shadow var(--t);
    position: relative;
}
.mvp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mvp-icon {
    display: grid; place-items: center;
    width: 68px; height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--navy);
    font-size: 1.7rem;
    border: 2px solid rgba(200, 162, 74, .35);
}
.mvp-card h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.mvp-card p { color: var(--muted); margin: 0; }

.why-wrap { margin-top: 72px; }
.why-heading { text-align: center; font-size: 1.6rem; margin-bottom: 36px; }
.why-item {
    height: 100%;
    text-align: center;
    padding: 24px 18px;
    border-radius: var(--radius);
    transition: background var(--t);
}
.why-item:hover { background: var(--surface); }
.why-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: inline-block;
}
.why-item h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.why-item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ============================ INDUSTRIES ============================ */
.industries { background: var(--surface); }
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 940px;
    margin: 0 auto;
}
.industry-grid li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .8rem 1.4rem;
    font-weight: 600;
    color: var(--ink);
    font-size: .95rem;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t), color var(--t);
}
.industry-grid li i { color: var(--gold); font-size: 1.15rem; }
.industry-grid li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--gold);
    color: var(--navy);
}

/* ============================ TESTIMONIALS ============================ */
.testimonials {
    background: linear-gradient(160deg, var(--navy), var(--navy-2) 70%, #0a1533);
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: "\201C";
    position: absolute;
    top: 20px; left: 4%;
    font-family: var(--font-head);
    font-size: 16rem;
    line-height: 1;
    color: rgba(200, 162, 74, .1);
    pointer-events: none;
}
#testimonialCarousel { max-width: 820px; margin: 0 auto; padding: 0 8px 60px; }
.testimonial-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    padding: 44px 46px;
    margin: 0;
    text-align: center;
}
.testimonial-stars { color: var(--gold-2); font-size: 1rem; margin-bottom: 18px; letter-spacing: 3px; }
.testimonial-card p {
    font-family: var(--font-head);
    font-size: 1.3rem;
    line-height: 1.55;
    color: #fff;
    margin-bottom: 26px;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ta-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: var(--navy);
    font-weight: 700;
    flex: none;
}
.testimonial-author span:last-child { text-align: left; }
.testimonial-author strong { display: block; color: #fff; }
.testimonial-author small { color: rgba(255, 255, 255, .6); }
.testimonial-author em { font-style: normal; opacity: .8; }

.testimonials .carousel-indicators { bottom: 12px; margin-bottom: 0; }
.testimonials .carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    border: none;
}
.testimonials .carousel-indicators .active { background: var(--gold-2); }
.testimonials .carousel-control-prev,
.testimonials .carousel-control-next { width: 5%; opacity: .65; }
.testimonials .carousel-control-prev:hover,
.testimonials .carousel-control-next:hover { opacity: 1; }

/* ============================ CTA BAND ============================ */
.cta-band {
    background:
        radial-gradient(600px 300px at 90% 50%, rgba(200, 162, 74, .18), transparent 60%),
        linear-gradient(120deg, var(--navy-3), var(--navy));
    color: #fff;
    padding: 64px 0;
}
.cta-title { color: #fff; font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); margin-bottom: .5rem; }
.cta-sub { color: rgba(255, 255, 255, .8); margin: 0; max-width: 640px; }

/* ============================ FORMS / CONTACT ============================ */
.contact { background: var(--bg); }

.contact-info {
    background: linear-gradient(160deg, var(--navy), var(--navy-2));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    height: 100%;
    box-shadow: var(--shadow);
}
.contact-info-title { color: #fff; font-size: 1.4rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .01em; }
.contact-info-sub { color: var(--gold-2); font-size: .9rem; letter-spacing: .05em; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-list li:first-child { border-top: none; padding-top: 0; }
.contact-list i { color: var(--gold-2); font-size: 1.2rem; margin-top: 3px; flex: none; }
.contact-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.contact-list span { color: rgba(255, 255, 255, .78); font-size: .93rem; }
.contact-list a { color: rgba(255, 255, 255, .9); }
.contact-list a:hover { color: var(--gold-2); }
.ph-note { font-style: normal; font-size: .72rem; color: var(--gold-2); font-weight: 500; }

.map-embed {
    height: 100%;
    min-height: 340px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
}

/* Contact detail CTAs */
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-outline-navy {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}
.btn-outline-navy:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

/* ============================ FOOTER ============================ */
.site-footer {
    background: #fff;
    color: var(--body);
    padding: 70px 0 26px;
    border-top: 1px solid var(--line);
}
.footer-top { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-name { color: var(--navy); }
.footer-brand .brand-sub { color: var(--green); }
.footer-about { font-size: .92rem; color: var(--muted); margin-bottom: 20px; max-width: 360px; }
.footer-social li + li { margin-left: 10px; }
.footer-social a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--navy);
    font-size: 1.05rem;
    transition: background var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }

.footer-heading {
    color: var(--ink);
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 18px;
}
.footer-links li, .footer-contact li { margin-bottom: 11px; }
.footer-links a { color: var(--body); font-size: .93rem; }
.footer-links a:hover { color: var(--navy); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: .9rem; color: var(--body); }
.footer-contact i { color: var(--gold); margin-top: 3px; flex: none; }
.footer-contact a { color: var(--body); }
.footer-contact a:hover { color: var(--navy); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding-top: 24px;
    font-size: .85rem;
    color: var(--muted);
}
.footer-bottom a { color: var(--navy); font-weight: 600; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================ FLOATING ACTIONS ============================ */
.float-whatsapp {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 1040;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    transition: transform var(--t), box-shadow var(--t);
}
.float-whatsapp:hover { color: #fff; transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, .6); }

.back-to-top {
    position: fixed;
    right: 24px; bottom: 88px;
    z-index: 1040;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: var(--gold-2);
    font-size: 1.2rem;
    display: grid; place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    box-shadow: var(--shadow);
    transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy-3); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 991.98px) {
    :root { --section-y: 72px; }

    .hero-card { margin-top: 8px; }
    .proprietor-body { padding: 22px 26px 32px; }
    .contact-info { margin-bottom: 8px; }
}

@media (max-width: 767.98px) {
    /* Hero — tighter, less dominant snapshot card */
    .hero { padding: 54px 0 60px; }
    .hero .row.g-5 { --bs-gutter-y: 1.25rem; }
    .hero-lead { margin-bottom: 1.5rem; }
    .hero-card { padding: 26px 22px; margin-top: 4px; }
    .hero-card-title { font-size: 1.3rem; margin-bottom: 14px; }
    .hero-card-list li { padding: 12px 0; }

    /* Facts — cleaner 2x2 with separators, no ugly wraps */
    .fact { padding: 18px 14px; gap: 12px; }
    .fact i { width: 42px; height: 42px; font-size: 1.25rem; border-radius: 12px; }
    .fact-title { font-size: .95rem; line-height: 1.25; }
    .fact-sub { font-size: .78rem; }
    .facts-row .fact { border-bottom: 1px solid var(--line); }
    .facts-row .fact:last-child { border-bottom: none; }

    .service-card, .practice-item { padding: 26px 22px; }
    .contact-info { padding: 32px 26px; }
    .map-embed, .map-embed iframe { min-height: 300px; }
    .testimonial-card { padding: 34px 26px; }
    .testimonial-card p { font-size: 1.12rem; }
    .cta-band .text-lg-end { text-align: left !important; }
    .footer-bottom { flex-direction: column; }
    .back-to-top { right: 18px; bottom: 82px; }
    .float-whatsapp { right: 18px; bottom: 18px; }
}

@media (max-width: 575.98px) {
    .hero-actions .btn { width: 100%; }
    .section-head { margin-bottom: 40px; }
    .brand-logo { height: 38px; }
    .industry-grid li { padding: .7rem 1.1rem; font-size: .9rem; }
}

@media (max-width: 400px) {
    .brand-name { font-size: .95rem; }
    .brand-sub { letter-spacing: .1em; font-size: .6rem; }
    .brand-logo { height: 34px; }
    .navbar-brand { gap: 9px; }
}

/* Large screens */
@media (min-width: 1400px) {
    .container { max-width: 1260px; }
}
