/* ==========================================================================
   Oogartsen De Pinte — style.css
   ========================================================================== */

:root {
  --ink:#10231f; --ink-soft:#4b5f5a; --paper:#fbfcfa; --paper-dim:#f1f4f1; --line:#dde3df;
  --teal:#0f325c; --teal-dark:#0a2a41; --teal-mist:#e6efec; --focus:#1478a1;
  --header-bg:rgba(251,252,250,.95);

  --lamp-shade-fill:#343a40; --lamp-shade-stroke:#212529; --lamp-body:#6c757d;
  --lamp-glow:opacity(0); --cord-color:#8d99ae; --handle-color:#6c757d;

  --serif:"Source Serif 4","Iowan Old Style",Georgia,serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --measure:62ch;
}

[data-theme="dark"] {
  --ink:#e6ece9; --ink-soft:#a3b8b3; --paper:#0e1217; --paper-dim:#151b22; --line:#0e1217;
  --teal:#fff; --teal-dark:#151b22; --teal-mist:#091624; --focus:#091624;
  --header-bg:rgba(14,19,23,.95);

  --lamp-shade-fill:#2a9d8f; --lamp-shade-stroke:#2ec4b6; --lamp-body:#e9c46a;
  --lamp-glow:drop-shadow(0 4px 8px rgba(42,157,143,.65));
  --cord-color:#e9c46a; --handle-color:#e9c46a;
}

/* ===== GLOBAL ===== */
img { max-width:100%; display:block; -webkit-user-drag:none; pointer-events:none; user-select:none; }
a, button { user-select:none; -webkit-user-select:none; -ms-user-select:none; -webkit-user-drag:none; }
body { margin:0; font-family:var(--sans); color:var(--ink); background:var(--paper); line-height:1.55; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
h1, h2, h3 { font-family:var(--serif); font-weight:500; line-height:1.15; letter-spacing:-.01em; margin:0 0 .5em; }
h1 { font-size:clamp(2.1rem,4.4vw,3.4rem); }
h2 { font-size:clamp(1.55rem,3vw,2.15rem); }
h3 { font-size:1.15rem; }
p { margin:0 0 1em; max-width:var(--measure); }
.container { max-width:1180px; margin:0 auto; padding:0 24px; }
section { padding:88px 0; }
@media (max-width:720px) { section { padding:60px 0; } }
:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  * { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .mobile-nav, .mobile-nav-panel, .mobile-nav-link, .mobile-nav-arrow, .mobile-nav-back-arrow,
  .mobile-nav-toggle span, .mobile-nav-toggle span::before, .mobile-nav-toggle span::after { transition:none !important; }
}

/* ===== BUTTONS / LINKS ===== */
.btn { display:inline-flex; align-items:center; gap:.5em; padding:12px 22px; border-radius:3px; font-size:.95rem; font-weight:600; text-decoration:none; border:1px solid transparent; cursor:pointer; transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease; }
.btn-primary { background:var(--teal); color:var(--paper); }
.btn-primary:hover { background:var(--teal-dark); }
.btn-ghost { background:transparent; color:var(--teal); border-color:var(--teal); }
.btn-ghost:hover { background:var(--teal-mist); }
.inline-link { color:var(--teal); text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(15,92,86,.35); font-weight:600; }
.inline-link:hover { text-decoration-color:currentColor; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Glass header. liquid-glass.js reads the --glass-* variables. */
.site-header {
  position:sticky; top:0; z-index:100;
  border-bottom:1px solid var(--line);

  --glass-bg:rgba(255,255,255,.62);   /* frost */
  --glass-tint:1.08;                  /* brightness */
  --glass-sat:1.4;
  --glass-contrast:.95;
  --glass-hue:0;
  --glass-text:#0b1b17;               /* dark text on light glass */
  --glass-text-shadow:0 1px 0 rgba(255,255,255,.35);
  background:var(--glass-bg) !important;
}
[data-theme="dark"] .site-header {
  --glass-bg:rgba(8,11,16,.62);
  --glass-tint:.8;
  --glass-sat:1.3;
  --glass-contrast:1.05;
  --glass-hue:0;
  --glass-text:#fff;                  /* bright text on dark glass */
  --glass-text-shadow:0 1px 2px rgba(0,0,0,.45);
}

.site-header .brand,
.site-header .brand-mark strong,
.site-header .nav-link,
.site-header .language-link { color:var(--glass-text); text-shadow:var(--glass-text-shadow); }
.site-header .nav-link:hover,
.site-header .nav-link.is-active { color:var(--glass-text); border-bottom-color:var(--glass-text); }
.site-header .language-link { opacity:.72; }
.site-header .language-link:hover,
.site-header .language-link.active { opacity:1; }

.header-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; height:76px; }

/* ----- Brand ----- */
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); flex-shrink:0; }
.brand-logo { height:42px; width:auto; max-width:100%; object-fit:contain; display:block; }
.brand-mark { font-family:var(--serif); font-size:1.25rem; letter-spacing:.01em; white-space:nowrap; }
.brand-mark strong { color:var(--teal); font-weight:600; }

