/* TIPOGRAFÍA ORIGINAL: NEUE MONTREAL */

@font-face {
  font-family: "Neue Montreal";
  src: url("https://cdn.prod.website-files.com/679d8b01c23ed7847fc5108f/6818dc2629ea514845b896e3_ppneuemontreal-book.otf")
    format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("https://cdn.prod.website-files.com/679d8b01c23ed7847fc5108f/6818dc26f896e788ed069f7b_ppneuemontreal-medium.otf")
    format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* BASE */

:root {
  --white: #f1f1f1;
  --black: #1f1f1f;
  --font-main: "Neue Montreal", Arial, sans-serif;
  --page-gutter: clamp(20px, 2vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: -0.02em;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-main);
  font-weight: 500;
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(680px, 100svh);
  color: var(--white);
  background: #533016;
  overflow: clip;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00000021;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* HEADER */

.site-header {
  --nav-gap: clamp(24px, 2.6vw, 56px);

  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 64px);
  padding: 12px var(--page-gutter, 24px);
}

/* Transparente mientras está sobre el hero.
   La primera regla también evita el fondo antes de cargar el script. */

.hero .site-header:not(.is-outside-hero),
.site-header.is-over-hero {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--white, #fff);
}

/* Eliminar posibles capas de fondo del navbar sobre el hero */

.hero .site-header:not(.is-outside-hero)::before,
.hero .site-header:not(.is-outside-hero)::after,
.site-header.is-over-hero::before,
.site-header.is-over-hero::after {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Fondo negro fuera del hero */

.site-header.is-outside-hero {
  background: #111;
  color: var(--white, #fff);
}

.brand {
  flex-shrink: 0;
  font-size: clamp(24px, 1.25vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  margin-left: auto;
  white-space: nowrap;
  font-size: clamp(16px, 1vw, 22px);
  font-weight: 500;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a + a::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  left: calc(var(--nav-gap) / -2 - 2px);
  top: calc(50% - 2px);
}

.desktop-nav a:hover {
  opacity: 0.75;
}

/* BOTONES */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 4px 4px 4px 24px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.pill-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.pill-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.pill:hover .pill-arrow svg {
  transform: translate(2px, -2px);
}

.header-cta {
  flex-shrink: 0;
  background: #010101;
  color: var(--white);
  font-size: 15px;
}

.header-cta .pill-arrow {
  width: 50px;
  height: 50px;
  background: var(--white);
  color: #010101;
}

.mobile-menu {
  display: none;
}

/* CONTENIDO HERO */

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding:
    clamp(30px, 2vw, 56px)
    var(--page-gutter, 24px)
    clamp(32px, 2.3vw, 72px);
}

.hero-title {
  font-size: clamp(64px, 5vw, 160px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.23;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 3vw, 96px);
  align-items: end;
  margin-top: auto;
  padding-top: 100px;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 2.3vw, 60px);
  padding: 0;
  margin: 0;
  max-width: 500px;
}

.hero-benefits .benefit-icon {
  display: block;
  flex-shrink: 0;
  width: clamp(44px, 4vw, 60px);
  height: auto;
  color: #fff;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit {
  display: grid;
  grid-template-columns: clamp(48px, 3.15vw, 76px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 1.3vw, 36px);
}

.benefit img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.benefit h2 {
  font-size: clamp(18px, 1.05vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 8px;
}

.benefit p {
  max-width: 36ch;
  font-size: clamp(15px, 0.85vw, 22px);
  line-height: 1.2;
  letter-spacing: 0;
  opacity: 0.75;
}

.hero-message {
  padding-left: clamp(0px, 0.4vw, 12px);
}

.hero-message h2 {
  font-size: clamp(34px, 3vw, 80px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-cta {
  min-width: 268px;
  margin-top: 32px;
  background: var(--white);
  color: var(--black);
}

.hero-cta .pill-arrow {
  background: var(--black);
  color: var(--white);
}

/* Evitar que el menú ampliado se comprima en pantallas menores */

@media (max-width: 1100px) {
  .site-header {
    gap: 20px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pill-arrow svg {
    transition: none;
  }
}
/* ABOUT */

.about {
  padding:
    clamp(52px, 5vw, 100px)
    var(--page-gutter)
    clamp(64px, 6vw, 130px);
  background: var(--white);
  color: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 3vw, 96px);
  align-items: center;
}

/* RETRATO: MENOS ALTURA Y BORDES SUAVES */

.about-portrait {
  position: relative;
  isolation: isolate;
  margin: 0;
  width: min(100%, 620px);
  height: clamp(360px, 34vw, 540px);
  overflow: hidden;
  border-radius: 10px;
  background: #dfdcd7;
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

/* Sombra superior para que la etiqueta se lea sobre la foto. */

.about-portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.48) 0,
    rgba(0, 0, 0, 0.16) 115px,
    transparent 220px
  );
}

/* ETIQUETA SOBRE EL RETRATO */

.portrait-caption {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: var(--white);
  border-bottom: 1px solid rgba(241, 241, 241, 0.55);
}

.portrait-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 20px 20px 0;
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.portrait-specialty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 0 20px 20px;
  border-left: 1px solid rgba(241, 241, 241, 0.45);
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.portrait-profession {
  font-weight: 500;
}

/* TEXTO ABOUT: MAYOR PROPORCIÓN RESPECTO DE LA FOTO */

.about-copy {
  min-width: 0;
  padding-left: clamp(0px, 0.4vw, 12px);
}

.about-title {
  margin: 0;
  max-width: 21ch;
  color: var(--black);
  font-family: var(--font-main);
  font-size: clamp(38px, 3.2vw, 68px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.about-description {
  display: grid;
  gap: clamp(16px, 1.3vw, 24px);
  margin-top: clamp(26px, 2.2vw, 42px);
  max-width: 48ch;
  font-family: var(--font-main);
  font-size: clamp(19px, 1.35vw, 26px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.about-description p {
  margin: 0;
}

/* ANIMACIÓN DE LETRAS */

.about-word {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.about-char {
  display: inline-block;
}

.about-reveal-ready:not(.about-visible) .about-char {
  transform: translateY(115%);
}

.about-reveal-ready.about-visible .about-char {
  animation:
    about-letter-rise
    0.35s
    cubic-bezier(0.25, 0.46, 0.45, 0.94)
    var(--letter-delay, 0s)
    both;
}

@keyframes about-letter-rise {
  from {
    transform: translateY(115%);
  }

  to {
    transform: translateY(0);
  }
}

/* HEADER Y HERO EN TABLET */

@media (max-width: 1199px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
  }

  .close-label,
  .mobile-menu[open] .menu-label {
    display: none;
  }

  .mobile-menu[open] .close-label {
    display: inline;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 4px);
    left: var(--page-gutter);
    right: var(--page-gutter);
    display: grid;
    gap: 22px;
    padding: 28px;
    background: var(--black);
    border-radius: 20px;
    font-size: 20px;
    box-shadow: 0 12px 32px #0003;
  }

  .hero-title {
    font-size: clamp(58px, 7vw, 84px);
    line-height: 1.12;
  }

  .hero-content {
    padding-top: 38px;
  }

  .hero-message h2 {
    font-size: clamp(32px, 3.6vw, 43px);
  }
}

/* ABOUT EN TABLET */

@media (max-width: 991px) {
  .about-grid {
    gap: 30px;
  }

  .about-portrait {
    height: clamp(360px, 46vw, 460px);
  }

  .portrait-caption {
    left: 18px;
    right: 18px;
  }

  .portrait-name {
    font-size: 23px;
    padding-right: 14px;
  }

  .portrait-specialty {
    font-size: 16px;
    padding-left: 14px;
  }

  .about-title {
    font-size: 38px;
  }

  .about-description {
    font-size: 19px;
    line-height: 1.4;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  :root {
    --page-gutter: clamp(18px, 4.4vw, 32px);
  }

  .hero {
    min-height: max(700px, 100svh);
  }

  .site-header {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .brand {
    font-size: 25px;
  }

  .hero-content {
    padding-top: 30px;
    padding-bottom: clamp(70px, 14.5svh, 130px);
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(42px, 11.5vw, 70px);
    line-height: 1.22;
  }

  .hero-bottom {
    display: block;
    padding-top: 100px;
  }

  .hero-benefits {
    display: none;
  }

  .hero-message {
    padding-left: 0;
  }

  .hero-message h2 {
    font-size: clamp(26px, 7.2vw, 44px);
    line-height: 1.2;
    letter-spacing: -0.025em;
  }

  .hero-cta {
    display: flex;
    width: 100%;
    min-width: 0;
    margin-top: 20px;
    padding-left: 23px;
  }

  .hero-cta .pill-arrow {
    width: 52px;
    height: 52px;
  }

  .about {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .about-portrait {
    width: min(100%, 520px);
    height: clamp(320px, 90vw, 460px);
    border-radius: 9px;
  }

  .portrait-caption {
    left: 20px;
    right: 20px;
  }

  .portrait-name {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: clamp(23px, 5.8vw, 28px);
  }

  .portrait-specialty {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: clamp(15px, 3.7vw, 18px);
  }

  .about-copy {
    padding-left: 0;
  }

  .about-title {
    max-width: 23ch;
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.12;
  }

  .about-description {
    max-width: 48ch;
    margin-top: 24px;
    gap: 18px;
    font-size: clamp(18px, 4.5vw, 21px);
    line-height: 1.45;
  }
}

@media (max-width: 359px) {
  .brand {
    font-size: 22px;
  }

  .hero-title {
    font-size: 11.5vw;
  }

  .hero-message h2 {
    font-size: 7.2vw;
  }

  .portrait-caption {
    left: 16px;
    right: 16px;
  }

  .portrait-name {
    font-size: 21px;
  }

  .portrait-specialty {
    font-size: 14px;
  }
}

/* MOVIMIENTO REDUCIDO */

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

  .pill-arrow svg {
    transition: none;
  }

  .about-reveal-ready .about-char {
    animation: none;
    transform: none;
  }
}
/* Degradado inferior para dar contraste sobre la camisa blanca */

.about-portrait::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.76) 0%,
    rgba(0, 0, 0, 0.46) 18%,
    rgba(0, 0, 0, 0.12) 35%,
    transparent 52%
  );
}

/* Etiqueta al pie del retrato */

.portrait-caption {
  top: auto;
  bottom: 0;
  border-bottom: 0;
  border-top: 1px solid rgba(241, 241, 241, 0.4);
}

.portrait-name,
.portrait-specialty {
  padding-top: 18px;
  padding-bottom: 22px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.portrait-specialty {
  border-left-color: rgba(241, 241, 241, 0.35);
}

@media (max-width: 767px) {
  .portrait-name,
  .portrait-specialty {
    padding-top: 16px;
    padding-bottom: 20px;
  }
}


.about-cta {
  margin-top: 30px;
  min-width: 230px;
  background: var(--black);
  color: var(--white);
}

.about-cta .pill-arrow {
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--black);
}

@media (max-width: 767px) {
  .about-cta {
    margin-top: 26px;
    min-width: 220px;
  }
}








/* MI PLAN DE BIENESTAR */

.wellness {
  padding:
    clamp(72px, 7vw, 140px)
    var(--page-gutter, 24px);

  background: var(--white, #f1f1f1);
  color: var(--black, #1f1f1f);
  font-family: var(--font-main, "Neue Montreal", Arial, sans-serif);
}

.wellness-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "label label"
    "heading copy"
    "preview features";

  column-gap: clamp(36px, 5vw, 96px);
  row-gap: clamp(32px, 3vw, 48px);
  align-items: start;
}

/* ETIQUETA */

.wellness-label {
  grid-area: label;
  justify-self: start;

  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(31, 31, 31, 0.22);
  border-radius: 100px;

  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
}

/* TÍTULO Y BAJADA */

.wellness-heading {
  grid-area: heading;
  align-self: start;
  min-width: 0;
}

.wellness-title {
  margin: 0;

  font-size: clamp(44px, 4.5vw, 82px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.wellness-lead {
  margin: 26px 0 0;

  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* TEXTO PERSONAL */

.wellness-copy {
  grid-area: copy;
  align-self: start;

  min-width: 0;
  max-width: 46ch;
  margin: 0;
  padding: 0;
}

.wellness-personal {
  margin: 0;

  font-size: clamp(22px, 1.8vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

/* BOTÓN */

.wellness-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  box-sizing: border-box;
  max-width: 100%;
  margin-top: 30px;
  padding: 4px 4px 4px 24px;

  border-radius: 100px;
  background: var(--black, #1f1f1f);
  color: var(--white, #f1f1f1);

  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.wellness-cta .pill-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 48px;
  height: 48px;
  border-radius: 50%;

  background: var(--white, #f1f1f1);
  color: var(--black, #1f1f1f);
}

.wellness-cta .pill-arrow svg {
  display: block;
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 200ms ease;
}

@media (hover: hover) {
  .wellness-cta:hover .pill-arrow svg {
    transform: translate(2px, -2px);
  }
}

.wellness-cta:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

/* VISTA DE LA PLATAFORMA */

.wellness-preview {
  grid-area: preview;

  min-width: 0;
  width: 100%;
  max-width: 740px;
  margin: 0;
}

.wellness-preview-frame {
  padding: clamp(12px, 1.5vw, 24px);
  overflow: hidden;

  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 12px;
  background: #e6e8e1;
}

.wellness-preview img {
  display: block;
  width: 100%;
  height: auto;

  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(31, 31, 31, 0.08);
}

.wellness-preview figcaption {
  max-width: 45ch;
  margin-top: 14px;

  color: #595959;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* CARACTERÍSTICAS */

.wellness-features {
  grid-area: features;
  display: grid;

  min-width: 0;
  max-width: 620px;
}

.wellness-feature {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 9px;

  padding: 22px 0;
  border-top: 1px solid rgba(31, 31, 31, 0.18);
}

.wellness-feature:last-child {
  padding-bottom: 0;
}

.wellness-feature-number {
  grid-column: 1;
  grid-row: 1 / 3;

  padding-top: 4px;
  color: #656565;

  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
}

.wellness-feature h3 {
  grid-column: 2;
  margin: 0;

  font-size: clamp(21px, 1.5vw, 27px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.wellness-feature p {
  grid-column: 2;
  max-width: 40ch;
  margin: 0;

  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* MOBILE */

@media (max-width: 767px) {
  .wellness-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "heading"
      "copy"
      "preview"
      "features";

    gap: 28px;
  }

  .wellness-label {
    font-size: 12px;
  }

  .wellness-title {
    font-size: clamp(42px, 10vw, 62px);
  }

  .wellness-lead {
    margin-top: 22px;
    font-size: clamp(23px, 5.5vw, 29px);
  }

  .wellness-personal {
    font-size: 22px;
  }

  .wellness-cta {
    margin-top: 26px;
  }

  .wellness-preview-frame {
    padding: 12px;
    border-radius: 10px;
  }

  .wellness-feature {
    column-gap: 14px;
    padding: 20px 0;
  }
}

/* MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {
  .wellness-cta .pill-arrow svg {
    transition: none;
  }
}

.page-about .site-header {
  position: relative;
  inset: auto;
  background: #fff;
}
.page-about .desktop-nav [aria-current="page"],
.page-about .mobile-nav [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.page-about .about-page-container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.page-about .about-page-main { padding-block: 48px 72px; }
.page-about .about-page-back {
  display: inline-block;
  margin-bottom: 32px;
  padding-block: 8px;
  color: #595959;
  font-size: 14px;
}
.page-about .about-page-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-about .about-page-heading { margin-bottom: 36px; }
.page-about .about-page-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .1em;
}
.page-about .about-page-heading h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.035em;
  text-align: left;
}
.page-about .about-page-presentation {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: 64px;
}
.page-about .about-page-portrait {
  margin: 0;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 4 / 5;
}
.page-about .about-page-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.page-about .about-page-text h2 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.025em;
  text-align: left;
}
.page-about .about-page-text p {
  margin: 0 0 18px;
  color: #595959;
  font-size: 16px;
  line-height: 1.85;
}
.page-about .about-page-text .about-page-intro {
  margin-bottom: 26px;
  color: #161616;
  font-size: 17px;
}
.page-about .about-page-signature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #dedede;
}
.page-about .about-page-signature span { font-size: 16px; font-weight: 500; }
.page-about .about-page-signature small { font-size: 14px; line-height: 1.7; color: #595959; }
.page-about .about-page-education {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #dedede;
}
.page-about .about-page-section-heading { margin-bottom: 28px; }
.page-about .about-page-section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.03em;
  text-align: left;
}
.page-about .about-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.page-about .about-page-card { padding: 24px; border: 1px solid #dedede; background: #fff; }
.page-about .about-page-number { display: block; margin-bottom: 24px; font-size: 14px; color: #707070; }
.page-about .about-page-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  text-align: left;
}
.page-about .about-page-card p { margin: 0; font-size: 14px; line-height: 1.75; color: #595959; }
.page-about .about-page-appointment { margin-top: 36px; }
.page-about .about-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--accent, #225e49);
  border-radius: 2px;
  background: var(--accent, #225e49);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
}
.page-about .about-page-button:hover { background: var(--accent-hover, #174634); }
.page-about .about-page-footer { padding-block: 28px; background: #111; color: #fff; }
.page-about .about-page-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.page-about .about-page-footer-brand { font-size: 16px; font-weight: 400; color: #fff; }
.page-about .about-page-footer-credit { margin: 0; font-size: 13px; line-height: 1.7; color: #c5c5c5; }
.page-about .about-page-footer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1050px) {
  .page-about .about-page-presentation { gap: 36px; }
  .page-about .about-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .page-about .about-page-container { width: calc(100% - 40px); }
  .page-about .about-page-main { padding-block: 28px 48px; }
  .page-about .about-page-back { margin-bottom: 24px; }
  .page-about .about-page-heading { margin-bottom: 28px; }
  .page-about .about-page-presentation { grid-template-columns: 1fr; gap: 28px; }
  .page-about .about-page-portrait { max-height: 540px; }
  .page-about .about-page-education { margin-top: 40px; padding-top: 32px; }
  .page-about .about-page-card { padding: 20px; }
  .page-about .about-page-footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .page-about .about-page-grid { grid-template-columns: 1fr; }
  .page-about .about-page-number { margin-bottom: 16px; }
}








/* CONSULTAS */

.consultations {
  padding:
    clamp(72px, 7vw, 140px)
    var(--page-gutter, 24px)
    clamp(72px, 7vw, 140px);

  background: var(--white, #f1f1f1);
  color: var(--black, #1f1f1f);
  font-family: var(--font-main, "Neue Montreal", Arial, sans-serif);
}

.consultations-title {
  margin: 0 0 clamp(40px, 4vw, 72px);
  font-size: clamp(36px, 3vw, 58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.consultations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 100px);

  width: 100%;
  max-width: 1400px;
}

.consultation-card {
  min-width: 0;
}

/* FOTO Y DEGRADADO */

.consultation-photo {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;

  overflow: hidden;
  border-radius: 10px;
  background: #dfdcd7;
}

.consultation-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.consultation-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.48) 25%,
    rgba(0, 0, 0, 0.12) 50%,
    transparent 70%
  );
}

/* TEXTO DENTRO DE LA FOTO */

.consultation-caption {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 2vw, 32px);
  bottom: clamp(22px, 2vw, 32px);
  left: clamp(20px, 2vw, 32px);

  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.consultation-label {
  margin: 0 0 9px;
  font-size: clamp(15px, 1.1vw, 19px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.consultation-caption h3 {
  margin: 0;
  font-size: clamp(25px, 2vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.consultation-detail {
  margin: 9px 0 0;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ENLACES DEBAJO DE LAS CARDS */

.consultation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 24px;
}

.consultation-cta,
.consultation-directions {
  display: inline-flex;
  align-items: center;
  gap: 20px;

  max-width: 100%;
  padding: 10px 0;
  color: inherit;

  font-family: inherit;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.consultation-cta {
  border-bottom: 1px solid currentColor;
  font-size: 16px;
}

.consultation-directions {
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.consultation-cta svg,
.consultation-directions svg {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 200ms ease;
}

.consultation-directions svg {
  width: 15px;
  height: 15px;
}

@media (hover: hover) {
  .consultation-cta:hover svg,
  .consultation-directions:hover svg {
    transform: translate(2px, -2px);
  }
}

.consultation-cta:focus-visible,
.consultation-directions:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

/* MOBILE */

@media (max-width: 767px) {
  .consultations-title {
    margin-bottom: 36px;
    font-size: clamp(34px, 8vw, 46px);
  }

  .consultations-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .consultation-photo {
    aspect-ratio: 1 / 1;
    border-radius: 9px;
  }

  .consultation-caption {
    right: 20px;
    bottom: 22px;
    left: 20px;
    padding-top: 16px;
  }

  .consultation-caption h3 {
    font-size: clamp(25px, 6vw, 32px);
  }

  .consultation-actions {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consultation-cta svg,
  .consultation-directions svg {
    transition: none;
  }
}






/* SALUD, CUERPO Y CONCIENCIA */

.health-blog {
  padding:
    clamp(72px, 7vw, 140px)
    var(--page-gutter, 24px);

  background: var(--white, #f1f1f1);
  color: var(--black, #1f1f1f);
  font-family: var(--font-main, "Neue Montreal", Arial, sans-serif);
}

.health-blog,
.health-blog * {
  box-sizing: border-box;
}

.health-blog-title {
  margin: 0 0 clamp(40px, 4vw, 72px);
  font-size: clamp(36px, 3vw, 58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-align: left;
}

/* TRES VIDEOS EN LA MISMA FILA */

.health-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(24px, 3.5vw, 56px);

  width: 100%;
  max-width: 1200px;
}

.health-video {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* PORTADAS CON LA MISMA PROPORCIÓN */

.health-video-cover {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;

  width: 100%;
  aspect-ratio: 9 / 16;

  overflow: hidden;
  border-radius: 8px;
  background: #e4e4e4;
}

.health-video-cover img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* REPRODUCIR */

.health-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: clamp(52px, 5vw, 68px);
  height: clamp(52px, 5vw, 68px);

  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;

  background: rgba(0, 0, 0, .35);
  color: #fff;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  text-decoration: none;
  transition: background 200ms ease;
}

.health-video-play svg {
  display: block;
  width: 23px;
  height: 23px;
  margin-left: 3px;
  fill: currentColor;
  stroke: none;
}

.health-video-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

/* DURACIÓN */

.health-video-duration {
  position: absolute;
  right: 14px;
  bottom: 14px;

  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .7);
  color: #fff;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

/* TEXTO */

.health-video-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;

  padding-top: 24px;
}

.health-video-content h3 {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-align: left;
  overflow-wrap: anywhere;
}

.health-video-content p {
  max-width: 38ch;
  margin: 12px 0 28px;

  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
  letter-spacing: -.015em;
}

/* ENLACES ALINEADOS AL PIE */

.health-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  max-width: 100%;
  margin-top: auto;
  padding: 10px 0;

  border-bottom: 1px solid currentColor;
  color: inherit;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.health-video-link svg {
  display: block;
  flex-shrink: 0;

  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 200ms ease;
}

.health-video-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

/* RESERVA DEL TERCER VIDEO */

.health-video-cover--pending {
  display: flex;
  align-items: center;
  justify-content: center;
}

.health-video-pending {
  padding: 20px;
  color: #595959;
  font-size: 15px;
  text-align: center;
}

.health-video-unavailable {
  margin-top: auto;
  padding: 10px 0;
  color: #595959;
  font-size: 15px;
  line-height: 1.4;
}

/* HOVER */

@media (hover: hover) {
  .health-video-play:hover {
    background: rgba(0, 0, 0, .6);
  }

  .health-video-link:hover svg {
    transform: translate(2px, -2px);
  }
}

/* CELULAR: UNO DEBAJO DEL OTRO */

@media (max-width: 767px) {
  .health-blog-title {
    margin-bottom: 36px;
    font-size: clamp(34px, 8vw, 46px);
  }

  .health-blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    max-width: 340px;
  }

  .health-video-content {
    padding-top: 22px;
  }

  .health-video-content h3 {
    font-size: 24px;
  }

  .health-video-content p {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .health-video-play,
  .health-video-link svg {
    transition: none;
  }
}


/* CONTACTO */

.contact {
  padding:
    clamp(72px, 7vw, 140px)
    var(--page-gutter, 24px);

  background: var(--white, #f1f1f1);
  color: var(--black, #1f1f1f);
  font-family: var(--font-main, "Neue Montreal", Arial, sans-serif);
}

.contact-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 5vw, 96px);

  padding-top: clamp(40px, 4vw, 72px);
  border-top: 1px solid rgba(31, 31, 31, 0.18);
}

.contact-eyebrow {
  margin: 0 0 18px;

  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.contact-title {
  margin: 0;

  font-size: clamp(36px, 3.2vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

/* FOTO Y DATOS */

.contact-profile {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 40px);
  min-width: 0;
}

.contact-photo {
  display: block;
  flex-shrink: 0;

  width: clamp(88px, 8vw, 112px);
  height: auto;
  aspect-ratio: 1;

  border-radius: 10px;
  object-fit: cover;
  object-position: center 30%;
}

.contact-info {
  min-width: 0;
}

.contact-name {
  margin: 0 0 18px;

  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* ENLACES */

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;

  color: inherit;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.contact-link svg {
  display: block;
  flex-shrink: 0;
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link .contact-icon-dot {
  fill: currentColor;
  stroke: none;
}

@media (hover: hover) {
  .contact-link:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.contact-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 3px;
}

/* MOBILE */

@media (max-width: 767px) {
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .contact-title {
    font-size: clamp(34px, 8vw, 46px);
  }

  .contact-profile {
    align-items: flex-start;
    gap: 22px;
  }

  .contact-photo {
    width: 88px;
    border-radius: 8px;
  }

  .contact-name {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}


.contact-link .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 23px;
  height: 23px;
  font-size: 22px;
  line-height: 1;
  color: inherit;
}
/* NAVEGACIÓN FIJA: VISIBLE AL SUBIR */
:root { --header-height: 88px; }
section[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
.hero { padding-top: var(--header-height); }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  min-height: 76px; gap: clamp(16px, 2vw, 40px);
  color: var(--white); background: rgba(20, 20, 20, .16);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.site-header.header-scrolled {
  background: rgba(31, 31, 31, .96);
  box-shadow: 0 4px 24px #00000015;
}
.site-header.header-hidden { transform: translateY(-110%); pointer-events: none; }
.header-person { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--black); font-size: 23px; }
.header-cta { gap: 16px; }
.mobile-nav { max-height: calc(100dvh - var(--header-height) - 32px); overflow-y: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 200; padding: 12px 20px; color: var(--black); background: white; border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* ACCESOS FLOTANTES */
.back-to-top {
  position: fixed; z-index: 80; left: var(--page-gutter);
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #1f1f1f22; border-radius: 50%;
  background: var(--white); color: var(--black); box-shadow: 0 4px 18px #00000014;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-float {
  position: fixed; z-index: 80; right: var(--page-gutter);
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
}
.whatsapp-bubble {
  position: relative; display: block; padding: 12px 16px;
  border: 1px solid #1f1f1f14; border-radius: 14px;
  background: var(--white); color: var(--black); box-shadow: 0 4px 20px #00000012;
  font-size: 14px; line-height: 1.3; letter-spacing: -.01em;
}
.whatsapp-bubble::after { content: ''; position: absolute; top: 50%; right: -5px; width: 9px; height: 9px; background: var(--white); transform: translateY(-50%) rotate(45deg); }
.whatsapp-avatar { position: relative; display: block; width: 64px; height: 64px; flex-shrink: 0; }
.whatsapp-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 4px 20px #00000025; }
.whatsapp-avatar .bi { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #187b48; color: white; font-size: 15px; }
.contact { padding-bottom: max(140px, calc(env(safe-area-inset-bottom) + 110px)); }
.contact-notice { width: min(440px, calc(100% - 40px)); padding: 28px; border: 0; border-radius: 12px; color: var(--black); background: var(--white); }
.contact-notice::backdrop { background: #0008; }
.contact-notice h2 { font-size: 25px; margin-bottom: 16px; }
.contact-notice p { line-height: 1.5; margin-bottom: 20px; }
.contact-notice a { text-decoration: underline; text-underline-offset: 4px; }
.contact-notice button { margin-top: 24px; padding: 10px 18px; border: 1px solid #1f1f1f40; border-radius: 6px; cursor: pointer; }

/* ANIMACIONES AL ENTRAR EN PANTALLA */
.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal-ready.reveal-visible { opacity: 1; transform: none; }
@media (max-width: 1199px) {
  .site-header { min-height: 76px; padding-top: 18px; padding-bottom: 18px; }
}
@media (max-width: 767px) {
  .whatsapp-avatar { width: 54px; height: 54px; }
  .whatsapp-float { gap: 10px; }
  .whatsapp-bubble { padding: 10px 12px; font-size: 12px; }
  .site-header .brand { font-size: clamp(20px, 5.5vw, 25px); }
  .mobile-nav { font-size: 18px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .back-to-top, .reveal-ready { transition: none; }
  .reveal-ready { opacity: 1; transform: none; }
}

/* REGISTRO E INICIO DE SESIÓN: VISTA PREVIA */
.access-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px var(--page-gutter); }
.access-back { font-size: 15px; }
.access-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(40px, 6vw, 100px); max-width: 1250px; margin: 40px auto; padding: 0 var(--page-gutter) 60px; }
.access-intro h1 { font-size: clamp(40px, 5vw, 70px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 28px; }
.access-intro > p:last-of-type { max-width: 36ch; font-size: 20px; line-height: 1.45; }
.access-intro img { display: block; width: 100px; height: 100px; object-fit: cover; object-position: center 30%; border-radius: 10px; margin-top: 32px; }
.access-card { background: #fff; padding: clamp(24px, 3vw, 44px); border: 1px solid #1f1f1f14; border-radius: 12px; }
.access-card h2 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.access-preview { font-size: 14px; line-height: 1.5; color: #555; }
.access-switch { display: flex; gap: 20px; margin: 28px 0; border-bottom: 1px solid #ddd; }
.access-switch button { padding: 12px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #666; cursor: pointer; }
.access-switch button[aria-pressed="true"] { border-bottom-color: var(--black); color: var(--black); }
.access-form { display: grid; gap: 10px; }
.access-form[hidden] { display: none; }
.access-form label { font-size: 15px; margin-top: 8px; }
.access-form input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 16px; }
.access-form input:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.access-help { font-size: 13px; color: #555; }
.access-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 14px 20px; border: 0; border-radius: 6px; background: var(--black); color: white; cursor: pointer; }
.access-status:not(:empty) { margin-top: 20px; font-size: 14px; line-height: 1.5; }
button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 767px) {
  .access-header { align-items: flex-start; padding-top: 22px; }
  .access-header .brand { font-size: 21px; }
  .access-back { max-width: 12ch; text-align: right; font-size: 14px; }
  .access-main { grid-template-columns: minmax(0, 1fr); margin-top: 28px; gap: 32px; }
  .access-intro h1 { font-size: 44px; }
  .access-intro > p:last-of-type { font-size: 18px; }
}










/* FOOTER */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 32px var(--page-gutter, 24px);
  background: #111;
  color: #f1f1f1;
  font-family: var(--font-main, "Neue Montreal", Arial, sans-serif);
}

.footer-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.footer-copyright {
  font-size: 13px;
  line-height: 1.5;
  color: #bfbfbf;
}

@media (max-width: 767px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 100px;
  }
}

.whatsapp-float {
  transition: opacity 200ms ease, visibility 200ms ease;
}

body.footer-in-view .back-to-top,
body.footer-in-view .whatsapp-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* El footer ya no necesita espacio extra para los flotantes */
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}

.footer-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-credit {
  color: #bfbfbf;
  font-size: 12px;
  line-height: 1.5;
}

.footer-credit a {
  color: #f1f1f1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .footer-details {
    align-items: flex-start;
  }
}


/* Navbar de Sobre mí: texto oscuro sobre fondo blanco */
.page-about .site-header {
  background: #fff;
  color: #161616;
}

.page-about .site-header .brand,
.page-about .desktop-nav,
.page-about .desktop-nav a,
.page-about .desktop-nav a::before,
.page-about .desktop-nav a::after,
.page-about .mobile-menu summary {
  color: #161616;
}

.page-about .mobile-menu .menu-dot {
  background: #161616;
}

/* Menú desplegable móvil */
.page-about .mobile-nav {
  background: #fff;
  color: #161616;
}

.page-about .mobile-nav a {
  color: #161616;
}

/* Botón negro: texto blanco */
.page-about .site-header .header-cta {
  background: #000;
  color: #fff;
}

.page-about .site-header .header-person {
  background: #f1f1f1;
  color: #161616;
}

.health-blog-grid {
  width: 100%;
  max-width: none;
  margin-inline: auto;

  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 100px);
}

/* Celular: una tarjeta debajo de otra, centradas */
@media (max-width: 767px) {
  .health-blog-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 380px;
    gap: 48px;
    margin-inline: auto;
  }
}