/* Clínica Dental Láser Dr. Vilariño — site styles
   Layout concept: a calm clinical canvas (cool white / deep navy) crossed by a single
   "laser beam" rule — the one bold gesture — with mono labels for the clinic's real
   numbers (wavelengths, coordinates, hours). */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* colour — drawn from the clinic's own marks: blue wordmark, amber tooth, teal laser badge */
  --paper: #f5f8fa;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --ink: #0e2235;
  --ink-2: #44566a;
  --ink-3: #6b7c8e;
  --line: #d9e2ea;
  --blue: #1d5a9b;
  --blue-ink: #ffffff;
  --blue-soft: #e3eef8;
  --amber: #e59b2f;
  --teal: #2696a8;
  --navy: #0d1f31;
  --navy-2: #15304a;
  --on-navy: #e8eff5;
  --on-navy-2: #a9bccd;
  --shadow: 0 1px 2px rgba(14, 34, 53, .06), 0 8px 28px rgba(14, 34, 53, .08);
  --logo-chip: transparent;

  /* type */
  --f-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-xs: .78rem; --t-sm: .9rem; --t-base: 1.0625rem; --t-md: 1.2rem; --t-lg: 1.5rem;
  --t-xl: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem);
  --t-xxl: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem);

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 26px;
  --section: clamp(56px, 7vw, 104px);
  --header-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a1520; --surface: #0f1e2c; --surface-2: #132638; --ink: #e6eef5; --ink-2: #aebdcb; --ink-3: #8193a5;
    --line: #213547; --blue: #79adea; --blue-ink: #08182a; --blue-soft: #15304a; --amber: #f2b257; --teal: #4fc3d3;
    --navy: #07111b; --navy-2: #0f2235; --on-navy: #e6eef5; --on-navy-2: #9fb2c4;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35); --logo-chip: #f5f8fa; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a1520; --surface: #0f1e2c; --surface-2: #132638; --ink: #e6eef5; --ink-2: #aebdcb; --ink-3: #8193a5;
  --line: #213547; --blue: #79adea; --blue-ink: #08182a; --blue-soft: #15304a; --amber: #f2b257; --teal: #4fc3d3;
  --navy: #07111b; --navy-2: #0f2235; --on-navy: #e6eef5; --on-navy-2: #9fb2c4;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35); --logo-chip: #f5f8fa; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--t-base); line-height: 1.62; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--t-xxl); font-weight: 450; letter-spacing: -.02em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }
p { margin: 0; }
p + p { margin-top: .9em; }
.prose > * + * { margin-top: .9em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--teal); }
.prose strong { font-weight: 650; }
.prose h3 { font-size: var(--t-md); margin-top: 1.6em; }
.prose h4 { font-family: var(--f-body); font-size: var(--t-base); font-weight: 650; margin-top: 1.4em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, transparent, var(--amber)); border-radius: 2px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }

