:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4faf9;
  --color-text: #103b37;
  --color-muted: #5b7370;
  --color-primary: #0f766e;
  --color-primary-dark: #0b5c56;
  --color-primary-light: #14b8a6;
  --color-accent: #e8f7f4;
  --max-width: 1180px;
  --radius: 16px;
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow: 0 12px 32px rgba(15, 118, 110, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.25; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Header */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.logo span { color: var(--color-primary-light); }

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav { display: flex; gap: 28px; font-weight: 500; }
.nav a:hover { color: var(--color-primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone { font-weight: 600; color: var(--color-primary-dark); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span { width: 24px; height: 2px; background: var(--color-text); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn--small { padding: 10px 22px; font-size: 0.9rem; }

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--ghost:hover { background: var(--color-primary); color: #fff; }

/* Hero */
.hero { padding: 72px 0 100px; }

.hero__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero__text { flex: 1.1; }

.badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 560px;
}

.hero__text > p {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 40px;
}

.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.5rem; font-family: var(--font-heading); color: var(--color-primary-dark); }
.hero__stats span { color: var(--color-muted); font-size: 0.85rem; }

.hero__image { flex: 1; }
.hero__image img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Advantages */
.advantages { padding: 0 0 96px; }

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.advantage__icon { font-size: 2rem; margin-bottom: 16px; }
.advantage h3 { font-size: 1.05rem; margin-bottom: 8px; }
.advantage p { color: var(--color-muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--color-bg-alt); }

.eyebrow {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.eyebrow--center { text-align: center; }

.section__title {
  font-size: 2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section__title--left { text-align: left; margin: 0 0 20px; max-width: none; }

/* About */
.about__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.about__image, .about__text { flex: 1; }
.about__image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text > p { color: var(--color-muted); margin-bottom: 24px; }

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-weight: 500;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.service__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--color-accent);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service p { color: var(--color-muted); font-size: 0.94rem; }

/* Doctors */
.doctors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.doctor {
  text-align: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.doctor img { border-radius: 12px; margin-bottom: 20px; width: 100%; }
.doctor h3 { font-size: 1.1rem; margin-bottom: 4px; }
.doctor__role { color: var(--color-primary); font-weight: 600; font-size: 0.92rem; }
.doctor__exp { color: var(--color-muted); font-size: 0.88rem; margin-top: 4px; }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: var(--radius);
  padding: 28px;
}

.review__text { color: var(--color-text); margin-bottom: 16px; font-style: italic; }
.review__author { color: var(--color-primary-dark); font-weight: 600; font-size: 0.92rem; }

/* Appointment */
.appointment {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
}

.appointment__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.appointment__text { flex: 1; min-width: 280px; }
.appointment__text h2 { font-size: 1.8rem; margin-bottom: 16px; }
.appointment__text p { opacity: 0.9; max-width: 420px; }

.appointment-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.appointment-form input,
.appointment-form select {
  padding: 13px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  color: var(--color-text);
}

.form-success { color: var(--color-primary-dark); font-weight: 600; text-align: center; }

.form-error {
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  text-align: center;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact */
.contact { text-align: center; }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.contact__item {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.contact__item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--color-primary-dark); }
.contact__item p { color: var(--color-muted); }
.contact__item a:hover { color: var(--color-primary); }

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo--footer { color: #fff; }
.logo--footer span { color: var(--color-primary-light); }
.logo--footer .logo__icon { background: rgba(255,255,255,0.15); }

.socials { display: flex; gap: 20px; font-weight: 500; }
.socials a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1000px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .doctors { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { flex-direction: column; }
}

@media (max-width: 860px) {
  .hero__inner { flex-direction: column; }
  .hero h1 { font-size: 2.1rem; }
  .hero__text > p { max-width: none; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }
  .nav--open { display: flex; }
  .header__actions .phone { display: none; }
  .burger { display: flex; }
  .advantages__grid,
  .services,
  .doctors,
  .contact__grid { grid-template-columns: 1fr; }
  .appointment__inner { flex-direction: column; }
}
