:root {
  --ink: #151515;
  --muted: #5b6470;
  --bg: #fbfcfc;
  --card: #ffffff;
  --line: #e2e8ea;
  --brand: #0d6f7f;
  --brand-2: #179fb3;
  --accent: #e9b422;
  --ok: #2f7d57;
  --warn: #b8742a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 111, 127, 0.10);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, .brand { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; }
a { color: var(--brand-2); }
img { max-width: 100%; }

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

/* Demo banner */
.demo-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 16px;
}
.demo-bar a { color: var(--accent); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { font-size: 1.5rem; font-weight: 700; color: var(--brand); text-decoration: none; letter-spacing: 0.5px; }
.brand span { color: var(--accent); }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; align-items: center; }
.nav ul a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav ul a:hover { color: var(--brand-2); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 1.1rem; }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--brand); color: #fff !important;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: 0.95rem; font-family: inherit;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brand) !important; border: 1.5px solid var(--brand); }
.btn.ghost:hover { background: var(--brand); color: #fff !important; }
.btn.gold { background: var(--accent); }
.btn.sm { padding: 8px 14px; font-size: 0.85rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* Hero */
.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(23, 159, 179, 0.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(233, 180, 34, 0.12), transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; color: var(--accent); font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 10px 0 18px; color: var(--brand); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-card {
  background: var(--card); border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.eye-art { display: block; margin: 0 auto 16px; width: 100%; max-width: 320px; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--brand); margin: 8px 0 12px; }
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(23, 159, 179, 0.12); color: var(--brand-2); font-size: 1.4rem; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.alt { background: #eef6f7; }

/* Portal tabs */
.portal { max-width: 860px; margin: 0 auto; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps div { flex: 1; height: 6px; border-radius: 6px; background: var(--line); }
.steps div.done { background: var(--brand-2); }
.step-title { font-size: 1.3rem; margin: 0 0 4px; color: var(--brand); }
.step-sub { color: var(--muted); margin: 0 0 20px; font-size: 0.92rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(23,159,179,.12); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.checks input { width: auto; }
.form-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }
.success { text-align: center; padding: 20px 0; }
.success .big { font-size: 3rem; }

/* Misc */
.muted { color: var(--muted); font-size: 0.9rem; }

/* Doctor/Team */
.team { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.portrait {
  aspect-ratio: 4/5; border-radius: 22px; background: linear-gradient(160deg, var(--brand-2), var(--brand));
  display: grid; place-items: center; color: rgba(255,255,255,.8); font-family: "Playfair Display", serif; font-size: 1.1rem; text-align: center; padding: 20px;
}

/* Proposal / features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature .tick { color: var(--ok); font-weight: 800; font-size: 1.2rem; }
.feature h4 { margin: 0 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Contact / footer */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.map {
  border-radius: var(--radius); min-height: 260px; background:
  repeating-linear-gradient(45deg, #e9e4d8 0 12px, #efebe2 12px 24px);
  display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line);
}
footer { background: var(--brand); color: rgba(255,255,255,.8); padding: 40px 0; font-size: 0.9rem; }
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .team, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 16px; border-bottom: 1px solid var(--line); }
  .nav ul.open { display: flex; }
  .grid-3, .features, .fields, .checks { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  section { padding: 60px 0; }
}

/* Brand logo (client's own artwork) */
.logo-img { display: block; height: 58px; width: auto; }
.footer-logo { height: 46px; margin-bottom: 8px; }
@media (max-width: 720px) { header .logo-img { height: 48px; } }

/* Back-to-school promo */
.promo { padding: 60px 0; }
.chalk {
  background: #1b1d1c; color: #fff; border: 12px solid #a86f3a; border-radius: 16px;
  box-shadow: inset 0 0 0 2px #7b4c24, var(--shadow);
  padding: 40px 32px; text-align: center; position: relative; overflow: hidden;
}
.chalk h2 {
  font-family: "Fredoka", "Inter", sans-serif; font-weight: 700; margin: 0; font-size: clamp(2rem, 6vw, 3.8rem);
  letter-spacing: 1px; line-height: 1.05;
}
.chalk h2 .rb span:nth-child(1){color:#e74c3c}.chalk h2 .rb span:nth-child(2){color:#f5c623}
.chalk h2 .rb span:nth-child(3){color:#6cc644}.chalk h2 .rb span:nth-child(4){color:#1fb5c7}
.chalk h2 .rb span:nth-child(5){color:#3a7bd5}.chalk h2 .rb span:nth-child(6){color:#9b59b6}
.chalk .tag { font-family: "Kaushan Script", cursive; font-size: 1.5rem; color: #5fd3e0; margin: 16px 0 6px; }
.chalk .tag em { color: #ff6b5b; font-style: normal; }
.chalk p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 20px; }
.perks { display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; margin: 22px 0 26px; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.perks span { color: rgba(255,255,255,.9); }
.chalk .btn { background: var(--brand-2); }
.chalk .btn:hover { background: var(--accent); color: var(--ink) !important; }


/* "Potential" add-on callouts */
.potential {
  margin-top: 22px; border: 2px dashed rgba(23,159,179,.45); border-radius: 20px;
  padding: 24px 28px; background: rgba(23,159,179,.05);
}
.potential h3 { margin: 10px 0 6px; color: var(--brand); font-size: 1.2rem; }
.potential p { margin: 0; color: var(--muted); }
.potential-feature { border-style: dashed; border-color: rgba(23,159,179,.45); }
.potential-feature .tick { color: var(--brand-2); }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; font-family: "Inter", sans-serif; }
.pill.info { background: rgba(23,159,179,.12); color: var(--brand-2); }
