/* ==========================================================================
   Dr. Shahid Akhtar - 2026 redesign (v2, premium)
   Bootstrap 5.3 + custom layer
   Pine #0e3b2e / deep #072419 / clinic green #177a37 / leaf #4cc26b /
   mist #eef4f0 / champagne #c8a96b (fine detail only) / ink #14221c
   Type: Newsreader (display) + Public Sans (body)
   ========================================================================== */

:root {
    --pine: #0e3b2e;
    --pine-deep: #072419;
    --pine-soft: #14513f;
    --green: #177a37;
    --leaf: #4cc26b;
    --mist: #eef4f0;
    --paper: #fbfcfb;
    --gold: #c8a96b;
    --ink: #14221c;
    --muted: #4d5f56;
    --line: #d6e2da;

    --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
    --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-link-color: var(--green);
    --bs-link-hover-color: var(--pine);
    --bs-border-color: var(--line);

    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(7, 36, 25, .06), 0 6px 18px -8px rgba(7, 36, 25, .14);
    --shadow: 0 2px 4px rgba(7, 36, 25, .05), 0 24px 48px -20px rgba(7, 36, 25, .28);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink);
    background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4, h5 {
    font-family: var(--font-display); font-weight: 500; color: var(--pine);
    letter-spacing: -0.015em; line-height: 1.12; font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.85rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
p { max-width: 68ch; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.container { --bs-gutter-x: 3rem; }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--pine); color: #fff;
    padding: .75rem 1.25rem; border-radius: 10px; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    font-weight: 600; border-radius: 999px; padding: .8rem 1.7rem; display: inline-flex; align-items: center; gap: .6rem;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-primary {
    --bs-btn-bg: var(--green); --bs-btn-border-color: var(--green); --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--pine); --bs-btn-hover-border-color: var(--pine); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--pine-deep); --bs-btn-active-border-color: var(--pine-deep); --bs-btn-active-color: #fff;
    --bs-btn-focus-shadow-rgb: 23, 122, 55;
    background: var(--green); border: 1px solid var(--green); color: #fff;
    box-shadow: 0 10px 24px -10px rgba(23, 122, 55, .7);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--pine); border-color: var(--pine); color: #fff; transform: translateY(-2px); }
