:root {
  --bg: #f5fbf8;
  --surface: #ffffff;
  --surface-strong: #ecf6f2;
  --primary: #0f8b6d;
  --primary-dark: #0b6d56;
  --secondary: #10334d;
  --secondary-soft: #1f4d6a;
  --accent: #9be3cf;
  --text: #173042;
  --muted: #5b7488;
  --line: rgba(16, 51, 77, 0.12);
  --shadow: 0 24px 60px rgba(16, 51, 77, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100% - 2rem));
}

/* Rediseño editorial Moncadent 2026 */
:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-strong: #eeeae1;
  --primary: #18332e;
  --primary-dark: #10241f;
  --secondary: #0d3156;
  --secondary-soft: #244967;
  --accent: #b87552;
  --text: #1b211f;
  --muted: #5c6662;
  --line: #d9dfdb;
  --shadow: 0 18px 46px rgba(24, 51, 46, 0.1);
  --shadow-soft: 0 8px 24px rgba(24, 51, 46, 0.07);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: min(1240px, calc(100% - 3rem));
  --header-height: 76px;
}

html {
  scroll-padding-top: 104px;
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--primary-dark);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #b87552;
  outline-offset: 4px;
}

.skip-link {
  z-index: 1000;
}

.container {
  width: var(--container);
}

.location-bar {
  position: relative;
  z-index: 31;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
}

.location-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  gap: 0.55rem;
}

.location-bar a {
  color: #d9eadf;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(24, 51, 46, 0.1);
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: var(--header-height);
  gap: 1.25rem;
}

.brand img {
  width: 196px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  margin-left: auto;
  color: #273d37;
  font-size: 0.88rem;
  font-weight: 600;
}

.desktop-nav a {
  padding: 0.7rem 0;
  white-space: nowrap;
}

.desktop-nav a::after {
  bottom: 0.35rem;
  height: 1px;
  background: var(--accent);
}

.desktop-nav a[aria-current="page"] {
  color: var(--primary-dark);
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.button-secondary {
  border-color: #aeb9b4;
  background: transparent;
  color: var(--primary-dark);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--primary-dark);
  background: #fff;
}

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

.button-light:hover,
.button-light:focus-visible {
  border-color: #d8e5dd;
  background: #d8e5dd;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.button-text {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--primary);
  border-radius: 0;
  padding: 0.75rem 0.1rem 0.55rem;
  color: var(--primary-dark);
}

.button-small {
  min-height: 44px;
  padding: 0.7rem 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  width: 48px;
  height: 48px;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: none;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--primary-dark);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 39;
  visibility: hidden;
  background: rgba(10, 25, 21, 0.54);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.menu-open .menu-scrim {
  visibility: visible;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  width: min(390px, 92vw);
  padding: 0;
  flex-direction: column;
  background: var(--bg);
  box-shadow: -20px 0 50px rgba(10, 25, 21, 0.16);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.mobile-nav[data-open="true"] {
  display: flex;
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--primary-dark);
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--primary-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-inner {
  display: grid;
  gap: 0;
  padding: 0.7rem 1.25rem;
  overflow-y: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mobile-nav a {
  display: flex;
  min-height: 50px;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--primary-dark);
  font-weight: 600;
}

.mobile-nav a[aria-current="page"] {
  color: var(--accent);
}

.mobile-nav-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid var(--line);
}

.mobile-nav-actions .button {
  justify-content: center;
  border-bottom: 1px solid var(--primary);
  color: #fff;
}

.mobile-nav-actions > a:last-child {
  justify-content: center;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.home-hero {
  position: relative;
  min-height: 650px;
  padding: 3.5rem 0 4rem;
  background: var(--bg);
}

.home-hero::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 37vw;
  height: 55%;
  background: #eeeae1;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  display: grid;
  min-height: 575px;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.home-hero-copy {
  max-width: 710px;
  padding: 2rem 0;
}

.home-hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.4rem, 5.2vw, 5.15rem);
  line-height: 0.98;
  text-wrap: balance;
}

.home-hero-lead {
  max-width: 660px;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero-help {
  display: inline-block;
  margin-top: 1.15rem;
  color: #35544b;
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-color: #9faeaa;
  text-underline-offset: 4px;
}

.home-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.6rem;
  margin: 2.1rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  color: #3b4b46;
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}

.home-signals li {
  position: relative;
  padding-left: 0.9rem;
}

.home-signals li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.home-hero-photo {
  position: relative;
  width: min(100%, 500px);
  height: 575px;
  margin: 0 0 0 auto;
  overflow: hidden;
  border-radius: 2px 2px 100px 2px;
  background: #e6e3dc;
  box-shadow: var(--shadow);
}

.home-hero-photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 0 0 82px 0;
  pointer-events: none;
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.home-hero-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(16, 36, 31, 0.94);
  color: #fff;
}

.home-hero-photo figcaption strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
}

.home-hero-photo figcaption span {
  color: #dbe6e0;
  font-size: 0.8rem;
}

.attention-section,
.doctor-section,
.clinic-section,
.visit-section {
  padding: clamp(5rem, 8vw, 8.5rem) 0;
}

.editorial-heading {
  display: grid;
  max-width: 980px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 1rem 4rem;
  margin-bottom: 3.5rem;
}

.editorial-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.editorial-heading h2,
.evidence-layout h2,
.doctor-copy h2,
.clinic-heading h2,
.booking-layout h2,
.visit-copy h2,
.closing-cta h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
  text-wrap: balance;
}

.editorial-heading > p:last-child,
.clinic-heading > p,
.booking-layout header > p:last-child,
.closing-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.attention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #c8d0cc;
  border-bottom: 1px solid #c8d0cc;
}

.attention-panel {
  position: relative;
  min-height: 480px;
  padding: 3rem clamp(2rem, 4vw, 4rem) 3.25rem 0;
}