/* ---------- buttons */
.btn { --bg: var(--blue); --fg: var(--blue-ink); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.25em; border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 .97rem/1.1 var(--f-body); text-decoration: none; border: 1.5px solid var(--bg); cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(29, 90, 155, .22); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); box-shadow: none; }
.btn--wa { --bg: #1f9d55; --fg: #fff; }
.btn--light { --bg: var(--on-navy); --fg: var(--navy); }
.btn--outline-light { --bg: transparent; --fg: var(--on-navy); border-color: rgba(232, 239, 245, .35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- topbar + header */
.topbar { background: var(--navy); color: var(--on-navy-2); font-size: var(--t-sm); }
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; max-width: 1360px; }
.topbar a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; }
.topbar .tb-hours { display: inline-flex; align-items: center; gap: .45em; }
.topbar .spacer { flex: 1; }
.langs { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.langs a { padding: 3px 10px; border-radius: 999px; font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .06em; color: var(--on-navy-2); }
.langs a[aria-current="true"] { background: var(--on-navy); color: var(--navy); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); max-width: 1360px; }
.brand { display: inline-flex; align-items: center; flex: none; background: var(--logo-chip); border-radius: 10px; padding: 4px 8px; margin-left: -8px; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a, .nav .nav-parent { white-space: nowrap; display: inline-flex; align-items: center; gap: .3em; padding: .55em .7em; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 .93rem/1.2 var(--f-body); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav .nav-parent:hover { background: var(--surface-2); }
.nav a[aria-current="page"], .nav .is-active > .nav-parent { color: var(--blue); }
.nav a[aria-current="page"]::after { content: ""; }
.nav li { position: relative; }
.nav .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .16s ease; }
.nav .sub a { display: flex; width: 100%; padding: .6em .8em; }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .chev { width: .9em; height: .9em; transition: transform .2s; }
.header-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }

@media (min-width: 1181px) { .nav .nav-home { display: none; } }
@media (max-width: 1320px) {
  .nav a, .nav .nav-parent { padding: .55em .5em; font-size: .9rem; }
}
@media (max-width: 1180px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav { visibility: hidden; }
  .nav.open { visibility: visible; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); background: var(--surface); padding: calc(env(safe-area-inset-top, 0px) + 76px) 20px 32px; transform: translateX(100%); transition: transform .25s ease, visibility .25s; overflow-y: auto; box-shadow: var(--shadow); z-index: 60; margin: 0; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav .nav-parent { width: 100%; justify-content: space-between; padding: .85em .6em; font-size: 1.05rem; border-radius: 10px; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .nav li.open > .sub { display: block; }
  .nav li.open .chev { transform: rotate(180deg); }
  .nav .nav-mobile-extra { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .nav-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 16px; }
  .scrim { position: fixed; inset: 0; background: rgba(7, 17, 27, .45); z-index: 55; opacity: 0; visibility: hidden; transition: .2s; }
  .scrim.open { opacity: 1; visibility: visible; }
}
@media (min-width: 1181px) { .nav .nav-mobile-extra, .nav-close, .scrim { display: none; } }
@media (max-width: 760px) {
  .topbar .tb-hours, .topbar .tb-email { display: none; }
  .topbar .wrap { gap: 14px; }
  .brand img { height: 40px; }
}
@media (max-width: 420px) { .topbar .tb-phone2 { display: none; } }

/* ---------- the beam: the site's signature gesture */
.beam { position: relative; height: 2px; width: 100%; max-width: 520px; margin-block: 26px; background: linear-gradient(90deg, var(--amber) 0%, color-mix(in srgb, var(--amber) 60%, var(--teal)) 45%, transparent 100%); border-radius: 2px; transform-origin: left; }
.beam::after { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 22%, transparent), 0 0 18px 2px color-mix(in srgb, var(--amber) 70%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .beam { animation: beam-draw 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
  @keyframes beam-draw { from { transform: scaleX(.08); } to { transform: none; } }
}
.beam--section { max-width: 120px; margin: 0 0 18px; }

/* ---------- hero */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 60%; height: 100%; background: radial-gradient(60% 60% at 70% 30%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 22px; }
h1 em, h2 em { font-style: italic; color: var(--blue); font-weight: inherit; }
.section--navy h2 em, .cta-band h2 em { color: var(--amber); }
.hero h1 .accent { font-style: italic; color: var(--blue); font-weight: 400; }
.hero .subtitle { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.3; color: var(--ink-2); max-width: 30ch; }
.hero .lead { font-size: var(--t-md); color: var(--ink-2); max-width: 56ch; }
.hero .lead + .lead { margin-top: .7em; }
.hero .btn-row { margin-top: 30px; }
.hero-media { position: relative; min-width: 0; }
.hero-media .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; background: var(--surface-2); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .tag { position: absolute; left: 16px; bottom: 16px; background: color-mix(in srgb, var(--navy) 82%, transparent); color: var(--on-navy); font: 500 .74rem/1.3 var(--f-mono); letter-spacing: .06em; padding: 8px 12px; border-radius: 10px; backdrop-filter: blur(6px); }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.hero-badges img { height: 58px; width: auto; border-radius: 10px; background: #fff; padding: 4px; box-shadow: 0 1px 2px rgba(14,34,53,.08); }
.hero--page .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero--page .frame { aspect-ratio: 5 / 4; }
.hero--text .wrap { grid-template-columns: minmax(0, 1fr); }
.hero--text .hero-copy { max-width: 820px; }
@media (max-width: 860px) {
  .hero .wrap, .hero--page .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-media .frame, .hero--page .frame { aspect-ratio: 16 / 11; }
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: .5em; padding: .5em .9em .5em .7em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--t-sm); font-weight: 550; color: var(--ink); }
.chips .icon { color: var(--teal); }

/* ---------- sections */
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy .muted, .section--navy .lead-text { color: var(--on-navy-2); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head .sub { font-size: var(--t-md); color: var(--ink-2); }
.section--navy .section-head .sub { color: var(--on-navy-2); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.lead-text { font-size: var(--t-md); color: var(--ink-2); }

.section--flush-top { padding-top: 0; }
.hero + .section--flush-top { margin-top: -8px; }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--reverse .split-media { order: -1; }
.split:not(:has(.split-media)) { grid-template-columns: minmax(0, 1fr); }
.split:not(:has(.split-media)) .split-copy { max-width: 78ch; }
.split-copy { min-width: 0; max-width: 64ch; }
.split-copy > .eyebrow { margin-bottom: 14px; }
.split-copy > h2, .split-copy > h3 { margin-bottom: 18px; }
.split-copy .subtitle { font-family: var(--f-display); font-size: var(--t-md); font-style: italic; color: var(--ink-2); margin: -6px 0 18px; }
.split-copy .btn-row { margin-top: 26px; }
.split-media { min-width: 0; display: grid; gap: 14px; }
.split-media figure { margin: 0; }
.split-media .m-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.split-media .m-main img { width: 100%; max-height: 560px; object-fit: cover; }
.split-media .m-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; }
.split-media .m-row figure { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.split-media .m-row img { width: 100%; height: 100%; object-fit: cover; }
.split-media .m-contain img { object-fit: contain !important; background: #fff; }
figcaption, .caption { font: 400 .8rem/1.45 var(--f-mono); color: var(--ink-3); margin-top: 10px; letter-spacing: .01em; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-media { order: 0; }
}
.stack-sections > .split + .split { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }

/* figures strip */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures > div { padding: 26px 22px 24px; border-left: 1px solid var(--line); min-width: 0; }
.figures > div:first-child { border-left: 0; padding-left: 0; }
.figures .num { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--ink); font-weight: 400; }
.figures .num small { font-size: .45em; font-family: var(--f-mono); color: var(--teal); margin-left: .25em; letter-spacing: .04em; }
.figures .lbl { margin-top: 10px; font-size: var(--t-sm); color: var(--ink-2); }
@media (max-width: 860px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figures > div:nth-child(3) { border-left: 0; padding-left: 0; } .figures > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* features (blurb row) */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.features li { background: var(--surface); padding: 22px 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.features .f-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.features .f-ico .icon { width: 21px; height: 21px; }
.features h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 650; line-height: 1.35; letter-spacing: 0; }
.features p { font-size: var(--t-sm); color: var(--ink-2); }
.features ul { margin: 0; padding-left: 1.1em; font-size: var(--t-sm); color: var(--ink-2); }

/* services grid (home) */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.services li { min-width: 0; }
.services a, .services .svc { height: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1.25; transition: border-color .15s, transform .15s; }
.services a:hover { border-color: var(--blue); transform: translateY(-2px); }
.services img { width: 38px; height: 38px; object-fit: contain; flex: none; }
.services .svc-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--blue); }
.services .svc-ico .icon { width: 26px; height: 26px; }
:root[data-theme="dark"] .services img { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .services img { filter: invert(1) hue-rotate(180deg) brightness(1.1); } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.card-media { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card { color: inherit; text-decoration: none; }
a.card:hover .card-media img { transform: scale(1.03); }
a.card:hover { border-color: color-mix(in srgb, var(--blue) 50%, var(--line)); }
.card-body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; flex: 1; }
.card-body .card-icon { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) saturate(100%) invert(27%) sepia(52%) saturate(1400%) hue-rotate(191deg) brightness(92%); }
:root[data-theme="dark"] .card-body .card-icon { filter: brightness(0) invert(.75) sepia(.5) hue-rotate(170deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-body .card-icon { filter: brightness(0) invert(.75) sepia(.5) hue-rotate(170deg); } }
.card h3 { font-size: 1.35rem; }
.card .prose { font-size: .98rem; color: var(--ink-2); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .4em; font-size: .95rem; }
.card-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 6px; }
.card-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

/* titled lists (laser tissues etc.) */
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.lists .grp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; min-width: 0; }
.lists h3 { font: 500 .78rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.lists ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lists li { display: flex; gap: .6em; align-items: baseline; font-size: .98rem; }
.lists li::before { content: ""; width: 10px; height: 2px; background: var(--amber); flex: none; transform: translateY(-.3em); border-radius: 2px; }
.lists .note { font-size: var(--t-sm); color: var(--ink-3); margin-top: 12px; }

.lists-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 380px)); gap: 14px; margin-top: 22px; }
.lists-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.lists-media img { width: 100%; height: 100%; object-fit: cover; }

/* laser spectrum (subject detail) */
.spectrum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.spectrum > div { padding: 18px 18px 16px; border-left: 1px solid var(--line); min-width: 0; }
.spectrum > div:first-child { border-left: 0; }
.spectrum .nm { font: 500 1.35rem/1.1 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.spectrum .nm small { font-size: .62em; color: var(--ink-3); margin-left: .2em; }
.spectrum .nm-name { font-size: var(--t-sm); color: var(--ink-2); margin-top: 6px; }
.spectrum .bar { height: 4px; border-radius: 4px; margin-bottom: 14px; }
@media (max-width: 560px) { .spectrum { grid-template-columns: minmax(0, 1fr); } .spectrum > div { border-left: 0; border-top: 1px solid var(--line); } .spectrum > div:first-child { border-top: 0; } }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 16px; min-width: 0; }
.faq-aside figure { margin: 8px 0 0; border-radius: var(--radius-lg); overflow: hidden; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 2px; font-family: var(--f-display); font-size: 1.28rem; line-height: 1.3; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s, background .2s; }
.faq summary .pm .icon { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--blue-soft); border-color: transparent; color: var(--blue); }
.faq .answer { padding: 0 2px 24px; color: var(--ink-2); max-width: 68ch; }
.faq .answer figure { margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.faq .answer figure img { border-radius: 10px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq-aside { position: static; } }

/* tables */
.tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.tbl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.tbl h3 { font-family: var(--f-body); font-size: .98rem; font-weight: 650; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); letter-spacing: 0; line-height: 1.35; }
.tbl .scroll { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 18px; border-bottom: 1px solid var(--line); }
.tbl th { font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tbl td:last-child { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; color: var(--blue); }
.tbl tr:last-child td { border-bottom: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--surface-2); border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; display: block; width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery-hint { margin-top: 12px; }
.img-missing { display: none !important; }

/* logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.logos figure { margin: 0; background: #fff; border-radius: 12px; height: 84px; padding: 10px 16px; display: grid; place-items: center; border: 1px solid var(--line); }
.logos img { max-height: 62px; width: auto; max-width: 170px; object-fit: contain; }

/* person */
.person { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.person-photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.person-photo img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; }
.person .role { font: 500 .8rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 10px 0 20px; }
.credentials { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.credentials li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.credentials li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-.1em); }
.person .logos { justify-content: flex-start; margin-top: 22px; }
.person .logos figure { height: 64px; }
.person .logos img { max-height: 44px; max-width: 120px; }
@media (max-width: 860px) { .person { grid-template-columns: minmax(0, 1fr); } .person-photo img { max-height: 460px; } }

