/* ============================================
   TORELIO DENTAL CLINIC
   Medical luxury LP — mobile first
   ============================================ */

:root {
  --navy: #1a2942;
  --navy-2: #243656;
  --navy-deep: #121c2e;
  --gold: #c5a059;
  --gold-2: #d4b36e;
  --gold-dim: rgba(197, 160, 89, 0.16);
  --white: #ffffff;
  --paper: #f7f8fa;
  --paper-2: #eef1f4;
  --ink: #1a2942;
  --muted: #667085;
  --muted-2: #8a93a3;
  --line: rgba(26, 41, 66, 0.08);
  --line-strong: rgba(26, 41, 66, 0.14);
  --shadow: 0 10px 30px rgba(26, 41, 66, 0.06);
  --shadow-hover: 0 18px 44px rgba(26, 41, 66, 0.1);
  --shadow-card: 0 8px 28px rgba(26, 41, 66, 0.05);
  --radius: 6px;
  --radius-lg: 10px;
  --header-h: 4.5rem;
  --fixed-cta-h: 4.35rem;
  --pad: clamp(1.15rem, 4.8vw, 2.5rem);
  --section: clamp(4.25rem, 10vw, 7.5rem);
  --max: 1120px;
  --wide: 1200px;
  --serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--fixed-cta-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

body.menu-open,
body.modal-open,
body.lb-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dt, dd { margin: 0; }
table { border-collapse: collapse; }

::selection {
  background: var(--navy);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
}
.skip-link:focus { top: 1rem; }

.pc-only { display: none; }

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

svg.icon {
  width: 20px;
  height: 20px;
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn svg.icon,
.header__tel svg.icon,
.cta svg.icon {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.reason-card svg,
.hero-card svg,
.btn svg,
.header svg.icon,
.cta svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

.btn svg,
.header__tel svg.icon,
.cta svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

.container {
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-label::before,
.section-label::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.section-head--left .section-label::before { display: none; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 4.4vw, 2.15rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.section-lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 38rem;
  line-height: 2;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: clamp(2.4rem, 6vw, 4rem);
}
.section-head .section-lead { margin-inline: auto; }
.section-head--left {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}
.section-head--row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.12rem;
  transition: opacity 0.35s var(--ease);
}
.text-link:hover { opacity: 0.62; }

.media-zoom {
  overflow: hidden;
}
.media-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.1s var(--ease);
}
.media-zoom:hover img { transform: scale(1.06); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  background: transparent;
  color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 2.55rem; padding: 0 1rem; font-size: 0.7rem; }
.btn--lg { min-height: 3.25rem; padding: 0 1.7rem; }
.btn--block { width: 100%; }

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 10px 24px rgba(26, 41, 66, 0.18);
}
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); }

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover { background: #b38d48; border-color: #b38d48; }

/* ---------- Progress / header ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(26, 41, 66, 0.05);
}

.header__inner {
  width: min(100% - 1.15rem, var(--wide));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.logo__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.logo__name {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
  white-space: nowrap;
}
.logo__tag {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

@media (max-width: 420px) {
  .logo__name {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }
  .logo__tag { display: none; }
}

.nav { display: none; }
.nav__list {
  display: flex;
  gap: 1.45rem;
}
.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  position: relative;
  padding-bottom: 0.2rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.header__tel { display: none; }
.header__tel-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.header__tel-hours {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.header .btn--navy { display: none; }

.menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 7px;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 1.4px;
  background: var(--navy);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.menu-btn.is-open span:first-child { transform: translateY(4.2px) rotate(40deg); }
.menu-btn.is-open span:last-child { transform: translateY(-4.2px) rotate(-40deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(18, 28, 46, 0.97);
  color: var(--white);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 5.5rem 1.5rem 3rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 5vw, 1.55rem);
  letter-spacing: 0.14em;
  display: inline-block;
  padding: 0.5rem 0;
}
.mobile-menu__meta {
  margin-top: 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}
.hero__media {
  position: absolute;
  inset: -6%;
  z-index: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.06);
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.62) 38%, rgba(255,255,255,0.12) 68%, rgba(255,255,255,0.02) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 28%, rgba(26,41,66,0.06) 100%);
}
.hero__mark {
  position: absolute;
  left: 6%;
  top: 22%;
  z-index: 1;
  width: 88px;
  height: 88px;
  opacity: 0.09;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - var(--pad) * 2, var(--max));
  margin: 5.5rem auto 8.5rem;
  max-width: 36rem;
}
.hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 6.2vw, 2.55rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero__lead {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 1.7rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero__cards {
  position: relative;
  z-index: 3;
  width: min(100% - var(--pad) * 2, var(--max));
  margin: -4.2rem auto 0;
  display: grid;
  gap: 0.7rem;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.hero-card__icon {
  width: 22px;
  height: 22px;
  overflow: hidden;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.12rem;
}
.hero-card__icon svg.icon {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
}
.hero-card h2 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.hero-card p {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
  line-height: 1.6;
}

/* ---------- Stats ---------- */
.stats {
  padding: 3.15rem 0 0.4rem;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.stat__num span {
  font-size: 0.72em;
  margin-left: 0.08em;
}
.stat__label {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

/* ---------- Reasons ---------- */
.reasons__grid {
  display: grid;
  gap: 1.15rem;
}
.reason-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.reason-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.reason-card__body {
  padding: 1.45rem 1.35rem 1.6rem;
}
.reason-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 22px;
  height: 22px;
  overflow: hidden;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.reason-card__icon svg.icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}
.reason-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.reason-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ---------- Treatments ---------- */
.treat-grid {
  display: grid;
  gap: 1.15rem;
}
.treat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.treat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.treat-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.treat-card__body {
  padding: 1.25rem 1.2rem 1.4rem;
}
.treat-card h3 {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.treat-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.85;
}
.treat-card img[src*="treat-ortho"] {
  filter: saturate(0.28) contrast(1.03);
}

/* ---------- Equipment ---------- */
.equip {
  background: var(--paper);
}
.equip__grid {
  display: grid;
  gap: 2rem;
}
.equip__copy .section-lead { margin-bottom: 1.5rem; }
.equip__list {
  display: grid;
  gap: 0.9rem;
}
.equip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 118px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.equip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.equip-card__media { overflow: hidden; }
.equip-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.95rem 1rem 0.25rem;
}
.equip-card p {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.75;
  padding: 0 1rem 1rem;
}

/* ---------- Gallery ---------- */
.gallery__track-wrap {
  position: relative;
}
.gallery__track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 0.25rem var(--pad) 1.1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery__item {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__hint {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.12em;
}

/* ---------- Doctor ---------- */
.doctor__grid {
  display: grid;
  gap: 2rem;
}
.doctor__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.doctor__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.doctor__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(26, 41, 66, 0.88);
  color: var(--white);
  padding: 0.7rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.doctor__badge span {
  display: block;
  color: var(--gold-2);
  font-size: 0.62rem;
  margin-bottom: 0.15rem;
}
.doctor__role {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.doctor__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}
.doctor__kana {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  margin-bottom: 1.15rem;
}
.doctor__lead {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.doctor__bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 2;
}
.doctor__meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.doctor__meta dt {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}
.doctor__meta dd { color: var(--muted); }

.staff {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.staff img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.staff__role {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.staff__name {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin: 0.15rem 0 0.3rem;
}
.staff__lead {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Voices ---------- */
.voices { background: var(--paper); }
.voice-grid {
  display: grid;
  gap: 1rem;
}
.voice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  box-shadow: var(--shadow-card);
}
.voice-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.voice-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}
.voice-card__who {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  color: var(--navy);
  letter-spacing: 0.08em;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.2rem 0;
  background: none;
  border: 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.faq-item__icon {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-item__icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}
.faq-item__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}
.faq-item.is-open .faq-item__icon::after { opacity: 0; }
.faq-item__a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.95;
}
.faq-item.is-open .faq-item__a { display: block; }

/* ---------- Fees / first visit / news ---------- */
.flow__list {
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}
.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.flow-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  padding-top: 0.1rem;
}
.flow-item h3 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.flow-item p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.85;
}

