:root {
  --orange-600: #f15a24;
  --orange-500: #fb5a01;
  --orange-400: #f37b21;
  --amber: #f7b11e;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --cream: #f7f6f2;
  --white: #fff;
  --card-bg: #efeee9;
  --bordo-text: #5a1f2e;
  /* Bloques oscuros (Historias + tarjetas método + pie): bordo */
  --bloque-bordo: linear-gradient(158deg, #7a2e45 0%, #5c1f2e 48%, #3a141c 100%);
  --bordo-pie: #1f0f12;
  --shadow-bordo: 0 20px 48px rgba(58, 20, 32, 0.38);
  --btn-bordo: linear-gradient(90deg, #6d3044 0%, #4a1f2c 100%);
  --btn-bordo-shadow: 0 8px 24px rgba(58, 20, 32, 0.35);
  --bordo-panel: rgba(58, 20, 32, 0.72);
  --radius: 14px;
  --shadow: 0 18px 40px rgba(26, 26, 26, 0.08);
  --font-display: "Baloo Paaji 2", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--cream);
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

/* Fondo continuo detrás del contenido (PNG transparente se apoya acá) */
#contenido {
  background-color: var(--cream);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 10px 16px;
  background: var(--bordo-text);
  color: var(--cream);
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--bordo-text);
}

.logo-text {
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  line-height: 1.05;
}

.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.logo-mark img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.nav-list a,
.submenu-trigger {
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.submenu-trigger:hover,
.submenu-trigger:focus-visible {
  border-bottom-color: var(--bordo-text);
}

.nav-list a.is-active {
  border-bottom-color: var(--bordo-text);
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.submenu a {
  display: block;
  padding: 8px 16px;
  border-bottom: 0;
}

.submenu a:hover {
  background: var(--card-bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--btn-bordo);
  color: var(--cream);
  box-shadow: var(--btn-bordo-shadow);
}

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

.btn-light {
  background: var(--white);
  color: var(--bordo-text);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.btn-block {
  width: 100%;
}

/* Spotlight: fondo solo en la sección; contenedores sin pintura extra */
.spotlight {
  padding: clamp(48px, 7vw, 88px) 20px;
  background-color: var(--cream);
  background-image: none;
  border: 0;
}

.spotlight-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--bordo-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-bordo);
  backdrop-filter: blur(6px);
}

.spotlight-media {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  background-color: transparent;
  box-shadow: none;
  mix-blend-mode: normal;
  isolation: auto;
}

/* Fondo crema bajo el mapa de bits: integra huecos transparentes del PNG */
.spotlight-img {
  display: block;
  width: auto;
  max-width: min(300px, 40vw);
  height: auto;
  max-height: min(440px, 52vh);
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  mix-blend-mode: normal;
  isolation: auto;
}

.spotlight-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px, 3.5vw, 32px);
  min-height: min(300px, 42vh);
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.16;
  margin: 0;
  color: var(--cream);
}

.spotlight-text {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(247, 246, 242, 0.92);
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
}

.spotlight-btn {
  align-self: auto;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:focus-visible {
  outline: 2px solid var(--bordo-text);
  outline-offset: 3px;
}

.btn-whatsapp-icon {
  display: block;
}

.section {
  padding: 56px 20px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 12px;
}

.services .section-head h2 {
  color: var(--bordo-text);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 32px;
}

.accent-line {
  width: 120px;
  height: 10px;
  border-radius: 999px;
  background: var(--btn-bordo);
  opacity: 0.95;
}

.service-cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card-service {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

#video-informativo {
  scroll-margin-top: 96px;
}

#reel-acupundiet {
  scroll-margin-top: 96px;
}

.card-service header {
  margin: 0;
  padding: 14px 18px;
  background: var(--btn-bordo);
  color: var(--cream);
}

.card-service header p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.card-body {
  padding: 20px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body p {
  margin: 0 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-more {
  margin-top: 16px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bordo-text);
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid rgba(90, 31, 46, 0.22);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}

.link-more:hover {
  background: color-mix(in srgb, var(--bordo-text) 10%, var(--card-bg));
  border-color: rgba(90, 31, 46, 0.35);
  box-shadow: 0 4px 12px rgba(58, 20, 32, 0.12);
  transform: translateY(-1px);
}

.link-more:focus-visible {
  outline: 2px solid var(--bordo-text);
  outline-offset: 3px;
}

.testimonials {
  padding: 0 20px 56px;
}

.carousel {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--bloque-bordo);
  color: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 320px;
  box-shadow: var(--shadow-bordo);
}

.carousel-ui {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin: 0;
}

.carousel-nav {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-track {
  position: relative;
  padding: 36px 40px;
  display: flex;
  align-items: center;
}

.testimonial-slide {
  margin: 0;
  display: none;
  animation: fadeIn 0.45s ease;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-slide blockquote {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cream);
}

.testimonial-slide figcaption {
  font-size: 0.95rem;
  color: var(--cream);
  padding-top: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  max-width: 220px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.method {
  background: var(--cream);
}

.method-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.method-intro h2 {
  color: var(--bordo-text);
}

.method-intro p {
  color: var(--bordo-text);
}

.method-grid {
  max-width: var(--max);
  margin: clamp(88px, 14vw, 140px) auto 0;
  padding-top: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.method-card {
  background: var(--bloque-bordo);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-bordo);
}

.method-card h3 {
  font-family: var(--font-display);
  margin: 12px 0 12px;
  font-size: 1.2rem;
}

.method-card:not(:has(.method-icon)) h3:first-of-type {
  margin-top: calc(1.75rem + 12px);
}

.method-card p {
  margin: 0;
  color: var(--cream);
  font-size: 0.95rem;
}

.method-card p + p {
  margin-top: 0.85em;
}

.check-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--cream);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.method-reel {
  max-width: min(340px, 44vw);
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-reel-youtube {
  position: relative;
  width: min(340px, 44vw);
  aspect-ratio: 9 / 16;
  max-height: min(490px, 56vh);
}

.method-reel-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.band-cta {
  background: var(--btn-bordo);
  color: var(--cream);
  padding: 40px 20px;
}

.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.band-inner h2 {
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.band-inner p {
  margin: 0;
  opacity: 0.95;
}

.site-footer {
  background: var(--bordo-pie);
  color: var(--cream);
  padding: 28px 20px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.875rem;
  color: #aaa;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 960px) {
  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel-ui {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--cream) 98%, transparent);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .has-submenu {
    width: 100%;
  }

  .submenu {
    position: static;
    box-shadow: none;
    background: var(--card-bg);
    margin-top: 8px;
    border-radius: 8px;
  }

  .spotlight-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px 32px;
  }

  .spotlight-media {
    justify-content: center;
  }

  .spotlight-img {
    max-width: min(260px, 82vw);
    max-height: min(380px, 48vh);
  }

  .method-reel {
    max-width: min(290px, 86vw);
  }

  .method-reel-youtube {
    width: min(290px, 86vw);
    max-height: min(420px, 52vh);
  }

  .spotlight-content {
    align-items: center;
    text-align: center;
    min-height: 0;
  }

  .spotlight-text {
    max-width: 46ch;
  }

  .spotlight-actions {
    align-self: center;
    justify-content: center;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }
}
