:root {
  --ink: #162d33;
  --ink-soft: #43585c;
  --muted: #6f7f80;
  --green-950: #062f2b;
  --green-900: #0b4138;
  --green-800: #0f5749;
  --green-700: #08735c;
  --green-600: #079177;
  --green-500: #10a989;
  --mint-100: #e7f3ef;
  --mint-50: #f3f8f6;
  --cream: #f5f1ea;
  --cream-2: #fbf8f3;
  --line: #dbe6e2;
  --line-dark: rgba(255,255,255,.16);
  --white: #fff;
  --danger: #ad3c43;
  --warning: #9a6a13;
  --success: #15704f;
  --shadow-sm: 0 8px 26px rgba(7, 43, 36, .07);
  --shadow-md: 0 20px 55px rgba(7, 43, 36, .12);
  --shadow-lg: 0 30px 80px rgba(7, 43, 36, .17);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1220px;
  --header-h: 82px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: #bfe8dc; color: var(--green-950); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.honeypot { position: absolute!important; left: -99999px!important; width: 1px!important; height: 1px!important; opacity: 0!important; pointer-events: none!important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; border-radius: 0 0 12px 12px; background: var(--green-900); color: #fff; transition: top .2s; }
.skip-link:focus { top: 0; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3 { text-wrap: balance; }
h1,h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.75rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.85rem); }
h3 { line-height: 1.25; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.72; color: var(--ink-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .75rem; letter-spacing: .18em; line-height: 1.4; font-weight: 800; color: var(--green-700); text-transform: uppercase; margin-bottom: 17px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #9ee3d1; }
.light, .light h1, .light h2, .light h3, .light p { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--green-800);
  border-radius: 12px;
  background: var(--green-800);
  color: #fff;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(10, 82, 67, .14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--green-900); border-color: var(--green-900); box-shadow: 0 14px 26px rgba(10, 82, 67, .19); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(16,169,137,.32); outline-offset: 3px; }
.button-outline { color: var(--green-900); background: transparent; border-color: #aabdb7; box-shadow: none; }
.button-outline:hover { background: var(--mint-50); border-color: var(--green-700); color: var(--green-900); }
.button-light { background: #fff; border-color: #fff; color: var(--green-950); box-shadow: none; }
.button-light:hover { background: #eaf7f3; border-color: #eaf7f3; }
.button-ghost-light { background: transparent; border-color: rgba(255,255,255,.48); color: #fff; box-shadow: none; }
.button-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.button-danger { background: var(--danger); border-color: var(--danger); }
.button-sm { min-height: 44px; padding: 10px 15px; font-size: .9rem; }
.button-wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-800); font-weight: 750; border-bottom: 1px solid rgba(8,115,92,.26); }
.text-link:hover { border-color: currentColor; }
.inline-actions, .hero-actions, .center-actions, .expert-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.center-actions { justify-content: center; margin-top: 34px; }

/* Header */
.topbar { background: #f0f4f2; border-bottom: 1px solid #e1e8e5; font-size: .79rem; color: #536461; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { align-self: stretch; }
.topbar a:hover { color: var(--green-700); }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(9,62,52,.09); backdrop-filter: blur(16px); transition: box-shadow .2s ease, background .2s ease; }
.site-header.scrolled { box-shadow: 0 10px 34px rgba(5,44,36,.08); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 245px; display: flex; align-items: center; }
.brand img { display: block; width: 245px; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); }
.site-nav a { position: relative; padding: 30px 0 27px; color: #3f5152; font-size: .91rem; font-weight: 650; white-space: nowrap; }
.site-nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 19px; height: 2px; border-radius: 999px; background: var(--green-600); transition: left .2s, right .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--green-900); }
.site-nav a:hover::after, .site-nav a.active::after { left: 0; right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; color: var(--green-900); background: #fff; }

/* Flash */
.flash-stack { position: fixed; z-index: 110; top: 98px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 720px); display: grid; gap: 10px; pointer-events: none; }
.flash-stack > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 17px; border-radius: 14px; color: #fff; box-shadow: var(--shadow-md); pointer-events: auto; animation: slideDown .25s ease both; }
.flash-stack .success { background: #176e52; }
.flash-stack .danger { background: #a83f45; }
.flash-stack .warning { background: #9a6a13; }
.flash-stack button { border: 0; background: transparent; color: inherit; font-size: 1.3rem; }
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:none; } }

/* Sections */
.section { padding: clamp(76px, 9vw, 126px) 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--mint-50); }
.section-cream { background: var(--cream-2); }
.section-dark { position: relative; overflow: hidden; background: var(--green-950); color: #fff; }
.section-dark::before { content: ''; position: absolute; inset: 0; opacity: .3; background: radial-gradient(circle at 15% 0%, rgba(33,186,148,.36), transparent 33%), radial-gradient(circle at 85% 100%, rgba(26,120,105,.4), transparent 35%); }
.section-dark > .container { position: relative; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 45px; }
.section-heading > div { max-width: 780px; }
.section-heading h2, .center-heading h2 { margin-bottom: 16px; }
.section-heading .lead, .center-heading p { margin-bottom: 0; }
.center-heading { width: min(840px,100%); margin: 0 auto 48px; text-align: center; }
.center-heading .eyebrow { justify-content: center; }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 88px; background: linear-gradient(105deg,#f8faf9 0%,#f4f6f4 55%,#edf4f1 100%); }
.hero::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; left: -220px; top: -300px; background: rgba(15,158,126,.08); filter: blur(4px); }
.hero-grid { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(40px,6vw,84px); }
.hero-copy h1 { max-width: 730px; margin-bottom: 25px; }
.hero-copy .lead { max-width: 650px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; font-size: .86rem; color: #536864; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--green-600); }
.hero-media { position: relative; min-width: 0; }
.hero-media > img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px 48px 4px 48px; box-shadow: var(--shadow-lg); }
.hero-card { position: absolute; right: -22px; bottom: -42px; width: min(410px,86%); display: flex; gap: 15px; padding: 22px; background: rgba(255,255,255,.96); border: 1px solid rgba(11,77,65,.1); border-radius: 18px; box-shadow: var(--shadow-md); backdrop-filter: blur(14px); }
.hero-card-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-100); color: var(--green-800); }
.hero-card strong { display: block; margin-bottom: 5px; }
.hero-card p { margin: 0 0 10px; font-size: .9rem; line-height: 1.55; }
.hero-card a { display: inline-flex; align-items: center; gap: 7px; color: var(--green-800); font-size: .88rem; font-weight: 750; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid > div { position: relative; padding: 24px 28px; }
.trust-grid > div:not(:last-child)::after { content: ''; position: absolute; top: 24px; right: 0; bottom: 24px; width: 1px; background: var(--line); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; margin-bottom: 3px; }
.trust-grid span { color: var(--muted); font-size: .86rem; }

/* Cards */
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.service-grid-page { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 315px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::after { content: ''; position: absolute; width: 150px; height: 150px; right: -65px; bottom: -85px; border-radius: 50%; background: var(--mint-100); transition: transform .3s; }
.service-card:hover { transform: translateY(-7px); border-color: #b9cec7; box-shadow: var(--shadow-md); }
.service-card:hover::after { transform: scale(1.25); }
.service-card-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 15px; background: var(--mint-100); color: var(--green-800); }
.service-card-icon .icon { width: 26px; height: 26px; }
.service-eyebrow { color: var(--green-700); font-size: .72rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 8px; }
.service-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 1.48rem; font-weight: 500; }
.service-card p { margin-bottom: 24px; font-size: .94rem; }
.service-card .text-link { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; font-size: .9rem; }

.experts-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.experts-grid-page { grid-template-columns: repeat(3,minmax(0,1fr)); }
.expert-card { position: relative; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid rgba(11,77,65,.1); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.expert-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.expert-image { position: relative; overflow: hidden; background: #e8efec; }
.expert-image img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .45s ease; }
.expert-card:hover .expert-image img { transform: scale(1.025); }
.demo-badge { position: absolute; top: 14px; right: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--green-900); font-size: .7rem; font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.expert-body { padding: 21px; }
.expert-title { color: var(--green-700); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.expert-body h3 { margin: 6px 0 10px; font-family: var(--serif); font-size: 1.42rem; font-weight: 500; }
.expert-body p { font-size: .91rem; line-height: 1.6; margin-bottom: 16px; }
.expert-specialties { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.expert-specialties span { padding: 6px 9px; border-radius: 999px; background: var(--mint-50); color: #536662; font-size: .72rem; }

.about-home { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px,7vw,95px); align-items: center; }
.about-home-media { position: relative; }
.about-home-media > img { display: block; width: 100%; max-height: 720px; object-fit: cover; object-position: center top; border-radius: 44px 4px 44px 4px; box-shadow: var(--shadow-md); }
.about-caption { position: absolute; left: 28px; right: 28px; bottom: 24px; padding: 18px; border-radius: 15px; background: rgba(255,255,255,.93); backdrop-filter: blur(12px); }
.about-caption strong, .about-caption span { display: block; }
.about-caption span { color: var(--muted); font-size: .83rem; }
.about-home-copy h2 { margin-bottom: 20px; }
.value-list { display: grid; gap: 21px; margin: 30px 0; }
.value-list > div { display: flex; gap: 14px; align-items: flex-start; }
.value-list .icon { width: 23px; height: 23px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--mint-100); color: var(--green-800); }
.value-list strong { display: block; margin-bottom: 3px; color: var(--ink); }
.value-list span { color: var(--ink-soft); }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: process; }
.process-grid article { position: relative; min-height: 260px; padding: 27px; border: 1px solid var(--line-dark); border-radius: 20px; background: rgba(255,255,255,.045); }
.process-grid article > span { display: block; margin-bottom: 54px; color: #7ad1bb; font-family: var(--serif); font-size: 1.1rem; }
.process-grid h3 { color: #fff; font-size: 1.2rem; margin-bottom: 11px; }
.process-grid p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.blog-grid-page { grid-template-columns: repeat(2,minmax(0,1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.post-image { display: block; overflow: hidden; background: var(--mint-50); }
.post-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-image img { transform: scale(1.035); }
.post-body { padding: 23px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin-bottom: 11px; color: var(--muted); font-size: .75rem; }
.post-meta a { color: var(--green-700); font-weight: 800; }
.post-body h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-bottom: 11px; }
.post-body p { font-size: .91rem; margin-bottom: 17px; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px,7vw,95px); align-items: start; }
.faq-intro { position: sticky; top: 125px; }
.faq-list { border-top: 1px solid #cedbd6; }
.faq-item { border-bottom: 1px solid #cedbd6; }
.faq-item > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 22px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 1.03rem; font-weight: 700; }
.faq-plus { position: relative; width: 22px; height: 22px; flex: 0 0 22px; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 3px; right: 3px; top: 10px; height: 1.5px; background: var(--green-800); transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item > button[aria-expanded='true'] .faq-plus::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-answer > p { overflow: hidden; margin: 0; padding-right: 50px; }
.faq-item > button[aria-expanded='true'] + .faq-answer { grid-template-rows: 1fr; }
.faq-item > button[aria-expanded='true'] + .faq-answer > p { padding-bottom: 22px; }

.final-cta { padding-top: 0; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(38px,6vw,68px); border-radius: 3px 42px 3px 42px; background: linear-gradient(130deg,var(--green-800),var(--green-950)); color: #fff; box-shadow: var(--shadow-lg); }
.final-cta h2 { max-width: 720px; margin-bottom: 10px; }
.final-cta p { color: rgba(255,255,255,.78); margin: 0; }
.final-cta-inner > div:last-child { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* Generic page hero */
.page-hero { padding: clamp(58px,7vw,96px) 0; background: linear-gradient(115deg,#f8faf9,#edf5f1); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px,7vw,90px); align-items: center; }
.page-hero h1 { font-size: clamp(2.8rem,5vw,4.8rem); margin-bottom: 20px; }
.page-hero .lead { max-width: 760px; margin-bottom: 0; }
.page-hero-card { padding: 27px; border-radius: 22px; background: #fff; border: 1px solid rgba(8,87,72,.1); box-shadow: var(--shadow-sm); }
.page-hero-card strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 1.24rem; font-weight: 500; }
.page-hero-card p { margin: 0; font-size: .94rem; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a:hover { color: var(--green-700); }
.breadcrumbs span[aria-hidden] { opacity: .5; }

/* About */
.about-page-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px,7vw,90px); align-items: start; }
.about-page-media { position: sticky; top: 126px; }
.about-page-media img { display: block; width: 100%; border-radius: 42px 4px 42px 4px; object-fit: cover; object-position: center top; box-shadow: var(--shadow-md); }
.profile-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 18px; }
.profile-facts > div { padding: 15px; border-radius: 12px; background: var(--mint-50); }
.profile-facts strong, .profile-facts span { display: block; }
.profile-facts strong { font-size: .78rem; color: var(--muted); margin-bottom: 2px; }
.profile-facts span { font-size: .92rem; }
.page-content { color: var(--ink-soft); font-size: 1.035rem; }
.page-content h2, .page-content h3 { color: var(--ink); margin-top: 2.1em; margin-bottom: .7em; }
.page-content h2 { font-size: clamp(1.7rem,3vw,2.45rem); }
.page-content h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.page-content p, .page-content li { line-height: 1.82; }
.page-content ul, .page-content ol { padding-left: 1.4em; }
.page-content blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green-600); color: var(--green-900); font-family: var(--serif); font-size: 1.25rem; }
.content-cta { margin-top: 38px; padding: 28px; border-radius: 20px; background: var(--mint-50); border: 1px solid var(--line); }
.content-cta h3 { margin-top: 0; }

/* Expert profile */
.expert-profile-hero { padding: 70px 0; background: linear-gradient(120deg,#f9faf9,#edf5f1); }
.expert-profile-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(48px,8vw,100px); }
.expert-profile-photo { position: relative; }
.expert-profile-photo img { display: block; width: 100%; max-height: 670px; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 44px 4px 44px 4px; box-shadow: var(--shadow-lg); }
.expert-profile-copy h1 { font-size: clamp(2.8rem,5vw,5rem); margin-bottom: 12px; }
.profile-title { display: block; margin-bottom: 16px; color: var(--green-700); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-content-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: start; }
.sidebar-card, .sidebar-expert, .sidebar-contact, .contact-note, .info-box { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.sidebar-card h3, .sidebar-expert h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; }
.sidebar-card ol { padding-left: 20px; color: var(--ink-soft); }
.sidebar-card > .sidebar-expert {
  position: static;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--mint-50);
  box-shadow: none;
}
.sidebar-expert img { width: 68px; height: 68px; flex: 0 0 68px; border-radius: 50%; object-fit: cover; margin: 0; }
.sidebar-expert span { display: grid; min-width: 0; gap: 3px; }
.sidebar-expert strong, .sidebar-expert small { display: block; overflow-wrap: anywhere; }
.sidebar-expert strong { color: var(--ink); }
.sidebar-expert small { color: var(--ink-soft); line-height: 1.4; }
.sidebar-contact { display: grid; gap: 10px; margin-top: 15px; }
.sidebar-contact a { display: flex; align-items: center; gap: 9px; color: var(--green-800); font-weight: 700; }
.demo-notice { display: flex; gap: 12px; padding: 17px; margin: 20px 0; background: #fff8e8; border: 1px solid #ead7a9; border-radius: 14px; color: #715822; }
.demo-notice .icon { margin-top: 2px; }

/* Service detail */
.service-detail-hero { padding: clamp(60px,8vw,108px) 0; background: linear-gradient(115deg,#f8faf9,#edf5f1); }
.service-detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(45px,8vw,110px); align-items: center; }
.service-detail-copy h1 { font-size: clamp(2.9rem,5vw,5rem); margin-bottom: 20px; }
.service-detail-art { display: grid; place-items: center; min-height: 370px; padding: 48px; border-radius: 4px 42px 4px 42px; background: #fff; box-shadow: var(--shadow-md); }
.service-detail-art img { width: min(100%,450px); max-height: 360px; object-fit: contain; }
.service-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.service-facts span { padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.76); border: 1px solid var(--line); font-size: .83rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 60px; align-items: start; }
.detail-layout aside { position: sticky; top: 124px; display: grid; gap: 16px; }
.tip-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.tip-list li { display: flex; gap: 10px; color: var(--ink-soft); }
.tip-list .icon { color: var(--green-700); margin-top: 4px; }

/* Blog */
.blog-hero { padding-bottom: 70px; }
.blog-search { margin-top: 22px; padding: 10px; border-radius: 15px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.blog-search label { display: block; margin: 0 0 4px 10px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.blog-search > div { display: flex; align-items: center; gap: 8px; }
.blog-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: 9px 10px; outline: none; }
.blog-search button { width: 44px; min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--green-800); border-radius: 11px; background: var(--green-800); color: #fff; transition: background .2s ease, transform .2s ease; }
.blog-search button:hover { background: var(--green-900); transform: translateY(-1px); }
.blog-layout { display: grid; grid-template-columns: minmax(0,250px) minmax(0,1fr); gap: 45px; align-items: start; }
.category-sidebar { position: sticky; top: 120px; padding: 20px; border-radius: 18px; background: var(--mint-50); border: 1px solid var(--line); }
.category-sidebar h2, .category-sidebar h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(1.8rem,3.15vw,2.45rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; overflow-wrap: anywhere; text-wrap: balance; }
.category-sidebar a { display: flex; justify-content: space-between; gap: 15px; padding: 11px 4px; border-bottom: 1px solid #dfe8e4; color: #536662; }
.category-sidebar a:last-child { border-bottom: 0; }
.category-sidebar a.active, .category-sidebar a:hover { color: var(--green-800); font-weight: 700; }
.category-sidebar em { font-style: normal; color: var(--muted); }
.empty-state { padding: 50px; border-radius: 22px; background: var(--mint-50); text-align: center; }

.article-header { padding: 66px 0 48px; background: var(--mint-50); }
.article-header-inner { width: min(100%,900px); }
.article-header h1 { font-size: clamp(2.8rem,5vw,5rem); margin-bottom: 22px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; color: var(--muted); font-size: .83rem; }
.article-meta a { color: var(--green-700); font-weight: 750; }
.article-cover { padding-top: 45px; }
.article-cover img { display: block; width: 100%; max-height: 610px; object-fit: cover; border-radius: 4px 36px 4px 36px; box-shadow: var(--shadow-md); }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 65px; padding-top: 55px; padding-bottom: 95px; }
.article-content { font-size: 1.08rem; }
.article-sidebar { position: relative; }
.article-sidebar .sidebar-card { position: sticky; top: 124px; }
.article-note { margin-top: 45px; padding: 22px; border-left: 3px solid var(--green-600); background: var(--mint-50); }
.article-note p { margin-bottom: 0; font-size: .9rem; }

/* FAQ page */
.faq-page { width: min(100%,900px); margin: auto; }
.faq-page .faq-item > button { font-size: 1.08rem; }

/* Contact */
.contact-card { display: grid; gap: 14px; }
.contact-card a { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 12px; background: var(--mint-50); }
.contact-card a:hover { background: var(--mint-100); }
.contact-card .icon { color: var(--green-700); }
.contact-card strong, .contact-card small { display: block; }
.contact-card small { color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px,8vw,100px); align-items: start; }
.contact-note { margin-top: 25px; background: #fff8e8; border-color: #ead7a9; box-shadow: none; }
.contact-note strong { color: #765b25; }
.contact-note p { margin: 7px 0 0; font-size: .9rem; color: #765b25; }

/* Forms */
.form-card, .appointment-form { padding: clamp(25px,4vw,42px); border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-card label, .appointment-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; color: var(--ink); font-size: .88rem; font-weight: 700; }
.form-card label small, .appointment-form label small { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; border: 1px solid #cbd9d4; border-radius: 12px; background: #fff; color: var(--ink); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
input:hover, select:hover, textarea:hover { border-color: #9eb5ad; }
input:focus, select:focus, textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(16,169,137,.12); outline: 0; }
textarea { resize: vertical; }
select:disabled, input:disabled { opacity: .6; cursor: not-allowed; background: #f3f5f4; }
.check-row { flex-direction: row!important; align-items: flex-start!important; gap: 11px!important; font-weight: 500!important; line-height: 1.55; }
.check-row input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; accent-color: var(--green-700); }
.check-row a { color: var(--green-800); text-decoration: underline; }
.check-row em { color: var(--muted); }

.appointment-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 45px; align-items: start; }
.appointment-step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.appointment-step:first-of-type { padding-top: 0; }
.appointment-step h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; margin-bottom: 6px; }
.appointment-step > div > p { margin-bottom: 20px; font-size: .92rem; }
.step-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green-800); color: #fff; font-family: var(--serif); }
.appointment-consents { display: grid; gap: 12px; padding: 25px 0; }
.appointment-aside { position: sticky; top: 124px; display: grid; gap: 16px; }
.appointment-hero .page-hero-card { background: rgba(255,255,255,.86); }
.appointment-hero-whatsapp .page-hero-card { border-color: rgba(21,143,99,.28); background: rgba(242,251,247,.93); }
.whatsapp-appointment-note { border-color: rgba(21,143,99,.22); background: linear-gradient(145deg,#fff 0%,#f2fbf7 100%); }
.whatsapp-appointment-note h3 { display: flex; align-items: center; gap: 8px; }

/* Appointment manage */
.appointment-manage-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 35px; align-items: start; }
.manage-card { padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; width: fit-content; padding: 7px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.status-pending { background: #fff3d9; color: #835a11; }
.status-confirmed { background: #dff4eb; color: #14694c; }
.status-completed { background: #e2eff8; color: #2d5c7b; }
.status-cancelled, .status-rejected, .status-no_show { background: #fae5e5; color: #8f363c; }

/* Newsletter & footer */
.newsletter { padding: 65px 0; background: var(--green-800); color: #fff; }
.newsletter-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.newsletter h2 { font-size: clamp(2rem,3.3vw,3.2rem); margin-bottom: 10px; }
.newsletter p { color: rgba(255,255,255,.75); margin-bottom: 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.65); }
.newsletter-form small { grid-column: 1/-1; color: rgba(255,255,255,.65); }
.site-footer { padding: 70px 0 0; background: #0b2927; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr 1fr 1fr; gap: 55px; padding-bottom: 50px; }
.footer-brand img { width: 260px; display: block; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 20px; }
.footer-brand p { max-width: 390px; color: rgba(255,255,255,.62); font-size: .86rem; }
.footer-grid h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #8cd7c4; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a, .footer-grid li { color: rgba(255,255,255,.72); font-size: .88rem; }
.footer-grid a:hover { color: #fff; }
.footer-contact li, .footer-contact a { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact .icon { margin-top: 3px; color: #7ed4bd; }
.footer-social { display: flex; gap: 14px; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .78rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a, .footer-bottom button { min-height: 36px; display: inline-flex; align-items: center; color: rgba(255,255,255,.64); border: 0; background: transparent; padding: 4px 0; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }

.contact-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 9px; }
.contact-float-button { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-width: 138px; min-height: 48px; padding: 10px 15px; border-radius: 999px; color: #fff; font-size: .86rem; font-weight: 800; box-shadow: 0 14px 34px rgba(5,39,33,.24); transition: transform .2s, filter .2s; }
.contact-float-button:hover { transform: translateY(-2px); filter: brightness(.96); }
.contact-float-button.whatsapp { background: #158f63; }
.contact-float-button.phone { background: var(--green-950); }

.cookie-banner { position: fixed; z-index: 100; left: 18px; bottom: 18px; width: min(calc(100% - 36px),650px); display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; margin-bottom: 3px; }
.cookie-banner p { margin: 0; font-size: .84rem; }
.cookie-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--green-900); }
.pagination .active { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 70px 20px; }
.error-page > div { max-width: 650px; }
.error-page h1 { margin-bottom: 16px; }

/* Responsive */
@media (max-width: 1120px) {
  .brand { flex-basis: 210px; }
  .brand img { width: 210px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .85rem; }
  .header-actions .button { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .experts-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr .8fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 940px) {
  :root { --header-h: 70px; }
  .site-header { backdrop-filter: none; }
  .topbar-left a:nth-of-type(2), .topbar-left span { display: none; }
  .topbar-right > span { display: none; }
  .header-inner { min-height: var(--header-h); }
  .brand { flex-basis: 220px; }
  .brand img { width: 220px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 0; z-index: 79; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 18px 28px 35px; background: #fff; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; overflow-y: auto; }
  body.nav-open .site-nav { opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav a { padding: 17px 3px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a::after { display: none; }
  .hero-grid, .page-hero-grid, .service-detail-grid, .expert-profile-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; }
  .hero-media > img { max-height: 610px; }
  .hero-card { right: 15px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid > div:nth-child(2)::after { display: none; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid, .service-grid-page { grid-template-columns: repeat(2,1fr); }
  .about-home, .about-page-grid { grid-template-columns: 1fr; }
  .about-home-media { width: min(100%,620px); }
  .about-page-media { position: static; width: min(100%,620px); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .faq-layout, .contact-layout, .newsletter-inner { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .blog-layout { grid-template-columns: 1fr; }
  .category-sidebar { position: static; display: grid; grid-template-columns: repeat(2,1fr); }
  .category-sidebar h2, .category-sidebar h3 { grid-column: 1/-1; }
  .detail-layout, .article-layout, .appointment-layout, .appointment-manage-grid, .profile-content-grid { grid-template-columns: 1fr; }
  .detail-layout aside, .article-sidebar .sidebar-card, .appointment-aside, .sidebar-expert { position: static; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid > div:last-child { grid-column: auto; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  body { font-size: 15.5px; }
  h1 { font-size: clamp(2.45rem,12vw,3.5rem); }
  h2 { font-size: clamp(2rem,10vw,3rem); }
  .topbar-inner { justify-content: center; }
  .topbar-left { gap: 0; }
  .topbar-left a:first-of-type { display: flex; }
  .topbar-right { display: none; }
  .brand, .brand img { width: 190px; flex-basis: 190px; }
  .hero { padding-top: 45px; padding-bottom: 72px; }
  .hero-card { position: relative; right: auto; bottom: auto; width: calc(100% - 20px); margin: -28px auto 0; }
  .hero-media > img { border-radius: 3px 30px 3px 30px; }
  .hero-trust { display: grid; gap: 8px; }
  .trust-grid, .service-grid, .service-grid-page, .experts-grid, .experts-grid-page, .process-grid, .blog-grid, .blog-grid-page, .form-grid, .profile-facts { grid-template-columns: 1fr; }
  .trust-grid > div { padding: 18px 15px; border-bottom: 1px solid var(--line)!important; }
  .trust-grid > div::after { display: none; }
  .trust-grid > div:last-child { border-bottom: 0!important; }
  .section { padding: 70px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 32px; }
  .section-heading .button { align-self: flex-start; }
  .service-card { min-height: 280px; }
  .process-grid article { min-height: 220px; }
  .process-grid article > span { margin-bottom: 30px; }
  .about-home-media > img, .about-page-media img, .expert-profile-photo img { border-radius: 30px 3px 30px 3px; }
  .about-caption { left: 14px; right: 14px; bottom: 14px; }
  .final-cta-inner { padding: 34px 24px; border-radius: 3px 28px 3px 28px; }
  .page-hero { padding: 50px 0; }
  .page-hero h1 { font-size: 2.65rem; }
  .service-detail-art { min-height: 260px; padding: 28px; }
  .article-cover { padding-top: 24px; }
  .article-cover img { border-radius: 3px 26px 3px 26px; }
  .article-layout { padding-top: 35px; padding-bottom: 70px; }
  .category-sidebar { grid-template-columns: 1fr; }
  .appointment-step { grid-template-columns: 1fr; }
  .step-number { margin-bottom: -5px; }
  .detail-list > div { grid-template-columns: 1fr; gap: 4px; }
  .newsletter { padding: 50px 0; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form small { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 22px 0; }
  .contact-float { right: 10px; bottom: 10px; }
  .contact-float-button { min-width: 48px; width: 48px; height: 48px; padding: 0; justify-content: center; }
  .contact-float-button span { display: none; }
  .cookie-banner { left: 10px; bottom: 68px; width: calc(100% - 20px); align-items: stretch; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; }
}

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


/* v2.1.0 visual revision: page backgrounds, richer cards, mobile app-like navigation */
.page-hero-image {
  position: relative;
  color: var(--ink);
  background:
    linear-gradient(110deg, rgba(248,250,249,.95) 0%, rgba(248,250,249,.88) 36%, rgba(248,250,249,.66) 60%, rgba(248,250,249,.78) 100%),
    var(--page-hero-image) center/cover no-repeat;
}
.page-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  pointer-events: none;
}
.page-hero-image > .container { position: relative; z-index: 1; }
.page-hero-about, .page-hero-services, .page-hero-faq, .page-hero-generic { --page-hero-image: url('../images/pages/about-breadcrumb.webp'); }
.page-hero-contact, .page-hero-blog { --page-hero-image: url('../images/pages/contact-breadcrumb.webp'); }
.page-hero.blog-hero .blog-search,
.page-hero-image .page-hero-card,
.page-hero-image .blog-search {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(8,87,72,.10);
  box-shadow: 0 18px 45px rgba(6,55,46,.08);
  backdrop-filter: blur(16px);
}

.service-card { padding: 0; min-height: auto; }
.service-card::after { display: none; }
.service-card-media { display: block; background: var(--mint-50); }
.service-card-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-card-media img { transform: scale(1.03); }
.service-card-body { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 22px 24px; }
.service-card-body .service-card-icon { margin-bottom: 18px; }
.service-card-body .text-link { margin-top: auto; }

.mobile-tabbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(8,87,72,.1);
  box-shadow: 0 18px 42px rgba(10,61,51,.18);
  backdrop-filter: blur(18px);
}
.mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 56px;
  padding: 8px 4px;
  border-radius: 18px;
  color: #56716c;
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
}
.mobile-tabbar a .icon { width: 20px; height: 20px; }
.mobile-tabbar a.active { color: var(--green-900); background: linear-gradient(180deg, rgba(233,245,240,.95), rgba(255,255,255,.92)); }
.mobile-tabbar a.mobile-tabbar-cta { color: #fff; background: linear-gradient(135deg, var(--green-800), var(--green-700)); }
.mobile-tabbar a.mobile-tabbar-cta.active { background: linear-gradient(135deg, var(--green-900), var(--green-700)); }

@media (max-width: 940px) {
  .page-hero-image {
    background:
      linear-gradient(180deg, rgba(248,250,249,.94) 0%, rgba(248,250,249,.82) 42%, rgba(248,250,249,.90) 100%),
      var(--page-hero-image) center/cover no-repeat;
  }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .mobile-tabbar { display: grid; }
  .contact-float { bottom: calc(98px + env(safe-area-inset-bottom)); }
  .service-grid, .service-grid-page, .blog-grid, .blog-grid-page, .experts-grid, .experts-grid-page { grid-template-columns: 1fr; }
  .service-card-body { padding: 20px; }
  .page-hero h1 { max-width: 15ch; }
}


/* v2.2.0 final mobile application-style interface */
.page-hero-experts,
.page-hero-appointment { --page-hero-image: url('../images/pages/about-breadcrumb.webp'); }

@media (max-width: 760px) {
  :root {
    --mobile-gutter: 12px;
    --mobile-radius: 26px;
    --mobile-nav-height: 82px;
  }

  html { background: #eef4f1; }
  body.public-app {
    min-height: 100vh;
    background: #f2f6f4;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }

  /* Compact floating app bar */
  .topbar { display: none; }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 88;
    padding: max(8px, env(safe-area-inset-top)) 8px 6px;
    border: 0;
    background: linear-gradient(180deg, rgba(242,246,244,.98), rgba(242,246,244,.72));
    backdrop-filter: none;
  }
  .site-header.scrolled { box-shadow: none; }
  .header-inner {
    min-height: 62px;
    width: 100%;
    padding: 0 12px 0 14px;
    border: 1px solid rgba(7,91,79,.09);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 30px rgba(8,64,53,.08);
  }
  .brand, .brand img { width: 174px; flex-basis: 174px; }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    border-color: rgba(7,91,79,.11);
    background: var(--mint-50);
  }
  .header-actions { margin-left: auto; }

  /* Mobile navigation as an app-style bottom sheet */
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 78;
    background: rgba(4,31,27,.38);
    backdrop-filter: blur(4px);
  }
  .site-nav {
    position: fixed;
    z-index: 89;
    inset: auto 10px calc(104px + env(safe-area-inset-bottom)) 10px;
    max-height: min(68vh, 590px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(7,91,79,.10);
    border-radius: 26px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 28px 70px rgba(4,40,33,.26);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(24px) scale(.985);
    transform-origin: bottom center;
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
    overflow-y: auto;
  }
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 0;
    border-radius: 15px;
    background: #f7faf9;
    color: var(--ink);
    font-size: .95rem;
  }
  .site-nav a.active { background: var(--mint-100); color: var(--green-900); }

  /* App-like page canvas and hero cards */
  main { overflow: clip; }
  .container, .narrow { width: min(calc(100% - 24px), var(--container)); }
  .hero {
    padding: 8px 0 26px;
    background: transparent;
  }
  .hero-grid { gap: 12px; }
  .hero-copy {
    padding: 24px 20px 22px;
    border: 1px solid rgba(7,91,79,.08);
    border-radius: var(--mobile-radius);
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 38px rgba(8,55,47,.07);
  }
  .hero-copy h1 { margin-bottom: 17px; font-size: clamp(2.25rem, 11.3vw, 3.35rem); }
  .hero-copy .lead { margin-bottom: 22px; font-size: 1rem; line-height: 1.68; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 52px; border-radius: 16px; }
  .hero-trust {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 21px -4px 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .hero-trust::-webkit-scrollbar { display: none; }
  .hero-trust span {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--mint-50);
    scroll-snap-align: start;
    font-size: .76rem;
  }
  .hero-media { margin-top: 2px; }
  .hero-media > img {
    min-height: 270px;
    max-height: 390px;
    border-radius: var(--mobile-radius);
    object-fit: cover;
    box-shadow: 0 16px 38px rgba(8,55,47,.12);
  }
  .hero-card {
    width: calc(100% - 24px);
    margin: -38px auto 0;
    padding: 17px;
    border-radius: 20px;
  }

  .page-hero,
  .expert-profile-hero,
  .service-detail-hero,
  .article-header {
    width: calc(100% - 20px);
    margin: 4px auto 0;
    padding: 34px 0;
    border: 1px solid rgba(7,91,79,.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(8,55,47,.06);
  }
  .page-hero-grid { gap: 18px; }
  .page-hero h1,
  .service-detail-copy h1,
  .expert-profile-copy h1,
  .article-header h1 {
    max-width: 17ch;
    margin-bottom: 15px;
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }
  .page-hero .lead { font-size: .98rem; line-height: 1.66; }
  .breadcrumbs {
    width: max-content;
    max-width: 100%;
    margin-bottom: 15px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.73);
    backdrop-filter: blur(12px);
    overflow: hidden;
  }
  .page-hero-card { padding: 18px; border-radius: 18px; }
  .page-hero-card strong { font-size: 1.08rem; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card a { min-height: 58px; }

  /* Section rhythm and touch-friendly headings */
  .section { padding: 48px 0; }
  .section-sm { padding: 38px 0; }
  .section-heading { gap: 16px; margin-bottom: 26px; }
  .section-heading h2, .center-heading h2 { font-size: clamp(1.95rem, 9vw, 2.7rem); }
  .section-heading .lead { font-size: .98rem; }
  .section-heading .button { width: 100%; }
  .eyebrow { margin-bottom: 12px; font-size: .68rem; }
  .button { min-height: 50px; border-radius: 15px; }
  .text-link { min-height: 40px; align-items: center; }

  /* Swipeable card rails on discovery sections */
  .service-grid:not(.service-grid-page),
  .experts-grid:not(.experts-grid-page),
  .blog-grid:not(.blog-grid-page) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 340px);
    grid-template-columns: none;
    gap: 14px;
    margin-right: -12px;
    padding: 4px 12px 18px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .service-grid:not(.service-grid-page)::-webkit-scrollbar,
  .experts-grid:not(.experts-grid-page)::-webkit-scrollbar,
  .blog-grid:not(.blog-grid-page)::-webkit-scrollbar { display: none; }
  .service-grid:not(.service-grid-page) > *,
  .experts-grid:not(.experts-grid-page) > *,
  .blog-grid:not(.blog-grid-page) > * { scroll-snap-align: start; }

  .service-grid-page,
  .experts-grid-page,
  .blog-grid-page { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .service-card,
  .expert-card,
  .post-card {
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(8,55,47,.06);
  }
  .service-card-media img { aspect-ratio: 16 / 10; }
  .service-card-body, .expert-body, .post-body { padding: 20px; }
  .service-card h3, .expert-body h3, .post-body h3 { font-size: 1.34rem; }

  /* About and expert profile become app profile cards */
  .about-home, .about-page-grid, .profile-content-grid { gap: 24px; }
  .about-home-media > img,
  .about-page-media img,
  .expert-profile-photo img {
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(8,55,47,.11);
  }
  .about-caption { border-radius: 18px; }
  .profile-facts { gap: 8px; }
  .profile-facts > div { padding: 13px; border-radius: 14px; }
  .expert-profile-grid { gap: 24px; }
  .expert-profile-photo { order: 1; }
  .expert-profile-copy { order: 2; }

  /* Forms and appointment steps as native-app cards */
  .form-card,
  .appointment-form {
    padding: 18px;
    border-radius: 26px;
    box-shadow: 0 12px 34px rgba(8,55,47,.07);
  }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  input, select, textarea {
    min-height: 52px;
    padding: 13px 14px;
    border-radius: 15px;
    font-size: 16px;
  }
  textarea { min-height: 126px; }
  .appointment-layout { gap: 18px; }
  .appointment-form {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .appointment-step {
    position: relative;
    display: block;
    margin-bottom: 13px;
    padding: 21px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(8,55,47,.05);
  }
  .appointment-step:first-of-type { padding-top: 21px; }
  .step-number {
    width: auto;
    height: 30px;
    display: inline-flex;
    margin-bottom: 12px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: .76rem;
  }
  .appointment-step h2 { font-size: 1.42rem; }
  .appointment-consents {
    margin-bottom: 13px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
  }
  .appointment-form > .button-wide {
    position: sticky;
    bottom: calc(100px + env(safe-area-inset-bottom));
    z-index: 22;
    min-height: 56px;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(7,91,79,.24);
  }
  .appointment-aside { display: grid; gap: 12px; }

  /* Blog and article reading */
  .blog-layout { gap: 22px; }
  .category-sidebar {
    display: flex;
    gap: 8px;
    margin: 0 -12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .category-sidebar::-webkit-scrollbar { display: none; }
  .category-sidebar h2, .category-sidebar h3 { display: none; }
  .category-sidebar a {
    flex: 0 0 auto;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
  }
  .category-sidebar a.active { background: var(--green-800); color: #fff; border-color: var(--green-800); }
  .article-cover { padding-top: 14px; }
  .article-cover img { border-radius: 26px; }
  .article-layout { gap: 28px; padding-top: 30px; }
  .article-content { font-size: 1rem; }

  /* Footer and overlays */
  .newsletter {
    width: calc(100% - 20px);
    margin: 0 auto 10px;
    padding: 42px 0;
    border-radius: 28px;
  }
  .site-footer { padding-top: 52px; }
  .footer-grid { gap: 30px; }
  .footer-brand img { width: 215px; }
  .contact-float {
    right: 14px;
    bottom: calc(104px + env(safe-area-inset-bottom));
    z-index: 87;
  }
  .contact-float-button.phone { display: none; }
  .contact-float-button.whatsapp {
    min-width: 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border: 3px solid rgba(255,255,255,.92);
  }
  .contact-float-button.whatsapp span { display: none; }
  .cookie-banner {
    bottom: calc(102px + env(safe-area-inset-bottom));
    border-radius: 24px;
  }

  /* Raised central appointment action */
  .mobile-tabbar {
    min-height: var(--mobile-nav-height);
    align-items: end;
    padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
    border-radius: 25px;
  }
  .mobile-tabbar a {
    min-width: 0;
    min-height: 55px;
    gap: 4px;
    border-radius: 17px;
  }
  .mobile-tabbar a.mobile-tabbar-cta {
    min-height: 68px;
    margin-top: -22px;
    border: 4px solid rgba(242,246,244,.98);
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(7,91,79,.28);
  }
  .mobile-tabbar a.mobile-tabbar-cta .icon { width: 23px; height: 23px; }
}

@media (max-width: 380px) {
  .brand, .brand img { width: 154px; flex-basis: 154px; }
  .mobile-tabbar { left: 7px; right: 7px; gap: 3px; }
  .mobile-tabbar a { font-size: .61rem; }
  .hero-copy { padding: 21px 17px; }
}

/* v2.2.0 final integration fixes */
.mobile-header-appointment { display: none; }
.mobile-quick-actions { display: none; }
.nav-backdrop[hidden] { display: none !important; }

/* Direct pre-consultation flow */
.quick-appointment-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 44px; align-items: start; }
.process-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.quick-appointment-card { padding: clamp(30px,5vw,58px); border: 1px solid rgba(8,87,72,.13); border-radius: 28px; background: linear-gradient(145deg,#fff 0%,#f1faf6 100%); box-shadow: var(--shadow-md); }
.quick-appointment-card h2 { max-width: 12ch; margin: 9px 0 16px; }
.quick-appointment-card .lead { max-width: 58ch; }
.quick-appointment-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.quick-appointment-note { max-width: 62ch; margin: 22px 0 0; color: var(--muted); font-size: .88rem; }
.quick-appointment-aside { position: sticky; top: 124px; display: grid; gap: 16px; }
.pre-consultation-steps ol { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.pre-consultation-steps li { position: relative; padding-left: 34px; }
.pre-consultation-steps li::before { content: counter(item, decimal-leading-zero); counter-increment: item; position: absolute; top: 0; left: 0; color: var(--green-700); font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.pre-consultation-steps ol { counter-reset: item; }
.pre-consultation-steps strong, .pre-consultation-steps span { display: block; }
.pre-consultation-steps span { margin-top: 3px; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }

/* Editorial article pages */
.page-content h2, .page-content h3 { scroll-margin-top: 116px; }
.article-sidebar { display: grid; align-content: start; gap: 16px; }
.article-sidebar .sidebar-card { position: static; }
.article-toc-card { position: sticky !important; top: 124px !important; }
.article-toc-card h3 { margin-bottom: 14px; }
.article-toc-card ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.article-toc-card a { color: var(--ink-soft); font-size: .9rem; line-height: 1.42; }
.article-toc-card a:hover { color: var(--green-800); }
.article-toc-card .is-subsection { padding-left: 12px; }
.article-contact-card p { margin-bottom: 18px; font-size: .92rem; }
.article-content > p:first-child { color: var(--ink); font-size: 1.17em; line-height: 1.78; }
.article-content a:not(.button) { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 940px) {
  .process-grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quick-appointment-layout { grid-template-columns: 1fr; }
  .quick-appointment-aside { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-toc-card { position: static !important; }
}

@media (max-width: 640px) {
  .process-grid--three { grid-template-columns: 1fr; }
  .quick-appointment-card { padding: 28px 21px; border-radius: 23px; }
  .quick-appointment-actions { display: grid; grid-template-columns: 1fr; }
  .quick-appointment-actions .button { justify-content: center; }
  .quick-appointment-aside, .article-sidebar { grid-template-columns: 1fr; }
}

.page-hero-about { --page-hero-image: url('../images/pages/about-breadcrumb.webp'); }
.page-hero-contact { --page-hero-image: url('../images/pages/contact-breadcrumb.webp'); }
.page-hero-blog { --page-hero-image: url('../images/blog/blog-self-compassion.webp'); }
.page-hero-services { --page-hero-image: url('../images/services/service-couple-family.webp'); }
.page-hero-faq { --page-hero-image: url('../images/blog/blog-grounding.webp'); }
.page-hero-generic,
.page-hero-experts { --page-hero-image: url('../images/pages/about-breadcrumb.webp'); }
.page-hero-appointment { --page-hero-image: url('../images/services/service-online-therapy.webp'); }

.service-detail-art {
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  background: var(--mint-50);
}
.service-detail-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

@media (max-width: 760px) {
  body.nav-open::before { display: none; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 84;
    display: block;
    background: rgba(4,31,27,.42);
    backdrop-filter: blur(5px);
  }
  .site-nav { z-index: 89; }

  .mobile-header-appointment {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7,91,79,.12);
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--green-800), var(--green-700));
    box-shadow: 0 9px 22px rgba(7,91,79,.16);
  }
  .mobile-header-appointment .icon { width: 20px; height: 20px; }
  .header-desktop-appointment { display: none; }
  .header-actions { gap: 7px; }

  .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    margin-top: 12px;
  }
  .mobile-quick-actions a {
    min-width: 0;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #f7faf9;
    color: var(--green-900);
  }
  .mobile-quick-actions .icon { width: 21px; height: 21px; flex: 0 0 auto; }
  .mobile-quick-actions span,
  .mobile-quick-actions strong,
  .mobile-quick-actions small { display: block; min-width: 0; }
  .mobile-quick-actions strong { font-size: .78rem; line-height: 1.25; }
  .mobile-quick-actions small { margin-top: 2px; color: var(--muted); font-size: .67rem; font-weight: 600; }

  .service-detail-art {
    order: -1;
    min-height: 235px;
    border-radius: 24px;
  }
  .service-detail-grid { gap: 22px; }
  .service-detail-copy .button { width: 100%; }
  .service-facts { gap: 7px; }
  .service-facts span { padding: 8px 10px; font-size: .75rem; }

  .page-hero-image {
    background-position: center;
  }
  .page-hero-image .page-hero-grid > div:first-child {
    padding: 3px 2px;
  }
  .page-hero-image .lead { color: #344d49; }

  .home-service-grid,
  .home-experts-grid,
  .home-blog-grid {
    scroll-padding-inline: 0;
  }

  .site-footer { padding-bottom: 22px; }
  .footer-bottom { padding-bottom: 18px; }
}

@media (display-mode: standalone) and (max-width: 760px) {
  .site-header { padding-top: max(10px, env(safe-area-inset-top)); }
  .mobile-tabbar { bottom: max(6px, env(safe-area-inset-bottom)); }
}

/* Primary expert and structured professional profile */
.primary-expert-section { padding-top: clamp(56px,7vw,96px); }
.primary-expert-card { display: grid; grid-template-columns: minmax(300px,.82fr) minmax(0,1.18fr); overflow: hidden; border: 1px solid rgba(8,87,72,.14); border-radius: 34px 4px 34px 4px; background: #fff; box-shadow: var(--shadow-md); }
.primary-expert-image { display: block; min-height: 100%; background: var(--mint-100); }
.primary-expert-image img { display: block; width: 100%; height: 100%; min-height: 510px; object-fit: cover; object-position: center top; }
.primary-expert-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px,6vw,76px); background: linear-gradient(135deg,#f8fbfa 0%,#eef7f3 100%); }
.primary-expert-badge { display: inline-flex; align-items: center; min-height: 31px; margin-bottom: 18px; padding: 6px 11px; border-radius: 999px; background: var(--green-800); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.primary-expert-copy .expert-title { margin: 0 0 8px; color: var(--green-700); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.primary-expert-copy h2 { max-width: 13ch; margin: 0 0 20px; font-size: clamp(2.45rem,4.5vw,4.3rem); }
.primary-expert-copy .lead { max-width: 620px; margin-bottom: 24px; }
.primary-expert-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.primary-expert-services span { padding: 8px 11px; border: 1px solid #cce0d9; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--green-900); font-size: .8rem; font-weight: 700; }
.experts-secondary-section { border-top: 1px solid var(--line); }
.experts-secondary-heading { margin-bottom: 36px; }

.profile-narrative { min-width: 0; }
.profile-detail-section + .profile-detail-section { margin-top: 46px; padding-top: 46px; border-top: 1px solid var(--line); }
.profile-detail-section h2 { margin-top: 0; }
.profile-detail-section p:first-of-type { margin-top: 0; }
.profile-contact-cta { margin-top: 52px; padding: 30px; border: 1px solid #cfe1da; border-radius: 4px 24px 4px 24px; background: var(--mint-50); }
.profile-contact-cta h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.profile-contact-cta p { max-width: 640px; margin-bottom: 22px; }
.profile-services-card { position: sticky; top: 124px; }
.profile-services-card ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.profile-services-card li { border-bottom: 1px solid var(--line); }
.profile-services-card li:last-child { border-bottom: 0; }
.profile-services-card a { display: flex; align-items: flex-start; gap: 10px; padding: 13px 0; color: var(--ink-soft); font-weight: 650; transition: color .2s ease; }
.profile-services-card a:hover { color: var(--green-800); }
.profile-services-card .icon { margin-top: 5px; color: var(--green-600); }

@media (max-width: 940px) {
  .primary-expert-card { grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); }
  .primary-expert-image img { min-height: 440px; }
  .profile-services-card { position: static; }
}

@media (max-width: 700px) {
  .primary-expert-section { padding-top: 42px; }
  .primary-expert-card { grid-template-columns: 1fr; border-radius: 28px; }
  .primary-expert-image img { min-height: 0; aspect-ratio: 5 / 4; }
  .primary-expert-copy { padding: 28px 22px 30px; }
  .primary-expert-copy h2 { margin-bottom: 16px; }
  .primary-expert-services { margin-bottom: 22px; }
  .primary-expert-copy .expert-actions { display: grid; width: 100%; grid-template-columns: 1fr; }
  .primary-expert-copy .button { width: 100%; }
  .profile-detail-section + .profile-detail-section { margin-top: 34px; padding-top: 34px; }
  .profile-contact-cta { margin-top: 38px; padding: 24px 20px; border-radius: 22px; }
}
