/* ==========================================================================
   Dr. Jagadeesh Babu — Joint Replacement Expert
   Built on Bootstrap 5.3. Brand: deep navy + clinical teal.
   ========================================================================== */

:root {
    --brand-navy: #0a2f5c;
    --brand-navy-2: #0f3f7a;
    --brand-blue: #1656ad;
    --brand-teal: #0f9d83;
    --brand-teal-2: #14b897;
    --brand-mint: #e9f6f2;
    --brand-sky: #f3f7fc;
    --ink: #142a43;
    --muted: #5b6b7f;
    --line: #dde6f0;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px rgba(10, 47, 92, .06);
    --shadow: 0 12px 40px rgba(10, 47, 92, .10);
    --shadow-lg: 0 24px 60px rgba(10, 47, 92, .18);

    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-color: var(--ink);
    --bs-body-bg: #fff;
    --bs-link-color: var(--brand-blue);
    --bs-link-color-rgb: 22, 86, 173;
    --bs-link-hover-color: var(--brand-navy);
    --bs-primary: var(--brand-blue);
    --bs-primary-rgb: 22, 86, 173;
    --bs-border-color: var(--line);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--brand-navy); font-weight: 700; letter-spacing: -.01em; }
img { max-width: 100%; height: auto; }
::selection { background: var(--brand-teal); color: #fff; }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { font-weight: 600; border-radius: 999px; padding: .6rem 1.35rem; }
.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }
.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-teal);
    --bs-btn-border-color: var(--brand-teal);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b856f;
    --bs-btn-hover-border-color: #0b856f;
    --bs-btn-active-bg: #097563;
    --bs-btn-active-border-color: #097563;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: var(--brand-teal);
    --bs-btn-disabled-border-color: var(--brand-teal);
    --bs-btn-focus-shadow-rgb: 15, 157, 131;
    box-shadow: 0 8px 20px rgba(15, 157, 131, .28);
}
.btn-outline-brand {
    --bs-btn-color: var(--brand-navy);
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-navy);
    --bs-btn-hover-border-color: var(--brand-navy);
    --bs-btn-active-bg: var(--brand-navy);
    --bs-btn-active-color: #fff;
}
.btn-whatsapp {
    --bs-btn-color: #fff;
    --bs-btn-bg: #25d366;
    --bs-btn-border-color: #25d366;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1eb257;
    --bs-btn-hover-border-color: #1eb257;
    --bs-btn-active-bg: #1a9e4d;
    --bs-btn-active-color: #fff;
}

/* --------------------------------------------------------------------------
   Top bar & header
   -------------------------------------------------------------------------- */
.topbar { background: var(--brand-navy); color: rgba(255,255,255,.85); font-size: .85rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--brand-teal-2); }
.topbar-note i { color: var(--brand-teal-2); }
.topbar-divider { width: 1px; height: 16px; background: rgba(255,255,255,.25); }

.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10,47,92,.08); }
.site-header .navbar { padding: .85rem 0; }
.navbar-brand { text-decoration: none; }
.brand-mark {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 46px; height: 46px; border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 60%, var(--brand-teal) 100%);
    color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em;
    box-shadow: 0 6px 16px rgba(10,47,92,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--brand-navy); font-size: 1.12rem; }