.attention-panel + .attention-panel {
  padding-right: 0;
  padding-left: clamp(2rem, 4vw, 4rem);
  border-left: 1px solid #c8d0cc;
}

.attention-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #b9c1bd;
  font-family: "Outfit", sans-serif;
  font-size: 3rem;
  font-weight: 500;
}

.attention-label {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.attention-panel h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
}

.attention-panel > p:not(.attention-label) {
  max-width: 500px;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.attention-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin: 1.8rem 0 2rem;
  padding: 0;
  color: #33453f;
  font-size: 0.9rem;
  list-style: none;
}

.attention-panel li {
  position: relative;
  padding-left: 0.9rem;
}

.attention-panel li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--accent);
}

.editorial-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #9aaba5;
  color: var(--primary-dark);
  font-weight: 700;
}

.editorial-link span {
  transition: transform 180ms ease;
}

.editorial-link:hover span,
.editorial-link:focus-visible span {
  transform: translateX(4px);
}

.evidence-section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  background: #ebe7df;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.evidence-layout h2 {
  max-width: 440px;
  font-size: clamp(2.2rem, 3.5vw, 3.55rem);
}

.evidence-list {
  margin: 0;
  border-top: 1px solid #c1c9c5;
}

.evidence-list > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid #c1c9c5;
}

.evidence-list dt {
  color: var(--primary-dark);
  font-weight: 700;
}

.evidence-list dd {
  margin: 0;
  color: var(--muted);
}

.doctor-section {
  background: var(--primary-dark);
  color: #fff;
}

.doctor-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.doctor-photo {
  height: 610px;
  margin: 0;
  overflow: hidden;
  border-radius: 0 70px 0 0;
  background: #ebe8e1;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.doctor-copy h2 {
  color: #fff;
}

.doctor-intro {
  max-width: 650px;
  margin: 1.5rem 0 0;
  color: #d7e2dc;
  font-size: 1.08rem;
  line-height: 1.8;
}

.doctor-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 700px;
  margin: 2.2rem 0;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-details p {
  margin: 0;
}

.doctor-details strong,
.doctor-details span {
  display: block;
}

.doctor-details strong {
  margin-bottom: 0.5rem;
  color: #fff;
}

.doctor-details span {
  color: #bfcfc7;
  font-size: 0.9rem;
}

.doctor-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.doctor-actions .button-primary {
  border-color: #fff;
  background: #fff;
  color: var(--primary-dark);
}

.mobile-nav a[aria-current="page"] {
  background: transparent;
  color: var(--accent);
}

.doctor-actions .editorial-link {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.clinic-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 4rem;
  margin-bottom: 3rem;
}

.clinic-gallery {
  display: grid;
  height: 620px;
  grid-template-columns: 1.55fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.clinic-gallery figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #e5e2dc;
}

.clinic-gallery-main {
  grid-row: 1 / 3;
}

.clinic-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 450ms ease;
}

.clinic-gallery figure:hover img {
  transform: scale(1.015);
}

.booking-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: var(--secondary);
  color: #fff;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.booking-layout h2 {
  color: #fff;
}

.booking-layout header > p:last-child {
  margin-top: 1.35rem;
  color: #d6e1eb;
}

.booking-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-steps li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-steps li > span {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
}

.booking-steps strong {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
}