.fee-table {
  width: 100%;
  font-size: 0.86rem;
}
.fee-table th,
.fee-table td {
  padding: 1rem 0.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.fee-table th {
  font-weight: 500;
  letter-spacing: 0.06em;
}
.fee-table td:last-child,
.fee-table th:last-child {
  text-align: right;
  font-family: var(--serif);
  letter-spacing: 0.04em;
}
.fee-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.8;
}

.news-list { display: grid; }
.news-item {
  display: grid;
  gap: 0.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.news-item time {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

/* ---------- Access ---------- */
.access__grid {
  display: grid;
  gap: 1.5rem;
}
.access__dl {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.4rem;
}
.access__dl div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.6rem;
  font-size: 0.86rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.access__dl dt {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  padding-top: 0.15rem;
}
.hours-table {
  width: 100%;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}
.hours-table th,
.hours-table td {
  padding: 0.35rem 0.2rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hours-table th { color: var(--muted); font-weight: 500; }
.hours-table .is-off { color: #b23b3b; }

.access__map {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(26,41,66,0.04), rgba(26,41,66,0.08)),
    repeating-linear-gradient(90deg, #e8edf2 0 24px, #eef2f6 24px 48px),
    repeating-linear-gradient(0deg, #e8edf2 0 24px, #eef2f6 24px 48px);
  border: 1px solid var(--line);
}
.access__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -100%);
  z-index: 2;
  pointer-events: none;
  text-align: center;
}
.map-pin__dot {
  width: 16px;
  height: 16px;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 8px rgba(26, 41, 66, 0.12);
}
.map-pin span {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: clamp(2.6rem, 6vw, 3.6rem) 0;
}
.cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 50%;
  opacity: 0.22;
}
.cta__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--pad) * 2, var(--wide));
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.cta__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  letter-spacing: 0.1em;
}
.cta__tel-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2.15rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.cta__tel-hours {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.cta__actions { display: grid; gap: 0.7rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.4rem 0 2rem;
  font-size: 0.8rem;
}
.footer__inner {
  width: min(100% - var(--pad) * 2, var(--wide));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}
.footer .logo__name { color: var(--white); }
.footer .logo__tag { color: var(--gold-2); }
.footer__addr {
  margin-top: 1rem;
  line-height: 2;
  font-size: 0.78rem;
}
.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.footer__nav p {
  color: var(--gold-2);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.55rem;
}
.footer__nav a {
  display: block;
  padding: 0.18rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}
.footer__nav a:hover { color: var(--white); }
.footer__bottom {
  width: min(100% - var(--pad) * 2, var(--wide));
  margin: 2.2rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.9;
}

/* ---------- Modal / lightbox / toast / fixed CTA ---------- */
.modal[hidden],
.lightbox[hidden],
.toast[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 46, 0.62);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  background: var(--white);
  padding: 1.8rem 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(18, 28, 46, 0.22);
}
.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: none;
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1;
}
.modal h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.modal__lead {
  margin: 0.55rem 0 1.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.form { display: grid; gap: 0.75rem; }
.form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper);
}
.form textarea { min-height: 6rem; resize: vertical; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  background: rgba(12, 18, 30, 0.92);
  padding: 1.5rem;
}
.lightbox img {
  position: relative;
  z-index: 1;
  max-width: min(100%, 1100px);
  max-height: 82vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 1.8rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--fixed-cta-h) + 1.2rem);
  transform: translateX(-50%);
  z-index: 90;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.15rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  width: min(calc(100% - 2rem), 420px);
  text-align: center;
}

