/*
Theme Name: Láak’Tsil Cálido
Theme URI: https://laaktsil.com.mx/
Author: Láak’Tsil CEM
Description: Tema profesional y cálido para Láak’Tsil, con la agenda web como principal llamada a la acción.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: laaktsil-warm
*/

@font-face {
  font-family: "Montserrat";
  src: url("Montserrat-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --navy: #0b2f68;
  --navy-deep: #071f47;
  --blue: #1d5f9d;
  --sage: #74ad6b;
  --sage-dark: #4f8650;
  --mint: #dff1e5;
  --peach: #f2be95;
  --peach-soft: #fff0e3;
  --sky: #dcecf8;
  --ink: #16304d;
  --muted: #5e6e7f;
  --cream: #fbfaf6;
  --white: #ffffff;
  --line: #dbe4eb;
  --shadow: 0 24px 60px rgba(11, 47, 104, .13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100vw - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

.topbar {
  color: var(--white);
  background: var(--navy-deep);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.topbar__inner {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p { margin: 0; }
.topbar a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  color: var(--white);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 780;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.topbar a:hover { color: var(--navy-deep); background: var(--white); text-decoration: none; transform: translateY(-1px); }
.topbar svg { width: 18px; fill: var(--peach); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(219, 228, 235, .8);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  min-width: 0;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { flex: 0 1 228px; }
.brand img { width: 228px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) {
  position: relative;
  color: var(--ink);
  font-size: .87rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(11, 47, 104, .18);
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 16px 30px rgba(11, 47, 104, .24);
  transform: translateY(-2px);
}

.button:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(29, 95, 157, .32);
  outline-offset: 4px;
}

.button svg { width: 19px; fill: currentColor; }
.button--small { min-height: 43px; padding: 10px 20px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 90px;
  background:
    radial-gradient(circle at 8% 18%, rgba(242, 190, 149, .24), transparent 25%),
    linear-gradient(135deg, var(--cream) 0%, #fff 58%, #edf5fa 100%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.hero__copy { min-width: 0; padding: 18px 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--sage-dark);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow span { width: 28px; height: 2px; background: currentColor; }

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  max-width: 690px;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.9rem, 5vw, 5rem);
  font-weight: 760;
  letter-spacing: -.052em;
  line-height: 1.02;
}

h1 em {
  color: var(--sage-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.hero__lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
}

.hero__actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 25px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero__trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.hero__trust svg { width: 18px; fill: var(--sage-dark); }

.hero__visual { position: relative; min-width: 0; padding: 0 14px 18px 0; }

.hero__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.16 / 1;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero__image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(7, 31, 71, .16));
}

.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }

.floating-card {
  position: absolute;
  right: -26px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(11, 47, 104, .18);
  backdrop-filter: blur(10px);
}

.floating-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  background: var(--peach-soft);
  border-radius: 50%;
}

.floating-card__icon svg { width: 22px; fill: #d27b59; }
.floating-card p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.floating-card strong { color: var(--navy); font-size: .9rem; }

.hero__shape { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero__shape--one { right: -110px; bottom: -100px; width: 380px; height: 380px; background: rgba(116, 173, 107, .1); }
.hero__shape--two { top: 40px; right: 40%; width: 70px; height: 70px; border: 16px solid rgba(242, 190, 149, .16); }

.quick-benefits { position: relative; z-index: 4; margin-top: -28px; }

.quick-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 45px rgba(11, 47, 104, .08);
}

.quick-benefits article { display: flex; gap: 16px; padding: 25px 30px; }
.quick-benefits article + article { border-left: 1px solid var(--line); }
.quick-benefits .number { color: var(--peach); font-size: .72rem; font-weight: 850; }
.quick-benefits strong { color: var(--navy); font-size: .92rem; }
.quick-benefits p { margin: 3px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }

.section { padding: 112px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
}

.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading > p { max-width: 420px; margin: 0 0 7px; color: var(--muted); font-size: .95rem; }

h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.1rem, 3.5vw, 3.35rem);
  font-weight: 730;
  letter-spacing: -.04em;
  line-height: 1.13;
}

.specialties { background: var(--white); }
.specialties__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.specialty-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 30px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.specialty-card:hover {
  border-color: var(--line);
  box-shadow: 0 18px 45px rgba(11, 47, 104, .09);
  transform: translateY(-5px);
}

.specialty-card--featured { background: var(--navy); }
.specialty-card__icon { display: grid; width: 50px; height: 50px; place-items: center; color: var(--navy); background: var(--sky); border-radius: 15px; }
.specialty-card__icon svg { width: 25px; fill: currentColor; }
.specialty-card--featured .specialty-card__icon { color: var(--white); background: rgba(255,255,255,.13); }

.specialty-card h3 { margin: 25px 0 10px; color: var(--navy-deep); font-size: 1.08rem; line-height: 1.35; }
.specialty-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.specialty-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--blue); font-size: .74rem; font-weight: 760; text-decoration: none; }
.specialty-card a span { transition: transform .2s ease; }
.specialty-card a:hover span { transform: translateX(4px); }
.specialty-card--featured h3, .specialty-card--featured p, .specialty-card--featured a { color: var(--white); }
.specialty-card--featured p { color: rgba(255,255,255,.76); }