.btn-outline-pine { background: transparent; border: 1.5px solid var(--pine); color: var(--pine); }
.btn-outline-pine:hover, .btn-outline-pine:focus-visible { background: var(--pine); border-color: var(--pine); color: #fff; }
.btn-ghost {
    background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .5); color: #fff;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; border-color: #fff; color: var(--pine); }
.btn-light-on-dark { background: #fff; border: 1px solid #fff; color: var(--pine); }
.btn-light-on-dark:hover, .btn-light-on-dark:focus-visible { background: var(--mist); border-color: var(--mist); color: var(--pine-deep); }

/* ---------- Top bar ---------- */
.topbar { background: var(--pine-deep); color: #c3d6cb; font-size: .86rem; padding: .5rem 0; }
.topbar a { color: #c3d6cb; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar i { margin-right: .55rem; color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(214, 226, 218, .8); transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -16px rgba(7, 36, 25, .45); background: rgba(255, 255, 255, .96); }
.site-header .navbar { padding: .7rem 0; }
.navbar-brand { padding: 0; margin-right: 2rem; }
.navbar-brand img { width: 230px; height: auto; display: block; }
.navbar-toggler { border: 1px solid var(--line); border-radius: 14px; padding: .3rem .65rem; font-size: 1.6rem; line-height: 1; color: var(--pine); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(23, 122, 55, .35); }
.navbar .nav-link { font-weight: 500; color: var(--ink); padding: .55rem 1.05rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.navbar .nav-link:hover { color: var(--pine); background: var(--mist); }
.navbar .nav-link.active { color: var(--pine); font-weight: 600; background: var(--mist); }
@media (max-width: 991.98px) {
    .navbar-brand img { width: 190px; }
    .navbar-collapse { padding: 1rem 0 1.25rem; }
    .navbar .nav-link { padding: .8rem 1rem; }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-tint { background: var(--mist); }
.section-dots { background-image: radial-gradient(rgba(14, 59, 46, .09) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.rule-gold { display: block; width: 56px; height: 3px; background: var(--gold); border-radius: 3px; margin: 0 0 1.35rem; }
.lead-serif { font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--green); line-height: 1.35; }

/* ---------- HERO ---------- */
.hero {
    position: relative; overflow: hidden; color: #e4efe8;
    background:
        radial-gradient(900px 600px at 85% 15%, rgba(76, 194, 107, .22), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(200, 169, 107, .12), transparent 60%),
        linear-gradient(135deg, #0a3024 0%, var(--pine) 45%, var(--pine-deep) 100%);
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(7rem, 11vw, 9.5rem);
}
.hero::before {
    content: ""; position: absolute; inset: 0; background: url("../img/hero-bg.webp") center right / cover no-repeat;
    opacity: .2; mix-blend-mode: luminosity;
    -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%); mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
}
.hero::after {
    content: ""; position: absolute; right: -180px; top: -200px; width: 640px; height: 640px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .02);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
    display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1.05rem .45rem .5rem; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; font-weight: 500; color: #fff;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 1.75rem;
}
.hero-tag i { width: 28px; height: 28px; border-radius: 50%; background: var(--leaf); color: var(--pine-deep); display: grid; place-items: center; font-size: .9rem; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: 1.6rem; }
.hero-lead { font-size: 1.3rem; line-height: 1.55; color: #c3d6cb; max-width: 34rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 42rem; }
.hero-facts div { display: flex; flex-direction: column; line-height: 1.3; font-size: .92rem; color: #b3c9bc; }
.hero-facts strong { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: #fff; line-height: 1.1; }

.hero-visual { position: relative; max-width: 460px; margin-left: auto; padding: 1.5rem 0 2.5rem 2rem; }
.hero-visual::before {
    content: ""; position: absolute; inset: 0 1.5rem 1.5rem 0; border-radius: 999px 999px 32px 32px;
    border: 1.5px solid rgba(200, 169, 107, .55);
}
.hero-visual::after {
    content: ""; position: absolute; left: -10px; top: 46%; width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 194, 107, .35), transparent 70%); filter: blur(6px);
}
.hero-visual .arch {
    position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%;
    border-radius: 999px 999px 28px 28px; box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .65);
}
.glass {
    position: absolute; z-index: 2; background: rgba(255, 255, 255, .92); color: var(--pine); border-radius: 18px;
    padding: .95rem 1.15rem; box-shadow: var(--shadow); display: flex; gap: .85rem; align-items: center;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .93rem; line-height: 1.35; font-weight: 500;
}
.glass .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--green); font-size: 1.3rem; }
.glass strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; line-height: 1; color: var(--pine); }
.glass-a { left: -4px; bottom: 0; max-width: 260px; }
.glass-b { right: -24px; top: auto; bottom: 16%; max-width: 210px; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.hero-wave path { fill: var(--paper); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero .rise { animation: rise .9s var(--ease) both; }
.hero .rise:nth-child(2) { animation-delay: .1s; } .hero .rise:nth-child(3) { animation-delay: .2s; }
.hero .rise:nth-child(4) { animation-delay: .3s; } .hero .rise:nth-child(5) { animation-delay: .4s; }
.hero-visual { animation: rise 1.1s var(--ease) .25s both; }
.glass-b { animation: float 7s ease-in-out 1.5s infinite; }

/* ---------- Credential cards (overlap hero) ---------- */
.creds { position: relative; z-index: 3; margin-top: clamp(-6rem, -8vw, -4.5rem); }
.cred-card {
    height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem;
    display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow); font-weight: 500; line-height: 1.4; color: var(--pine);
    transition: transform .35s var(--ease);
}
.cred-card:hover { transform: translateY(-4px); }
.cred-card .ico {
    flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.55rem; color: #fff;
    background: linear-gradient(145deg, var(--green), var(--pine));
}

/* ---------- Approach ---------- */
.approach-card {
    position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem 2rem 2rem;
    overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.approach-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--leaf)); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.approach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.approach-card:hover::before { transform: scaleX(1); }
.approach-card .ico {
    width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 1.5rem;
    color: var(--green); background: var(--mist);
}
.approach-card h3 { margin-bottom: .6rem; }
.approach-card p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.collage { position: relative; max-width: 480px; margin: 0 auto; padding: 0 0 3.5rem 0; }
@media (min-width: 992px) { .collage { position: sticky; top: 110px; } }
.collage .main {
    display: block; width: 88%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%;
    border-radius: 28px 28px 28px 140px; box-shadow: var(--shadow);
}
.collage .second {
    position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px;
    border: 7px solid var(--mist); box-shadow: var(--shadow);
}
.collage .years {
    position: absolute; left: -14px; top: 2rem; background: var(--pine); color: #fff; border-radius: 20px; padding: 1rem 1.3rem; box-shadow: var(--shadow);
    border: 1px solid rgba(200, 169, 107, .5); line-height: 1.25; font-size: .92rem; max-width: 170px;
}
.collage .years strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; color: #fff; }
.prose p { margin-bottom: 1.2rem; }
.prose strong { color: var(--pine); font-weight: 600; }
.prose .first { font-size: 1.2rem; line-height: 1.65; color: var(--ink); }

.glance-grid { margin-top: clamp(3rem, 6vw, 4.5rem); }
.glance-item {
    height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.glance-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.glance-item .yr { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 500; color: var(--green); display: block; margin-bottom: .6rem; }
.glance-item .yr::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-top: .65rem; }
.glance-item p { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--ink); }

/* ---------- Dark band: advantages ---------- */
.band-dark {
    color: #e4efe8; overflow: hidden;
    background: radial-gradient(800px 500px at 100% 0%, rgba(76, 194, 107, .18), transparent 60%), linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
}
.band-dark::after {
    content: ""; position: absolute; left: -200px; bottom: -240px; width: 560px; height: 560px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025); pointer-events: none;
}
.band-dark h2 { color: #fff; }
.adv-card {
    height: 100%; border-radius: var(--radius); padding: 1.6rem 1.6rem 1.5rem; background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color .3s, transform .35s var(--ease);
}
.adv-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.adv-card i { font-size: 1.7rem; color: var(--leaf); display: block; margin-bottom: .9rem; }
.adv-card p { margin: 0; font-size: 1.1rem; line-height: 1.5; color: #fff; }

/* ---------- Services: bento ---------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.25rem; height: clamp(440px, 46vw, 560px); }
.bento .tile:first-child { grid-row: span 2; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--pine); color: #fff; min-height: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 36, 25, 0) 35%, rgba(7, 36, 25, .9) 100%); }
.tile h3 { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.4rem; z-index: 1; color: #fff; margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.tile h3::before { content: ""; display: block; width: 32px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: .75rem; }
@media (hover: hover) { .tile:hover img { transform: scale(1.06); } }
@media (max-width: 767.98px) {
    .bento { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
    .bento .tile, .bento .tile:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
}
.conditions-intro { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--pine); max-width: 44rem; }

/* Conditions cards (services page) */
.cond-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.cond {
    display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.15rem 1.25rem; line-height: 1.5; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.cond:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(23, 122, 55, .45); }
.cond .ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--mist); color: var(--green); font-size: 1.3rem; }
.cond span { padding-top: .45rem; }

/* ---------- Experience ---------- */
.exp-card {
    position: relative; height: 100%; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.exp-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 194, 107, .2), transparent 70%); }
