:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #0f172a;
  --accent: #8b7355;
  --line: #e5e7eb;
  --success: #0b5d4b;
  --danger: #991b1b;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

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

.section {
  padding: 88px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--primary);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--primary);
  cursor: pointer;
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 22px;
  max-width: 900px;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.hero-card,
.card,
.location-card,
.step,
.doctor,
.blog-card,
.info-box,
.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 24px;
}

.hero-card {
  padding: 18px;
}

.hero-photo,
.highlight-photo,
.doctor-photo,
.blog-thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #d6d3d1, #f3f4f6);
}

.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
}

.highlight-photo {
  aspect-ratio: 4 / 3;
  border-radius: 28px;
}

.doctor-photo {
  aspect-ratio: 4 / 4.4;
}

.blog-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  margin-bottom: 18px;
}

.hero-photo img,
.highlight-photo img,
.doctor-photo img,
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge-row,
.stats,
.grid-3,
.team,
.steps,
.locations,
.blog-grid {
  display: grid;
  gap: 22px;
}

.hero-badge-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  gap: 12px;
}

.mini-badge {
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.mini-badge strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 4px;
}

.mini-badge span {
  color: var(--muted);
  font-size: 13px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  gap: 18px;
}

.stat {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.stat strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: 15px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.card {
  padding: 28px;
}

.card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.feature {
  background: #fcfcfb;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.feature strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 17px;
}

.feature span {
  color: var(--muted);
  font-size: 15px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 34px;
  align-items: center;
}

.highlight-text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.highlight-text h3 {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.1;
}

.highlight-text p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 16px;
}

.team {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.doctor {
  overflow: hidden;
}

.doctor-body {
  padding: 22px;
}

.doctor-body h3 {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 6px;
}

.doctor-body .role {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.doctor-body p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  gap: 18px;
}

.step {
  padding: 24px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

.locations {
  grid-template-columns: 1fr 1fr;
  margin-top: 32px;
}

.location-card {
  padding: 28px;
}

.location-card h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 10px;
}

.location-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

.contact-buttons {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cta-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 32px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  max-width: 680px;
}

.cta-actions {
  display: grid;
  gap: 12px;
  align-items: center;
}

.blog-tools {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.blog-search {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 16px;
  background: #fff;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

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

.blog-card {
  padding: 22px;
}

.blog-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.small-label {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-box,
.panel-card {
  padding: 28px;
  margin-top: 22px;
}

.info-box h3,
.panel-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.form-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.form-card {
  width: min(100% - 32px, 520px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.form-card h1 {
  margin-bottom: 16px;
  color: var(--primary);
}

.form-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.form-group {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.input,
.textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 16px;
  background: #fff;
}

.textarea {
  min-height: 180px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-whatsapp {
  background: #0b5d4b;
  color: #fff;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

footer {
  padding: 34px 0 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 78px 0 26px;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.02;
}

.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .cta-box,
  .locations,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .team,
  .steps,
  .stats,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 24px 24px;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .grid-3,
  .team,
  .steps,
  .stats,
  .hero-badge-row,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .section {
    padding: 72px 0;
  }

  .cta-box {
    padding: 32px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}