/* ==========================================================
   Op. Dr. Bangin Bekir Candan – site stilleri
   Renkler doktorun sosyal medya görsellerindeki bordo + lacivert kimliğinden alındı.
   ========================================================== */
:root {
  --navy: #1b2c55;
  --navy-2: #24386b;
  --navy-deep: #111d3b;
  /* Vurgu rengi: logodaki turkuaz. --accent yazı/buton için koyulaştırıldı (beyazla 5:1 kontrast). */
  --accent: #067d6e;
  --accent-2: #056b5f;
  --accent-bright: #05b19a;
  --accent-deep: #05594f;
  --accent-soft: #e4f6f2;
  --accent-rgb: 5, 177, 154;
  --accent-on-dark: #7fe3d2;
  --appt-end: #0b4a4f;
  --danger: #b4233a;
  --danger-soft: #fbeef0;
  --sky: #eef3fb;
  --bg: #ffffff;
  --bg-tint: #f5f7fb;
  --ink: #16213d;
  --muted: #5d6782;
  --line: #e3e8f1;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(27, 44, 85, .25);
  --shadow-lg: 0 30px 60px -25px rgba(27, 44, 85, .45);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Oswald", "Plus Jakarta Sans", sans-serif;
  --header-h: 76px;
}

:root[data-theme="bordo"] {
  --accent: #8c1d2f; --accent-2: #a8263b; --accent-bright: #8c1d2f; --accent-deep: #6d1424;
  --accent-soft: #fbeef0; --accent-rgb: 140, 29, 47; --accent-on-dark: #ffb8c3; --appt-end: #3a1a3c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Ortak ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--accent-on-dark); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--navy); letter-spacing: .01em; }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 640px; margin: 14px 0 0; }

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section--tint { background: var(--bg-tint); }
.section__head { margin-bottom: 44px; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), .75); }
.btn--primary:hover { background: var(--accent-2); }
.btn--wa { background: #fff; color: #128c4b; border-color: #cdeedb; }
.btn--wa:hover { background: #effbf3; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.08); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-deep); color: #c9d3ec; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info a:hover { color: #fff; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s; }
.topbar__social a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(17,29,59,.5); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 46px; height: 46px; border-radius: 10px; flex: none; box-shadow: var(--shadow); }
.brand__mark {
  display: grid; grid-template-columns: 1fr 1fr; width: 46px; height: 46px; border-radius: 12px; overflow: hidden;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; box-shadow: var(--shadow);
}
.brand__mark span { display: grid; place-items: center; }
.brand__mark span:first-child { background: var(--accent); }
.brand__mark span:last-child { background: var(--navy); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1rem; color: var(--navy); letter-spacing: -.01em; }
.brand__text small { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #aab6d3; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--navy); position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; padding: 10px 20px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--sky); border-radius: 10px; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(var(--accent-rgb), .12), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(27, 44, 85, .10), transparent 60%),
    linear-gradient(180deg, #f7f9fd, #fff);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(27,44,85,.12) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 5vw, 70px); }
.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02;
  color: var(--navy); text-transform: uppercase; letter-spacing: .005em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__title-sm { display: block; font-size: .42em; letter-spacing: .12em; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.hero__role { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--navy-2); font-weight: 600; margin: 16px 0 22px; }
.hero__tags { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tags li {
  padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--navy); box-shadow: 0 4px 12px -8px rgba(27,44,85,.3);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; justify-self: center; width: min(470px, 100%); }
.hero__photo {
  position: relative; border-radius: 200px 200px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); background: var(--sky);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 70%; height: 80%; z-index: -1;
  border-radius: 200px 200px 28px 28px; border: 2px solid rgba(var(--accent-rgb), .35);
}
.hero__card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff;
  border-radius: 14px; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.hero__card svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.hero__card strong { display: block; color: var(--navy); }
.hero__card span { color: var(--muted); }
.hero__card--a { left: -36px; bottom: 70px; }
/* Kartlar yüzü kapatmasın: sağdaki kart fotoğrafın orta hizasında (omuz/kol seviyesi) */
.hero__card--b { right: -28px; top: 50%; animation-delay: -3s; }
.hero__card--b svg { background: var(--sky); color: var(--navy); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Highlights ---------- */
.highlights { margin-top: -50px; position: relative; z-index: 2; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hl {
  display: flex; align-items: center; gap: 14px; padding: 22px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.hl:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hl svg { width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--sky); color: var(--navy); }
.hl strong { display: block; color: var(--navy); }
.hl span { font-size: .86rem; color: var(--muted); }
.hl--accent { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-color: transparent; }
.hl--accent svg { background: rgba(255,255,255,.15); color: #fff; }
.hl--accent strong, .hl--accent span { color: #fff; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 30px); }
.about__media img { border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; width: 100%; height: auto; }
.about__media::before {
  content: ""; position: absolute; inset: 30px -24px -24px 30px; border-radius: 28px; z-index: -1;
  background: linear-gradient(135deg, var(--navy), var(--accent-bright));
}
.about__badge {
  position: absolute; left: -20px; bottom: 36px; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; line-height: 1.2;
}
.about__badge strong { font-family: var(--display); font-size: 1.6rem; color: var(--accent); }
.about__badge span { font-size: .82rem; font-weight: 600; color: var(--navy); }
.about__text p { color: #3c4663; }
.about__text .h2 { margin-bottom: 20px; }

.timeline { list-style: none; padding: 0; margin: 26px 0 30px; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: flex; gap: 18px; padding: 0 0 18px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.timeline__year { font-family: var(--display); font-weight: 600; color: var(--accent); min-width: 78px; flex: none; }
.timeline__now::before { background: var(--accent) !important; box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .2); }
.timeline strong { color: var(--navy); }
.timeline p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.about__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.memberships { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 30px; }
.memberships__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.memberships__item { padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .88rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; background: #fff; border-radius: var(--radius); padding: 30px 28px 26px; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent-bright), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-soft), var(--sky)); color: var(--accent);
}
.svc__icon svg { width: 38px; height: 38px; }
.svc h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 14px; }
.svc h3 small { display: block; font-size: .8rem; font-weight: 600; color: var(--accent); margin-top: 4px; letter-spacing: .02em; }
.svc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.svc li { position: relative; padding-left: 22px; color: #3c4663; font-size: .95rem; }
.svc li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px;
  background: var(--accent); opacity: .85; transform: rotate(45deg) scale(.7);
}

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.vid { position: relative; border-radius: 16px; overflow: hidden; background: var(--navy-deep); aspect-ratio: 9 / 16; box-shadow: var(--shadow); }
.vid button, .vid video, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; }
.vid button { background: none; color: #fff; text-align: left; }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vid:hover img { transform: scale(1.05); }
.vid__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,16,35,.92)); }
.vid__play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35); transition: background .25s, transform .25s;
}
.vid__play svg { width: 24px; height: 24px; margin-left: 3px; }
.vid:hover .vid__play { background: var(--accent); transform: scale(1.08); }
.vid__title { position: absolute; left: 14px; right: 14px; bottom: 14px; font-weight: 700; font-size: .88rem; line-height: 1.3; }
.videos__more { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }

/* ---------- Info tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600;
  color: var(--navy); font-size: .9rem; transition: all .2s;
}
.tab:hover { border-color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.info-card {
  border: 0; padding: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; transition: transform .3s, box-shadow .3s; animation: pop .45s both;
}
.info-card img { width: 100%; height: 100%; object-fit: cover; }
.info-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Appointment ---------- */
.appt { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--appt-end)); color: #dfe6f7; overflow: hidden; }
.appt::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .35), transparent 65%);
}
.appt__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.appt .h2 { color: #fff; margin-bottom: 18px; }
.appt__list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.appt__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.appt__list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.12); color: #8ff0b4; }
.appt__quick { display: flex; flex-wrap: wrap; gap: 12px; }
.appt__hours { display: flex; align-items: center; gap: 12px; margin: -8px 0 26px; color: #fff; }
.appt__hours > svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--accent-on-dark); }