.brand-tag { font-size: .72rem; color: var(--brand-teal); font-weight: 600; letter-spacing: .02em; }
.navbar .nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .85rem !important; border-radius: 999px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand-teal); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--brand-navy); padding: 0 .25rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(15,157,131,.25); }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: 1rem 0 .5rem; }
    .navbar .nav-link { padding: .6rem .25rem !important; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 400px) {
    .brand-tag { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 5rem 0 9rem;
    background:
        radial-gradient(circle at 85% 20%, rgba(20,184,151,.25), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(22,86,173,.6), transparent 50%),
        linear-gradient(135deg, #082547 0%, var(--brand-navy) 45%, var(--brand-navy-2) 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 26px 26px;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    padding: .4rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.hero-eyebrow i { color: var(--brand-teal-2); }
.hero-title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.12; font-weight: 800; margin: 1.25rem 0 1.25rem; }
.text-gradient { background: linear-gradient(90deg, #5ff0cf, #a9e8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 620px; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.75rem; }
.hero .btn-outline-light { --bs-btn-border-color: rgba(255,255,255,.45); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem; }
.hero-points i { color: var(--brand-teal-2); margin-right: .35rem; }

.hero-photo { position: relative; max-width: 400px; margin: 0 auto; }
.hero-photo::before {
    content: ""; position: absolute; inset: -18px -18px 18px 18px; border-radius: 32px;
    border: 2px solid rgba(20,184,151,.6);
}
.hero-photo-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: #cfd6dd; }
.hero-photo-frame img { display: block; width: 100%; aspect-ratio: 356 / 486; object-fit: cover; }
.hero-chip {
    position: absolute; display: flex; align-items: center; gap: .75rem;
    background: #fff; color: var(--ink); border-radius: 16px; padding: .7rem 1rem;
    box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.hero-chip strong { display: block; color: var(--brand-navy); font-size: .98rem; line-height: 1.2; }
.hero-chip small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.hero-chip-top { top: 12%; left: -14%; }
.hero-chip-bottom { bottom: 10%; right: -10%; animation-delay: -3s; }
.chip-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff4e0; color: #e59b14; font-size: 1.15rem; }
.chip-icon-teal { background: var(--brand-mint); color: var(--brand-teal); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
main { overflow-x: clip; } /* decorative offsets must never cause sideways scrolling */
@media (max-width: 575.98px) {
    .hero { padding: 3.5rem 0 8rem; }
    .hero-photo { max-width: 320px; }
    .hero-photo::before { inset: -10px -10px 10px 10px; }
    .hero-chip-top { left: -4%; top: 6%; }
    .hero-chip-bottom { right: -4%; }
    .hero-actions .btn { flex: 1 1 100%; }
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.hero-wave path { fill: #fff; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { position: relative; margin-top: -5rem; z-index: 2; }
.stats-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.5rem; border: 1px solid var(--line); }
.stat-value { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--brand-navy); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: .35rem; }
@media (min-width: 992px) {
    .stats-card .col-lg-3 + .col-lg-3 { border-left: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 6rem 0; }
.section-tint { background: linear-gradient(180deg, var(--brand-sky), #fff); }
.section-navy { background: linear-gradient(135deg, #082547, var(--brand-navy) 55%, #0d4280); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand-teal); margin-bottom: .75rem;
}
.section-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6rem; }
.eyebrow-light { color: var(--brand-teal-2); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 767.98px) { .section { padding: 4.5rem 0; } }

/* About */
.about-visual { position: relative; max-width: 420px; margin: 0 auto; }
.about-visual img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.about-visual::after {
    content: ""; position: absolute; z-index: -1; width: 70%; height: 70%; right: -22px; bottom: -22px;
    border-radius: 26px; background: repeating-linear-gradient(45deg, var(--brand-mint) 0 10px, transparent 10px 20px);
}
.about-badge {
    position: absolute; left: -16px; bottom: 28px; display: flex; gap: .75rem; align-items: center;
    background: var(--brand-navy); color: #fff; padding: .9rem 1.2rem; border-radius: 16px; box-shadow: var(--shadow); font-size: .88rem; line-height: 1.3;
}
.about-badge i { font-size: 1.5rem; color: var(--brand-teal-2); }
@media (max-width: 575.98px) {
    .about-visual { max-width: 320px; }
    .about-visual::after { right: -10px; bottom: -10px; }
    .about-badge { left: 10px; }
}
.about-quals { color: var(--brand-teal); font-weight: 700; margin-bottom: 1.25rem; }
.lead-text { font-size: 1.1rem; }
.mini-feature {
    display: flex; gap: .75rem; align-items: center; height: 100%;
    background: var(--brand-sky); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; font-weight: 600; font-size: .93rem;
}
.mini-feature i { font-size: 1.3rem; color: var(--brand-teal); }

/* Expertise */
.service-card {
    position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.75rem 1.5rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card.is-featured { border-top: 4px solid var(--brand-teal); }
.service-icon {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 1.5rem;
    background: linear-gradient(135deg, var(--brand-mint), #dcecff); color: var(--brand-navy); margin-bottom: 1.1rem;
}
.service-tag {
    position: absolute; top: 1.5rem; right: 1.25rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--brand-teal); background: var(--brand-mint); padding: .25rem .6rem; border-radius: 999px;
}
.service-card h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .93rem; margin: 0; }

.conditions-panel { margin-top: 3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.condition-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .65rem 1.5rem; }
.condition-list li { display: flex; gap: .55rem; align-items: baseline; font-weight: 500; font-size: .95rem; }
.condition-list i { color: var(--brand-teal); font-size: .9rem; }

/* Qualifications timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--brand-teal), var(--brand-blue)); opacity: .35; }
.timeline-item { position: relative; display: flex; gap: 1.25rem; padding-bottom: 1.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: relative; z-index: 1; flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: #fff; border: 2px solid var(--brand-teal); color: var(--brand-teal); font-size: 1.15rem;
}
.timeline-body { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.35rem; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.timeline-body:hover { border-color: var(--brand-teal); }
.timeline-degree { display: inline-block; font-weight: 800; color: #fff; background: var(--brand-navy); font-size: .8rem; padding: .2rem .65rem; border-radius: 6px; margin-bottom: .45rem; }
.timeline-body h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.timeline-body p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Academics */
.academic-card {
    height: 100%; padding: 1.75rem 1.5rem; border-radius: var(--radius);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .25s, transform .25s;
}
.academic-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.academic-card i { font-size: 1.8rem; color: var(--brand-teal-2); }
.academic-card h3 { color: #fff; font-size: 1.08rem; margin: 1rem 0 .5rem; }
.academic-card p { color: rgba(255,255,255,.72); font-size: .93rem; margin: 0; }

/* Journey */
.journey-step { position: relative; height: 100%; padding: 2rem 1.5rem 1.75rem; border-radius: var(--radius); background: var(--brand-sky); border: 1px solid var(--line); }
.journey-num {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 1rem;
    background: var(--brand-teal); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 8px 18px rgba(15,157,131,.3);
}
.journey-step h3 { font-size: 1.12rem; }
.journey-step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (min-width: 992px) {
    .journey .col-lg-3:not(:last-child) .journey-step::after {
        content: "\F138"; font-family: "bootstrap-icons"; position: absolute; right: -1.15rem; top: 2.6rem; z-index: 1;
        display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand-teal); box-shadow: var(--shadow-sm);
    }
}

/* CTA band */
.cta-band { padding: 0 0 1rem; }
.cta-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 2.5rem 3rem; border-radius: 24px; color: #fff;
    background: linear-gradient(120deg, var(--brand-teal) 0%, #0c8a8f 50%, var(--brand-blue) 100%);
    box-shadow: 0 18px 40px rgba(15,157,131,.25);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: .25rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.88); }
.cta-inner .btn-light { color: var(--brand-navy); }
@media (max-width: 575.98px) { .cta-inner { padding: 2rem 1.5rem; } .cta-inner .btn { flex: 1; } }

/* FAQ */
.faq-accordion { --bs-accordion-border-color: var(--line); --bs-accordion-active-bg: var(--brand-mint); --bs-accordion-active-color: var(--brand-navy); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(15,157,131,.2); }
.faq-accordion .accordion-item { border-radius: var(--radius-sm) !important; overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--line); }
.faq-accordion .accordion-button { font-weight: 700; color: var(--brand-navy); padding: 1.1rem 1.35rem; }
.faq-accordion .accordion-body { color: var(--muted); padding: 1rem 1.35rem 1.35rem; }

/* Contact */
.contact-card {
    background: linear-gradient(160deg, var(--brand-navy), #0d3f7c); color: #fff; border-radius: var(--radius); padding: 2.25rem 2rem; box-shadow: var(--shadow);
}
.contact-card h3 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.35rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--brand-teal-2); font-size: 1.1rem; }
.contact-list small { display: block; color: rgba(255,255,255,.6); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--brand-teal-2); }
.contact-sub-link { display: block; width: fit-content; margin-top: .35rem; font-size: .88rem; color: var(--brand-teal-2) !important; }
.contact-social { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.contact-social small { display: block; color: rgba(255,255,255,.6); margin-bottom: .75rem; }

.form-card { background: #fff; border-radius: var(--radius); padding: 2.25rem 2rem; box-shadow: var(--shadow); border: 1px solid var(--line); scroll-margin-top: 100px; }
.form-card .form-label { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.form-card .form-control, .form-card .form-select { border-radius: 10px; padding: .7rem .95rem; border-color: #cfdbe8; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: var(--brand-teal); box-shadow: 0 0 0 .2rem rgba(15,157,131,.15); }
.form-check-input:checked { background-color: var(--brand-teal); border-color: var(--brand-teal); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 575.98px) { .form-card, .contact-card { padding: 1.75rem 1.25rem; } }

/* Social icons */
.social-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-row a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--brand-teal); transform: translateY(-2px); }

/* Map */
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #061d39; color: rgba(255,255,255,.75); padding: 4.5rem 0 1.5rem; font-size: .94rem; }
.footer-brand { color: #fff; text-decoration: none; }
.footer-brand:hover { color: #fff; }
.footer-text { margin: 1rem 0 1.5rem; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--brand-teal-2); }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.footer-contact i { color: var(--brand-teal-2); margin-top: .15rem; }
/* Bottom bar: copyright + legal (left), developer credit (right) */
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem;
    margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
    font-size: .85rem; color: rgba(255,255,255,.6); letter-spacing: .01em;
}
.footer-bottom a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--brand-teal-2); }
.footer-sep { margin: 0 .65rem; opacity: .35; }
.footer-credit a { color: #fff; font-weight: 700; }
@media (max-width: 767.98px) {
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: .6rem; }
    .footer-sep { display: none; }
    .footer-copy a { display: block; width: fit-content; margin: .35rem auto 0; }
}

/* --------------------------------------------------------------------------
   Floating & mobile actions
   -------------------------------------------------------------------------- */
.floating-actions { position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 1030; display: flex; flex-direction: column; gap: .65rem; }
.fab {
    display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 0;
    font-size: 1.5rem; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, opacity .3s, visibility .3s;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp { background: #25d366; }
.fab-whatsapp::after { content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
.fab-top { background: var(--brand-navy); font-size: 1.15rem; opacity: 0; visibility: hidden; }
.fab-top.is-visible { opacity: 1; visibility: visible; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

.mobile-actions {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; background: #fff;
    box-shadow: 0 -6px 20px rgba(10,47,92,.12); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-actions a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem 0; color: var(--brand-navy); text-decoration: none; font-size: .75rem; font-weight: 700; }
.mobile-actions a i { font-size: 1.25rem; }
.mobile-actions a .bi-whatsapp { color: #25d366; }
.mobile-actions a.is-primary { background: var(--brand-teal); color: #fff; }
@media (max-width: 991.98px) {
    body { padding-bottom: 64px; }
    .floating-actions { display: none; }
}

/* --------------------------------------------------------------------------
   Simple content pages (privacy, 404)
   -------------------------------------------------------------------------- */
.page-hero { background: linear-gradient(135deg, #082547, var(--brand-navy) 60%, var(--brand-navy-2)); color: #fff; padding: 4rem 0 3.5rem; }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,.75); margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Reveal animation (respects reduced motion)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-chip, .fab-whatsapp::after { animation: none; }
}
