/* Portada móvil (propuesta 3). Solo se carga en teléfonos: media="(max-width: 640px)".
   Tipografía del proyecto, paleta neutra, tarjetas compactas y efectos sutiles. */

:root,
body.home-page {
  --pad: 20px;
  --paper: #fafafa;
  --paper-deep: #f4f4f5;
  --rule: #e4e4e7;
  --rule-soft: #ececee;
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --ink-muted: #6b6b73;
  --card: #ffffff;
  --sheet-overlap: 26px;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --icon-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4V2M15 4V6M15 4H10.5M3 10V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V10H3Z'/%3E%3Cpath d='M3 10V6C3 4.89543 3.89543 4 5 4H7'/%3E%3Cpath d='M7 2V6'/%3E%3Cpath d='M21 10V6C21 4.89543 20.1046 4 19 4H18.5'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5'/%3E%3C/svg%3E");
  --icon-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 19L19 6M19 6V18.48M19 6H6.52'/%3E%3C/svg%3E");
  --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10C20 14.4183 12 22 12 22C12 22 4 14.4183 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10Z'/%3E%3Cpath d='M12 11C12.5523 11 13 10.5523 13 10C13 9.44772 12.5523 9 12 9C11.4477 9 11 9.44772 11 10C11 10.5523 11.4477 11 12 11Z'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5L10 15.5L17 8.5'/%3E%3Cpath d='M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E");
}
html { scroll-padding-top: 72px; }
body.home-page { background: var(--paper); }