.signature { margin-top: 20px; }
.signature img { height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }

/* awards */
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.award { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.award .award-media { background: #fff; display: grid; place-items: center; padding: 18px; height: 190px; border-bottom: 1px solid var(--line); }
.award .award-media img { max-height: 150px; max-width: 100%; width: auto; object-fit: contain; }
.award .award-body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.award .yr { font: 500 .78rem/1 var(--f-mono); color: var(--amber); letter-spacing: .08em; }
.award h3 { font-size: 1.3rem; }
.award p { color: var(--ink-2); font-size: .98rem; }

/* cta band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; }
.cta-band .cta-copy { padding: clamp(28px, 5vw, 64px); display: grid; gap: 18px; align-content: center; min-width: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-navy-2); font-size: var(--t-md); }
.cta-band .cta-media { min-height: 260px; position: relative; }
.cta-band .cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .beam { margin: 4px 0; }
.cta-band .cta-contain { background: #0a1a2c; }
.cta-band .cta-contain img { object-fit: contain; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .cta-media { min-height: 220px; order: -1; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.c-card .c-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 6px; }
.c-card .c-lbl { font: 500 .74rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.c-card .c-val { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.2; overflow-wrap: anywhere; }
.c-card .c-val a { color: var(--ink); text-decoration: none; }
.c-card .c-val a:hover { color: var(--blue); }
.c-card .c-sub { font-size: var(--t-sm); color: var(--ink-2); }
.c-card .copy-btn { justify-self: start; margin-top: 4px; font: 500 .78rem/1 var(--f-mono); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--ink-2); cursor: pointer; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: stretch; }
@media (max-width: 860px) { .contact-split { grid-template-columns: minmax(0, 1fr); } }
.hours { display: grid; gap: 0; border-top: 1px solid var(--line); }
.hours > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.hours .d { font-weight: 600; }
.hours .s { font-family: var(--f-mono); font-variant-numeric: tabular-nums; text-align: right; color: var(--ink-2); font-size: .95rem; display: grid; gap: 2px; }
.hours-note { font-size: var(--t-sm); color: var(--ink-3); margin-top: 10px; }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); min-height: 320px; display: grid; }
.map-card .map-art { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px; opacity: .7; }
.map-card .map-art::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 70px; background: color-mix(in srgb, var(--teal) 22%, transparent); transform: rotate(-8deg); border-radius: 50%; }
.map-card .map-pin { position: relative; z-index: 1; place-self: center; text-align: center; display: grid; gap: 12px; justify-items: center; padding: 24px; }
.map-card .map-pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 8px color-mix(in srgb, var(--amber) 25%, transparent), 0 0 30px color-mix(in srgb, var(--amber) 70%, transparent); }
.map-card .map-pin .coords { font: 500 .85rem/1.5 var(--f-mono); color: var(--ink-2); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 6px 12px; border-radius: 8px; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.map-note { font-size: var(--t-xs); color: var(--ink-3); }

/* forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; min-width: 0; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label, .field > .lbl { font-weight: 600; font-size: .95rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid color-mix(in srgb, var(--blue) 45%, transparent); border-color: var(--blue); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; align-content: flex-start; }
.choices label { display: inline-flex; align-items: center; gap: .5em; padding: .55em .95em; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .95rem; background: var(--paper); }
.choices input { accent-color: var(--blue); }
.choices label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.check { display: flex; gap: .7em; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3em; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.form-msg { font-size: var(--t-sm); color: #b42318; min-height: 1.2em; }
.form-result { border: 1px dashed var(--teal); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; background: color-mix(in srgb, var(--teal) 7%, transparent); }
.form-result pre { margin: 0; white-space: pre-wrap; font: .85rem/1.5 var(--f-mono); color: var(--ink-2); max-height: 220px; overflow: auto; }
.form-aside { display: grid; gap: 22px; min-width: 0; }
.form-aside figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: minmax(0, 1fr); } }

/* video facade */
.video { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .2s, transform .5s; }
.video:hover img { opacity: .6; transform: scale(1.02); }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; padding: 16px; }
.video .play span.circle { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.video .play span.circle .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; margin-left: 4px; }
.video .play span.lbl { font: 500 .85rem/1.3 var(--f-mono); letter-spacing: .04em; background: rgba(7,17,27,.55); padding: 6px 12px; border-radius: 8px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* legal prose */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.7rem; margin-top: 2em; }
.legal h3 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-2); }