/* ----- Desktop nav ----- */
.main-nav { display:flex; align-items:center; gap:36px; flex:1 1 auto; justify-content:center; min-width:0; }
.nav-link { text-decoration:none; color:var(--ink-soft); font-size:.95rem; font-weight:500; padding:6px 0; white-space:nowrap; border-bottom:2px solid transparent; transition:color 150ms ease,border-color 150ms ease; }
.nav-link:hover, .nav-link.is-active { color:var(--ink); border-bottom-color:var(--teal); }

/* ----- Header actions ----- */
.header-actions { display:flex; align-items:center; gap:16px; flex-shrink:0; }
.header-actions .btn-primary { white-space:nowrap; padding:11px 20px; font-size:.92rem; line-height:1.2; }

/* ----- Desktop language selector ----- */
.language-switcher { display:flex; align-items:center; gap:10px; margin-left:18px; white-space:nowrap; }
.language-link { color:inherit; text-decoration:none; font-size:13px; font-weight:700; letter-spacing:.04em; opacity:.55; transition:opacity .2s ease; }
.language-link:hover, .language-link.active { opacity:1; }
.language-link + .language-link { position:relative; }
.language-link + .language-link::before { content:"/"; position:absolute; left:-7px; opacity:.3; pointer-events:none; }

/* Old standalone mobile language selector (kept: not verified unused elsewhere) */
.mobile-language-switcher { display:none !important; }

/* ----- Hamburger ----- */
.mobile-nav-toggle { display:none; width:40px; height:40px; padding:0; border:0; background:transparent; cursor:pointer; position:relative; z-index:100001; flex-shrink:0; -webkit-tap-highlight-color:transparent; }
.mobile-nav-toggle span { position:absolute; top:50%; left:4px; right:4px; height:2px; margin-top:-1px; background:var(--glass-text, var(--ink)); transition:background 0ms 250ms ease; }
.mobile-nav-toggle span::before, .mobile-nav-toggle span::after { content:""; position:absolute; left:0; right:0; height:2px; background:var(--glass-text, var(--ink)); transition:top 300ms 350ms ease,transform 300ms 50ms ease; }
.mobile-nav-toggle span::before { top:-9px; }
.mobile-nav-toggle span::after { top:9px; }
.mobile-nav-toggle[aria-expanded="true"] span { background:transparent; transition:background 0ms 250ms ease; }
.mobile-nav-toggle[aria-expanded="true"] span::before, .mobile-nav-toggle[aria-expanded="true"] span::after { top:0; transition:top 300ms 50ms ease,transform 300ms 350ms ease; }
.mobile-nav-toggle[aria-expanded="true"] span::before { transform:rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] span::after { transform:rotate(-45deg); }

/* ----- Mobile nav ----- */
.mobile-nav { position:fixed; top:76px; left:0; right:0; bottom:0; z-index:99999; width:100%; height:calc(100dvh - 76px); background:var(--paper); overflow:hidden; opacity:0; visibility:hidden; transform:translateY(-16px); pointer-events:none; transition:opacity 180ms ease,transform 400ms cubic-bezier(.22,1,.36,1),visibility 0s linear 400ms; }
.mobile-nav.is-open { opacity:1; visibility:visible; transform:translateY(0); pointer-events:auto; transition:opacity 180ms ease,transform 400ms cubic-bezier(.22,1,.36,1); }
.mobile-nav-viewport { position:relative; width:100%; height:100%; overflow:hidden; }