.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  height: calc(var(--fixed-cta-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--white);
  box-shadow: 0 -8px 24px rgba(26, 41, 66, 0.08);
  transition: transform 0.4s var(--ease);
}
.fixed-cta.is-hidden { transform: translateY(110%); }
.fixed-cta a {
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.fixed-cta__tel { color: var(--navy); border-right: 1px solid var(--line); }
.fixed-cta__web { background: var(--navy); color: var(--white); }

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

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 720px) {
  .pc-only { display: inline; }
  .header .btn--navy { display: inline-flex; }
  .logo__name { font-size: 0.72rem; }
  .hero__cards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -3.4rem;
  }
  .reasons__grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
  .equip__list { grid-template-columns: 1fr 1fr; }
  .equip-card { grid-template-columns: 1fr; }
  .equip-card__media { aspect-ratio: 16 / 11; }
  .gallery__item { flex-basis: 280px; }
  .gallery__item img { height: 280px; }
  .voice-grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(4, 1fr); }
  .cta__inner { grid-template-columns: 1fr auto auto; gap: 1.5rem; }
  .cta__actions { min-width: 200px; }
  .section-head--row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .flow__list { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .fixed-cta { display: none; }
  .menu-btn { display: none; }
  .nav { display: block; }
  .header__tel {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--navy);
    margin-right: 0.2rem;
  }
  .header__tel svg { width: 18px; height: 18px; max-width: 18px; max-height: 18px; }
  .logo__name { font-size: 0.78rem; }
  .header__inner { width: min(100% - 1.4rem, 1240px); }
  .nav__list { gap: 1.05rem; }
  .nav a { font-size: 0.68rem; }
  .hero {
    min-height: 86svh;
    align-items: center;
  }
  .hero__content {
    margin: 0 auto;
    padding: 6.5rem 0 9rem;
  }
  .hero__cards {
    position: absolute;
    right: max(2rem, calc((100% - var(--wide)) / 2));
    bottom: 2.2rem;
    width: min(42%, 460px);
    margin: 0;
    grid-template-columns: 1fr;
  }
  .reasons__grid { grid-template-columns: repeat(4, 1fr); }
  .treat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .treat-card {
    flex: 0 1 calc((100% - 3.45rem) / 4);
    max-width: calc((100% - 3.45rem) / 4);
  }
  .equip__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
  }
  .doctor__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
  }
  .doctor__media { aspect-ratio: 4 / 5; max-height: 640px; }
  .voice-grid { grid-template-columns: repeat(3, 1fr); }
  .voice-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .access__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: stretch;
  }
  .access__map { min-height: 100%; }
  .footer__inner { grid-template-columns: 1.1fr 1.6fr; }
  .gallery__item { flex-basis: 340px; }
  .gallery__item img { height: 320px; }
}

@media (min-width: 1200px) {
  .treat-card {
    flex-basis: calc((100% - 3.45rem) / 4);
  }
  .nav__list { gap: 1.4rem; }
  .nav a { font-size: 0.72rem; }
}

@media (max-width: 430px) {
  :root {
    --header-h: 3.85rem;
    --section: 3.75rem;
  }
  .hero { min-height: 70svh; }
  .hero__content { margin: 4.6rem auto 7.2rem; max-width: none; }
  .hero__title {
    font-size: 1.48rem;
    letter-spacing: 0.06em;
  }
  .hero__lead { font-size: 0.82rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__cards { margin-top: -2.6rem; }
  .stat__num { font-size: 1.32rem; }
  .section-title { font-size: 1.36rem; }
  .equip-card {
    grid-template-columns: 86px 1fr;
    min-height: 86px;
  }
  .voice-card { grid-template-columns: 56px 1fr; padding: 1.05rem; }
  .voice-card img { width: 56px; height: 56px; }
  .cta__tel-num { font-size: 1.42rem; }
  .doctor__name { font-size: 1.38rem; }
  .gallery__item { flex-basis: min(78vw, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.is-in,
  .media-zoom img,
  .treat-card,
  .reason-card,
  .equip-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
