/* ============================================================
   doctor-website-basic — BASIC version v2 (clean template build)
   Same content as /demos/doctor-website (Premium), but a standard
   single-font build: clean layout, soft shadows, standard colors.
   NO preloader, NO custom cursor, NO scroll animations, NO parallax,
   NO marquees, NO modals — bas ek decent, simple website.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-d: #1e40af;
  --tint: #eff6ff;
  --tint-2: #dbeafe;
  --bg-soft: #f8fafc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 28px -14px rgba(15, 23, 42, .14);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 44px -18px rgba(15, 23, 42, .22);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

a { color: var(--brand); }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
h2 { font-size: 27px; font-weight: 700; margin-bottom: 10px; position: relative; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
h3 small { font-weight: 500; color: var(--muted); font-size: 13px; }

section { padding: 64px 0; }
.sec-sub { color: var(--muted); margin-bottom: 32px; font-size: 16px; }
section > .wrap > h2::after {
  content: ""; display: block; width: 44px; height: 4px;
  background: var(--brand); border-radius: 2px; margin-top: 12px; opacity: .85;
}

::selection { background: var(--tint-2); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 16px; letter-spacing: -0.01em; }
.brand small { font-weight: 500; color: var(--muted); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--body); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-links a[href^="tel"] { color: var(--brand); font-weight: 600; }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }
.menu-btn {
  display: none; background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer;
  border-radius: 10px; color: var(--ink); font-family: inherit;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .45);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-d); text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .5); }
.btn-alt { background: #fff; color: var(--brand); border-color: var(--tint-2); box-shadow: none; }
.btn-alt:hover { background: var(--tint); color: var(--brand-d); box-shadow: none; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 8px; box-shadow: none; }
.btn-sm:hover { box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .45); }

/* ---------- HERO ---------- */
.hero {
  background:
    radial-gradient(700px 320px at 85% -10%, var(--tint-2) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-in { display: flex; gap: 44px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { flex: 1; }
.hero-sub { margin-bottom: 16px; font-size: 17px; color: var(--body); }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500;
  color: var(--body);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { flex: 0 0 320px; position: relative; }
.hero-img img {
  width: 100%; height: 400px; object-fit: cover; display: block;
  border-radius: 18px; box-shadow: var(--shadow-lg);
}
.hero-chip-float {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px;
}
.hero-chip-float b { color: var(--ink); font-size: 15px; }
.hero-chip-float small { color: var(--muted); font-size: 12px; }

/* ---------- STATS ---------- */
.stats { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-d) 100%); padding: 40px 0; }
.stats-in { display: flex; justify-content: space-between; gap: 16px; text-align: center; flex-wrap: wrap; }
.stats-in div { flex: 1; min-width: 150px; }
.stats-in b { display: block; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.stats-in span { color: var(--tint-2); font-size: 13px; font-weight: 500; }

/* ---------- CARDS (shared) ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card p { color: var(--body); font-size: 14.5px; }

/* ---------- HOW ---------- */
.how { background: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.how .card { border-top: 3px solid var(--tint-2); }

/* ---------- SERVICES ---------- */
.services { background: var(--bg-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-grid .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--tint); color: var(--brand);
  margin-bottom: 14px;
}

/* ---------- VISIT ---------- */
.visit { background: #fff; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.visit .card { background: var(--bg-soft); box-shadow: none; }
.visit .card:hover { background: #fff; box-shadow: var(--shadow); }
.visit h3 { color: var(--brand-d); }
.visit figure { margin: 14px 0 0; }
.visit figure img {
  width: 100%; height: 150px; object-fit: cover; display: block;
  border-radius: 10px; border: 1px solid var(--line);
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg-soft); }
.about-in { display: flex; gap: 44px; align-items: flex-start; }
.about-img { flex: 0 0 280px; position: relative; }
.about-img img {
  width: 100%; height: 360px; object-fit: cover; display: block;
  border-radius: 18px; box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; right: -10px; bottom: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 1px;
}
.about-badge b { color: var(--brand-d); font-size: 17px; font-weight: 800; }
.about-badge span { color: var(--muted); font-size: 12px; }
.about-copy { flex: 1; }
.about-copy p { margin-bottom: 14px; color: var(--body); }
.about-copy ul { list-style: none; margin-top: 20px; }
.about-copy li {
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--body);
  display: flex; gap: 10px; align-items: baseline;
}
.about-copy li b { color: var(--ink); min-width: 96px; font-weight: 600; }

/* ---------- QUOTES ---------- */
.quotes { background: #fff; }
.quotes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quotes-grid .card { position: relative; padding-top: 40px; }
.quotes-grid .card::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-size: 52px; line-height: 1; color: var(--tint-2); font-weight: 800;
}
.quotes-grid .card p { color: var(--ink); font-size: 15px; }
.quotes-grid b { display: block; margin-top: 12px; font-size: 14px; color: var(--ink); }
.quotes-grid span { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; padding: 18px 22px; box-shadow: var(--shadow);
}
.faq-item summary {
  font-weight: 600; cursor: pointer; color: var(--ink); font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--brand); font-weight: 500; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin-top: 12px; color: var(--body); font-size: 14.5px; }

/* ---------- CONTACT ---------- */
.contact { background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%); color: #cbd5e1; }
.contact h2 { color: #fff; }
.contact h2::after { background: #60a5fa; }
.contact a { color: #93c5fd; }
.contact-in { display: flex; gap: 48px; align-items: flex-start; }
.contact-copy { flex: 1; }
.contact-copy p { margin-bottom: 12px; }
.contact-meta { font-size: 14px; color: #94a3b8; margin-top: 18px; }
.contact-meta b { color: #e2e8f0; }
.contact-form {
  flex: 0 0 380px; background: #fff; padding: 26px; border-radius: 16px;
  color: var(--body); box-shadow: var(--shadow-lg);
}
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.contact-form input, .contact-form select {
  display: block; width: 100%; margin-top: 6px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff;
}
.contact-form input:focus, .contact-form select:focus { outline: 2px solid var(--tint-2); border-color: var(--brand); }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-ok { color: #166534; font-size: 15px; }

/* ---------- FOOTER ---------- */
.foot { background: #0b1220; color: #94a3b8; padding: 52px 0 24px; font-size: 14px; }
.foot a { color: #cbd5e1; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: none; }
.foot-in { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #1e293b; }
.foot-in b { color: #fff; display: block; margin-bottom: 10px; font-size: 15px; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; font-size: 13px; }

/* ---------- COMPARE PILL ---------- */
.ver-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  background: #fff; color: var(--body);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: 13px; font-weight: 500; text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.ver-pill:hover { text-decoration: none; border-color: var(--brand); }
.ver-pill b { color: var(--brand); font-weight: 600; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  .how-grid, .visit-grid { grid-template-columns: 1fr; }
  .svc-grid, .quotes-grid { grid-template-columns: 1fr; }
  .hero-in { flex-direction: column-reverse; padding-top: 44px; padding-bottom: 44px; }
  .hero-img { flex: none; width: 100%; max-width: 440px; }
  .hero-img img { height: 300px; }
  .about-in { flex-direction: column; }
  .about-img { flex: none; width: 100%; max-width: 440px; }
  .about-img img { height: 280px; }
  .about-badge { right: 10px; }
  .contact-in { flex-direction: column; }
  .contact-form { flex: none; width: 100%; }
}
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .menu-btn { display: block; }
  .nav-links {
    display: none; width: 100%; flex-direction: column;
    align-items: flex-start; padding: 6px 0 16px; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .stats-in div { min-width: 120px; }
}