.exp-card .num {
    display: block; font-family: var(--font-display); font-size: clamp(4.5rem, 9vw, 7rem); font-weight: 500; line-height: .95; letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--green), var(--pine)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.exp-card p { position: relative; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--pine); margin: .9rem 0 0; z-index: 1; }

/* ---------- Call to action ---------- */
.cta-wrap { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.cta-box {
    position: relative; overflow: hidden; border-radius: 36px; color: #e4efe8; padding: clamp(2.25rem, 5vw, 4rem);
    background: radial-gradient(700px 400px at 100% 0%, rgba(76, 194, 107, .3), transparent 60%), linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
    box-shadow: var(--shadow);
}
.cta-box::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 50px rgba(255, 255, 255, .03); pointer-events: none; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; }
.cta-box .phone { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--gold); text-decoration: none; transition: color .2s; }
.cta-box .phone:hover { color: #fff; }

/* ---------- Inner page header ---------- */
.page-head {
    position: relative; overflow: hidden; color: #e4efe8; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
    background: radial-gradient(700px 400px at 90% 0%, rgba(76, 194, 107, .22), transparent 60%), linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
}
.page-head::before {
    content: ""; position: absolute; inset: 0; background: url("../img/therapy.webp") center / cover no-repeat; opacity: .14; mix-blend-mode: luminosity;
    -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%); mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 3.9rem); margin: 0; }
