/*
  Clinic booking landing (static sample)
  Theme: clean + calm + trustworthy (medical)
*/

:root{
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-2: #f0f7f5;
  --text: #102a2e;
  --muted: rgba(16,42,46,.70);
  --line: rgba(16,42,46,.12);

  --brand: #0f766e;      /* teal */
  --brand-2: #1d4ed8;    /* blue (medical accent) */
  --accent: #f59e0b;     /* amber for notices */

  --shadow: 0 14px 40px rgba(2, 44, 48, .10);
  --shadow-sm: 0 8px 22px rgba(2, 44, 48, .12);
  --radius: 16px;
  --radius-sm: 12px;

  --font-sans: Inter, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(15,118,110,.18), transparent 55%),
    radial-gradient(900px 520px at 85% 10%, rgba(29,78,216,.12), transparent 58%),
    var(--bg);
  line-height: 1.75;
}

a{ color: inherit; text-decoration: none; }

/* accessibility */
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  position: fixed; left: 12px; top: 12px;
  width: auto; height: auto;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}

.container{
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,118,110,.40), rgba(29,78,216,.30), transparent);
  pointer-events: none;
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand{ display:flex; align-items:center; gap:12px; min-width: 220px; }
.brand__mark{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(15,118,110,1), rgba(29,78,216,1));
  color: #fff;
  font-weight: 800;
}
.brand__name{ font-weight: 800; letter-spacing: .02em; }
.brand__sub{ font-size: 12px; color: var(--muted); }

.nav{ display:flex; align-items:center; gap: 8px; }
.nav__link{
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav__link:hover{
  background: rgba(15,118,110,.08);
  border-color: rgba(15,118,110,.15);
}
.nav__btn{
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(15,118,110,1), rgba(29,78,216,1));
  border: 1px solid rgba(255,255,255,.0);
}
.nav__btn:hover{ filter: brightness(1.03); }

.back-to-samples{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.60);
  font-weight: 800;
  font-size: 13px;
}
.back-to-samples:hover{ background: rgba(255,255,255,.82); }

.back-to-samples:focus-visible,
.nav__btn:focus-visible,
.nav__link:focus-visible,
.btn:focus-visible,
.link:focus-visible,
.qa summary:focus-visible,
.sticky-cta__btn:focus-visible{
  outline: 3px solid rgba(15,118,110,.35);
  outline-offset: 2px;
}

/* hero */
.hero{ padding: 26px 0 10px; }
.hero__inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start; }
.hero__content{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(16,42,46,.06);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 24px;
}
.hero__eyebrow{
  margin: 0 0 10px;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,118,110,.10);
  color: rgba(15,118,110,1);
  font-weight: 800;
  font-size: 13px;
}
.hero__title{ margin: 0 0 10px; font-size: 30px; line-height: 1.25; }
.hero__lead{ margin: 0 0 16px; color: var(--muted); }
.hero__cta{ display:flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 12px; }
.hero__meta{ display:flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.pill{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29,78,216,.10);
  color: rgba(29,78,216,1);
}

.alert{
  margin-top: 14px;
  background: rgba(245,158,11,.14);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  color: rgba(120,53,15,1);
}

.hero__panel .panel{
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(16,42,46,.08);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}
.panel__title{ font-weight: 900; margin-bottom: 10px; }

.hours{ border-radius: var(--radius-sm); background: rgba(15,118,110,.06); border: 1px solid rgba(15,118,110,.12); padding: 12px; }
.hours__row{ display:flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-weight: 700; }
.hours__note{ margin-top: 8px; font-size: 13px; color: var(--muted); }

.news-mini{ margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.news-mini time{ font-weight: 800; color: rgba(15,118,110,1); margin-right: 8px; }

.link{
  display: inline-flex;
  margin-top: 10px;
  font-weight: 800;
  color: rgba(15,118,110,1);
}
.link:hover{ text-decoration: underline; }

/* sections */
.section{ padding: 34px 0; }
.section--tint{ background: rgba(15,118,110,.06); border-top: 1px solid rgba(16,42,46,.06); border-bottom: 1px solid rgba(16,42,46,.06); }
.section__head{ margin-bottom: 14px; }
.section__title{ margin: 0 0 6px; font-size: 22px; letter-spacing: .01em; }
.section__lead{ margin: 0; color: var(--muted); }

.grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 16px; }