/* Phone-only pieces of markup (hidden on larger screens by .m-only in site.css). */
.m-hide { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.section-eyebrow.m-only {
  display: block;
  margin: 0 0 10px;
  color: var(--ink-muted);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Header ── */
body.home-page .topbar {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom-color: var(--rule);
  transition: box-shadow .3s ease, border-color .3s ease;
}
body.home-page .topbar.is-scrolled { border-bottom-color: transparent; box-shadow: 0 8px 24px rgba(24, 24, 27, .07); }
body.home-page .top-right > .pill { display: none; }
body.home-page .topbar-inner { padding-block: 9px; }
body.home-page .topbar .mark-eye { width: 30px; height: 30px; flex-basis: 30px; }
body.home-page .topbar .mark-copy strong { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
body.home-page .topbar .mark-copy small { margin-top: 3px; font-size: 10px; font-weight: 600; letter-spacing: .16em; }
body.home-page .hamburger {
  width: 44px;
  height: 44px;
  padding: 14px 12px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--card);
}
body.home-page .hamburger span { height: 1.5px; }
body.home-page .hamburger.open span:nth-child(1) { transform: translateY(7.25px) rotate(45deg); }
body.home-page .hamburger.open span:nth-child(3) { transform: translateY(-7.25px) rotate(-45deg); }
body.home-page .mobile-nav nav { padding: 4px var(--pad) 12px; gap: 0; }
body.home-page .mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
}

/* ── Hero: production cover; the intro sheet overlaps an extra strip below it ── */
body.home-page .portrait { height: calc(clamp(292px, 80vw, 324px) + var(--sheet-overlap)) !important; }
body.home-page .portrait img {
  height: calc(100% - var(--sheet-overlap)) !important;
  align-self: flex-start;
  transform-origin: 50% 30%;
  animation: cover-settle 1.6s var(--ease-out) both;
}
body.home-page .portrait::after {
  --visible: calc(100% - var(--sheet-overlap));
  background: linear-gradient(180deg,
    rgba(24, 24, 27, .34) 0,
    rgba(24, 24, 27, .12) calc(var(--visible) * .14),
    rgba(24, 24, 27, 0) calc(var(--visible) * .32),
    rgba(24, 24, 27, 0) calc(var(--visible) * .5),
    rgba(24, 24, 27, .1) calc(var(--visible) * .62),
    rgba(24, 24, 27, .44) calc(var(--visible) * .8),
    rgba(24, 24, 27, .88) var(--visible),
    rgba(24, 24, 27, .88) 100%);
}
body.home-page .cover-overlay { padding-bottom: calc(16px + var(--sheet-overlap)); }
body.home-page .cover-eyebrow { font-size: 10.5px; animation: fade-in .9s .2s var(--ease-out) both; }
body.home-page .cover-title { animation: rise-in .9s .3s var(--ease-out) both; }
body.home-page .cover-title em { display: inline-block; animation: rise-in .9s .45s var(--ease-out) both; }
body.home-page .cover-sig { animation: fade-in 1s .6s var(--ease-out) both; }
body.home-page .cover-sig-name { font-size: 16px; }
body.home-page .cover-sig-role { font-size: 10.5px; }

body.home-page .hero-copy {
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * var(--sheet-overlap));
  padding: 26px var(--pad) 30px;
  background: var(--paper);
  border-radius: 26px 26px 0 0;
  animation: sheet-up 1s .15s var(--ease-out) both;
}
body.home-page .hero .hero-heading {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.03em;
}
body.home-page .hero-heading + .hero-lede { margin-top: 12px; }
body.home-page .hero-lede { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
body.home-page .hero .hero-cta { display: block; margin-top: 20px; }
body.home-page .hero .hero-cta > .pill.ghost { display: none; }
body.home-page .hero .hero-cta > .pill:not(.ghost),
body.home-page .floater .pill {
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(24, 24, 27, .18);
}
body.home-page .hero .hero-cta > .pill:not(.ghost) { width: 100%; }
body.home-page :is(.hero-cta, .floater) .pill .dot { display: none; }
body.home-page :is(.hero-cta, .floater) .pill::before,
body.home-page .hero .hero-cta > .pill:not(.ghost)::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon-calendar) center / contain no-repeat;
  mask: var(--icon-calendar) center / contain no-repeat;
}
body.home-page .hero .hero-cta > .pill:not(.ghost)::after {
  margin-left: auto;
  -webkit-mask-image: var(--icon-arrow);
  mask-image: var(--icon-arrow);
  transition: transform .25s var(--ease-out);
}
body.home-page .hero-stats {
  max-width: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--rule);
  border-bottom: 0;
}
body.home-page .hero-stats > a:not(.hero-registry) { display: none; }
body.home-page .hero-stats > div {
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  border: 0;
}
body.home-page .hero-stats .n { color: var(--ink); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
body.home-page .hero-stats .l {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
body.home-page .hero-stats .l::first-letter { text-transform: lowercase; }
.hero-registry.m-only {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Floating "Reservar hora": after the hero button, hidden over the clinics. */
body.home-page .floater {
  display: block;
  left: 50%;
  right: auto;
  bottom: calc(16px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 24px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
body.home-page .floater.on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .3s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
body.home-page .floater .pill {
  min-height: 52px;
  padding: 0 22px 0 18px;
  gap: 10px;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(24, 24, 27, .28);
}

/* ── Shared section heads ── */
:is(body.home-page, body.reservation-page) :is(.services, .booking-modern, .blog-home) .sec-head { display: block; margin-bottom: 22px; }
:is(body.home-page, body.reservation-page) :is(.services, .booking-modern, .blog-home) .sec-head :is(h1, h2),
:is(body.home-page, body.reservation-page) .faq-grid h2 {
  max-width: none;
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.04em;
}
:is(body.home-page, body.reservation-page) :is(.sec-head, .faq-grid) :is(h1, h2) .it { font-weight: 400; color: var(--ink-muted); }
:is(body.home-page, body.reservation-page) :is(.services, .booking-modern) .sec-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
:is(body.home-page, body.reservation-page) :is(.booking-modern .booking-eyebrow, .blog-home-kicker) {
  margin: 0 0 10px;
  color: var(--ink-muted);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Reserva (el componente está en assets/booking.css) ── */
:is(body.home-page, body.reservation-page) .booking.booking-modern { padding: 14px 0 44px; border-top: 0; background: var(--paper); }

/* ── Tratamientos: three rows ── */
body.home-page .services { padding: 44px 0 48px; border-top: 1px solid var(--rule); background: var(--paper-deep); }
body.home-page .srv { display: block; counter-reset: srv; border-top: 1px solid var(--rule); }
body.home-page .srv .srv-card {
  counter-increment: srv;
  min-height: 0;
  padding: 16px 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) 20px;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  border: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}
body.home-page .srv .srv-card::before {
  content: counter(srv, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 4px;
  color: var(--ink-muted);
  font: 500 11px/1 var(--mono);
}
body.home-page .srv .srv-card :is(.srv-num, .srv-body, .srv-diagram) { display: none !important; }
body.home-page .srv .srv-title {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
body.home-page .srv .srv-title .it { color: inherit; font-weight: inherit; }
body.home-page .srv .srv-foot { display: contents; }
body.home-page .srv .srv-tags {
  grid-column: 2;
  grid-row: 2;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
body.home-page .srv .srv-arrow {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  color: var(--ink-muted);
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform .25s var(--ease-out);
}
body.home-page .srv .srv-arrow svg { display: none; }

/* ── Blog: compact carousel (thumbnail, title, reading time) ── */
body.home-page .blog-home { padding: 44px 0 48px; border-top: 1px solid var(--rule); border-bottom: 0; background: var(--paper); }
body.home-page .blog-home .sec-head { margin-bottom: 16px; }
body.home-page .blog-home .section-intro { display: none; }
body.home-page .blog-home-grid {
  margin-inline: calc(-1 * var(--pad));
  padding: 2px var(--pad) 4px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  border: 0;
  background: transparent;
}
body.home-page .blog-home-grid::-webkit-scrollbar { display: none; }
body.home-page .blog-home-grid .blog-home-card {
  flex: 0 0 84%;
  min-height: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas: "thumb body" "thumb meta";
  gap: 6px 12px;
  scroll-snap-align: start;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--card);
  transition: transform .2s ease;
}
.blog-home-thumb.m-only {
  grid-area: thumb;
  display: block;
  width: 76px;
  height: 76px;
  align-self: center;
  overflow: hidden;
  border-radius: 12px;
  background: #e4e4e7;
}
.blog-home-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-home-thumb--left img { object-position: 20% 50%; }
body.home-page .blog-home-card :is(.blog-home-index, .blog-home-topic, p, .blog-home-arrow) { display: none; }
body.home-page .blog-home-card-body { grid-area: body; align-self: end; }
body.home-page .blog-home-grid .blog-home-card h3 {
  display: -webkit-box;
  max-width: none;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
}
body.home-page .blog-home-card .blog-home-meta {
  grid-area: meta;
  padding: 0;
  border: 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
body.home-page .blog-home-card:hover { background: var(--card); color: inherit; }
body.home-page .blog-home-card:hover .blog-home-meta { color: var(--ink-muted); }
body.home-page .blog-home-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.home-page .blog-home-foot .blog-home-all { margin-top: 0; }
.blog-home-dots.m-only { display: flex; gap: 6px; }
.blog-home-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(24, 24, 27, .2);
  transition: width .25s ease, background .25s ease;
}
.blog-home-dots span.is-active { width: 18px; background: var(--ink); }

/* ── Sobre mí: photo beside the title, three lines and "Leer más sobre mí" ── */
body.home-page .about { padding: 44px 0 28px; border-top: 1px solid var(--rule); background: var(--paper-deep); }
body.home-page .about .about-grid {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas: "img title" "lead lead" "more more" "lead2 lead2" "timeline timeline" "facts facts" "cred cred";
  column-gap: 18px;
  row-gap: 0;
  align-items: center;
}
body.home-page .about .about-body { display: contents; }
body.home-page .about .about-img {
  grid-area: img;
  width: 104px;
  height: 132px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}
body.home-page .about .about-img::after { display: none; }
body.home-page .about .about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
body.home-page .about .about-body h2 {
  grid-area: title;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.04em;
}
body.home-page .about .about-body h2 .it { color: var(--ink-muted); font-weight: 400; }
body.home-page .about .about-body .lead { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
body.home-page .about .about-body .lead:first-of-type { grid-area: lead; margin: 16px 0 0; }
body.home-page .about .about-body .lead:nth-of-type(2) { grid-area: lead2; margin: 14px 0 12px; }
body.home-page .about .timeline { grid-area: timeline; }
body.home-page .about .about-facts { grid-area: facts; }
body.home-page .about:not(.is-expanded) :is(.about-body .lead:nth-of-type(2), .timeline, .about-facts) { display: none; }
.about-more.m-only {
  grid-area: more;
  min-height: 52px;
  margin-top: 14px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.about-more::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--ink-muted);
  -webkit-mask: var(--icon-chevron) center / contain no-repeat;
  mask: var(--icon-chevron) center / contain no-repeat;
  transition: transform .2s ease;
}
.about-more[aria-expanded="true"]::after { transform: rotate(180deg); }
body.home-page .about.is-expanded :is(.about-body .lead:nth-of-type(2), .timeline, .about-facts) { animation: open-down .35s var(--ease-out) both; }
.about-credential.m-only {
  grid-area: cred;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.about-credential::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--ink);
  -webkit-mask: var(--icon-check) center / contain no-repeat;
  mask: var(--icon-check) center / contain no-repeat;
}
.about-credential a { display: block; margin-top: 2px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Opiniones: three links continuing the "Sobre mí" band ── */
body.home-page .social { padding: 0 0 48px; border: 0; background: var(--paper-deep); }
body.home-page .social .section-eyebrow { margin-top: 0; }
body.home-page .social .social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  border: 0;
  background: transparent;
}
body.home-page .social .social-card {
  min-height: 44px;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--rule) !important;
  border-radius: 999px;
  background: var(--card);
}
body.home-page .social .social-card > :not(.social-short) { display: none; }
body.home-page .social .social-card::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--icon-arrow-up) center / contain no-repeat;
  mask: var(--icon-arrow-up) center / contain no-repeat;
}
.social-short.m-only { display: inline; color: var(--ink); font-size: 14px; font-weight: 600; }
body.home-page .social .social-card.gg { order: 1; }
body.home-page .social .social-card.dc { order: 2; }
body.home-page .social .social-card.ig { order: 3; }

/* ── Preguntas frecuentes: flat rows with a chevron ── */
body.home-page .faq { padding: 44px 0 48px; border-top: 1px solid var(--rule); background: var(--paper); }
body.home-page .faq .faq-grid { display: block; }
body.home-page .faq .faq-grid h2 { position: static; margin-bottom: 22px; }
body.home-page .faq-list { border-top: 1px solid var(--rule); }
body.home-page .faq details { padding: 0; border-bottom: 1px solid var(--rule); }
body.home-page .faq details summary {
  min-height: 56px;
  padding: 14px 0;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
body.home-page .faq details summary .plus {
  position: relative;
  width: 18px;
  height: 18px;
  font-size: 0;
  color: var(--ink-muted);
  transform: none;
}
body.home-page .faq details summary .plus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: var(--icon-chevron) center / contain no-repeat;
  mask: var(--icon-chevron) center / contain no-repeat;
  transition: transform .2s ease;
}
body.home-page .faq details[open] summary .plus::before { transform: rotate(180deg); }
body.home-page .faq details p { margin: -2px 0 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
body.home-page .faq details[open] > p { animation: open-down .35s var(--ease-out) both; }

/* ── Cierre y pie ── */
body.home-page main > .mobile-footer-note { padding: 36px 0 40px; }
body.home-page main > .mobile-footer-note .pull-attr { margin-bottom: 12px; color: rgba(255, 255, 255, .8); font-size: 10.5px; }
body.home-page main > .mobile-footer-note .pull-quote { max-width: 14ch; font-size: 27px; line-height: 1.1; letter-spacing: -.03em; }
body.home-page main > .mobile-footer-note .pull-quote .it { font-size: 29px; letter-spacing: 0; }
.footer-links.m-only {
  margin-top: 14px;
  padding-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  border-top: 1px solid rgba(39, 39, 42, .14);
}
.footer-links a { padding: 8px 0; color: #27272a; font-size: 13.5px; line-height: 1.3; text-decoration: underline; text-underline-offset: 3px; }

/* Room for the floating button at the end of the page. */
body.home-page .site-footer > .wrap { padding-inline: var(--pad); padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

/* ── Motion ── */
@keyframes cover-settle { from { scale: 1.08; } to { scale: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(28px); } to { transform: none; } }
@keyframes open-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out) var(--delay, 0s), transform .7s var(--ease-out) var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
:is(body.home-page, body.reservation-page) .booking-modern .clinic.pop { animation: rise-in .5s var(--ease-out) var(--delay, 0s) both; }

:is(body.home-page, body.reservation-page) :is(.hero-cta > .pill, .floater .pill, .c-btn, .telemedicine-button, .clinic-call, .hamburger, .social-card, .blog-home-card, .srv-card) {
  transition: transform .18s var(--ease-out), background-color .2s ease, box-shadow .2s ease;
}
:is(body.home-page, body.reservation-page) :is(.hero-cta > .pill, .c-btn, .telemedicine-button, .clinic-call, .hamburger, .social-card):active { transform: scale(.96); }
body.home-page :is(.blog-home-card, .srv-card):active { transform: scale(.985); }
body.home-page .floater.on .pill:active { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tabs-thumb.m-only,
  body.home-page .floater,
  body.home-page .floater.on { transition: none; }
}