.page-head .rule-gold { margin-top: 1.25rem; margin-bottom: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); font-size: .95rem; margin-bottom: 1.1rem; }
.breadcrumb a { color: #c3d6cb; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .active { color: #fff; font-weight: 600; }

/* ---------- About page ---------- */
.profile-photo { position: sticky; top: 110px; }
.profile-photo::before {
    content: ""; position: absolute; inset: 1.5rem -1.25rem -1.25rem 1.5rem; border-radius: 28px 28px 28px 120px; border: 1.5px solid rgba(200, 169, 107, .6);
}
.profile-photo img { position: relative; width: 100%; border-radius: 28px 28px 28px 120px; box-shadow: var(--shadow); display: block; object-fit: cover; aspect-ratio: 3 / 4; object-position: 50% 15%; }

.career { list-style: none; padding: 0; margin: 0; position: relative; }
.career::before { content: ""; position: absolute; left: 8.2rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(180deg, var(--green), var(--line)); }
.career > li { display: grid; grid-template-columns: 7rem 1fr; gap: 2.5rem; padding: .7rem 0; position: relative; }
.career > li::before {
    content: ""; position: absolute; left: 7.9rem; top: 1.65rem; width: 12px; height: 12px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--green);
}
.career .when { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--pine); line-height: 1.35; padding-top: 1.1rem; text-align: right; }
.career p { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.4rem; box-shadow: var(--shadow-sm); }
@media (max-width: 575.98px) {
    .career::before { left: .35rem; }
    .career > li { grid-template-columns: 1fr; gap: .35rem; padding-left: 2rem; }
    .career > li::before { left: 0; top: 1rem; }
    .career .when { padding-top: 0; text-align: left; }
}

.facts-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem 2rem; box-shadow: var(--shadow-sm); height: 100%; }
.facts-panel h3 { margin-bottom: .25rem; }
.facts { margin: 0 0 1.75rem; }
.facts:last-child { margin-bottom: 0; }
.facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.25rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--green); }
.facts dd { margin: 0; }
@media (max-width: 575.98px) { .facts > div { grid-template-columns: 1fr; gap: .15rem; } }

.accordion {
    --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: var(--radius);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(23, 122, 55, .35);
    --bs-accordion-active-bg: var(--mist); --bs-accordion-active-color: var(--pine);
    --bs-accordion-btn-padding-y: 1.35rem; --bs-accordion-btn-padding-x: 1.6rem; --bs-accordion-body-padding-x: 1.6rem;
}
.accordion-item { margin-bottom: .9rem; border-radius: var(--radius) !important; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.accordion-button { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--pine); }
.accordion-body ul { padding-left: 1.2rem; margin: 0; }
.accordion-body li { padding: .3rem 0; }
.accordion-body li::marker { color: var(--green); }
.accordion-body p { margin-bottom: .7rem; }