.booking-steps p {
  margin: 0.25rem 0 0;
  color: #c6d4df;
  font-size: 0.9rem;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 0.8rem;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.visit-copy address {
  margin: 1.7rem 0;
  color: #384742;
  font-style: normal;
  font-size: 1.05rem;
}

.visit-links {
  display: grid;
  max-width: 430px;
  border-top: 1px solid var(--line);
}

.visit-links a {
  min-height: 50px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 700;
}

.faq-preview {
  padding: 0 0 0 3rem;
  border-left: 1px solid var(--line);
}

.faq-preview details {
  border-top: 1px solid var(--line);
}

.faq-preview details:last-of-type {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.faq-preview summary {
  position: relative;
  min-height: 64px;
  padding: 1.2rem 2.5rem 1.2rem 0;
  color: var(--primary-dark);
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-preview summary::-webkit-details-marker {
  display: none;
}

.faq-preview summary::after {
  content: "+";
  position: absolute;
  top: 1rem;
  right: 0;
  color: var(--accent);
  font-size: 1.5rem;
}

.faq-preview details[open] summary::after {
  content: "−";
}

.faq-preview details p {
  max-width: 670px;
  margin: -0.25rem 0 1.25rem;
  color: var(--muted);
}

.closing-cta {
  padding: 0 0 clamp(5rem, 8vw, 8rem);
}

.closing-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 3px solid var(--accent);
  background: #ebe7df;
}

.closing-cta h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
}

.closing-cta p {
  margin-top: 0.8rem;
}

.closing-actions {
  display: flex;
  gap: 0.75rem;
}

.site-footer {
  padding: 5rem 0 1.5rem;
  background: #0e201c;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.75fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.brand-footer img {
  width: 215px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-intro p {
  max-width: 330px;
  margin: 1.3rem 0;
  color: #b8c8c1;
  font-size: 0.9rem;
}

.footer-instagram {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.footer-nav strong,
.footer-contact > strong {
  margin-bottom: 0.55rem;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.footer-nav a,
.footer-contact address,
.footer-contact > a:not(.button) {
  color: #b8c8c1;
  font-size: 0.85rem;
}

.footer-nav a {
  min-height: 34px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact > a:not(.button):hover,
.footer-contact > a:not(.button):focus-visible {
  color: #fff;
}

.footer-contact address {
  margin: 0 0 0.3rem;
  font-style: normal;
}

.footer-contact .button {
  width: fit-content;
  margin-top: 0.75rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #92a49c;
  font-size: 0.74rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1rem;
}

.footer-bottom > span:last-child {
  text-align: right;
}

.whatsapp-float {
  right: 1rem;
  bottom: 1rem;
  z-index: 29;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  background: #197d54;
  box-shadow: 0 12px 30px rgba(9, 48, 32, 0.22);
  font-size: 0.85rem;
}

.whatsapp-float span:first-child {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 0.68rem;
}

.mobile-quickbar {
  display: none;
}

/* Páginas interiores: misma identidad, menos apariencia de plantilla. */
.hero-inner,
.page-hero,
.section-soft,
.section-band {
  background: var(--bg);
}

.hero-inner {
  padding-top: 4rem;
}

.hero::after {
  background: var(--line);
}

.page-hero .hero-card,
.service-card,
.service-detail-card,
.pillar-card,
.contact-card,
.process-card,
.stat-card,
.gallery-card,
.info-panel,
.faq-item,
.booking-link-card {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.page-hero .hero-card {
  border-radius: 2px 2px 70px 2px;
}

.page-hero .hero-badge {
  border-radius: 0;
  background: rgba(16, 36, 31, 0.94);
}

.trust-strip,
.trust-grid article,
.section-band,
.section-soft {
  background: #ebe7df;
}

.trust-grid article {
  border-color: #c8d0cc;
  box-shadow: none;
}

.final-cta-card,
.section-dark,
.section-deep,
.info-panel {
  background: var(--primary-dark);
}

.breadcrumbs a,
.service-detail-card a,
.service-card a {
  color: var(--primary);
}

@media (max-width: 1180px) {
  :root {
    --container: min(100% - 2.5rem, 1040px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
    gap: 3rem;
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 6vw, 4.5rem);
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 2rem, 760px);
  }

  .nav-booking {
    display: none;
  }

  .home-hero {
    padding-top: 2.75rem;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-hero-copy {
    max-width: 720px;
    padding-bottom: 0;
  }

  .home-hero-photo {
    width: 100%;
    height: min(680px, 86vw);
    margin: 0;
  }

  .home-hero::before {
    width: 65vw;
    height: 38%;
  }

  .editorial-heading,
  .clinic-heading,
  .doctor-layout,
  .booking-layout,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .editorial-heading,
  .clinic-heading {
    gap: 1.2rem;
  }

  .attention-panel {
    min-height: 500px;
  }

  .evidence-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .doctor-photo {
    width: min(100%, 540px);
    height: 650px;
  }

  .clinic-gallery {
    height: 520px;
  }

  .faq-preview {
    padding-left: 0;
    border-left: 0;
  }

  .closing-cta-inner {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    flex-wrap: wrap;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
  }

  .footer-contact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 1.5rem, 520px);
    --header-height: 66px;
  }

  html {
    scroll-padding-top: 74px;
  }

  body {
    padding-bottom: 64px;
  }

  .location-bar .container {
    min-height: 36px;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .location-bar span {
    display: none;
  }

  .brand img {
    width: 166px;
  }

  .home-hero {
    min-height: 0;
    padding: 2.3rem 0 3.5rem;
  }

  .home-hero-grid {
    min-height: 0;
    gap: 2rem;
  }

  .home-hero-copy {
    padding: 0;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.1rem);
    line-height: 0.99;
  }

  .home-hero-lead {
    margin-top: 1.3rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .hero-actions .button-primary {
    width: 100%;
  }

  .hero-actions .button-text {
    width: fit-content;
  }

  .hero-help {
    margin-top: 1rem;
    font-size: 0.84rem;
  }

  .home-signals {
    gap: 0.35rem 1rem;
    margin-top: 1.5rem;
    padding-top: 0.9rem;
    font-size: 0.75rem;
  }

  .home-hero-photo {
    height: 470px;
    border-radius: 2px 2px 54px 2px;
  }

  .home-hero-photo::before {
    border-radius: 0 0 42px 0;
  }

  .home-hero-photo figcaption {
    display: grid;
    gap: 0.15rem;
    padding: 1rem 1.1rem;
  }

  .attention-section,
  .doctor-section,
  .clinic-section,
  .visit-section {
    padding: 4.5rem 0;
  }

  .editorial-heading {
    margin-bottom: 2.3rem;
  }

  .editorial-heading h2,
  .evidence-layout h2,
  .doctor-copy h2,
  .clinic-heading h2,
  .booking-layout h2,
  .visit-copy h2,
  .closing-cta h2 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .attention-grid {
    grid-template-columns: 1fr;
  }

  .attention-panel,
  .attention-panel + .attention-panel {
    min-height: 0;
    padding: 2.5rem 0;
    border-left: 0;
  }

  .attention-panel + .attention-panel {
    border-top: 1px solid #c8d0cc;
  }

  .attention-number {
    top: 1.5rem;
    right: 0;
    font-size: 2.4rem;
  }

  .attention-panel h3 {
    max-width: 290px;
    font-size: 2.25rem;
  }

  .attention-panel ul {
    grid-template-columns: 1fr;
  }

  .evidence-section,
  .booking-section {
    padding: 4.5rem 0;
  }

  .evidence-list > div {
    grid-template-columns: 100px minmax(0, 1fr);
    font-size: 0.88rem;
  }

  .doctor-photo {
    height: 480px;
    border-radius: 0 48px 0 0;
  }

  .doctor-details {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .doctor-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .doctor-actions .editorial-link {
    width: fit-content;
  }

  .clinic-gallery {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 400px 220px;
    gap: 0.6rem;
  }

  .clinic-gallery-main {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .booking-steps li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .booking-actions {
    display: grid;
  }

  .closing-cta {
    padding-bottom: 4.5rem;
  }

  .closing-cta-inner {
    width: 100%;
    padding: 2.5rem 1.25rem;
  }

  .closing-actions {
    display: grid;
  }

  .site-footer {
    padding-top: 4rem;
  }

  .footer-main,
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-nav,
  .footer-contact {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer-bottom > span:last-child {
    text-align: left;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-quickbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.2fr;
    min-height: 64px;
    padding: 0.45rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 25px rgba(16, 36, 31, 0.1);
  }

  .mobile-quickbar a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.4rem;
    border-right: 1px solid var(--line);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .mobile-quickbar a:last-child {
    border-right: 0;
  }

  .mobile-quickbar .mobile-quickbar-primary {
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(155, 227, 207, 0.36), transparent 30%),
    linear-gradient(180deg, #f7fcfa 0%, #eef7f4 100%);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 251, 248, 0.82);
  border-bottom: 1px solid rgba(16, 51, 77, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand img {
  display: block;
  height: 56px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-footer img {
  height: 64px;
  box-shadow: none;
}

.desktop-nav {
  display: flex;
  gap: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(16, 51, 77, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 51, 77, 0.08);
}

.mobile-nav {
  display: none;
  padding: 0 0 1rem;
}

.mobile-nav-inner {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 51, 77, 0.1);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(16, 51, 77, 0.08);
}

.mobile-nav a {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  color: var(--secondary);
  font-weight: 700;
  background: rgba(16, 51, 77, 0.04);
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #14a07c);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 139, 109, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--secondary);
  border: 1px solid rgba(16, 51, 77, 0.16);
  box-shadow: 0 12px 28px rgba(16, 51, 77, 0.08);
}

.button-small {
  padding: 0.8rem 1.1rem;
}

.button-full {
  width: 100%;
}

.hero {
  padding: 4.5rem 0 3.25rem;
}

.hero::after {
  content: "";
  display: block;
  width: var(--container);
  height: 1px;
  margin: 3rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(16, 51, 77, 0.15), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--secondary);
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.section-copy,
.contact-card p,
.service-card p,
.info-panel p,
.location-card p,
.map-placeholder p,
.booking-summary p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 1.25rem 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-note {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(15, 139, 109, 0.12);
}

.hero-card {
  position: relative;
  padding: 1rem;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 242, 237, 0.92));
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1rem auto auto -1rem;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(155, 227, 207, 0.9), rgba(16, 51, 77, 0));
  border-radius: 30px;
  z-index: 0;
}

.hero-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 28px;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.hero-mosaic .hero-card:first-child img {
  aspect-ratio: 4 / 4.7;
}

.hero-side-stack {
  display: grid;
  gap: 1rem;
}

.hero-side-stack .hero-card img {
  aspect-ratio: 4 / 2.2;
}

.hero-badge {
  position: absolute;
  right: 1.8rem;
  bottom: 1.8rem;
  z-index: 2;
  max-width: 250px;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(16, 51, 77, 0.88);
  color: #fff;
  box-shadow: 0 16px 30px rgba(16, 51, 77, 0.3);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.trust-strip {
  padding-bottom: 1rem;
}

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

.trust-grid article,
.service-card,
.contact-card,
.booking-form,
.booking-summary,
.location-card,
.map-card,
.info-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(16, 51, 77, 0.06);
}

.trust-grid article {
  padding: 1.35rem;
}

.trust-grid strong {
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
}

.stats-grid,
.gallery-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.stat-card,
.gallery-card,
.faq-item,
.seo-card,
.map-embed-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(16, 51, 77, 0.06);
}

.stat-card {
  padding: 1.5rem;
}

.stat-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--secondary);
}

.stat-card span,
.faq-item p,
.seo-card p {
  color: var(--muted);
  line-height: 1.7;
}

.gallery-card {
  overflow: hidden;
  min-height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.gallery-card-tall img {
  min-height: 580px;
}

.section-band {
  background:
    radial-gradient(circle at top left, rgba(16, 51, 77, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(16, 51, 77, 0.02), rgba(16, 51, 77, 0.06));
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.seo-card {
  padding: 1.6rem;
}

.seo-card h3,
.faq-item h3 {
  margin-top: 0;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
}

.faq-item {
  padding: 1.5rem;
}

.map-embed-card {
  overflow: hidden;
  min-height: 420px;
}

.map-consent {
  display: grid;
  min-height: 420px;
  place-content: center;
  justify-items: start;
  padding: clamp(1.6rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 155, 126, 0.2), transparent 26%),
    linear-gradient(145deg, #effaf6, #e6f1f8);
}

.map-consent-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 18px 18px 26px 18px;
  background: var(--secondary);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.map-consent h3 {
  max-width: 18ch;
  margin: 0 0 0.65rem;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.map-consent > p:not(.eyebrow) {
  max-width: 39ch;
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.map-embed-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

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

.image-strip .gallery-card img {
  min-height: 240px;
}

.instagram-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.instagram-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  gap: 1rem;
}

.instagram-card,
.instagram-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 51, 77, 0.06);
}

.instagram-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--radius-md);
}

.instagram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 51, 77, 0.02), rgba(16, 51, 77, 0.68));
}

.instagram-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.instagram-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
}

.instagram-card-tall {
  grid-row: span 2;
}

.instagram-card-tall img {
  min-height: 460px;
}

.instagram-panel {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.instagram-panel h3 {
  margin: 0 0 0.75rem;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
}

.instagram-panel p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.section {
  padding: 5.5rem 0;
}

.section-accent {
  background:
    radial-gradient(circle at top right, rgba(155, 227, 207, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(11, 109, 86, 0.05), rgba(16, 51, 77, 0.02));
}

.section-soft {
  background: linear-gradient(180deg, rgba(16, 51, 77, 0.03), rgba(155, 227, 207, 0.1));
}

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

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

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.cards-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3,
.info-panel h3,
.booking-summary h3,
.contact-card h3 {
  margin-top: 0;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
}

.service-card a,
.contact-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--primary-dark);
  font-weight: 800;
}

.card-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
}