.mobile-nav-panel { position:absolute; inset:0; width:100%; height:100%; box-sizing:border-box; background:var(--paper); overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; transform:translateX(100%); visibility:hidden; transition:transform 420ms cubic-bezier(.22,1,.36,1),visibility 0s linear 420ms; }
.mobile-nav-panel.is-active { transform:translateX(0); visibility:visible; transition:transform 420ms cubic-bezier(.22,1,.36,1); }
.mobile-nav-panel.is-behind { transform:translateX(-30%); visibility:visible; transition:transform 420ms cubic-bezier(.22,1,.36,1); }
.mobile-nav-panel-main { display:flex; flex-direction:column; }

.mobile-nav-main-links { width:100%; padding:10px 34px 0; box-sizing:border-box; }
.mobile-nav-main-links .mobile-nav-link { min-height:94px; padding:25px 0; font-family:var(--serif); font-size:clamp(2rem,8.5vw,2.8rem); font-weight:500; line-height:1.08; }

.mobile-nav-link { position:relative; width:100%; box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--ink); text-align:left; text-decoration:none; cursor:pointer; -webkit-tap-highlight-color:transparent; transition:color 180ms ease,padding-left 280ms cubic-bezier(.22,1,.36,1); }
.mobile-nav-link:focus-visible { outline:none; box-shadow:inset 3px 0 0 var(--teal); }
.mobile-nav-link:hover { padding-left:10px; }
.mobile-nav-link:active { color:var(--teal); }

.mobile-nav-arrow { flex-shrink:0; margin-left:24px; font-family:var(--sans); font-size:1.5rem; font-weight:300; line-height:1; opacity:.65; transition:transform 280ms cubic-bezier(.22,1,.36,1),opacity 180ms ease; }
.mobile-nav-link:hover .mobile-nav-arrow { transform:translateX(8px); opacity:1; }

.mobile-nav-utility { margin-top:auto; padding:0 34px 38px; box-sizing:border-box; }
.mobile-nav-utility .mobile-nav-link { min-height:68px; padding-top:19px; padding-bottom:19px; font-family:var(--sans); font-size:1.15rem; font-weight:500; line-height:1.2; border-bottom:1px solid var(--line); }
.mobile-nav-language { display:inline-flex; align-items:center; gap:7px; }
.mobile-nav-language-icon { width:20px; height:16px; display:block; flex-shrink:0; fill:currentColor; }
.mobile-nav-link-appointment { color:var(--teal); font-weight:600; }
.mobile-nav-link-appointment .mobile-nav-arrow { color:var(--teal); opacity:1; font-size:1.55rem; }

.mobile-nav-panel-header { width:100%; min-height:78px; padding:0 34px; box-sizing:border-box; display:flex; align-items:center; border-bottom:1px solid var(--line); }
.mobile-nav-back { display:inline-flex; align-items:center; gap:13px; padding:10px 0; border:0; background:transparent; color:var(--ink); font-family:var(--sans); font-size:1rem; font-weight:500; cursor:pointer; -webkit-tap-highlight-color:transparent; transition:color 180ms ease; }
.mobile-nav-back:hover { color:var(--teal); }
.mobile-nav-back-arrow { display:inline-block; font-size:1.35rem; line-height:1; transition:transform 250ms cubic-bezier(.22,1,.36,1); }
.mobile-nav-back:hover .mobile-nav-back-arrow { transform:translateX(-5px); }

.mobile-nav-sub-links { padding:10px 34px 48px; box-sizing:border-box; }
.mobile-nav-sub-links .mobile-nav-link { min-height:88px; padding:22px 0; font-family:var(--serif); font-size:clamp(1.9rem,8vw,2.6rem); font-weight:500; line-height:1.1; }

@media (max-width:860px) {
  .site-header { position:fixed !important; top:0 !important; left:0 !important; right:0 !important; width:100% !important; height:76px !important; z-index:2147483647 !important; visibility:visible !important; opacity:1 !important; transform:translate3d(0,0,0) !important; isolation:isolate; border-bottom:1px solid var(--line); }
  .header-inner { height:76px; position:relative; z-index:2147483647; }
  .main-nav { display:none; }
  .header-appointment, .language-switcher { display:none; }
  .mobile-nav-toggle { display:block; position:relative; z-index:2147483647; flex-shrink:0; }

  .mobile-nav { position:fixed !important; top:76px !important; left:0 !important; right:0 !important; bottom:0 !important; width:100% !important; height:calc(100dvh - 76px) !important; z-index:2147483646 !important; background:var(--paper) !important; overflow:hidden; visibility:hidden; opacity:0; pointer-events:none; transform:translate3d(0,-8px,0); transition:opacity .25s ease,transform .25s ease,visibility .25s ease; }
  .mobile-nav.is-open { visibility:visible; opacity:1; pointer-events:auto; transform:translate3d(0,0,0); }

  /* only the differing property; everything else is inherited from the base rule */
  .mobile-nav-panel { transition:transform .35s cubic-bezier(.22,1,.36,1); }
}

