/* Clinic New. Change the colors here. */
:root {
  --bg: #ffffff;
  --tint: #f1f7f7;
  --ink: #102a2c;
  --muted: #4d6365;
  --line: #d8e6e6;
  --teal: #0f766e;
  --teal-dark: #0b5952;
  --green: #15803d;
  --notice: #fff8e6;
  --notice-line: #f0dca6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1120px, 100% - 40px); margin: 0 auto; padding: 20px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.logo svg { width: 32px; height: 32px; color: var(--teal); }
.logo span { color: var(--muted); font-weight: 500; }
.top-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.top-phone svg { width: 18px; height: 18px; }

main { width: min(1120px, 100% - 40px); margin: 0 auto; }

.hero {
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
  border-radius: 24px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgb(15 118 110 / 0.12), transparent 70%),
    var(--tint);
}
.accepting { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--green); font-weight: 700; font-size: 0.92rem; box-shadow: 0 1px 2px rgb(16 42 44 / 0.08); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; }
h1 { max-width: 640px; margin: 0 0 16px; font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; }
.lead { max-width: 600px; margin: 0 0 28px; color: var(--muted); font-size: 1.1rem; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--teal-dark); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.1rem; }
.card h2 svg { width: 22px; height: 22px; color: var(--teal); }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.95rem; }
.list svg { flex: none; width: 18px; height: 18px; color: var(--green); }
address { font-style: normal; line-height: 1.8; }

.join { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 18px; background: var(--ink); color: #eaf4f4; }
.join h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.4rem; }
.join h2 svg { width: 24px; height: 24px; color: #5eead4; }
.join p { margin: 0; color: #b6cccd; }
.join-form { display: grid; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.join-form input { height: 48px; padding: 0 14px; border: 1px solid #2f4a4c; border-radius: 10px; background: #173638; color: #fff; font: inherit; }
.join-form input:focus-visible { outline-color: #5eead4; outline-offset: 0; }
.join-form button { height: 50px; border: 0; border-radius: 10px; background: #5eead4; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.join-form button:hover { background: #99f6e4; }
.join .note { min-height: 1.6em; color: #5eead4; font-weight: 600; }

.emergency { display: flex; gap: 12px; margin: 24px 0 0; padding: 16px 18px; border: 1px solid var(--notice-line); border-radius: 12px; background: var(--notice); font-size: 0.95rem; }
.emergency svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #92650a; }

.foot { width: min(1120px, 100% - 40px); margin: 32px auto 0; padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0; }

@media (max-width: 900px) {
  .cards, .join { grid-template-columns: 1fr; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(21 128 61 / 0.5); }
  70%, 100% { box-shadow: 0 0 0 8px transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}