.card-actions .button {
  width: 100%;
}

.button-text {
  justify-content: flex-start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--secondary);
  box-shadow: none;
}

.button-text:hover,
.button-text:focus-visible {
  transform: none;
  color: var(--primary-dark);
}

.service-card a {
  margin-top: auto;
  padding-top: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.feature-list article {
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--primary);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.feature-list h3 {
  margin: 0 0 0.45rem;
  color: var(--secondary);
}

.info-panel {
  padding: 1.6rem;
  background: linear-gradient(180deg, #10334d, #174661);
  color: #fff;
}

.info-panel p,
.info-panel li {
  color: rgba(255, 255, 255, 0.82);
}

.info-panel ul {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.panel-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(155, 227, 207, 0.16);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.reserve-shell {
  display: grid;
  gap: 2rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.booking-form,
.booking-summary {
  padding: 1.6rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(16, 51, 77, 0.14);
  background: #fafdff;
  color: var(--text);
  font: inherit;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(15, 139, 109, 0.22);
  border-color: var(--primary);
}

.summary-box {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(16, 51, 77, 0.04), rgba(15, 139, 109, 0.08));
  border-radius: 18px;
}

.summary-box p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.location-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.location-grid {
  grid-template-columns: 1fr 0.95fr;
  align-items: stretch;
}

.location-card {
  margin: 1.6rem 0 1.4rem;
  padding: 1.35rem;
}

.map-card {
  padding: 1rem;
}

.map-placeholder {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(155, 227, 207, 0.36), transparent 32%),
    linear-gradient(145deg, #173f59, #0d2739);
  color: #fff;
}

/* 2026 clinical redesign */
:root {
  --bg-warm: #fbf8f2;
  --sand: #e9dfcf;
  --navy: #0b355b;
  --mint: #08caa6;
  --mint-dark: #087f6a;
}

body {
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 51, 77, 0.05) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 42%);
}

:focus-visible {
  outline: 3px solid #f3aa32;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: var(--secondary);
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: rgba(247, 252, 250, 0.93);
}

.desktop-nav {
  gap: 1.05rem;
  font-size: 0.92rem;
}

.desktop-nav a[aria-current="page"] {
  color: var(--primary-dark);
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.mobile-nav a[aria-current="page"] {
  background: rgba(15, 139, 109, 0.12);
  color: var(--primary-dark);
}

.mobile-nav .mobile-nav-primary {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.button-light {
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 14px 30px rgba(6, 30, 47, 0.16);
}

.button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #fff;
  background: transparent;
}

.button-text-light {
  color: #fff;
}

.hero-home {
  padding-top: 4rem;
  background:
    radial-gradient(circle at 76% 14%, rgba(8, 202, 166, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent);
}

.hero-home h1 {
  max-width: 11ch;
}

.hero-card-main img {
  object-position: center 20%;
}

.hero-side-stack .hero-card {
  overflow: hidden;
}

.hero-side-stack .hero-card img {
  height: 100%;
  min-height: 210px;
  object-position: center 24%;
}

.trust-grid article {
  position: relative;
  overflow: hidden;
  min-height: 178px;
}

.trust-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(155, 227, 207, 0.2);
}

.trust-grid p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trust-number {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--primary);
  font: 700 0.82rem/1 "Outfit", sans-serif;
  letter-spacing: 0.12em;
}

.section-heading-wide {
  max-width: 860px;
}

.service-columns-featured {
  gap: 1.4rem;
}

.pillar-card-photo {
  position: relative;
  min-height: 590px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.pillar-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0 56%, rgba(255, 255, 255, 0.04) 82%);
}