@media (max-width:480px) {
  .mobile-nav-main-links, .mobile-nav-panel-header, .mobile-nav-sub-links { padding-left:24px; padding-right:24px; }
  .mobile-nav-main-links .mobile-nav-link { min-height:86px; font-size:clamp(1.9rem,8.5vw,2.3rem); }
  .mobile-nav-utility { padding-left:24px; padding-right:24px; padding-bottom:28px; }
  .mobile-nav-sub-links .mobile-nav-link { min-height:78px; font-size:clamp(1.8rem,8vw,2.15rem); }
}

@media (max-width:360px) {
  .mobile-nav-main-links { padding-left:20px; padding-right:20px; }
  .mobile-nav-main-links .mobile-nav-link { min-height:78px; font-size:1.8rem; }
  .mobile-nav-utility { padding-left:20px; padding-right:20px; margin-top:auto; }
  .mobile-nav-utility .mobile-nav-link { min-height:62px; font-size:1.05rem; }
}

/* ===== HERO ===== */
.hero { padding:0; border-bottom:1px solid var(--line); }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; align-items:stretch; min-height:620px; }
.hero-copy { display:flex; flex-direction:column; justify-content:center; padding:72px 56px; }
.hero-copy p { font-size:1.12rem; color:var(--ink-soft); }
.hero-actions { display:flex; gap:14px; margin-top:8px; flex-wrap:wrap; }
.hero-meta { margin-top:48px; display:flex; gap:36px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:28px; }
.hero-meta-item { max-width:220px; }
.hero-meta-item .label { display:block; font-weight:600; color:var(--ink); margin-bottom:2px; }
.hero-meta-item .value { color:var(--ink-soft); font-size:.94rem; }
.hero-media { position:relative; overflow:hidden; background:var(--teal-mist); }
.hero-media img { width:100%; height:100%; object-fit:cover; object-position:center 18%; }

@media (max-width:900px) {
  .hero-grid { grid-template-columns:1fr; min-height:0; width:100%; }
  /* NOTE: bare "p" applies to every paragraph on mobile (left unchanged on purpose) */
  .hero-copy h1, p { margin-bottom:24px; margin-top:24px; }
  .hero-actions { margin-bottom:65px; margin-top:36px; }
  .hero-media { display:none; }
  .hero-copy { padding:36px 20px 0; margin:auto; width:100%; box-sizing:border-box; }
  .hero-meta { margin-top:2px; padding:28px 20px 32px; margin-left:-20px; margin-right:-20px; width:calc(100% + 40px); box-sizing:border-box; background-image:linear-gradient(rgba(255,255,255,.88),rgba(255,255,255,.88)),url('/images/imagepraktijk.avif'); background-size:cover; background-position:center 18%; }
  .hero-meta-item:nth-child(3) { display:none; }
}

/* ===== ABOUT ===== */
.about-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.about-media { align-self:stretch; border-radius:3px; overflow:hidden; background:var(--teal-mist); }
.about-media img { width:100%; height:100%; object-fit:cover; }
.about-copy p { color:var(--ink-soft); }
@media (max-width:860px) {
  .about-grid { grid-template-columns:1fr; gap:28px; }
  .about-media img { max-height:320px; object-position:center 15%; }
}

/* ===== SECTION HEADING ===== */
.section-head { max-width:640px; margin-bottom:48px; }
.section-head p { color:var(--ink-soft); }

/* ===== TREATMENTS ===== */
.treatments-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.treatment-card { background:var(--paper); padding:36px 32px; }
.treatment-card h3 { margin-bottom:10px; }
.treatment-card p { color:var(--ink-soft); font-size:.96rem; margin-bottom:0; }
@media (max-width:900px) { .treatments-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:620px) { .treatments-grid { grid-template-columns:1fr; } }

/* ===== NETWORK ===== */
.network-section { background:var(--paper-dim); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.network-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; margin-top:8px; }
.network-item { border-top:2px solid var(--teal); padding-top:18px; }
.network-item h3 { margin-bottom:8px; }
.network-item p { color:var(--ink-soft); font-size:.96rem; }
@media (max-width:860px) { .network-grid { grid-template-columns:1fr; gap:32px; } }