.form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--navy); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: inherit; font-weight: 500; font-size: .95rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg-tint); color: var(--ink); transition: border-color .2s, background .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form .is-invalid { border-color: var(--danger) !important; background: var(--danger-soft) !important; }
.form textarea { resize: vertical; }
.form__check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; color: var(--muted) !important; }
.form__check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; }
.form__msg { margin: 0; font-size: .88rem; font-weight: 600; color: var(--danger); min-height: 1.2em; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 24px; }
.contact__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccard {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; line-height: 1.3; min-width: 0;
}
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ccard small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.ccard strong { color: var(--navy); font-size: .95rem; overflow-wrap: anywhere; }
.ccard div > span { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.ccard__ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--navy); }
.ccard__ic svg { width: 22px; height: 22px; }
.ccard__ic--wa { background: #e5f9ed; color: #128c4b; }
.ccard__ic--ig { background: linear-gradient(135deg, #feda75, #d62976 50%, #4f5bd5); color: #fff; }
.ccard__ic--fb { background: #e7efff; color: #1877f2; }
.ccard__ic--yt { background: #ffe8e8; color: #e00; }
.ccard--wide { grid-column: span 2; }
.contact__map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--sky); }
.contact__map iframe { width: 100%; height: 440px; border: 0; display: block; }
.contact__visual { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.contact__photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: 440px; background: var(--sky); }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.contact__photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); line-height: 1.3; font-size: .85rem; color: var(--muted); }
.contact__photo figcaption strong { color: var(--navy); font-size: .95rem; }

/* ---------- Tedavi sayfaları (tools/build.py) ---------- */
.services__more { margin-top: 32px; text-align: center; }
/* Tedavi linkleri: satır gibi tıklanabilir; sağdaki ok telefonda da tıklanabilir olduğunu gösterir */
.svc li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: -4px -8px; padding: 4px 8px; border-radius: 10px; color: inherit;
  transition: background .2s, color .2s;
}
.svc li a::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: rotate(45deg); opacity: .45; transition: transform .2s, opacity .2s;
}
.svc li a:hover, .svc li a:focus-visible { background: var(--accent-soft); color: var(--accent); }
.svc li a:hover::after, .svc li a:focus-visible::after { opacity: 1; transform: translateX(3px) rotate(45deg); }
.svc li a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.draft-banner { background: #fff4d6; color: #7a5200; text-align: center; padding: 10px 16px; font-weight: 700; font-size: .9rem; }
.page-hero { background: linear-gradient(180deg, #f3f7fc, #fff); padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--accent); }
.page-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.1rem); color: var(--navy); margin: 14px 0 12px; letter-spacing: .01em; }
.page-hero__lead { max-width: 760px; font-size: 1.1rem; color: #3c4663; margin: 0; }
.page-hero__meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; line-height: 1.35; font-size: .88rem; }
.page-hero__meta img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; box-shadow: var(--shadow); }
.page-hero__meta strong { display: block; color: var(--navy); }
.page-hero__meta span { color: var(--muted); }
.reviewed { display: block; margin-top: 4px; font-style: normal; font-size: .8rem; color: var(--accent); font-weight: 700; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 56px); padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 7vw, 90px); align-items: start; }
.article { font-size: 1.04rem; line-height: 1.8; color: #2c3654; max-width: 760px; }
.article h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 2.6vw, 1.8rem); color: var(--navy); margin: 1.9em 0 .55em; scroll-margin-top: calc(var(--header-h) + 20px); }
.article h3 { font-size: 1.12rem; color: var(--navy); margin: 1.4em 0 .4em; }
.article p { margin: 0 0 1em; }
.article ul, .article ol:not(.toc ol) { padding-left: 1.3em; margin: 0 0 1.1em; }
.article li { margin-bottom: .35em; }
.article li::marker { color: var(--accent); }
.article strong { color: var(--navy); }
.toc { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 8px; }
.toc strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; font-size: .95rem; line-height: 1.6; }
.toc li { break-inside: avoid; margin-bottom: 4px; }
.toc a { color: var(--navy); font-weight: 600; }
.toc a:hover { color: var(--accent); }
.faq { display: grid; gap: 10px; margin-top: 6px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: rgba(var(--accent-rgb), .45); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 15px 50px 15px 18px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 6px; }
.article__note { margin-top: 36px; padding: 14px 18px; border-left: 4px solid var(--accent-bright); background: var(--accent-soft); border-radius: 0 12px 12px 0; font-size: .9rem; color: #3c4663; }

.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.aside-card h2 { font-size: 1.05rem; color: var(--navy); margin-bottom: 12px; }
.aside-card--cta { background: linear-gradient(150deg, var(--navy-deep), var(--navy) 60%, var(--appt-end)); color: #dfe6f7; border: 0; display: grid; gap: 12px; }
.aside-card--cta h2 { color: #fff; font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin: 0; }
.aside-card--cta p { margin: 0; font-size: .92rem; }
.aside-card__hours { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.aside-card__hours svg { width: 18px; height: 18px; color: var(--accent-on-dark); }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.aside-links a { display: block; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .93rem; color: var(--navy); transition: background .2s, color .2s; }
.aside-links a:hover { background: var(--accent-soft); color: var(--accent); }

.cta-band { background: var(--bg-tint); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { margin: 8px 0 0; color: var(--muted); max-width: 560px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.tx { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 7vw, 90px); }
.tx-cat { margin-bottom: 44px; }
.tx-cat h2 { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--navy); margin-bottom: 18px; }
.tx-cat h2 .svc__icon { width: 48px; height: 48px; border-radius: 14px; margin: 0; }
.tx-cat h2 .svc__icon svg { width: 28px; height: 28px; }
.tx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.tx-card { position: relative; display: grid; gap: 6px; padding: 18px 46px 18px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.tx-card strong { color: var(--navy); }
.tx-card span { font-size: .87rem; color: var(--muted); line-height: 1.5; }
.tx-card svg { position: absolute; right: 16px; top: 20px; width: 18px; height: 18px; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #aab6d3; padding: 64px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__note { margin-top: 18px; max-width: 420px; font-size: .85rem; line-height: 1.6; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); transition: background .2s; }
.footer__social a:hover { background: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .82rem; text-align: center; }

/* ---------- Floating buttons ---------- */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 12px; }
.float__btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.4); transition: transform .2s;
}
.float__btn svg { width: 26px; height: 26px; }
.float__btn:hover { transform: scale(1.08); }
.float__btn--wa { background: var(--wa); animation: pulse 2.4s infinite; }
.float__btn--call { background: var(--navy); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(9, 14, 30, .92); display: grid; place-items: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(900px, 100%); max-height: 100%; display: grid; gap: 10px; justify-items: center; }
.lb__fig img { max-height: calc(100vh - 90px); width: auto; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lb__fig figcaption { color: #c9d3ec; font-size: .9rem; }
.lb__close, .lb__nav {
  position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%;
  width: 50px; height: 50px; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .2s;
}
.lb__close:hover, .lb__nav:hover { background: var(--accent); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .videos { grid-template-columns: repeat(4, 1fr); }
  .nav a:not(.btn) { padding: 8px 8px; font-size: .88rem; }
}
@media (max-width: 980px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 16px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .35s, opacity .35s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin: 14px 0 0; }
  .hero__inner, .about__grid, .appt__grid, .contact { grid-template-columns: 1fr; }
  .hero__media { order: -1; width: min(380px, 86%); }
  .hero__text { text-align: center; }
  .hero__tags, .hero__cta { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .highlights { margin-top: -30px; }
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .contact__cards { grid-template-columns: 1fr 1fr; }
  .contact__visual { grid-template-columns: 1fr 1fr; }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .about__media { position: relative; top: auto; width: min(420px, 90%); margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .topbar__info > span { display: none; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__text strong { font-size: .9rem; }
  .brand__text small { font-size: .68rem; }
  .hero__card { font-size: .76rem; padding: 9px 12px; }
  .hero__card svg { width: 28px; height: 28px; padding: 5px; }
  .hero__card--a { left: -14px; bottom: 40px; }
  .hero__card--b { right: -14px; top: 52%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .highlights__grid { grid-template-columns: 1fr; }
  .hl { padding: 16px; }
  .services { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vid__title { font-size: .78rem; left: 10px; right: 10px; bottom: 10px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; font-size: .85rem; padding: 9px 15px; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form__row, .contact__cards { grid-template-columns: 1fr; }
  .contact__map iframe { height: 320px; }
  .contact__visual { grid-template-columns: 1fr; }
  .contact__photo { height: 420px; }
  .ccard--wide { grid-column: auto; }
  .about__badge { left: -10px; }
  .about__media::before { inset: 20px -12px -12px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .timeline li { flex-direction: column; gap: 0; }
  .lb__nav { top: auto; bottom: 18px; translate: none; }
  .float__btn { width: 50px; height: 50px; }
}