.pillar-card-photo .pillar-content {
  width: 61%;
  padding: 2.2rem;
}

.pillar-card-photo img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.pillar-card-photo h3 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.pillar-card-photo p {
  color: var(--muted);
  line-height: 1.7;
}

.esthetic-pillar {
  background: #10334d;
  border-color: rgba(255, 255, 255, 0.08);
}

.esthetic-pillar::after {
  background: linear-gradient(90deg, rgba(16, 51, 77, 0.99) 0 56%, rgba(16, 51, 77, 0.06) 82%);
}

.esthetic-pillar h3,
.esthetic-pillar p,
.esthetic-pillar .eyebrow {
  color: #fff;
}

.esthetic-pillar .eyebrow {
  color: var(--accent);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 202, 166, 0.21), transparent 26%),
    linear-gradient(145deg, #0b2d46, #0e3c5d 58%, #0d3149);
}

.doctor-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.doctor-photo-frame {
  position: relative;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px 38px 150px 38px;
  background: rgba(255, 255, 255, 0.08);
}

.doctor-photo-frame::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(155, 227, 207, 0.58);
  border-radius: 22px;
}

.doctor-photo-frame img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 30px 30px 140px 30px;
}

.doctor-copy .eyebrow {
  color: var(--accent);
}

.doctor-copy h2,
.final-cta h2 {
  margin: 0 0 1.2rem;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
}

