:root {
  --white: #ffffff;
  --blue: #5b8def;
  --blue-dark: #4570d4;
  --mint: #e8f1ff;
  --charcoal: #2d3748;
  --muted: #64748b;
  --line: #e2e8f0;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.gwc-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 20px; background: var(--charcoal); font-size: 13px; color: #94a3b8;
}
.gwc-bar a {
  padding: 8px 12px; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.gwc-bar a:hover { background: var(--blue-dark); }

.header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(16px, 4vw, 40px);
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.brand { font-size: 17px; font-weight: 700; color: var(--charcoal); }
.header nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--muted); }
.header nav a:hover { color: var(--blue); }
.header-call {
  padding: 10px 16px; background: var(--mint); color: var(--blue);
  font-size: 14px; font-weight: 700; border-radius: 999px;
}
.header-call:hover { background: var(--blue); color: #fff; }

.hero { padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 40px); background: var(--mint); }
.hero-wrap {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.badge {
  display: inline-block; margin: 0 0 16px; padding: 6px 12px;
  background: var(--white); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--blue);
}
.hero-text h1 {
  margin: 0 0 16px; font-size: clamp(32px, 5vw, 44px);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
}
.hero-text p { margin: 0 0 28px; color: var(--muted); font-size: 17px; max-width: 28rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  padding: 14px 24px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 14px; border-radius: 8px;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary--light { background: #fff; color: var(--blue); }
.btn-primary--light:hover { background: var(--mint); }
.btn-secondary {
  padding: 14px 24px; background: var(--white); color: var(--charcoal);
  font-weight: 600; font-size: 14px; border-radius: 8px; border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.hero-image img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(91, 141, 239, 0.2);
}

.insurance-bar {
  padding: 28px clamp(16px, 4vw, 40px);
  background: var(--white); border-bottom: 1px solid var(--line); text-align: center;
}
.insurance-label {
  margin: 0 0 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.insurance-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 0 0 12px; padding: 0; list-style: none;
}
.insurance-logos li {
  padding: 10px 16px; background: var(--mint); border-radius: 6px;
  font-size: 13px; font-weight: 700; color: var(--charcoal);
}
.insurance-note { margin: 0; font-size: 13px; color: var(--muted); }

.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head h2 {
  margin: 0 0 10px; font-size: clamp(26px, 4vw, 32px); font-weight: 700; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); }

.services {
  padding: 80px clamp(16px, 4vw, 40px);
  max-width: calc(var(--max) + 80px); margin: 0 auto;
}
.service-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-list article {
  padding: 28px; background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-list article:hover {
  border-color: var(--blue); box-shadow: 0 8px 24px rgba(91, 141, 239, 0.12);
}
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  background: var(--mint); color: var(--blue);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; border-radius: 10px;
}
.service-list h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.service-list p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

.doctor { background: var(--mint); }
.doctor-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 480px;
  max-width: var(--max); margin: 0 auto;
}
.doctor-photo {
  background-size: cover; background-position: center top; min-height: 320px;
}
.doctor-bio {
  padding: clamp(40px, 6vw, 64px);
  display: grid; align-content: center; gap: 14px;
}
.label {
  margin: 0; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
}
.doctor-bio h2 { margin: 0; font-size: clamp(24px, 4vw, 30px); font-weight: 700; }
.doctor-bio > p { margin: 0; color: var(--muted); font-size: 15px; }
.credentials { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.credentials li { margin-bottom: 6px; }
.comfort-block {
  margin-top: 12px; padding: 20px; background: var(--white);
  border-radius: 12px; border-left: 4px solid var(--blue);
}
.comfort-block h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.comfort-block p { margin: 0; font-size: 14px; color: var(--muted); }

.offer { padding: 0 clamp(16px, 4vw, 40px) 80px; }
.offer-banner {
  max-width: var(--max); margin: 0 auto; padding: 36px clamp(24px, 5vw, 48px);
  background: linear-gradient(135deg, var(--blue) 0%, #7ba3f5 100%);
  border-radius: 16px; color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.offer-copy .label { color: rgba(255,255,255,0.8); }
.offer-copy h2 { margin: 6px 0 10px; font-size: clamp(24px, 4vw, 32px); font-weight: 700; }
.offer-copy p { margin: 0; font-size: 14px; opacity: 0.9; max-width: 36rem; }

.testimonials {
  padding: 72px clamp(16px, 4vw, 40px);
  max-width: calc(var(--max) + 80px); margin: 0 auto;
}
.testimonial-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-cards figure {
  margin: 0; padding: 28px; background: var(--mint); border-radius: 12px;
}
.testimonial-cards blockquote { margin: 0; }
.testimonial-cards p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--charcoal); }
.testimonial-cards figcaption {
  margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted);
}

.faq { padding: 72px clamp(16px, 4vw, 40px); background: #f8fafc; }
.faq-inner { max-width: var(--max); margin: 0 auto; }
.faq-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0;
}
.faq-grid div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-grid dt { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--charcoal); }
.faq-grid dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

.appointment {
  padding: 80px clamp(16px, 4vw, 40px);
  background: var(--white);
}
.appointment-panel {
  max-width: 520px; margin: 0 auto; text-align: center;
}
.appointment-panel h2 { margin: 0 0 10px; font-size: 28px; font-weight: 700; }
.appointment-panel > p { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.appointment-panel > p a { color: var(--blue); font-weight: 600; }
.appt-form { display: grid; gap: 12px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appt-form input,
.appt-form select,
.appt-form textarea,
.appt-form button {
  min-height: 50px; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--white); font: inherit; color: var(--charcoal);
}
.appt-form textarea { min-height: 96px; resize: vertical; }
.appt-form button {
  border: 0; background: var(--blue); color: #fff;
  font-weight: 700; cursor: pointer;
}
.appt-form button:hover { background: var(--blue-dark); }
.demo-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.site-footer {
  padding: 48px clamp(16px, 4vw, 40px) 24px;
  background: var(--charcoal); color: #cbd5e1;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: var(--max); margin: 0 auto 28px; font-size: 14px; line-height: 1.65;
}
.footer-grid strong { display: block; margin-bottom: 10px; font-size: 16px; color: #fff; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px;
}
.footer-bottom a { color: #93c5fd; }

@media (max-width: 960px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-photo { min-height: 280px; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header nav { display: none; }
  .service-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .offer-banner { flex-direction: column; align-items: flex-start; }
  .insurance-logos li { font-size: 12px; padding: 8px 12px; }
}