.specialties__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 30px;
  color: var(--muted);
  text-align: center;
}

.specialties__more p { margin: 0; font-size: .86rem; }

.difference { overflow: hidden; background: var(--cream); }
.difference__grid { display: grid; grid-template-columns: 1fr .93fr; align-items: center; gap: clamp(55px, 8vw, 105px); }
.difference__visual { position: relative; padding: 0 0 30px 30px; }

.difference__visual::before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 52%;
  content: "";
  background: var(--mint);
  border-radius: 26px;
}

.difference__visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.difference__badge {
  position: absolute;
  z-index: 2;
  right: -27px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  color: var(--white);
  background: var(--sage-dark);
  border-radius: 17px;
  box-shadow: 0 18px 40px rgba(79, 134, 80, .24);
  font-size: .77rem;
  line-height: 1.5;
}

.difference__badge svg { width: 26px; fill: var(--white); }
.difference__copy > p:not(.eyebrow) { margin: 24px 0 0; color: var(--muted); }

.feature-list { display: grid; gap: 0; margin-top: 25px; }
.feature-list article { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-list article:last-child { border-bottom: 0; }
.feature-list span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--sage-dark); background: var(--mint); border-radius: 50%; font-size: .7rem; font-weight: 800; }
.feature-list h3 { margin: 0; color: var(--navy); font-size: .95rem; }
.feature-list p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }

.mascot-story {
  overflow: hidden;
  padding-top: 0;
  background: var(--cream);
}

.mascot-story__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  min-height: 540px;
  background:
    radial-gradient(circle at 9% 18%, rgba(242,190,149,.34), transparent 24%),
    radial-gradient(circle at 92% 85%, rgba(116,173,107,.18), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f5faf6 58%, #edf5fa 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.mascot-story__card::after {
  position: absolute;
  right: -74px;
  bottom: -96px;
  width: 270px;
  height: 270px;
  content: "";
  border: 48px solid rgba(11,47,104,.045);
  border-radius: 50%;
}

.mascot-story__visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
}

.mascot-story__visual::before {
  position: absolute;
  inset: 12% 8% 8%;
  content: "";
  background: radial-gradient(circle, rgba(212,238,218,.95), rgba(212,238,218,0) 68%);
  border-radius: 50%;
}

.mascot-story__visual img {
  position: absolute;
  bottom: -2px;
  left: 50%;
  z-index: 1;
  width: min(90%, 405px);
  height: 96%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 25px rgba(11,47,104,.16));
  transform: translateX(-50%);
}

.mascot-story__copy {
  position: relative;
  z-index: 2;
  padding: clamp(42px, 6vw, 76px) clamp(35px, 6vw, 82px);
}