/* ---------- Contact ---------- */
.contact-card {
    position: relative; overflow: hidden; color: #e4efe8; border-radius: var(--radius-lg); padding: clamp(1.9rem, 3vw, 2.75rem); height: 100%;
    background: radial-gradient(500px 300px at 100% 0%, rgba(76, 194, 107, .25), transparent 60%), linear-gradient(145deg, var(--pine), var(--pine-deep));
    box-shadow: var(--shadow);
}
.contact-card h2 { color: #fff; font-size: 2rem; margin-bottom: .35rem; }
.contact-card .sub { color: #b3c9bc; margin-bottom: 1.75rem; }
.contact-line { display: flex; gap: 1.1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .14); align-items: flex-start; }
.contact-line .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--leaf); font-size: 1.35rem; border: 1px solid rgba(255, 255, 255, .12); }
.contact-line h3 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--gold); letter-spacing: .02em; margin: 0 0 .15rem; }
.contact-line a, .contact-line span { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact-line a:hover { text-decoration: underline; }

.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.9rem, 3vw, 2.75rem); height: 100%; box-shadow: var(--shadow); }
.form-label { font-weight: 600; font-size: .93rem; color: var(--pine); margin-bottom: .4rem; }
.form-control { border: 1px solid #b9cbc0; border-radius: 14px; padding: .85rem 1.1rem; background: var(--paper); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 122, 55, .18); background: #fff; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
    position: relative; overflow: hidden; color: #b3c9bc; padding: clamp(3.5rem, 6vw, 5rem) 0 0;
    background: radial-gradient(700px 400px at 0% 0%, rgba(76, 194, 107, .1), transparent 60%), var(--pine-deep);
    border-top: 3px solid var(--gold);
}
.footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: .8rem 1.1rem; margin-bottom: 1.5rem; }
.footer-logo img { width: 240px; display: block; }
.footer-about { font-size: .98rem; max-width: 34rem; }
.footer-heading { font-family: var(--font-display); font-size: 1.45rem; color: #fff; margin-bottom: 1.2rem; }
.footer-heading::after { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-top: .6rem; }
.site-footer a { color: #b3c9bc; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a::before { content: "\2192"; display: inline-block; margin-right: .6rem; color: var(--leaf); transition: transform .25s; }
.footer-links a:hover::before { transform: translateX(4px); }
.footer-contact li { display: flex; gap: .85rem; margin-bottom: 1rem; }
.footer-contact i { color: var(--gold); line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding: 1.6rem 0; font-size: .9rem; text-align: center; }
.footer-bottom p { margin: 0 auto; max-width: none; }
.footer-bottom a { color: var(--gold); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green); color: #fff; font-size: 1.2rem; text-decoration: none; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--pine); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-visual { margin: 3rem auto 0; max-width: 400px; }
    .glass-b { right: -6px; }
    .profile-photo { position: static; max-width: 420px; margin: 0 auto 1.5rem; }
    .profile-photo::before { inset: 1rem 0 -.75rem .75rem; }
    .creds { margin-top: -3.5rem; }
}
@media (max-width: 575.98px) {
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-visual { padding-left: 1rem; }
    .glass-a { max-width: 230px; }
    .glass-b { display: none; }
    .collage .years { left: 0; }
    .facts-panel { padding: 1.4rem 1.3rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero .rise, .hero-visual, .glass-b { animation: none; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .tile img, .btn, .back-to-top, .approach-card, .cred-card, .adv-card, .cond, .glance-item { transition: none; }
}


.floating-btn {
    position: fixed;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.call-btn {
    bottom: 95px;
    background-color: #0d6efd;
}

.whatsapp-btn {
    bottom: 25px;
    background-color: #25D366;
}