:root {
  --brand: #3b7f6a;
  --brand-dark: #2f6656;
  --brand-soft: #e9f1ee;
  --accent: #d9d47a;
  --text: #24312c;
  --muted: #5a6963;
  --bg: #f7f7f4;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(36, 49, 44, 0.08);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(247, 247, 244, 0.92);
  border-bottom: 1px solid rgba(36, 49, 44, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mini img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.brand-mini span {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.cta-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: var(--brand-dark);
  color: #ffffff !important;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.cta-small:hover {
  background: var(--brand);
}

.nav-cta-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero {
  padding: 44px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.hero-copy,
.hero-image {
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  padding: 38px;
  background: linear-gradient(180deg, #ffffff 0%, #f5faf7 100%);
}

.eyebrow {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  max-width: 9ch;
  font-weight: 500;
}

h2,
h3 {
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 500;
}

.hero-copy p.lead {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 28ch;
  margin: 0 0 18px;
}

.hero-address {
  margin: 0 0 22px;
  color: var(--brand-dark);
  font-size: 0.98rem;
  font-weight: 500;
  max-width: 38ch;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.location-inline-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: var(--brand);
}

.location-inline-icon svg {
  width: 100%;
  height: 100%;
}

.contact-location {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 24px;
}

.pill {
  background: #fff;
  border: 1px solid rgba(36, 49, 44, 0.1);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand-dark);
  border: 1px solid rgba(36, 49, 44, 0.12);
}

.btn-accent {
  background: var(--accent);
  color: #2f2d1d;
}

.btn-whatsapp {
  color: #1f5f46;
}

.btn-doctoralia {
  color: #2f2d1d;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

.brand-btn-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}

.hero-image {
  background: linear-gradient(180deg, #4c947b 0%, #367760 100%);
  display: flex;
  flex-direction: column;
  align-self: start;
}

.hero-image-top {
  padding: 22px 22px 12px;
}

.hero-image-top img {
  width: 100%;
  max-width: 255px;
  border-radius: 22px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.hero-image-bottom {
  padding: 10px 22px 22px;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.hero-image-bottom p {
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 20ch;
}

section {
  padding: 28px 0;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.portrait-card {
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-card .caption {
  padding: 18px 22px 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.copy-card {
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.copy-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.copy-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.06rem;
}

.quote-box {
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  background: #fbfbf8;
  border-radius: 0 18px 18px 0;
  color: var(--brand-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.service strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
  color: var(--brand-dark);
}

.service p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 12px;
}

.section-heading p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 52ch;
}

.eyebrow-large {
  font-size: 1rem;
  padding: 10px 18px;
  margin-bottom: 18px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 26px;
  border: 1px solid rgba(36, 49, 44, 0.05);
  min-height: 100%;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.review-top strong {
  font-size: 1.08rem;
  color: var(--brand-dark);
}

.review-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.doctoralia-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.doctoralia-box p {
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
}

.section-title-small {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.contact-band {
  background: var(--brand-dark);
  color: white;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.contact-band p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 22px;
}

.contact-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-panel li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
}

footer {
  padding: 26px 0 46px;
  color: var(--muted);
  font-size: 0.95rem;
}

.floating-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.floating-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  padding: 13px 10px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
}

.floating-call {
  background: var(--brand);
  color: white;
}

.floating-wa {
  background: #25d366;
  color: white;
}

.floating-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards-3,
  .services-grid,
  .contact-band,
  .doctoralia-box,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .copy-card,
  .card,
  .service,
  .doctoralia-box,
  .contact-band,
  .review-card {
    padding: 24px;
  }

  .nav {
    display: none;
  }

  .hero-title,
  .hero-copy p.lead,
  .hero-address {
    max-width: none;
  }

  .hero-image-top img {
    max-width: 320px;
  }

  .hero-image-bottom p {
    max-width: 24ch;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 24px;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  .floating-cta {
    display: flex;
  }

  body {
    padding-bottom: 92px;
  }

  .button-row .btn,
  .doctoralia-box .btn {
    width: 100%;
  }

  .review-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .eyebrow {
    font-size: 0.86rem;
  }
}