.mascot-story__copy .eyebrow { margin-bottom: 12px; }
.mascot-story__hello { margin: 0 0 12px; color: var(--sage-dark); font-size: 1rem; font-weight: 800; }
.mascot-story__copy h2 { max-width: 710px; }
.mascot-story__copy > p:not(.eyebrow, .mascot-story__hello) { max-width: 700px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.mascot-story__actions { display: flex; align-items: center; gap: 20px; margin-top: 29px; }
.mascot-story__actions > span { max-width: 245px; color: var(--muted); font-size: .75rem; line-height: 1.55; }

.appointment { padding-bottom: 90px; background: var(--white); }
.appointment__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  column-gap: 70px;
  row-gap: 42px;
  padding: clamp(42px, 6vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(116, 173, 107, .28), transparent 28%),
    var(--navy-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.appointment__card::after {
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 280px;
  height: 280px;
  content: "";
  border: 55px solid rgba(242, 190, 149, .1);
  border-radius: 50%;
}

.appointment__copy, .appointment__info, .appointment__map { position: relative; z-index: 1; }
.eyebrow--light { color: var(--peach); }
.appointment h2 { color: var(--white); }
.appointment__copy > p:not(.eyebrow) { max-width: 660px; margin: 20px 0 0; color: rgba(255,255,255,.72); }
.appointment__actions { display: flex; align-items: center; gap: 22px; margin-top: 31px; }
.button--light { color: var(--navy-deep); background: var(--white); border-color: var(--white); box-shadow: none; }
.button--light:hover { color: var(--navy-deep); background: var(--peach-soft); border-color: var(--peach-soft); }
.appointment__secondary { color: var(--white); font-size: .82rem; font-weight: 700; text-decoration: none; }
.appointment__secondary:hover { text-decoration: underline; }

.appointment__info { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.appointment__info article { display: flex; gap: 15px; padding: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.appointment__info svg { width: 24px; flex: 0 0 24px; fill: var(--peach); }
.appointment__info strong { font-size: .82rem; }
.appointment__info p { margin: 4px 0 0; color: rgba(255,255,255,.68); font-size: .75rem; line-height: 1.6; }
.appointment__info a { text-decoration: none; }
.appointment__info a:hover { text-decoration: underline; }
.appointment__map {
  grid-column: 1 / -1;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 22, 52, .22);
}
.appointment__map iframe {
  display: block;
  width: 100%;
  height: clamp(310px, 32vw, 430px);
  border: 0;
}

.site-footer { padding: 55px 0 25px; background: var(--cream); }
.footer__grid { display: grid; grid-template-columns: 1.5fr .6fr .6fr; gap: 70px; }
.footer__brand img { width: 205px; height: auto; }
.footer__brand p { max-width: 310px; margin: 20px 0 0; color: var(--muted); font-size: .8rem; }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__links strong { margin-bottom: 6px; color: var(--navy); font-size: .82rem; }
.footer__links a { color: var(--muted); font-size: .76rem; text-decoration: none; }
.footer__links a:hover { color: var(--navy); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 45px; padding-top: 22px; color: #7b8792; border-top: 1px solid var(--line); font-size: .69rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; }

.mobile-appointment { display: none; }

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: #25d366;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(7,31,71,.24);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.floating-whatsapp:hover {
  color: var(--white);
  background: #1fbd59;
  box-shadow: 0 18px 38px rgba(7,31,71,.3);
  transform: translateY(-3px) scale(1.03);
}

.floating-whatsapp svg { width: 29px; fill: currentColor; }

.floating-whatsapp::after {
  position: absolute;
  right: 68px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 9px;
  content: "Ayuda por WhatsApp";
  font-size: .72rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateX(7px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

.floating-whatsapp:hover::after,
.floating-whatsapp:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1040px) {
  .main-nav { gap: 19px; }
  .main-nav > a:not(.button) { font-size: .8rem; }
  .brand { flex-basis: 195px; }
  .brand img { width: 195px; }
  .hero__grid { gap: 45px; }
  .floating-card { right: -10px; }
}

@media (max-width: 860px) {
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .site-header {
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-wrap { min-height: 76px; }
  .brand, .brand img { width: 190px; flex-basis: 190px; }

  .menu-toggle {
    position: relative;
    z-index: 120;
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span { width: 18px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    box-sizing: border-box;
    display: flex;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: calc(92px + env(safe-area-inset-top)) 34px calc(32px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav > a:not(.button) { padding: 15px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .main-nav .button { width: 100%; margin-top: 25px; }

  .hero { padding: 58px 0 78px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__copy { max-width: 680px; }
  .hero__visual { max-width: 640px; margin-inline: auto; }
  .hero__image-wrap { aspect-ratio: 1.16 / 1; border-radius: 28px; }
  .hero__image-wrap img { object-position: 50% 52%; }

  .quick-benefits__grid { grid-template-columns: 1fr; }
  .quick-benefits article + article { border-top: 1px solid var(--line); border-left: 0; }
  .quick-benefits article { padding: 20px 25px; }

  .section { padding: 88px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .specialties__grid { grid-template-columns: repeat(2, 1fr); }
  .difference__grid { grid-template-columns: 1fr; gap: 70px; }
  .difference__visual { max-width: 610px; }
  .difference__visual img { aspect-ratio: 4 / 3.3; }
  .difference__badge { right: -10px; }

  .mascot-story__card { grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); min-height: 485px; }
  .mascot-story__visual { min-height: 485px; }
  .mascot-story__copy { padding: 44px 42px; }

  .appointment__card { grid-template-columns: 1fr; gap: 42px; }
  .appointment__info { display: grid; grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.3fr .7fr .7fr; gap: 35px; }
}

@media (max-width: 590px) {
  .container { width: min(calc(100vw - 28px), var(--container)); }
  .topbar { font-size: .71rem; }
  .site-header { top: 0; }
  .nav-wrap { min-height: 70px; }
  .brand, .brand img { width: 170px; flex-basis: 170px; }

  .hero { padding-top: 45px; }
  .hero__grid {
    display: block;
  }
  .hero__copy { width: 100%; }
  h1 {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
  .hero__lead { max-width: 100%; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero__actions .button { width: 100%; }
  .hero__actions .text-link { align-self: center; }
  .hero__trust { gap: 12px; flex-direction: column; }
  .hero__visual { width: 100%; margin-top: 50px; padding-right: 0; }
  .hero__image-wrap { aspect-ratio: 1.05 / 1; border-radius: 24px; }
  .hero__image-wrap img { object-position: 50% center; }
  .floating-card { right: 10px; bottom: -8px; min-width: 218px; padding: 13px 15px; }

  .quick-benefits { margin-top: -18px; }
  .quick-benefits article { padding: 18px 20px; }

  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p { font-size: .88rem; }
  h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .specialties__grid { grid-template-columns: 1fr; }
  .specialty-card { min-height: 270px; padding: 26px; }
  .specialties__more { align-items: flex-start; flex-direction: column; gap: 12px; text-align: left; }

  .difference__visual { padding: 0 0 25px 14px; }
  .difference__visual img { aspect-ratio: 1 / 1.1; }
  .difference__badge { right: 4px; bottom: 0; padding: 14px 16px; }

  .mascot-story { padding-bottom: 74px; }
  .mascot-story__card { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .mascot-story__visual { min-height: 390px; }
  .mascot-story__visual img { width: min(82%, 315px); height: 98%; }
  .mascot-story__copy { padding: 35px 25px 42px; text-align: center; }
  .mascot-story__copy .eyebrow { justify-content: center; }
  .mascot-story__copy h2 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .mascot-story__actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .mascot-story__actions .button { width: 100%; }
  .mascot-story__actions > span { max-width: none; }

  .appointment { padding-bottom: 75px; }
  .appointment__card { width: min(calc(100% - 20px), var(--container)); padding: 40px 25px; border-radius: 24px; }
  .appointment__actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .appointment__secondary { align-self: center; }
  .appointment__info { grid-template-columns: 1fr; }
  .appointment__map { border-radius: 16px; }
  .appointment__map iframe { height: 340px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding-bottom: 60px; }
  .footer__legal { justify-content: flex-start; }

  .mobile-appointment {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 90;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--sage-dark);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(7,31,71,.25);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
  }

  .floating-whatsapp {
    right: 17px;
    bottom: 17px;
    width: 54px;
    height: 54px;
  }

  .floating-whatsapp--with-booking { bottom: 76px; }

  .floating-whatsapp::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* WordPress: barra de administración y páginas internas */
body.admin-bar .site-header { top: 32px; }

.content-page {
  min-height: 55vh;
  padding: clamp(65px, 8vw, 105px) 0;
  background: linear-gradient(180deg, var(--cream), var(--white) 260px);
}

.content-page__header {
  max-width: 820px;
  margin-bottom: 42px;
}

.content-page__header h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.entry-content {
  width: 100%;
  color: var(--ink);
}

.entry-content > * {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .alignwide { max-width: var(--container); }
.entry-content > .alignfull { max-width: none; }
.entry-content img { height: auto; border-radius: var(--radius-sm); }
.entry-content a { color: var(--blue); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.7em; color: var(--navy-deep); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.entry-content input, .entry-content select, .entry-content textarea {
  max-width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.entry-content input[type="submit"], .entry-content button {
  padding: 12px 22px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font-weight: 750;
	cursor: pointer;
}

.legal-document { max-width: 920px; margin: 0 auto; color: #455767; font-size: .82rem; line-height: 1.78; }
.legal-document__updated { display: inline-flex; margin: 0 0 25px; padding: 9px 13px; color: #486f4d; background: var(--mint); border: 1px solid #c8e3ce; border-radius: 999px; font-size: .68rem; }
.legal-document__lead { margin: 0 0 35px; padding: 23px 25px; color: var(--navy-deep); background: linear-gradient(135deg, #f5faf7, var(--cream)); border: 1px solid var(--line); border-left: 5px solid var(--sage-dark); border-radius: 8px 18px 18px 8px; font-size: .9rem; }
.legal-document h2 { margin: 2.1em 0 .65em; color: var(--navy-deep); font-size: 1.25rem; }
.legal-document p { margin: 0 0 1.15em; }
.legal-document ul, .legal-document ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.legal-document li + li { margin-top: .55em; }
.legal-document a { overflow-wrap: anywhere; }

.post-list { display: grid; gap: 24px; }
.post-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.post-card h2 { margin: 0 0 10px; font-size: 1.6rem; }
.post-card h2 a { color: var(--navy-deep); text-decoration: none; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 590px) {
  .content-page { padding: 58px 0 75px; }
  .content-page__header { margin-bottom: 30px; }
}
