:root {
  --primary: #0b69c7;
  --primary-dark: #084f98;
  --secondary: #eaf5ff;
  --accent: #19b5fe;
  --text: #12314b;
  --muted: #5f7488;
  --bg: #f8fbff;
  --white: #ffffff;
  --border: #d9e8f7;
  --shadow: 0 18px 50px rgba(11, 105, 199, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 232, 247, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
}

.logo strong,
.logo small {
  display: block;
}

.logo small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--primary);
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--secondary);
  font-size: 1.25rem;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.hero {
  padding: 72px 0 42px;
  background:
    radial-gradient(circle at 0% 0%, rgba(25,181,254,0.12), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(11,105,199,0.14), transparent 30%);
}

.hero-grid,
.two-col,
.appointment-wrap,
.footer-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  padding: 8px 14px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.87rem;
  margin-bottom: 14px;
}

.hero h1,
.section h2 {
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--primary);
}

.hero p,
.section-head p,
.section p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.hero-points li,
.info-grid article,
.service-card,
.doctor-card,
.stats-grid article,
.appointment-box,
.appointment-form,
.image-card,
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 16px;
  font-weight: 600;
}

.hero-card,
.image-card,
.stats-image {
  overflow: hidden;
}

.hero-card img,
.image-card img,
.doctor-card img {
  width: 100%;
  height: auto;
}

.quick-info {
  padding: 0 0 16px;
}

.info-grid,
.service-grid,
.doctor-grid,
.stats-grid,
.feature-list {
  display: grid;
  gap: 20px;
}

.info-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-grid article {
  padding: 22px;
}

.section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.feature-list {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.feature-list div {
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  background: white;
  border-radius: 0 16px 16px 0;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  color: var(--muted);
}

.doctor-grid {
  grid-template-columns: repeat(3, 1fr);
}

.doctor-card,
.service-card {
  padding: 20px;
}

.doctor-card h3,
.service-card h3 {
  margin: 16px 0 8px;
}

.role {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.stats-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.stats-grid article {
  padding: 22px;
}

.stats-grid strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.appointment-wrap {
  align-items: stretch;
}

.appointment-box {
  padding: 22px;
  margin-top: 24px;
}

.appointment-form {
  padding: 26px;
}

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fbfdff;
  font: inherit;
}

.two-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.full {
  width: 100%;
}

.form-note,
.success-message {
  font-size: 0.92rem;
}

.success-message {
  color: #137b3d;
  font-weight: 700;
  min-height: 24px;
  margin-top: 12px;
}

.site-footer {
  background: #0e2e49;
  color: rgba(255,255,255,0.92);
  padding: 28px 0;
}

.footer-wrap {
  grid-template-columns: 1fr auto;
  gap: 20px;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .appointment-wrap,
  .footer-wrap,
  .reverse,
  .info-grid,
  .service-grid,
  .doctor-grid,
  .stats-grid,
  .hero-points {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .two-col,
  .appointment-wrap,
  .reverse {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    background: white;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
  }

  .nav.show {
    display: flex;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 640px) {
  .info-grid,
  .service-grid,
  .doctor-grid,
  .stats-grid,
  .hero-points,
  .two-fields,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