.doctor-copy .lead {
  max-width: 63ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

.doctor-principles {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0;
}

.doctor-principles article {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

.doctor-principles p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-card {
  min-height: 260px;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
}

.process-card span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 2rem;
  border-radius: 14px;
  background: var(--secondary);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.process-card h3 {
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
}

.process-card p {
  color: var(--muted);
  line-height: 1.7;
}

.clinic-preview-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 3rem;
}

.clinic-preview-copy h2,
.instagram-panel h2 {
  margin: 0 0 1rem;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
  line-height: 1.03;
}

.clinic-preview-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.location-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.location-facts span {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(15, 139, 109, 0.18);
  border-radius: 999px;
  background: rgba(155, 227, 207, 0.13);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.clinic-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.clinic-gallery .gallery-card {
  min-height: 520px;
  border-radius: 30px;
}

.clinic-gallery .gallery-card img {
  min-height: 520px;
  object-position: center 18%;
}

.clinic-gallery .gallery-card:last-child {
  transform: translateY(2rem);
}

.section-instagram {
  background: var(--bg-warm);
}

.instagram-panel h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.faq-stack {
  display: grid;
  gap: 0.8rem;
}

details.faq-item {
  padding: 0;
  overflow: hidden;
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.5rem;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.35rem;
}

.final-cta {
  padding-top: 3rem;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 0, rgba(155, 227, 207, 0.28), transparent 26%),
    linear-gradient(135deg, #0b2f49, #0d5d65);
  box-shadow: var(--shadow);
}

.final-cta-card .eyebrow {
  color: var(--accent);
}

.final-cta-card p:not(.eyebrow) {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta-actions {
  display: grid;
  min-width: 220px;
  gap: 0.8rem;
}

.footer-content {
  grid-template-columns: 1.25fr 0.75fr 0.85fr 1fr;
  padding-top: 0;
  border-top: 0;
}

.footer-brand .brand img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-social a,
.footer-cta a,
.footer-cta address {
  color: rgba(255, 255, 255, 0.8);
}

.footer-cta address {
  font-style: normal;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-quickbar {
  display: none;
}

.whatsapp-float span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
}

/* Interior pages */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--primary-dark);
  font-weight: 700;
}

.breadcrumbs span + span::before,
.breadcrumbs a + span::before {
  content: "/";
  margin-right: 0.55rem;
  color: rgba(16, 51, 77, 0.32);
}

.page-hero .hero-card img {
  max-height: 620px;
  object-position: center 18%;
}

.page-hero h1 {
  max-width: 13ch;
}

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

.service-detail-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(16, 51, 77, 0.06);
}

.service-detail-card .card-kicker {
  margin-bottom: 1.6rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail-card h3 {
  margin: 0 0 0.7rem;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
}

.service-detail-card p {
  color: var(--muted);
  line-height: 1.65;
}

.service-detail-card a {
  margin-top: auto;
  color: var(--primary-dark);
  font-weight: 800;
}

.notice-card {
  padding: 1.4rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  line-height: 1.7;
}

.contact-info-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.contact-info-list article {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.contact-info-list strong,
.contact-info-list span,
.contact-info-list a {
  display: block;
}

.contact-info-list span,
.contact-info-list a {
  margin-top: 0.3rem;
  color: var(--muted);
  line-height: 1.55;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 2.4rem;
  font-size: 1.7rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.75;
}

.draft-notice {
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(194, 116, 22, 0.25);
  border-radius: 16px;
  background: #fff7e8;
  color: #74470f;
  line-height: 1.6;
}

.map-placeholder span {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.map-placeholder strong {
  margin-top: 0.5rem;
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
}

.map-placeholder p {
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.86);
}

.contact-shell {
  display: grid;
  gap: 2rem;
}

.stack-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.booking-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.booking-link-card {
  padding: 1.7rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 51, 77, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.booking-link-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
}

.booking-link-card p {
  color: var(--muted);
  line-height: 1.7;
}

.booking-link-card .button {
  margin-top: auto;
}

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

.pillar-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 242, 0.96));
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(16, 51, 77, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card-alt {
  background: linear-gradient(180deg, rgba(16, 51, 77, 0.96), rgba(22, 69, 95, 0.96));
  color: #fff;
}

.pillar-card-alt h3,
.pillar-card-alt p,
.pillar-card-alt li {
  color: #fff;
}

.pillar-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
}

.pillar-card-alt h3 {
  color: #fff;
}