.card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,42,46,.08);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(2, 44, 48, .08);
  padding: 18px;
}
.card__title{ margin: 0 0 6px; font-size: 17px; }
.card__desc{ margin: 0 0 10px; color: var(--muted); }

.list{ margin: 0 0 12px; padding-left: 18px; color: rgba(16,42,46,.78); }

/* buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 900;
}
.btn--primary{
  color: #fff;
  background: linear-gradient(135deg, rgba(15,118,110,1), rgba(29,78,216,1));
}
.btn--primary:hover{ filter: brightness(1.03); }
.btn--ghost{
  background: rgba(255,255,255,.70);
  border-color: rgba(16,42,46,.12);
}
.btn--ghost:hover{ background: rgba(255,255,255,.92); }
.btn--mini{
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(15,118,110,.10);
  border-color: rgba(15,118,110,.18);
  color: rgba(15,118,110,1);
}
.btn--mini:hover{ background: rgba(15,118,110,.14); }

/* doctors */
.doctors{ display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.doctor{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,42,46,.08);
  border-radius: var(--radius);
  padding: 18px;
}
.avatar{
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(29,78,216,.10);
  color: rgba(29,78,216,1);
  font-weight: 900;
}
.doctor__name{ margin: 0 0 6px; font-size: 17px; }
.doctor__meta{ font-size: 12px; color: var(--muted); font-weight: 800; }
.doctor__desc{ margin: 0 0 10px; color: var(--muted); }

/* access */
.access{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.map{
  border-radius: var(--radius);
  border: 1px solid rgba(16,42,46,.10);
  background: linear-gradient(135deg, rgba(15,118,110,.10), rgba(29,78,216,.08));
  box-shadow: 0 12px 26px rgba(2, 44, 48, .08);
  min-height: 260px;
}
.map__inner{ position: relative; height: 100%; display: grid; place-items: center; }
.map__pin{
  width: 16px; height: 16px;
  border-radius: 999px;
  background: rgba(245,158,11,1);
  box-shadow: 0 0 0 10px rgba(245,158,11,.18);
}
.map__text{ margin-top: 10px; color: rgba(16,42,46,.70); font-weight: 800; }

.dl{ margin: 0; display: grid; gap: 10px; }
.dl > div{ display:grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.88); border: 1px solid rgba(16,42,46,.08); border-radius: var(--radius-sm); }
.dl dt{ font-weight: 900; color: rgba(15,118,110,1); }
.dl dd{ margin: 0; color: rgba(16,42,46,.82); }
.access__actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* FAQ */
.faq{ margin-top: 16px; display: grid; gap: 10px; }
.qa{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,42,46,.10);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.qa summary{ cursor: pointer; font-weight: 900; }
.qa__a{ margin-top: 8px; color: rgba(16,42,46,.82); }

/* bottom CTA */
.cta{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(16,42,46,.08);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 20px;
}
.cta__title{ margin: 0 0 6px; font-size: 22px; }
.cta__desc{ margin: 0 0 12px; color: var(--muted); }
.cta__actions{ display:flex; gap: 10px; flex-wrap: wrap; }

.mini{ background: rgba(15,118,110,.06); border: 1px solid rgba(15,118,110,.14); border-radius: var(--radius); padding: 14px; }
.mini__title{ font-weight: 900; margin-bottom: 8px; }
.mini__list{ margin: 0; padding-left: 18px; color: rgba(16,42,46,.78); line-height: 1.8; }

.footer{ padding: 18px 0 90px; }
.footer__inner{ display:flex; justify-content: space-between; align-items: center; }
.footer__small{ font-size: 12px; color: var(--muted); }

/* sticky CTA */
.sticky-cta{
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  display: none;
  gap: 10px;
  z-index: 60;
}
.sticky-cta__btn{
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 12px;
  border-radius: 999px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, rgba(15,118,110,1), rgba(29,78,216,1));
  border: 1px solid rgba(255,255,255,.0);
  box-shadow: 0 12px 28px rgba(2, 44, 48, .18);
}
.sticky-cta__btn--ghost{
  color: rgba(16,42,46,1);
  background: rgba(255,255,255,.85);
  border-color: rgba(16,42,46,.12);
}

/* responsive */
@media (max-width: 980px){
  .nav{ display: none; }
}

@media (max-width: 900px){
  .hero__inner{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .access{ grid-template-columns: 1fr; }
  .cta{ grid-template-columns: 1fr; }
  .footer__inner{ flex-direction: column; gap: 8px; align-items: flex-start; }
  .sticky-cta{ display: flex; }
}

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