/* note / quote */
.quote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.3; max-width: 34ch; }
.note-box { border-left: 3px solid var(--amber); padding: 6px 0 6px 18px; color: var(--ink-2); font-size: .98rem; }

/* footer */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding-block: clamp(48px, 6vw, 80px) 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand img { height: 52px; width: auto; background: #f5f8fa; border-radius: 10px; padding: 6px 10px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.site-footer h4 { font: 500 .74rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .f-contact li { display: flex; gap: .6em; align-items: flex-start; }
.site-footer .f-contact .icon { margin-top: .25em; color: var(--amber); }
.f-hours { display: grid; gap: 8px; }
.f-hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 8px; }
.f-hours .mono { color: var(--on-navy); text-align: right; font-size: .88rem; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.coords-line { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; color: var(--on-navy-2); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* floating whatsapp */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: .5em; background: #1f9d55; color: #fff; text-decoration: none; padding: 12px 16px 12px 13px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.22); font-weight: 600; font-size: .95rem; }
.wa-float .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 13px; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 12, 20, .9); }
.lightbox .lb-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font: .8rem var(--f-mono); }

/* breadcrumbs */
.crumbs { font: 400 .8rem/1.4 var(--f-mono); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* sub-nav of treatments */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 550; background: var(--surface); }
.subnav a:hover, .subnav a[aria-current="page"] { border-color: var(--blue); color: var(--blue); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .wa-float, .site-footer { display: none; } }