.pillar-list {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.pillar-card .button {
  margin-top: auto;
}

.hero-inner {
  padding-top: 3.2rem;
}

.page-title-compact {
  max-width: 14ch;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.booking-page-title {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.text-centered {
  margin-inline: auto;
}

.section-tight-top {
  padding-top: 1rem;
}

.booking-link-card-featured {
  border-top: 5px solid var(--primary);
}

.eyebrow-accent {
  color: var(--accent);
}

.heading-inverse {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.copy-inverse-muted {
  color: rgba(255, 255, 255, 0.78);
}

.doctor-photo-soft {
  background: #e8f4f0;
}

.error-page {
  display: grid;
  min-height: 80vh;
  place-items: center;
}

.error-page .section-heading h1 {
  max-width: none;
}

.error-page .hero-text {
  margin-inline: auto;
}

.error-page .hero-actions {
  justify-content: center;
}

.error-page-mark {
  width: 96px;
  margin: 0 auto 2rem;
}

.hero-esthetic .hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(233, 241, 248, 0.92));
}

.esthetic-panel {
  background: linear-gradient(180deg, #143953, #1f5676);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card {
  padding: 1.5rem;
}

.contact-card strong {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--secondary);
}

.site-footer {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(28, 132, 107, 0.16), transparent 24%),
    linear-gradient(180deg, #0d2739 0%, #102f46 100%);
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.25fr 0.72fr 0.78fr 0.9fr;
  gap: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand strong,
.footer-nav strong,
.footer-cta strong {
  display: block;
  margin-bottom: 0.7rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
}

.footer-brand {
  display: grid;
  gap: 0.9rem;
}

.footer-brand p,
.footer-nav a,
.footer-cta p {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-nav a {
  display: inline-flex;
  width: fit-content;
}

.footer-cta {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.footer-cta .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: #1db954;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(29, 185, 84, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 650ms ease forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .hero-mosaic,
  .split-layout,
  .booking-layout,
  .location-grid,
  .booking-link-grid,
  .seo-grid,
  .gallery-grid,
  .instagram-layout,
  .instagram-grid,
  .faq-grid,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .cards-grid-three,
  .service-columns,
  .stats-grid,
  .instagram-grid,
  .contact-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .nav-booking {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .doctor-layout,
  .clinic-preview-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .doctor-photo-frame {
    max-width: 620px;
  }

  .clinic-preview-copy {
    max-width: 760px;
  }

  .process-grid,
  .service-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }

  .nav {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav[data-open="true"] {
    display: block;
  }

  .brand img {
    height: 46px;
  }

  .brand-footer img {
    height: 56px;
  }

  .hero {
    padding-top: 2.25rem;
  }

  body {
    padding-bottom: 70px;
  }

  .hero h1 {
    max-width: none;
  }

  .field-row,
  .cards-grid,
  .cards-grid-three,
  .service-columns,
  .booking-link-grid,
  .stats-grid,
  .instagram-grid,
  .faq-grid,
  .image-strip,
  .contact-grid,
  .trust-grid,
  .process-grid,
  .service-list-grid,
  .doctor-layout,
  .clinic-preview-grid,
  .clinic-gallery,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    grid-template-columns: 1fr;
  }

  .hero-side-stack {
    display: none;
  }

  .hero-card-main img,
  .page-hero .hero-card img {
    aspect-ratio: 4 / 4.6;
    max-height: 560px;
  }

  .hero-card {
    padding: 0.7rem;
  }

  .hero-badge {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .section {
    padding: 4.25rem 0;
  }

  .instagram-card-tall {
    grid-row: auto;
  }

  .instagram-card-tall img {
    min-height: 280px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-quickbar {
    position: fixed;
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
    z-index: 40;
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.15fr;
    gap: 0.35rem;
    padding: 0.38rem;
    border: 1px solid rgba(16, 51, 77, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(16, 51, 77, 0.2);
    backdrop-filter: blur(18px);
  }

  .mobile-quickbar a {
    display: grid;
    min-height: 48px;
    place-items: center;
    border-radius: 14px;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 800;
  }

  .mobile-quickbar .mobile-quickbar-primary {
    background: var(--primary);
    color: #fff;
  }

  .pillar-card-photo {
    min-height: 650px;
  }

  .pillar-card-photo::after,
  .esthetic-pillar::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0 57%, rgba(255, 255, 255, 0.12) 78%);
  }

  .esthetic-pillar::after {
    background: linear-gradient(180deg, rgba(16, 51, 77, 0.99) 0 57%, rgba(16, 51, 77, 0.12) 78%);
  }

  .pillar-card-photo .pillar-content {
    width: 100%;
    padding: 1.65rem;
  }

  .pillar-card-photo img {
    inset: auto 0 0;
    width: 100%;
    height: 52%;
    object-position: center 20%;
  }

  .doctor-photo-frame {
    border-radius: 30px 30px 100px 30px;
  }

  .doctor-photo-frame img {
    max-height: 520px;
    border-radius: 24px 24px 90px 24px;
  }

  .clinic-gallery .gallery-card,
  .clinic-gallery .gallery-card img {
    min-height: 380px;
  }

  .clinic-gallery .gallery-card:last-child {
    display: none;
  }

  .final-cta-card {
    display: grid;
    border-radius: 26px;
  }

  .final-cta-actions {
    min-width: 0;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 390px) {
  :root {
    --container: min(1120px, calc(100% - 1.25rem));
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .brand img {
    height: 41px;
  }

  .mobile-quickbar a {
    font-size: 0.76rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Capa final: prevalece sobre estilos históricos aún usados por páginas interiores. */
:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-strong: #eeeae1;
  --primary: #18332e;
  --primary-dark: #10241f;
  --secondary: #0d3156;
  --secondary-soft: #244967;
  --accent: #b87552;
  --text: #1b211f;
  --muted: #5c6662;
  --line: #d9dfdb;
  --shadow: 0 18px 46px rgba(24, 51, 46, 0.1);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: min(1240px, calc(100% - 3rem));
}

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

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--primary-dark);
  letter-spacing: -0.035em;
}

.site-header {
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(24, 51, 46, 0.1);
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
}

.brand img {
  width: 196px;
  height: auto;
  max-height: 58px;
  border-radius: 0;
}

.desktop-nav {
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  margin-left: auto;
  color: #273d37;
  font-size: 0.88rem;
}

.button {
  min-height: 48px;
  border-radius: 8px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  box-shadow: none;
}

.button-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.button-secondary {
  border: 1px solid #aeb9b4;
  background: transparent;
  color: var(--primary-dark);
  box-shadow: none;
}

.button-small {
  min-height: 44px;
  padding: 0.7rem 1rem;
}

.button-text {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--primary);
  border-radius: 0;
  padding: 0.75rem 0.1rem 0.55rem;
  background: transparent;
  color: var(--primary-dark);
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--primary-dark);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: min(390px, 92vw);
  padding: 0;
  background: var(--bg);
  transform: translateX(105%);
}

.mobile-nav[data-open="true"] {
  display: flex;
  transform: translateX(0);
}

.mobile-nav-inner {
  display: grid;
  gap: 0;
  padding: 0.7rem 1.25rem;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mobile-nav a {
  min-height: 50px;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--primary-dark);
}

.mobile-nav a[aria-current="page"] {
  background: transparent;
  color: var(--accent);
}

.mobile-nav-actions a.button-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
}

.menu-open .mobile-quickbar {
  visibility: hidden;
  transform: translateY(100%);
}

.home-page .doctor-layout {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.home-page .doctor-copy h2 {
  margin: 0;
  color: #fff;
}

.home-page .clinic-gallery {
  height: 620px;
  grid-template-columns: 1.55fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.home-page .booking-layout {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.home-page .final-cta h2 {
  color: inherit;
}

.site-footer {
  padding: 5rem 0 1.5rem;
  background: #0e201c;
}

.footer-bottom {
  justify-content: initial;
}

.whatsapp-float {
  right: 1rem;
  bottom: 1rem;
  border-radius: 8px;
  background: #197d54;
}

.booking-section .eyebrow {
  color: #e5b89f;
}

.brand-footer {
  width: fit-content;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  background: var(--bg);
}

.brand-footer img {
  filter: none;
}

/* Final interior-page polish: consistent contrast, geometry and visual weight. */
.section-dark,
.section-deep {
  background: var(--primary-dark);
}

.section-dark h2,
.section-dark h3,
.section-deep h2,
.section-deep h3,
.info-panel h2,
.info-panel h3,
.map-placeholder h2,
.map-placeholder h3,
.final-cta-card h2 {
  color: #fff;
}

.section-dark .lead,
.section-deep .lead,
.section-dark p,
.section-deep p,
.info-panel p,
.info-panel li,
.map-placeholder p,
.final-cta-card p {
  color: #dbe6e2;
}

.section-dark .eyebrow,
.section-deep .eyebrow,
.info-panel .panel-label,
.map-placeholder .eyebrow,
.final-cta-card .eyebrow {
  color: #e5b89f;
}

.info-panel,
.map-placeholder,
.final-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: var(--secondary);
  box-shadow: none;
}

.map-embed-card {
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.trust-grid article,
.service-detail-card,
.process-card,
.faq-item,
.gallery-card,
.feature-list article {
  border-radius: 10px;
  box-shadow: none;
}

.trust-grid article::after,
.service-detail-card::after {
  display: none;
}

.contact-grid-title {
  grid-column: 1 / -1;
  margin: 0 0 0.75rem;
}

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

.button-outline-light:hover,
.button-outline-light:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--primary-dark);
}

@media (max-width: 1180px) {
  :root {
    --container: min(100% - 2.5rem, 1040px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 2rem, 760px);
  }

  .home-page .doctor-layout,
  .home-page .booking-layout {
    grid-template-columns: 1fr;
  }

  .home-page .clinic-gallery {
    height: 520px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 1.5rem, 520px);
  }

  body {
    padding-bottom: 64px;
  }

  .brand img {
    width: 166px;
    height: auto;
  }

  .home-page .clinic-gallery {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 400px 220px;
    gap: 0.6rem;
  }

  .mobile-quickbar {
    display: grid;
  }

  .whatsapp-float {
    display: none;
  }
}

/* Desktop refinement: denser rhythm, calmer hierarchy and balanced imagery. */
@media (min-width: 901px) {
  .home-page .home-hero {
    min-height: 0;
    padding: 2.75rem 0 3.25rem;
  }

  .home-page .home-hero-grid {
    min-height: 525px;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
    gap: clamp(3rem, 5vw, 5rem);
  }

  .home-page .home-hero-copy {
    max-width: 650px;
    padding: 1rem 0;
  }

  .home-page .home-hero h1 {
    max-width: 12ch;
    font-size: clamp(3.5rem, 4.55vw, 4.65rem);
    line-height: 1;
  }

  .home-page .home-hero-lead {
    max-width: 610px;
    margin-top: 1.35rem;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.65;
  }

  .home-page .hero-actions {
    margin-top: 1.55rem;
  }

  .home-page .home-signals {
    margin-top: 1.5rem;
  }

  .home-page .home-hero-photo {
    width: min(100%, 520px);
    height: 525px;
  }

  .home-page .home-hero-photo img {
    object-position: 50% 25%;
  }

  .home-page .attention-section,
  .home-page .doctor-section,
  .home-page .clinic-section,
  .home-page .visit-section {
    padding: 4.75rem 0;
  }

  .home-page .editorial-heading,
  .home-page .clinic-heading {
    margin-bottom: 2.4rem;
  }

  .home-page .editorial-heading h2,
  .home-page .evidence-layout h2,
  .home-page .doctor-copy h2,
  .home-page .clinic-heading h2,
  .home-page .booking-layout h2,
  .home-page .visit-copy h2,
  .home-page .closing-cta h2 {
    font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  }

  .home-page .attention-panel {
    min-height: 390px;
    padding-top: 2.5rem;
    padding-bottom: 2.6rem;
  }

  .home-page .attention-panel h3 {
    max-width: 390px;
    font-size: clamp(1.9rem, 2.45vw, 2.55rem);
  }

  .home-page .attention-number {
    top: 1.65rem;
    font-size: 2.35rem;
  }

  .home-page .evidence-section {
    padding: 4.5rem 0;
  }

  .home-page .evidence-layout {
    gap: clamp(3rem, 5vw, 5rem);
  }

  .home-page .evidence-list > div {
    padding: 1.1rem 0;
  }

  .home-page .doctor-layout {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3.5rem, 6vw, 6rem);
  }

  .home-page .doctor-photo {
    height: 500px;
  }

  .home-page .doctor-intro {
    margin-top: 1.15rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  .home-page .doctor-details {
    margin: 1.7rem 0;
    padding: 1.4rem 0;
  }

  .home-page .clinic-gallery {
    height: 500px;
  }

  .home-page .booking-section {
    padding: 4.75rem 0;
  }

  .home-page .booking-layout,
  .home-page .visit-grid {
    gap: clamp(3.5rem, 6vw, 6rem);
  }

  .home-page .booking-steps li {
    padding: 1.15rem 0;
  }

  .home-page .faq-preview summary {
    min-height: 58px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .home-page .closing-cta {
    padding-bottom: 4.75rem;
  }

  .home-page .closing-cta-inner {
    padding: clamp(2.5rem, 3.5vw, 3.4rem);
  }

  .home-page + .site-footer,
  .home-page .site-footer {
    padding-top: 4rem;
  }

  .home-page .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
