/* =========================================================
   Shiba International Coloproctological Clinic — redesign
   Mobile-first, no framework. Breakpoints: 640 / 900 / 1160
   ========================================================= */

:root {
  --blue: #0587bb;
  --blue-dark: #056d96;
  --blue-deep: #0b3d54;
  --navy: #12303f;
  --ink: #22333d;
  --muted: #5c6f7b;
  --line: #dbe6ec;
  --bg: #ffffff;
  --bg-alt: #f2f8fb;
  --bg-soft: #e6f3f9;
  --ok: #157f4d;
  --warn: #b96b00;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 61, 84, .06), 0 8px 24px rgba(11, 61, 84, .08);
  --shadow-lg: 0 2px 4px rgba(11, 61, 84, .08), 0 16px 48px rgba(11, 61, 84, .14);
  --font: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --container: 1160px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue); }

h1, h2, h3 { line-height: 1.25; color: var(--navy); font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.8rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

svg { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .65em 1.25em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85em 1.6em; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue-dark); background: transparent; }
.btn-outline:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--bg-soft); color: var(--blue-deep); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- topbar ---------- */

.topbar { background: var(--navy); color: #d9e8f0; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 2.2rem; flex-wrap: wrap; padding-block: .25rem; }
.topbar-item { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
.topbar-item:hover { color: #fff; }
.topbar-spacer { flex: 1; }
@media (max-width: 639px) {
  .topbar-inner > .topbar-item:first-child { display: none; }
}

/* language dropdown */
.lang-menu { position: relative; z-index: 120; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .45em;
  background: none; border: 0; padding: .2rem 0; cursor: pointer;
  color: #fff; font: inherit; font-weight: 600;
}
.lang-toggle:hover { color: #9fd8f2; }
.lang-toggle svg { transition: transform .15s; }
.lang-menu.open .lang-toggle svg { transform: rotate(180deg); }
.lang-list {
  list-style: none; margin: 0; padding: .4rem;
  position: absolute; top: calc(100% + .45rem); right: 0; min-width: 11rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.lang-menu.open .lang-list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-list a {
  display: block; padding: .5rem .9rem; border-radius: 6px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.lang-list a:hover { background: var(--bg-soft); color: var(--blue-deep); }
.lang-list a[aria-current="true"] { color: var(--blue-dark); font-weight: 700; }
.lang-list a[aria-current="true"]::after { content: " ✓"; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -.01em; }
.brand-text span { font-size: .72rem; color: var(--muted); }

.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .8rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--blue-deep); }
.site-nav li.active > a, .site-nav a[aria-current="page"] { color: var(--blue-dark); }

.site-nav .has-sub { position: relative; }
.sub-toggle {
  display: none; background: none; border: 0; padding: .4rem; color: var(--muted); cursor: pointer;
}
.submenu {
  list-style: none; margin: 0; padding: .4rem;
  position: absolute; top: 100%; left: 0; min-width: 15rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a { font-weight: 500; }

.header-cta { margin-left: .25rem; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; margin-left: auto;
  position: relative; z-index: 95; /* stay clickable above the open drawer */
}
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 899px) {
  /* backdrop-filter would make the header the containing block for the
     fixed nav drawer, clipping it — use a solid background on mobile */
  .site-header { backdrop-filter: none; background: #fff; }
  .header-cta span { display: none; }
  .header-cta { padding-inline: .8em; }
  .nav-toggle { display: flex; margin-left: 0; }
  .site-nav {
    position: fixed; inset: 0; top: 0; z-index: 90;
    margin: 0; padding: 6.5rem 1.5rem 2rem;
    background: #fff; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease, visibility .25s;
    visibility: hidden;
  }
  .site-nav.open { transform: translateX(0); visibility: visible; box-shadow: var(--shadow-lg); }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { font-size: 1.1rem; padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .has-sub { display: flex; flex-wrap: wrap; }
  .site-nav .has-sub > a { flex: 1; }
  .sub-toggle { display: block; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub-toggle svg { transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu {
    position: static; width: 100%; min-width: 0; box-shadow: none; border: 0;
    background: var(--bg-alt); border-radius: var(--radius-sm); margin: .25rem 0;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub.open-sub .submenu { display: block; }
  .submenu a { border-bottom: 0; font-size: 1rem; }
  .nav-cta-mobile { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
  .nav-cta-mobile .btn { justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */

.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(70deg, rgba(7, 38, 54, .88) 0%, rgba(7, 46, 66, .72) 45%, rgba(7, 56, 80, .38) 100%);
}
.hero-inner { padding-block: clamp(3.5rem, 9vw, 7.5rem); max-width: 46rem; margin-left: 0; }
.hero-kicker {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: .3em .9em; border-radius: 999px; margin: 0 0 1.1rem;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-sub { font-size: clamp(1rem, .95rem + .4vw, 1.15rem); color: #dcebf3; max-width: 38rem; margin: 0 0 2.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; font-size: .9rem; color: #cfe5f0; }
.hero-badges svg { color: #7fd4a8; }

/* ---------- info strip ---------- */

.info-strip { background: var(--blue-deep); color: #fff; }
.info-strip-grid { display: grid; gap: 1px; background: rgba(255,255,255,.14); grid-template-columns: 1fr; padding-inline: 0; }
.info-card { display: flex; gap: .9rem; padding: 1.2rem clamp(1rem, 4vw, 2rem); background: var(--blue-deep); }
.info-icon {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #9fd8f2;
}
.info-icon svg { width: 1.25rem; height: 1.25rem; }
.info-card h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .2em; }
.info-card p { margin: 0; font-size: .93rem; color: #cfe3ee; }
.info-card a { color: #9fd8f2; }
.info-card a:hover { color: #fff; }
.strong-link { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
@media (min-width: 900px) { .info-strip-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- sections ---------- */

.section { padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- notices ---------- */

.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.notice-list li {
  display: grid; gap: .25rem 1.25rem; align-items: baseline;
  padding: .9rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm); background: #fff;
}
.notice-list time, .notice-list li > time {
  font-weight: 700; font-size: .82rem; color: var(--blue-dark); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em;
}
.notice-list p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .notice-list li { grid-template-columns: 7.5rem 1fr; } }

/* ---------- cards ---------- */

.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1160px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-body h2, .card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1; }
.card-more { font-weight: 600; font-size: .9rem; color: var(--blue-dark); margin-top: .5rem; }
.card:hover .card-more { color: var(--blue); }

/* ---------- split sections ---------- */

.split { display: grid; gap: 2rem; align-items: center; }
.split-media img, .split-media iframe {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 0;
}
.split-media iframe { aspect-ratio: 4 / 3; }
.split-body h2 { margin-bottom: .5em; }
.split-body blockquote {
  margin: 1.25rem 0; padding: .9rem 1.2rem;
  border-left: 4px solid var(--blue); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--blue-deep);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split-reverse .split-media { order: 2; }
}

.check-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .6em; align-items: baseline; }
.check-list svg { color: var(--ok); }

.station-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.station-list li { display: flex; gap: .6em; align-items: baseline; }
.station-list svg { color: var(--blue); }

/* ---------- hours table ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.hours-table {
  border-collapse: collapse; width: 100%; min-width: 34rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .95rem;
}
.hours-table th, .hours-table td { padding: .7rem .5rem; text-align: center; border: 1px solid var(--line); }
.hours-table thead th { background: var(--blue-deep); color: #fff; font-weight: 600; font-size: .85rem; }
.hours-table tbody th { background: var(--bg-alt); font-weight: 600; white-space: nowrap; padding-inline: 1rem; }
.hours-table .open { color: var(--ok); font-weight: 700; }
.hours-table .partial { color: var(--warn); font-weight: 700; }
.hours-table .closed { color: #b0bec7; }

.hours-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; margin: .9rem 0 0; padding: 0; font-size: .85rem; color: var(--muted); }
.hours-legend .open { color: var(--ok); font-weight: 700; }
.hours-legend .partial { color: var(--warn); font-weight: 700; }
.hours-legend .closed { color: #b0bec7; font-weight: 700; }

.note { font-size: .88rem; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band { background: linear-gradient(80deg, var(--blue-deep), var(--blue-dark)); color: #fff; padding-block: clamp(2.25rem, 5vw, 3.25rem); }
.cta-band-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; color: #cfe3ee; max-width: 34rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) {
  .cta-band-inner { grid-template-columns: 1fr auto; }
}

/* ---------- page banner ---------- */

.page-banner {
  background: linear-gradient(80deg, var(--blue-deep) 0%, var(--blue-dark) 70%, var(--blue) 100%);
  color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-banner h1 { color: #fff; margin: 0; }
.page-banner .lead { margin: .6rem 0 0; max-width: 44rem; color: #d3e7f1; font-size: clamp(.98rem, .9rem + .4vw, 1.12rem); }

/* ---------- prose / content pages ---------- */

.prose { max-width: 50rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .5rem; }

.pill-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.pill {
  background: var(--bg-soft); color: var(--blue-deep); border: 1px solid #c4e2f0;
  padding: .3em .9em; border-radius: 999px; font-size: .88rem; font-weight: 600;
}

.hospital-list { list-style: none; padding: 0; display: grid; gap: .9rem; }
.hospital-list li { padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------- price tables ---------- */

.price-table {
  border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .95rem;
  background: #fff; border: 1px solid var(--line);
}
.price-table th, .price-table td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--blue-deep); color: #fff; font-weight: 600; font-size: .87rem; }
.price-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.price-table td[rowspan] { background: var(--bg-soft) !important; font-weight: 600; color: var(--blue-deep); }
.num-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.clinic-facts th { width: 11rem; background: var(--bg-soft); color: var(--blue-deep); }
.clinic-facts { min-width: 0; }

/* ---------- director ---------- */

.profile-card {
  display: grid; gap: 1.5rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.25rem, 4vw, 2.25rem);
  margin-bottom: 2.5rem;
}
.profile-card img { border-radius: var(--radius-sm); object-fit: cover; aspect-ratio: 1; width: 100%; max-width: 260px; }
.profile-role { color: var(--muted); margin-top: -.5rem; }
@media (min-width: 640px) { .profile-card { grid-template-columns: 240px 1fr; } }

.timeline-heading { margin-top: 3rem; }
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0 0 0 1rem; border-left: 3px solid var(--bg-soft); display: grid; gap: 1.4rem; }
.timeline li { position: relative; padding-left: 1.25rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.6rem; top: .4rem;
  width: .8rem; height: .8rem; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue);
}
.tl-year { font-weight: 800; color: var(--blue-dark); font-size: 1.05rem; }
.timeline p { margin: .15rem 0 0; }

/* ---------- facility ---------- */

.facility-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .facility-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facility-grid { grid-template-columns: repeat(3, 1fr); } }
.facility-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.facility-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.facility-body { padding: 1.2rem 1.3rem 1.4rem; }
.facility-body h2 { font-size: 1.15rem; }
.facility-body p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- access ---------- */

.map-frame { margin-bottom: 2rem; }
.map-frame iframe {
  width: 100%; aspect-ratio: 16 / 7; min-height: 300px; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.routes-heading { margin-top: 2.5rem; }
.route {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; margin-top: .9rem; overflow: hidden;
}
.route summary {
  display: flex; align-items: center; gap: .7em;
  padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; color: var(--blue-deep);
  list-style: none;
}
.route summary::-webkit-details-marker { display: none; }
.route summary::after {
  content: ""; margin-left: auto; width: .6em; height: .6em; flex: none;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.route[open] summary::after { transform: rotate(-135deg); }
.route summary svg { color: var(--blue); }
.route-time { font-size: .8rem; font-weight: 600; color: var(--blue-dark); background: var(--bg-soft); border-radius: 999px; padding: .15em .8em; margin-left: .5em; }
.route-body { padding: 0 1.2rem 1.2rem; border-top: 1px solid var(--line); }
.route-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.1rem; padding-top: 1.1rem; }
.route-steps li { display: grid; gap: 1rem; counter-increment: step; align-items: start; }
.route-steps img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.route-steps p { margin: 0; position: relative; padding-left: 2.4rem; }
.route-steps p::before {
  content: counter(step);
  position: absolute; left: 0; top: .1rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem;
  display: grid; place-items: center;
}
@media (min-width: 640px) { .route-steps li { grid-template-columns: 220px 1fr; } }

.parking-figure { margin: 1rem 0 0; }
.parking-figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.parking-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* ---------- booking / contact ---------- */

.booking-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .booking-layout { grid-template-columns: 1fr 320px; gap: 3rem; } }

.steps { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.step { display: flex; gap: 1rem; }
.step-num {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--bg-soft); color: var(--blue-dark);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
}
.step h2 { font-size: 1.05rem; margin-bottom: .15em; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

.widget-slot {
  border: 2px dashed #a8cfe2; border-radius: var(--radius);
  background: var(--bg-alt); padding: 2.5rem 1.5rem; text-align: center; color: var(--muted);
}
.widget-slot p { margin: 0 0 .5rem; }
.widget-slot .btn { margin-top: 1rem; }

.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.3rem 1.4rem; margin-bottom: 1.25rem;
}
.aside-card h2 { font-size: 1rem; display: flex; align-items: center; gap: .5em; }
.aside-card h2 svg { color: var(--blue); }
.aside-card ul { padding-left: 1.1rem; margin: .5rem 0 0; font-size: .92rem; color: var(--muted); }
.aside-card li + li { margin-top: .45rem; }
.aside-card p { font-size: .93rem; color: var(--muted); margin: .4rem 0 0; }
.aside-phone a { font-size: 1.45rem; font-weight: 800; text-decoration: none; color: var(--blue-deep); }

/* forms */

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 4vw, 2rem); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy); }
.req, .opt {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  border-radius: 4px; padding: .15em .5em; vertical-align: middle; margin-left: .4em;
}
.req { background: #fdeaea; color: #b3261e; }
.opt { background: var(--bg-alt); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: inherit;
  padding: .65rem .8rem; border: 1.5px solid #c3d4dd; border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5, 135, 187, .18);
}

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: #b9cdd9; margin-top: 0; }
.footer-grid {
  display: grid; gap: 2.25rem; padding-block: clamp(2.5rem, 6vw, 3.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }

.brand-footer { color: #fff; margin-bottom: .9rem; }
.brand-footer .brand-text span { color: #8fa9b8; }
.footer-about p { font-size: .9rem; margin: 0 0 1rem; }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.footer-contact a:hover { color: #9fd8f2; }
.footer-col h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.footer-col h2.mt { margin-top: 1.5rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.footer-col a { color: #b9cdd9; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-hours { color: #8fa9b8; font-size: .87rem; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.1rem; }
.footer-bottom p { margin: 0; font-size: .8rem; color: #8fa9b8; }

/* ---------- small-screen readability ---------- */

@media (max-width: 639px) {
  body { font-size: 1.05rem; line-height: 1.7; }
  .container { padding-inline: 1.25rem; }

  h1 { line-height: 1.22; }
  h2 { line-height: 1.3; margin-bottom: .6em; }

  .section { padding-block: 3.25rem; }
  .section-head { margin-bottom: 1.75rem; }
  .section-head p { font-size: 1rem; line-height: 1.65; }

  .hero-inner { padding-block: 4rem; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: 1.55rem; }
  .hero-sub { font-size: 1rem; line-height: 1.65; margin-bottom: 6.25rem; }
  .hero-actions { gap: .9rem; margin-bottom: 2rem; }
  .hero-actions .btn-lg { padding: .6em 1.2em; font-size: .95rem; }
  .hero-badges { gap: .7rem 1.5rem; font-size: .95rem; }

  .info-card { padding-block: 1.4rem; }
  .info-card p { font-size: .98rem; line-height: 1.65; }

  .notice-list { gap: .9rem; }
  .notice-list li { padding: 1.1rem 1.2rem; gap: .45rem; }
  .notice-list p { font-size: 1rem; line-height: 1.65; }

  .card-grid { gap: 1.4rem; }
  .card-body { padding: 1.25rem 1.3rem 1.5rem; gap: .5rem; }
  .card-body p { font-size: .98rem; line-height: 1.65; }
  .card-body h2, .card-body h3 { font-size: 1.2rem; }

  .split { gap: 1.6rem; }
  .split-body p, .check-list, .station-list { font-size: 1rem; line-height: 1.65; }
  .check-list { gap: .65rem; }
  .split-body blockquote { line-height: 1.6; }

  .facility-body p { font-size: .98rem; line-height: 1.65; }

  .prose { font-size: 1rem; line-height: 1.7; }
  .prose li + li { margin-top: .65rem; }

  .step p { font-size: .98rem; line-height: 1.6; }
  .aside-card p, .aside-card ul { font-size: .98rem; }

  .footer-about p, .footer-col ul { font-size: .97rem; }
  .footer-col ul { gap: .6rem; }
  .footer-grid { gap: 2rem; }
}

/* ---------- misc ---------- */

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