:root {
  --bg: #f7fbfc;
  --surface: #ffffff;
  --surface-soft: #eaf7f5;
  --surface-warm: #fff7ee;
  --text: #17313b;
  --muted: #5a7078;
  --primary: #0b7a8f;
  --primary-dark: #075a69;
  --secondary: #21a79a;
  --accent: #f2a65a;
  --line: #d7e8ea;
  --shadow: 0 18px 50px rgba(23, 49, 59, 0.13);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(242, 166, 90, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: 5.5rem 0;
}

.section-tint {
  background: linear-gradient(180deg, #eefafa 0%, #f9fcfb 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 251, 252, 0.88);
  border-bottom: 1px solid rgba(215, 232, 234, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(11, 122, 143, 0.22);
}

.nav-menu,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-menu a,
.text-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-menu a:hover,
.text-link:hover {
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 122, 143, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--line);
}

.btn-small {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at 10% 15%, rgba(33, 167, 154, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fcfd 0%, #eef9f7 58%, #fff7ee 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.45rem, 4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: var(--primary-dark);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
}

.hero-text {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.doctor-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin: 1rem 0 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(33, 167, 154, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary-dark);
  font-weight: 720;
}

.doctor-line strong {
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 680px;
}

.hero-badges span {
  font-size:13px;
}
.hero-badges span,
.topic-grid span,
.benefits-list div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font-weight: 720;
}

.hero-badges span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 68px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(23, 49, 59, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-badges span:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 167, 154, 0.45);
  background: #fff;
  box-shadow: 0 18px 36px rgba(23, 49, 59, 0.11);
}

.hero-badges svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 10px;
  background: var(--surface-soft);
  stroke: var(--primary-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-media {
  position: relative;
}

.hero-media img {
  aspect-ratio: 15 / 8;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.floating-note {
  position: absolute;
  left: -1.5rem;
  bottom: 1.4rem;
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(23, 49, 59, 0.14);
  transform: translateY(0);
  animation: softFloat 4.8s ease-in-out infinite;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.floating-note:hover {
  animation-play-state: paused;
  transform: translateY(-5px);
  border-color: rgba(33, 167, 154, 0.5);
  background: #fff;
  box-shadow: 0 22px 46px rgba(23, 49, 59, 0.18);
}

.floating-note-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 122, 143, 0.24);
  transition: transform 0.24s ease;
}

.floating-note:hover .floating-note-icon {
  transform: rotate(-3deg) scale(1.05);
}

.floating-note-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip {
  background: var(--primary-dark);
  color: #fff;
  overflow: hidden;
}

.trust-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.trust-marquee::before,
.trust-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(12vw, 120px);
  height: 100%;
  pointer-events: none;
}

.trust-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary-dark), transparent);
}

.trust-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--primary-dark), transparent);
}

.trust-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.trust-marquee:hover .trust-track,
.trust-marquee:focus-visible .trust-track {
  animation-play-state: paused;
}

.trust-track span {
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  padding: 1rem 2.25rem;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
  white-space: nowrap;
}

.trust-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 0.9rem;
  border-radius: 999px;
  background: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .trust-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .floating-note {
    animation: none;
  }

  .trust-marquee::before,
  .trust-marquee::after {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow),
.seo-section p,
.when-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card,
.testimonial-card,
.contact-form,
.when-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(23, 49, 59, 0.06);
}

.service-card {
  padding: 1.25rem;
}

.service-card p,
.testimonial-card p,
.steps p,
.faq-list p,
.form-note,
.site-footer p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.medical-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--surface-warm);
  color: #604118;
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.benefits-list,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.seo-section {
  background: #fff;
}

.seo-section .narrow {
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #edf8f6 100%);
}

.city-links-section {
  background: #fff;
}

.local-intent-section {
  background: linear-gradient(180deg, #ffffff 0%, #f2fbfa 100%);
}

.local-intent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 2rem;
  align-items: center;
}

.local-intent-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.local-intent-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(23, 49, 59, 0.08);
}

.local-intent-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.local-intent-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  font-weight: 720;
}

.local-intent-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
}

.city-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.city-links-grid a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f0faf8);
  color: var(--primary-dark);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(23, 49, 59, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.city-links-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 167, 154, 0.45);
  box-shadow: 0 18px 34px rgba(23, 49, 59, 0.1);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.steps article {
  position: relative;
  padding: 1.2rem;
  min-height: 220px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.when-panel {
  padding: 2rem;
}

.testimonials {
  background: #fff;
}

.testimonial-card {
  padding: 1.25rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

.stars {
  color: #d7841e;
  letter-spacing: 0.06em;
}

.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-content h2,
.cta-content p {
  max-width: 720px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-content .eyebrow {
  color: #d6fff7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.25rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 800;
}

.faq-list p {
  margin-top: 0;
}

.contact-section {
  background: linear-gradient(180deg, #f7fbfc 0%, #eef9f7 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
}

.contact-info {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-info p {
  margin: 0.25rem 0;
}

.contact-info a {
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.3rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full,
.contact-form .full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8dcdf;
  border-radius: 12px;
  background: #fbfefe;
  padding: 0.85rem 0.9rem;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  background: #102b33;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-brand {
  color: #fff;
}

.site-footer nav {
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: #d8f2ef;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #1b9f73;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(27, 159, 115, 0.28);
}

@media (max-width: 1040px) {
  .nav-menu {
    position: absolute;
    inset: 76px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .contact-grid,
  .local-intent-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .steps,
  .card-grid,
  .city-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .nav {
    min-height: 68px;
  }

  .nav-menu {
    inset: 68px 1rem auto;
  }

  .nav-actions .text-link {
    display: none;
  }

  .brand {
    max-width: 210px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-badges,
  .steps,
  .card-grid,
  .city-links-grid,
  .benefits-list,
  .topic-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .floating-note {
    position: static;
    margin-top: 0.75rem;
    max-width: none;
  }

  .seo-section .narrow,
  .when-panel {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float {
    left: 1rem;
    right: 1rem;
  }
}
