/* Base styling – light theme inspired by clean medical landing pages */

:root {
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --card-bg: #ffffff;
  --accent: #008c8c;
  --accent-soft: rgba(0, 140, 140, 0.08);
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --danger: #e11d48;
  --font-sans: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: #f6f7fb;
  background-image: linear-gradient(
    to bottom,
    #fefcf7 0%,
    #f6f7fb 45%,
    #edf1f7 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

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

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

@media (min-width: 768px) {
  .page {
    padding: 3.5rem 1.75rem 4.5rem;
  }
}

/* Hero section */

.hero {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  align-items: stretch;
}

.hero-main {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 800px) {
  .hero {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-tags {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.6rem;
  }

  .hero-card-ribbon {
    display: none;
  }

  .hero-card-avatar .avatar-circle {
    display: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.7);
}

.hero-title {
  margin-top: 3.75rem; /* ~60px */
  margin-bottom: 3.75rem; /* ~60px */
  font-size: clamp(2.25rem, 3.1vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero-title span {
  display: block;
}

.hero-title-highlight {
  background-image: linear-gradient(to right, #38bdf8, #6366f1, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  color: var(--accent);
}

.hero-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 4rem 0 1.25rem;
  justify-content: center;
  width: 100%;
}

.pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.hero-note strong {
  color: var(--text-main);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: #008c8c;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 140, 140, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 42px rgba(56, 189, 248, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 16px;
  padding-left: 0.15rem;
}

.hero-meta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  justify-content: center;
}

.hero-meta-item span {
  display: block;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.7rem;
}

.hero-meta-value {
  font-weight: 500;
  color: var(--accent);
}

/* Hero card (doctor profile) */

.hero-card {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 4rem;
}

.hero-card-frame {
  position: relative;
  padding: 1px;
  border-radius: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 140, 140, 0.25),
    rgba(56, 189, 248, 0.12)
  );
}

.hero-card-inner {
  border-radius: inherit;
  background: #ffffff;
  padding: 1.3rem 1.3rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07),
    0 0 0 1px rgba(15, 23, 42, 0.02);
}

.hero-card-avatar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #008c8c, #059669 60%, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 600;
  font-size: 1.3rem;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4),
    0 10px 24px rgba(15, 23, 42, 0.18);
}

.hero-card-text h2 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-card-text p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero-card-divider {
  height: 1px;
  margin: 0.9rem 0 1rem;
  background: linear-gradient(
    to right,
    transparent,
    rgba(148, 163, 184, 0.6),
    transparent
  );
}

.hero-card-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 1.2rem;
}

@media (max-width: 600px) {
  .hero-card-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-card-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.hero-card-list {
  list-style: none;
  padding-left: 0;
  margin: 0.15rem 0 0.4rem;
  font-size: 0.85rem;
}

.hero-card-list li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--text-main);
}

.hero-card-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card-ribbon {
  position: absolute;
  top: -0.8rem;
  right: 1.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.5);
  backdrop-filter: blur(10px);
}

/* Section layout */

.section {
  margin-top: 3.2rem;
}

.section-header {
  margin-bottom: 1.6rem;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.section-title {
  margin-top: 0.35rem;
  margin-bottom: 0.3rem;
  font-size: 1.35rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing */

.prices-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.25fr);
  gap: 1.6rem;
}

@media (max-width: 900px) {
  .prices-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: 1.3rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(15, 23, 42, 0.02);
  padding: 1.3rem 1.4rem 1.4rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .card-chip {
    order: -1;
  }
}

.card-chip {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.8);
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.95);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 600;
}

.card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.price-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.price-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px dashed rgba(209, 213, 219, 0.9);
  font-size: 0.9rem;
}

.price-item:first-child {
  border-top: none;
}

.price-label {
  color: var(--text-main);
}

.price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.price-value {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
}

.price-value strong {
  color: var(--accent);
}

.price-group-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  margin: 0.4rem 0 0.2rem;
}

.price-group-gap {
  height: 30px;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.badge-inline-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.badge-inline-danger {
  border-color: rgba(248, 113, 113, 0.7);
  color: #b91c1c;
}

.surgery-list {
  margin: 0.35rem 0 0;
  padding-left: 0.95rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.surgery-list li {
  margin-bottom: 0.15rem;
}

.section-footer-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contacts */

#contacts {
  margin-top: 7rem;
}

.contacts-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
}

@media (max-width: 780px) {
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 1.1rem;
}

@media (max-width: 600px) {
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(to bottom right, #ffffff, #ffffff),
    radial-gradient(circle at top left, rgba(0, 140, 140, 0.04), transparent);
  font-size: 0.88rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-value {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-highlight {
  font-weight: 600;
  font-size: 1.2rem;
}

.contact-small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: auto;
  align-items: flex-start;
}

.chip-link {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  justify-content: flex-start;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.chip-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.chip-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.note-block {
  margin-top: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(209, 213, 219, 1);
  background: #f9fafb;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
}

.clarification {
  text-align: center;
}

.contacts-extra {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contacts-extra strong {
  color: var(--text-main);
}

.contacts-extra ul {
  margin: 0.35rem 0 0.7rem;
  padding-left: 0.95rem;
}

.contacts-extra li {
  margin-bottom: 0.15rem;
}

.contacts-extra p {
  margin: 0.1rem 0;
}

.map-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  border: 0;
  border-radius: 0.75rem;
}
/* Footer */

.footer {
  margin-top: 3.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-right {
  text-align: right;
}

@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }
}