/* ===== TEAM ===== */
.team-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:48px; }
.team-card { display:grid; grid-template-columns:160px 1fr; gap:24px; align-items:start; }
.team-photo { width:160px; height:200px; object-fit:cover; border-radius:3px; background:var(--teal-mist); }
.team-role { display:inline-block; color:var(--teal); font-weight:600; font-size:.86rem; margin-bottom:10px; }
.team-card p { font-size:.95rem; color:var(--ink-soft); margin-bottom:0; }
.staff-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:8px; }
.staff-card { text-align:left; }
.staff-photo { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:3px; background:var(--teal-mist); margin-bottom:12px; }
.staff-card h3 { font-size:1rem; margin-bottom:2px; }
.staff-card .staff-role { font-size:.85rem; color:var(--ink-soft); }
@media (max-width:720px) {
  .team-grid { grid-template-columns:1fr; gap:40px; }
  .team-card { grid-template-columns:1fr; gap:16px; }
  .team-photo { width:100%; max-width:240px; height:280px; object-fit:cover; object-position:center 20%; margin:0 auto; }
  .staff-grid { grid-template-columns:repeat(2,1fr); }
}

/* ===== FAQ ===== */
.faq-list { border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; background:none; border:none; text-align:left; padding:24px 4px; cursor:pointer; font-family:var(--serif); font-size:1.08rem; color:var(--ink); }
.faq-icon { flex:none; width:22px; height:22px; position:relative; }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; background:var(--teal); top:50%; left:50%; transform:translate(-50%,-50%); }
.faq-icon::before { width:14px; height:2px; }
.faq-icon::after { width:2px; height:14px; transition:transform 200ms ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform:translate(-50%,-50%) rotate(90deg) scaleX(0); }
.faq-answer-wrapper { display:grid; grid-template-rows:0fr; transition:grid-template-rows 260ms ease; }
.faq-question[aria-expanded="true"] + .faq-answer-wrapper { grid-template-rows:1fr; }
.faq-answer { overflow:hidden; }
.faq-answer p { padding:0 4px 24px; color:var(--ink-soft); font-size:.97rem; }

/* ===== CONTACT ===== */
.contact-section { background:var(--teal-dark); color:var(--paper); }
.contact-section h2 { color:var(--paper); }
.contact-section .section-head p { color:rgba(251,252,250,.72); }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.contact-detail { margin-bottom:22px; }
.contact-detail .label { display:block; font-size:.82rem; text-transform:none; color:rgba(251,252,250,.6); margin-bottom:4px; }
.contact-detail .value { font-family:var(--serif); font-size:1.15rem; }
.contact-detail a { color:var(--paper); text-decoration:underline; text-decoration-color:rgba(251,252,250,.4); }
.contact-detail a:hover { text-decoration-color:var(--paper); }
.map-frame { border:1px solid rgba(251,252,250,.2); border-radius:3px; overflow:hidden; min-height:280px; }
.map-frame iframe { width:100%; height:100%; min-height:280px; border:0; display:block; }
@media (max-width:780px) { .contact-grid { grid-template-columns:1fr; } }

/* ===== FOOTER ===== */
.site-footer { background:var(--teal-dark); color:var(--line); padding:40px 0; font-size:.88rem; }
.footer-inner { display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.footer-inner a { color:rgba(251,252,250,.9); text-decoration:underline; text-decoration-color:#151b22; }
.footer-links { display:flex; gap:20px; flex-wrap:wrap; align-items:center; }
.footer-btn { background:none; border:none; color:rgba(251,252,250,.9); font:inherit; cursor:pointer; padding:0; text-decoration:underline; text-decoration-color:#151b22; }
.footer-btn:hover { opacity:.8; }
.btn-route { display:inline-flex; align-items:center; justify-content:center; gap:8px; background-color:var(--teal,#008080); color:#fff; padding:10px 18px; border-radius:4px; border:none; font-weight:600; font-size:.95rem; cursor:pointer; text-decoration:none; transition:background-color .2s ease; }
.btn-route:hover { background-color:var(--teal-dark,#005a5a); color:#fff; }
@media (max-width:768px) {
  .footer-inner { flex-direction:column; gap:20px; text-align:left; }
  .footer-links { flex-direction:column; gap:12px; align-items:flex-start; }
  .btn-route { width:100%; box-sizing:border-box; }
}

/* ===== MODAL ===== */
.modal-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; z-index:9999; opacity:0; visibility:hidden; transition:opacity .25s ease,visibility .25s ease; padding:16px; box-sizing:border-box; }
.modal-overlay.is-open { opacity:1; visibility:visible; }
.modal-content { background:#fff; padding:32px 24px; border-radius:8px; max-width:400px; width:100%; position:relative; text-align:center; box-shadow:0 10px 25px rgba(0,0,0,.15); }
.modal-content h3 { margin:0 0 4px; color:var(--ink,#1a1a1a); font-size:1.25rem; }
.modal-subtitle { font-size:.9rem; color:var(--ink-soft,#666); margin-bottom:24px; }
.modal-close { position:absolute; top:12px; right:16px; background:none; border:none; font-size:1.5rem; cursor:pointer; color:var(--ink-soft,#666); }
.route-providers { display:flex; flex-direction:column; gap:12px; }
.route-btn { display:block; padding:12px 16px; border-radius:6px; text-decoration:none; font-weight:600; color:#fff; transition:opacity .2s ease; }
.route-btn:hover { opacity:.9; }
.route-btn.google { background-color:#4285F4; }
.route-btn.waze { background-color:#33CCFF; color:#000; }
.route-btn.apple { background-color:#000; }

/* ===== INNER PAGES ===== */
.page-hero { padding:56px 0 40px; border-bottom:1px solid var(--line); }
.page-hero p { color:var(--ink-soft); font-size:1.05rem; }
.breadcrumb { font-size:.85rem; color:var(--ink-soft); margin-bottom:18px; }
.breadcrumb a { color:var(--teal); text-decoration:none; }
.breadcrumb a:hover { text-decoration:underline; }

.detail-body { max-width:760px; }
.detail-body h2 { margin-top:2.2em; }
.detail-body h2:first-child { margin-top:0; }
.detail-body ul { padding-left:1.2em; color:var(--ink-soft); }
.detail-body li { margin-bottom:6px; }
.jump-links { display:flex; gap:24px; flex-wrap:wrap; list-style:none; padding:0; margin:28px 0 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.jump-links li { margin:0; }
.jump-links a { display:inline-block; padding:14px 0; font-size:.92rem; font-weight:600; color:var(--teal); text-decoration:none; }
.jump-links a:hover { text-decoration:underline; }
.price-table { width:100%; border-collapse:collapse; margin:8px 0 32px; max-width:640px; }
.price-table th, .price-table td { text-align:left; padding:12px 16px; border-bottom:1px solid var(--line); font-size:.94rem; }
.price-table th { color:var(--ink-soft); font-weight:600; font-size:.82rem; }
.related-links { margin-top:56px; padding-top:32px; border-top:1px solid var(--line); }
.related-links ul { list-style:none; padding:0; margin:12px 0 0; display:flex; gap:20px; flex-wrap:wrap; }
.related-links a { font-weight:600; }

/* ===== LENIS ===== */
html.lenis, html.lenis body { height:auto; }
html, body { overscroll-behavior-y:none; }
@media (max-width:860px) { html, body { overscroll-behavior-y:contain; } }
.lenis.lenis-smooth { scroll-behavior:auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior:contain; }
.lenis.lenis-stopped { overflow:hidden; }

/* ===== NOTARISLAMP THEME SWITCHER (kept: not verified unused on other pages) ===== */
.theme-toggle-btn { background:none; border:none; cursor:pointer; padding:4px; display:flex; align-items:center; justify-content:center; outline:none; border-radius:4px; }
.theme-toggle-btn:focus-visible { outline:2px solid var(--focus); }
.lamp-svg { width:28px; height:32px; overflow:visible; }
.lamp-shade { fill:var(--lamp-shade-fill); stroke:var(--lamp-shade-stroke); filter:var(--lamp-glow); transition:fill .3s ease,stroke .3s ease,filter .3s ease; }
.lamp-body { stroke:var(--lamp-body); fill:none; transition:stroke .4s ease; }
.lamp-base-solid { fill:var(--lamp-body); transition:fill .4s ease; }
.pull-cord { stroke:var(--cord-color); transition:stroke .4s ease; }
.pull-handle { fill:var(--handle-color); transition:fill .4s ease; }
@keyframes pullBounce { 0%{transform:translateY(0)} 40%{transform:translateY(5px)} 70%{transform:translateY(-1.5px)} 100%{transform:translateY(0)} }
.pulling .pull-handle-group { animation:pullBounce .4s cubic-bezier(.36,.07,.19,.97); }

/* ===== CONTACT PAGE HERO ===== */
.contact-page-hero { padding:0; background:var(--paper); border-bottom:1px solid var(--line); }
.contact-page-hero-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(420px,50vw); min-height:620px; }
.contact-page-copy { width:100%; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; padding-top:80px; padding-bottom:80px; }
.contact-page-copy h1 { max-width:none; margin-bottom:24px; }
.contact-page-copy > p:not(.breadcrumb) { max-width:540px; color:var(--ink-soft); font-size:1.08rem; margin-bottom:28px; }
.contact-page-image { position:relative; min-height:620px; overflow:hidden; }
.contact-page-image img { width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
.desktop-break { display:inline; }

@media (min-width:901px) {
  .contact-page-hero-inner { grid-template-columns:minmax(0,1fr) minmax(460px,50vw); }
  .contact-page-copy { padding-left:max(24px,calc((100vw - 1180px)/2)); padding-right:40px; }
  .contact-page-copy h1 { max-width:none; white-space:nowrap; }
}
@media (max-width:900px) {
  .contact-page-hero-inner { grid-template-columns:1fr; min-height:0; }
  .contact-page-copy { padding-top:56px; padding-bottom:56px; }
  .contact-page-image { min-height:420px; height:420px; }
  .desktop-break { display:none; }
}
@media (max-width:600px) {
  .contact-page-copy { padding-top:40px; padding-bottom:48px; }
  .contact-page-copy h1 { font-size:clamp(2rem,9vw,2.7rem); white-space:normal; }
  .contact-page-image { min-height:320px; height:320px; }
}


/* Liquid Glass — iOS Safari fallback */
.site-header.liquid-glass-fallback {
  -webkit-backdrop-filter:
    blur(12px) saturate(160%) brightness(1.08) !important;
  backdrop-filter:
    blur(12px) saturate(160%) brightness(1.08) !important;

  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 0 rgba(16, 35, 31, 0.04);
}

[data-theme="dark"] .site-header.liquid-glass-fallback {
  background: rgba(8, 11, 16, 0.70) !important;
  -webkit-backdrop-filter:
    blur(12px) saturate(145%) brightness(0.8) !important;
  backdrop-filter:
    blur(12px) saturate(145%) brightness(0.8) !important;

  border-bottom-color: rgba(255, 255, 255, 0.10);
}









.my-glass-element {
  --ios-warp: 1.5;            /* Controls actual optical convex lens distortion & bulging warp */
  --ios-frost: 0.15;          /* Controls clear vs frosted glass (0 = crystal clear liquid, 1 = heavy milky frost) */
  --ios-blur: 18;             /* Background blur intensity */
  --ios-aberration: 4.0;      /* RGB color separation split width on edges */
  --ios-reflections: 1.2;     /* Intensity of top/side specular glass light glints */
  --ios-shadow: 1.0;          /* Depth of ambient occlusion shadows */
}
/* ===== generated sections: subpage cards + contact CTA (see build.py) ===== */
.subpages { padding:56px 0 8px; }
.subpages h2 { margin-bottom:24px; }
.subpages .treatments-grid { background:none; border:none; gap:20px; }
.subpages .treatment-card { border:1px solid var(--line); }
a.treatment-card { display:block; color:inherit; text-decoration:none; transition:background-color 160ms ease; }
a.treatment-card:hover { background:var(--paper-dim); }
.treatment-card .card-more { display:inline-block; margin-top:14px; font-weight:600; color:var(--teal); font-size:.92rem; }
.cta-block { margin-top:64px; padding:56px 0; background:var(--teal-mist); border-top:1px solid var(--line); }
.cta-block h2 { margin-bottom:10px; }
.cta-block p { color:var(--ink-soft); max-width:var(--measure); margin-bottom:22px; }
.cta-actions { display:flex; gap:14px; flex-wrap:wrap; }

/* mobile only: header is fixed (76px), so push content below it */
@media (max-width:860px) {
  body { padding-top:76px; }
  html { scroll-padding-top:84px; }
}

/* mobile only: header is fixed (76px), so push content below it */
@media (max-width:860px) {
  body { padding-top:76px; }
  html { scroll-padding-top:84px; }
}
