:root {
  --paper: #f5f4f1;
  --paper-deep: #ece8e1;
  --white: #ffffff;
  --ink: #19373c;
  --ink-soft: #355359;
  --teal: #224b52;
  --teal-dark: #132f35;
  --sage: #97a69b;
  --sand: #c8beb1;
  --olive: #5d635a;
  --warm: #a79a75;
  --blue: #1aa9ff;
  --blue-soft: #7cd8ff;
  --line: rgba(34, 75, 82, 0.16);
  --shadow: 0 24px 70px rgba(22, 55, 61, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(34, 75, 82, 0.1);
  background: rgba(245, 244, 241, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 275px;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(26, 169, 255, 0.35);
  border-radius: 50%;
  background: #030813;
  box-shadow: 0 6px 22px rgba(12, 99, 160, 0.17);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--olive);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.header-cta {
  margin-left: 28px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.header-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.mobile-menu summary {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

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

.mobile-menu nav {
  position: absolute;
  top: 52px;
  right: 0;
  display: grid;
  width: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(34, 75, 82, 0.09);
  font-size: 14px;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 44%,
      rgba(26, 169, 255, 0.22),
      transparent 26%
    ),
    radial-gradient(
      circle at 92% 2%,
      rgba(151, 166, 155, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, #122d33 0%, #1c454d 54%, #18363c 100%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.8) 0.75px,
    transparent 0.75px
  );
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}

.hero-content {
  position: relative;
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  padding-block: 88px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--blue-soft);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(48px, 5.8vw, 76px);
  line-height: 1.02;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: #08222a;
  box-shadow: 0 14px 30px rgba(26, 169, 255, 0.22);
}

.button-primary:hover {
  background: #58c4ff;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-dark {
  background: var(--teal);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  max-width: 670px;
  margin: 46px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  padding-right: 18px;
}

.hero-facts li + li {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-facts strong {
  color: var(--white);
  font-size: 14px;
}

.hero-facts span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 550px;
  place-items: center;
}

.logo-frame {
  position: relative;
  z-index: 2;
  width: min(460px, 90%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(124, 216, 255, 0.35);
  border-radius: 50%;
  background: #020611;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(26, 169, 255, 0.17);
}

.logo-frame::after {
  position: absolute;
  inset: 0;
  border: 8px solid rgba(255, 255, 255, 0.05);
  border-radius: inherit;
  content: "";
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(124, 216, 255, 0.21);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
  transform: rotate(18deg) scaleY(0.68);
}

.orbit-two {
  width: 590px;
  height: 590px;
  border-color: rgba(200, 190, 177, 0.18);
  transform: rotate(-22deg) scaleY(0.72);
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(19, 47, 53, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
}

.section {
  padding-block: 112px;
}

.section h2 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.08;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 88px;
}

.about-copy {
  color: #486066;
  font-size: 16px;
}

.about-copy .lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.5;
}

.about-copy p {
  margin-bottom: 22px;
}

.founder-card {
  display: grid;
  align-items: center;
  margin-top: 70px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(34, 75, 82, 0.08);
  grid-template-columns: auto 1fr auto;
  gap: 26px;
}

.founder-monogram {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--sage));
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.founder-card .eyebrow {
  margin-bottom: 6px;
  font-size: 10px;
}

.founder-card h3 {
  margin-bottom: 8px;
  font-size: 29px;
}

.founder-card p {
  max-width: 570px;
  margin-bottom: 0;
  color: #65777a;
  font-size: 14px;
}

.founder-stats {
  display: flex;
  gap: 30px;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.founder-stats div {
  display: flex;
  flex-direction: column;
}

.founder-stats strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.founder-stats span {
  max-width: 110px;
  color: #718083;
  font-size: 11px;
  line-height: 1.35;
}

.source-note {
  margin-top: 12px;
  color: #728184;
  font-size: 11px;
  text-align: right;
}

.approach {
  background: var(--paper-deep);
}

.section-heading.centered {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 690px;
  color: #63767a;
  font-size: 17px;
}

.cards-grid {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.approach-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid rgba(34, 75, 82, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

.approach-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.card-number {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.approach-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
}

.approach-card p {
  margin-bottom: 0;
  color: #68797c;
  font-size: 14px;
}

.consultation {
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(26, 169, 255, 0.14),
      transparent 28%
    ),
    linear-gradient(145deg, #183a41, #102a30);
  color: var(--white);
}

.consultation-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 88px;
}

.consultation-copy h2 {
  max-width: 620px;
}

.consultation-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.steps {
  display: grid;
  margin: 38px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.steps li {
  display: grid;
  align-items: start;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 40px 1fr;
  gap: 14px;
}

.steps li > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(124, 216, 255, 0.45);
  border-radius: 50%;
  color: var(--blue-soft);
  font-size: 11px;
}

.steps strong {
  font-size: 14px;
}

.steps p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.modes-card {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  color: var(--ink);
}

.modes-card h3 {
  margin-bottom: 30px;
  font-size: 32px;
  line-height: 1.15;
}

.mode {
  display: grid;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 46px 1fr;
  gap: 14px;
}

.mode-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(151, 166, 155, 0.22);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.mode strong {
  font-size: 14px;
}

.mode p {
  margin: 3px 0 0;
  color: #6b7b7e;
  font-size: 13px;
}

.privacy-note {
  margin: 18px 0 24px;
  padding: 18px;
  border-left: 3px solid var(--warm);
  border-radius: 4px 12px 12px 4px;
  background: #f2eee7;
}

.privacy-note strong {
  font-size: 12px;
}

.privacy-note p {
  margin: 3px 0 0;
  color: #6d7573;
  font-size: 11px;
  line-height: 1.55;
}

.contact {
  background: var(--paper);
}

.contact .section-heading {
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
  grid-template-columns: 1.25fr 0.75fr;
}

.map-card {
  min-height: 540px;
  background: #d9ddd8;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
  filter: saturate(0.72) contrast(0.95);
}

.contact-panel {
  padding: 42px;
}

.contact-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item > span {
  display: block;
  margin-bottom: 7px;
  color: var(--warm);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-item strong,
.contact-link {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.contact-item p {
  margin: 8px 0 12px;
  color: #6a797b;
  font-size: 13px;
}

.contact-item > a:not(.contact-link) {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.contact-socials {
  display: flex;
  gap: 10px;
  padding-top: 28px;
}

.contact-socials a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.disclaimer {
  padding-block: 36px;
  border-top: 1px solid rgba(34, 75, 82, 0.12);
  background: #e7e2d9;
}

.disclaimer-inner {
  display: grid;
  align-items: start;
  grid-template-columns: 180px 1fr;
  gap: 30px;
}

.disclaimer strong {
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.disclaimer p {
  max-width: 890px;
  margin: 0;
  color: #626c6a;
  font-size: 12px;
  line-height: 1.7;
}

footer {
  padding-block: 34px;
  background: var(--teal-dark);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.footer-brand span,
.footer-inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(8, 62, 29, 0.28);
  color: #073719;
  font-size: 13px;
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.floating-whatsapp span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 900;
}

.floating-whatsapp b {
  font-size: 12px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

  .mobile-menu {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr 0.8fr;
    gap: 38px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .orbit-two {
    width: 480px;
    height: 480px;
  }

  .founder-card {
    grid-template-columns: auto 1fr;
  }

  .founder-stats {
    padding: 24px 0 0 114px;
    border-top: 1px solid var(--line);
    border-left: 0;
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  .hero-content,
  .about-grid,
  .consultation-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 70px;
    gap: 22px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-note {
    right: 8%;
  }

  .about-grid,
  .consultation-grid {
    gap: 38px;
  }

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

  .approach-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 30px;
  }

  .map-card,
  .map-card iframe {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 74px;
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    max-width: 190px;
    font-size: 13px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .hero-content {
    min-height: 0;
    padding-block: 62px 70px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

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

  .hero-facts li,
  .hero-facts li + li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .hero-visual {
    min-height: 390px;
  }

  .logo-frame {
    width: 330px;
    max-width: 90%;
  }

  .orbit-one,
  .orbit-two {
    width: 360px;
    height: 360px;
  }

  .hero-note {
    right: 50%;
    bottom: 2px;
    width: max-content;
    max-width: 92%;
    justify-content: center;
    transform: translateX(50%);
  }

  .section {
    padding-block: 78px;
  }

  .section h2 {
    font-size: 40px;
  }

  .about-copy .lead {
    font-size: 21px;
  }

  .founder-card {
    padding: 28px 24px;
    grid-template-columns: 1fr;
  }

  .founder-monogram {
    width: 68px;
    height: 68px;
  }

  .founder-stats {
    display: grid;
    padding: 22px 0 0;
    grid-template-columns: 1fr 1fr;
  }

  .modes-card,
  .contact-panel {
    padding: 30px 24px;
  }

  .disclaimer-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .floating-whatsapp b {
    display: none;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    padding-right: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* MODIFICACIONES PARA CELULAR */
@media (max-width: 620px) {
  /* Centrar “Terapia alternativa y complementaria” */
  .hero .eyebrow.light {
    width: 100%;
    text-align: center;
  }

  /* Título principal con estilo similar a Catppuccin */
  .hero h1 {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 11vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-align: center;
    text-wrap: balance;
  }

  /* Encabezado superior más grande */
  .site-header {
    min-height: 96px;
    padding: 12px 16px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
  }

  .brand-copy strong {
    max-width: 170px;
    font-size: 15px;
    line-height: 1.15;
  }

  .brand-copy small {
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .mobile-menu summary {
    min-width: 120px;
    min-height: 56px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid #356b75;
    border-radius: 122px;
    background-color: transparent;
    box-shadow: 0 3px 8px rgba(41, 75, 82, 0.18);
  }
  .mobile-menu nav a {
    padding: 20px 24px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
  }
}

/* SECCIÓN: QUÉ ES LA RADIESTESIA */

.radiesthesia-info {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 95% 10%,
      rgba(26, 169, 255, 0.09),
      transparent 28%
    ),
    var(--white);
}

.radiesthesia-heading {
  display: grid;
  align-items: start;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.radiesthesia-heading h2 {
  max-width: 600px;
}

.radiesthesia-intro {
  color: #52686c;
}

.radiesthesia-intro .lead {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.5;
}

.radiesthesia-intro p:last-child {
  margin-bottom: 0;
}

/* Tarjetas de ondas */

.waves-grid {
  display: grid;
  margin-top: 64px;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.wave-card {
  display: grid;
  min-height: 460px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  grid-template-columns: auto 1fr;
  gap: 24px;
}

.wave-card-dark {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(26, 169, 255, 0.18),
      transparent 30%
    ),
    linear-gradient(145deg, #183a41, #102a30);
  color: var(--white);
}

.wave-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.wave-card-dark .wave-number {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--blue-soft);
}

.wave-card .eyebrow {
  margin-bottom: 8px;
}

.wave-card h3 {
  margin-bottom: 18px;
  font-size: 30px;
}

.wave-card p {
  color: #5e7377;
  font-size: 15px;
}

.wave-card-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.wave-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.wave-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid rgba(34, 75, 82, 0.12);
  color: var(--ink-soft);
  font-size: 14px;
}

.wave-list li::before {
  position: absolute;
  top: 19px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(26, 169, 255, 0.55);
  content: "";
}

/* Teoría de las ondas de forma */

.form-theory {
  display: grid;
  margin-top: 22px;
  padding: 52px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 10% 100%,
      rgba(26, 169, 255, 0.18),
      transparent 35%
    ),
    var(--teal-dark);
  color: var(--white);
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.form-theory-title h3 {
  max-width: 430px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
}

.form-theory-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.form-theory-copy p:last-child {
  margin-bottom: 0;
}

.radiesthesia-context {
  max-width: 900px;
  margin: 24px auto 0;
  color: #718083;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* Adaptación para tablet */

@media (max-width: 900px) {
  .radiesthesia-heading,
  .form-theory {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .wave-card {
    min-height: auto;
  }
}

/* Adaptación para celular */

@media (max-width: 620px) {
  .radiesthesia-heading {
    text-align: center;
  }

  .radiesthesia-intro .lead {
    font-size: 21px;
  }

  .waves-grid {
    margin-top: 44px;
  }

  .wave-card {
    padding: 28px 24px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wave-number {
    margin-inline: auto;
  }

  .wave-card .eyebrow,
  .wave-card h3 {
    text-align: center;
  }

  .wave-card h3 {
    font-size: 28px;
  }

  .form-theory {
    padding: 36px 25px;
    text-align: center;
  }

  .form-theory-title h3 {
    font-size: 32px;
  }

  .form-theory-copy {
    text-align: left;
  }
}

/* Evita que el nuevo enlace largo apriete el menú de computadora */

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

  .mobile-menu {
    display: block;
  }
}
/* Fotografía de Corina */

.founder-photo {
  width: 100px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--sage);
  border-radius: 50%;
  background-color: var(--paper);
  box-shadow: 0 8px 24px rgba(34, 75, 82, 0.18);
}

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

@media (max-width: 620px) {
  .founder-photo {
    width: 76px;
    height: 76px;
    margin-inline: auto;
  }
}

/* SECCIÓN: MISIÓN Y COMPROMISO */

.mission-section {
  background-color: var(--paper);
}

.mission-card {
  display: grid;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(26, 169, 255, 0.22),
      transparent 32%
    ),
    linear-gradient(145deg, #183a41, #102a30);
  color: var(--white);
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  box-shadow: 0 20px 50px rgba(16, 42, 48, 0.14);
}

.mission-heading h2 {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
}

.mission-copy {
  position: relative;
  padding-left: 52px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.mission-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.65;
}

.mission-mark {
  position: absolute;
  top: -30px;
  left: 18px;
  color: var(--blue-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1;
  opacity: 0.8;
}

/* Adaptación para celular */

@media (max-width: 620px) {
  .mission-card {
    padding: 40px 25px;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .mission-heading h2 {
    margin-inline: auto;
    font-size: 36px;
  }

  .mission-copy {
    padding-top: 30px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .mission-copy p {
    font-size: 18px;
    line-height: 1.6;
  }

  .mission-mark {
    top: -10px;
    left: 50%;
    font-size: 58px;
    transform: translateX(-50%);
  }
}
/* Nombres de los terapeutas en el encabezado */

.therapist-names {
  display: flex;
  margin-top: 4px;
  color: #294b52;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  gap: 12px;
}

.therapist-names span {
  white-space: nowrap;
}

@media (max-width: 620px) {
  .therapist-names {
    flex-direction: column;
    margin-top: 5px;
    font-size: 9px;
    gap: 2px;
  }

  .site-header {
    min-height: 112px;
  }
}

/* Horario debajo de Consulta a distancia */

.consultation-hours {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  border-radius: 0 16px 16px 0;
  background-color: var(--paper);
}

.consultation-hours .eyebrow {
  margin-bottom: 14px;
}

.hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: #52686c;
  gap: 24px;
}

.hours-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hours-row strong {
  color: #153d45;
  font-size: 14px;
}

.hours-row span {
  font-size: 14px;
  text-align: right;
}

@media (max-width: 620px) {
  .consultation-hours {
    padding: 22px;
  }

  .hours-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hours-row span {
    text-align: left;
  }
}
/* Péndulo completo de fondo en Ondas materiales */

.wave-card-materials {
  position: relative;
  overflow: hidden;
}

.wave-card-materials::before {
  position: absolute;
  z-index: 0;
  inset: 0;

  background-image: url("imagenes/pendulo.png");
  background-repeat: no-repeat;

  /* Imagen completa y unida al borde derecho */
  background-position: right 0px top 0px;
  background-size: auto 84%;

  opacity: 0.6;
  pointer-events: none;
  content: "";
}

.wave-card-materials > * {
  position: relative;
  z-index: 1;
}

/* Ajuste para celular */

@media (max-width: 620px) {
  .wave-card-materials::before {
    background-position: right 0px top 0px;
    background-size: auto 76%;
    opacity: 0.6;
  }
}
/* Chakras como fondo de Ondas abstractas */

.wave-card-abstracts {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* La transparencia afecta solamente a la imagen */

.wave-card-abstracts::before {
  position: absolute;
  z-index: 0;
  inset: 0;

  background-image: url("imagenes/chakras.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;

  opacity: 0.32;
  pointer-events: none;
  content: "";
}

/* Mantiene todos los textos completamente visibles */

.wave-card-abstracts > * {
  position: relative;
  z-index: 1;
}

/* Ajuste para celular */

@media (max-width: 620px) {
  .wave-card-abstracts::before {
    background-position: center bottom;
    background-size: auto 100%;
    opacity: 0.28;
  }
}
/* Cielo de fondo en la tarjeta de Corina */

.founder-card-sky {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #ffffff;
}

/* Fotografía de fondo */

.founder-card-sky::before {
  position: absolute;
  z-index: 0;
  inset: 0;

  background-image: url("imagenes/cielo.jpg");
  background-repeat: no-repeat;
  background-position: center 62%;
  background-size: cover;

  opacity: 0.9;
  pointer-events: none;
  content: "";
}

/* Capa blanca gradual para proteger la lectura */

.founder-card-sky::after {
  position: absolute;
  z-index: 1;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.68) 52%,
    rgba(255, 255, 255, 0.54) 100%
  );

  pointer-events: none;
  content: "";
}

/* Mantiene fotografía, texto y cifras encima del fondo */

.founder-card-sky > * {
  position: relative;
  z-index: 2;
}

/* Ajuste para celular */

@media (max-width: 620px) {
  .founder-card-sky::before {
    background-position: 60% center;
    opacity: 0.9;
  }

  .founder-card-sky::after {
    background: rgba(255, 255, 255, 0.68);
  }
}
/* Limita la tarjeta solamente en computadora */

@media (min-width: 621px) {
  .founder-card-sky {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin-inline: auto;
    box-sizing: border-box;
  }
}
/* Imagen completa detrás del título Ondas de forma */

.form-theory-title {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.form-theory-title::before {
  position: absolute;
  z-index: 0;
  inset: 16px;

  background-image: url("imagenes/ondas de forma.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  filter: invert(1);
  opacity: 0.16;
  pointer-events: none;
  content: "";
}

/* Mantiene el texto encima de la figura */

.form-theory-title > * {
  position: relative;
  z-index: 1;
}

/* Celular */

/* Fondo completo de Ondas de forma en celular */

@media (max-width: 620px) {
  /* Quita el fondo que estaba solamente detrás del título */
  .form-theory-title::before {
    content: none;
  }

  .form-theory-mobile-bg {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .form-theory-mobile-bg::before {
    position: absolute;
    z-index: 0;
    inset: 0;

    background-image: url("imagenes/ondas de forma.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    filter: invert(1);
    opacity: 0.14;
    pointer-events: none;
    content: "";
  }

  /* Mantiene todo el texto encima de la imagen */
  .form-theory-mobile-bg > * {
    position: relative;
    z-index: 1;
  }

  .form-theory-title {
    min-height: 0;
    padding-bottom: 0;
  }
}

/* =========================================
   Radiestesia Terapéutica
========================================= */

.therapeutic-radiesthesia {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 80px auto;
  color: #23474d;
}

.therapeutic-radiesthesia h2,
.therapeutic-radiesthesia h3,
.therapeutic-radiesthesia h4,
.therapeutic-radiesthesia p {
  margin-top: 0;
}

.therapeutic-heading {
  max-width: 850px;
  margin-bottom: 55px;
}

.therapeutic-heading h2 {
  margin-bottom: 24px;
  color: #153d45;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
}

.therapeutic-heading p {
  max-width: 780px;
  color: #52686c;
  font-size: 16px;
  line-height: 1.85;
}

.therapeutic-heading .therapeutic-intro {
  color: #274f55;
  font-size: 18px;
}

/* Encabezado de áreas */

.integral-consultation {
  padding: 55px;
  border-radius: 28px;
  background-color: #153d45;
}

.consultation-title {
  max-width: 760px;
  margin-bottom: 38px;
}

.consultation-title .eyebrow {
  color: #b7cdc1;
}

.consultation-title h3 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(29px, 4vw, 45px);
  line-height: 1.12;
}

.consultation-title > p:last-child {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

/* Tarjetas de las áreas */

.consultation-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.consultation-area {
  position: relative;
  min-height: 170px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.06);
}

.consultation-area span {
  display: block;
  margin-bottom: 24px;
  color: #a9c6b5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.consultation-area h4 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 19px;
}

.consultation-area p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* Modalidad y alcance */

.consultation-details {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  margin-top: 22px;
}

.consultation-method,
.consultable-list {
  padding: 42px;
  border: 1px solid var(--line, #dce5df);
  border-radius: 24px;
  background-color: var(--paper, #f7f8f3);
}

.consultation-method h3,
.consultable-list h3 {
  margin-bottom: 22px;
  color: #153d45;
  font-size: 28px;
  line-height: 1.2;
}

.consultation-method > p:not(.eyebrow) {
  color: #52686c;
  line-height: 1.75;
}

.consultable-list {
  background-color: #e9f0e9;
}

.consultable-list ul {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.consultable-list li {
  position: relative;
  padding: 15px 0 15px 26px;
  border-bottom: 1px solid rgba(21, 61, 69, 0.13);
  color: #31575c;
  line-height: 1.55;
}

.consultable-list li:last-child {
  border-bottom: 0;
}

.consultable-list li::before {
  position: absolute;
  top: 23px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--sage, #8ba894);
  content: "";
}

/* Nota complementaria */

.therapeutic-note {
  max-width: 920px;
  margin: 24px auto 0;
  color: #718287;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

/* Versión celular */

@media (max-width: 620px) {
  .therapeutic-radiesthesia {
    width: calc(100% - 32px);
    margin: 55px auto;
  }

  .therapeutic-heading {
    margin-bottom: 38px;
  }

  .therapeutic-heading h2 {
    margin-bottom: 20px;
    font-size: 40px;
  }

  .therapeutic-heading .therapeutic-intro {
    font-size: 17px;
  }

  .integral-consultation {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .consultation-title {
    margin-bottom: 28px;
  }

  .consultation-title h3 {
    font-size: 30px;
  }

  .consultation-areas {
    grid-template-columns: 1fr;
  }

  .consultation-area {
    min-height: 0;
    padding: 24px;
  }

  .consultation-area span {
    margin-bottom: 16px;
  }

  .consultation-details {
    grid-template-columns: 1fr;
  }

  .consultation-method,
  .consultable-list {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .consultation-method h3,
  .consultable-list h3 {
    font-size: 25px;
  }

  .therapeutic-note {
    padding-inline: 10px;
    text-align: left;
  }
}

/* =========================================
   Galería de espacios y experiencias
========================================= */

.visual-gallery {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 90px auto;
  scroll-margin-top: 100px;
}

.gallery-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.gallery-heading h2 {
  max-width: 650px;
  margin: 0;
  color: #153d45;
  font-size: clamp(38px, 5vw, 65px);
  line-height: 1.05;
}

.gallery-description {
  max-width: 530px;
  margin: 0 0 6px;
  color: #52686c;
  font-size: 16px;
  line-height: 1.8;
}

/* Galería adaptable tipo mosaico */

/* Tabletas */

@media (max-width: 900px) {
  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-grid {
    columns: 2 240px;
  }
}

/* Celular */

@media (max-width: 620px) {
  .visual-gallery {
    width: calc(100% - 32px);
    margin: 60px auto;
    scroll-margin-top: 80px;
  }

  .gallery-heading {
    margin-bottom: 30px;
  }

  .gallery-heading h2 {
    font-size: 40px;
  }

  .gallery-description {
    font-size: 15px;
    line-height: 1.7;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-item {
    margin-bottom: 14px;
    border-radius: 18px;
  }
}

/* =========================================
   Carrusel de galería
========================================= */

.gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: 0 58px 34px;
  margin: 0 auto;
  box-sizing: border-box;
}

.gallery-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  border-radius: 24px;
  background-color: #e7ece8;
  box-shadow: 0 15px 45px rgba(21, 61, 69, 0.14);

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;

  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  background-color: #e7ece8;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Flechas */

.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: calc(50% - 17px);
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: #ffffff;
  background-color: #153d45;
  box-shadow: 0 6px 18px rgba(21, 61, 69, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.07);
}

.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

/* Contador */

.gallery-counter {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 74px;
  padding: 6px 11px;
  border-radius: 20px;
  color: #ffffff;
  background-color: rgba(21, 61, 69, 0.78);
  font-size: 12px;
  font-weight: 700;
}

/* Puntos */

.gallery-dots {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #c3cfca;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.gallery-dot.active {
  width: 22px;
  border-radius: 10px;
  background-color: #153d45;
}

/* Celular */

@media (max-width: 620px) {
  .gallery-carousel {
    padding: 0 0 32px;
  }

  .gallery-track {
    border-radius: 18px;
  }

  .gallery-slide {
    aspect-ratio: 4 / 5;
  }

  .gallery-arrow {
    top: calc(50% - 16px);
    width: 36px;
    height: 36px;
    background-color: rgba(21, 61, 69, 0.78);
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-counter {
    top: 11px;
    right: 11px;
  }
}

/* Evita que el menú fijo cubra el inicio de las secciones */
section[id] {
  scroll-margin-top: 160px;
}

@media (max-width: 620px) {
  section[id] {
    scroll-margin-top: 120px;
  }
}

@media (min-width: 901px) {
  .desktop-nav {
    display: none !important;
  }

  details.mobile-menu {
    display: block !important;
    position: relative;
    flex-shrink: 0;
  }
}
/* Agrupar los botones del encabezado */
.header-actions {
  display: contents;
}

@media (min-width: 901px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }

  .header-actions .mobile-menu {
    margin: 0;
  }
}

/* =========================================
   Sección de servicios
========================================= */

.services-section {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 100px auto;
  scroll-margin-top: 160px;
}

.services-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.services-heading h2 {
  margin: 0 0 20px;
  color: #153d45;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.services-introduction {
  max-width: 690px;
  margin: 0;
  color: #52686c;
  font-size: 17px;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 120px;
  padding: 28px 28px 28px 82px;
  border: 1px solid rgba(21, 61, 69, 0.1);
  border-radius: 22px;
  align-items: center;
  background-color: #f3f5f1;
  box-shadow: 0 10px 30px rgba(21, 61, 69, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  border-color: rgba(21, 61, 69, 0.22);
  box-shadow: 0 16px 38px rgba(21, 61, 69, 0.12);
  transform: translateY(-3px);
}

.service-number {
  position: absolute;
  top: 28px;
  left: 26px;
  color: #7a9b8d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card p {
  margin: 0;
  color: #294d53;
  font-size: 16px;
  line-height: 1.65;
}

.service-card-wide {
  grid-column: 1 / -1;
}

.services-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.services-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background-color: #153d45;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(21, 61, 69, 0.2);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.services-button:hover {
  background-color: #245862;
  transform: translateY(-2px);
}

/* Celular */

@media (max-width: 700px) {
  .services-section {
    width: calc(100% - 32px);
    margin: 70px auto;
    scroll-margin-top: 120px;
  }

  .services-heading {
    margin-bottom: 30px;
  }

  .services-heading h2 {
    font-size: 46px;
  }

  .services-introduction {
    font-size: 15px;
    line-height: 1.7;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card,
  .service-card-wide {
    grid-column: auto;
    min-height: auto;
    padding: 24px 22px 24px 68px;
    border-radius: 18px;
  }

  .service-number {
    font-size: 16px !important;
    font-weight: 800;
  }

  .service-card p {
    font-size: 20px !important;
    font-weight: 600;
    line-height: 1.65;
  }
}
/* Color verde oscuro para las letras del menú */
.mobile-menu nav a {
  color: #0e424d;
}

@media (max-width: 700px) {
  /* Títulos */
  .consultation-area > h4 {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }

  /* Descripciones */
  .consultation-area > p {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
  }
}

/* Título y descripción de la consulta en celular */
@media (max-width: 700px) {
  .consultation-title h3 {
    font-size: 45px !important;
    line-height: 1.15 !important;
  }

  .consultation-title > p:not(.eyebrow) {
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
  }
}
/* Texto de acompañamiento en celular */
@media (max-width: 700px) {
  .hero-intro {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    text-align: justify !important;
    text-align-last: left;
    hyphens: auto;
  }
}

/* Título principal equilibrado en celular */
@media (max-width: 700px) {
  .hero-title {
    max-width: 390px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(42px, 12vw, 54px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em;
    text-align: center;
  }

  .hero-title span {
    display: block;
  }

  .hero-title span + span {
    margin-top: 6px;
  }
}

/* Fondo completo de la zona de consulta */
.integral-consultation.consulta-con-fondo {
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  padding: 70px 48px;
  overflow: hidden;
  border-radius: 22px;

  background:
    linear-gradient(to bottom, rgba(21, 61, 69, 0.72), rgba(21, 61, 69, 0.94)),
    url("imagenes/fondo.jpg") center center / cover no-repeat !important;
}

/* Tarjetas sobre la imagen */
.integral-consultation.consulta-con-fondo .consultation-area {
  background-color: rgba(43, 80, 87, 0.86);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(2px);
}

/* Ajuste para celular */
@media (max-width: 700px) {
  .integral-consultation.consulta-con-fondo {
    height: auto !important;
    max-height: none !important;
    padding: 48px 20px;
    background-position: center top !important;
  }

  .integral-consultation.consulta-con-fondo .consultation-area {
    background-color: rgba(43, 80, 87, 0.9);
  }
}

/* Tarjetas color crema en la zona de consulta */
.integral-consultation.consulta-con-fondo .consultation-area {
  background-color: rgba(241, 234, 220, 0.94) !important;
  border-color: rgba(21, 61, 69, 0.18) !important;
  backdrop-filter: blur(2px);
}

/* Números */
.integral-consultation.consulta-con-fondo .consultation-area > span {
  color: #6f9182 !important;
}

/* Títulos */
.integral-consultation.consulta-con-fondo .consultation-area > h4 {
  color: #1c4952 !important;
}

/* Descripciones */
.integral-consultation.consulta-con-fondo .consultation-area > p {
  color: #35585e !important;
}

/* Preparar cada cuadro para recibir el mandala */
.integral-consultation .consultation-area {
  position: relative;
  overflow: hidden;
}

/* Mandala decorativo */
.integral-consultation .consultation-area::before {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -65px;
  width: 220px;
  height: 220px;

  background-image: url("imagenes/mandala.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* Mantener las letras por encima del mandala */
.integral-consultation .consultation-area > * {
  position: relative;
  z-index: 1;
}

/* Ajuste para celular */
@media (max-width: 700px) {
  .integral-consultation .consultation-area::before {
    right: -35px;
    bottom: -45px;
    width: 180px;
    height: 180px;
    opacity: 0.25;
  }
}

/* Imagen de chakras en la sección Radiestesia */
#radiestesia {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Mantener el contenido encima de la imagen */
#radiestesia > * {
  position: relative;
  z-index: 1;
}

/* Versión de computadora */
#radiestesia::before {
  content: "";
  position: absolute;
  top: 110px;
  left: clamp(-100px, -1vw, 50px);

  width: clamp(30px, 20vw, 550px);
  height: 6620px;

  background-image: url("imagenes/cuerpo.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;

  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Versión de celular */
@media (max-width: 700px) {
  #radiestesia::before {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);

    width: min(125vw, 3330px);
    height: 900px;

    opacity: 0.2;
    background-position: center top;
  }
}
/* Evitar que se duplique el espacio antes de Misión */
.mission-section {
  padding-top: 0 !important;
}

/* Chakras de fondo en el panel de modalidades */
.modalidades-con-fondo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Imagen tenue detrás del contenido */
.modalidades-con-fondo::before {
  content: "";
  position: absolute;
  inset: 25px;

  background-image: url("imagenes/chakkras 1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 150%;

  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Mantener todo el contenido por encima */
.modalidades-con-fondo > * {
  position: relative;
  z-index: 1;
}

/* Ajuste para celular */
@media (max-width: 620px) {
  .modalidades-con-fondo::before {
    inset: -80px 10px;
    background-size: auto 88%;
    opacity: 0.15;
  }
}
/* Distribución de Nuestra historia con carrusel */

#nosotros .about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "heading copy";
  align-items: start;
  column-gap: clamp(50px, 7vw, 100px);
  row-gap: 0;
}

#nosotros .about-grid > div:first-child {
  grid-area: heading;
}

#nosotros .about-copy {
  grid-area: copy;
}

/* Se coloca debajo del título sin empujar el texto */
#nosotros .about-carousel {
  grid-area: heading;
  align-self: start;
  justify-self: start;
  width: 100%;
  max-width: 380px;
  margin-top: 175px;
}

.about-carousel-viewport {
  aspect-ratio: 4 / 3;
}

/* Diseño del carrusel */
.about-carousel {
  position: relative;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid rgba(24, 58, 65, 0.16);
  border-radius: 28px;
  background-color: #183a41;
  box-shadow: 0 20px 45px rgba(16, 42, 48, 0.18);
}

.about-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  touch-action: pan-y;
}

.about-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.45s ease,
    transform 0.7s ease;
}

.about-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.about-carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(16, 42, 48, 0.72);
  color: white;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  backdrop-filter: blur(5px);
}

.about-carousel-prev {
  left: 16px;
}

.about-carousel-next {
  right: 16px;
}

.about-carousel-dots {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.about-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.about-carousel-dots button.is-active {
  width: 25px;
  border-radius: 10px;
  background: white;
}

.about-carousel-counter {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  padding: 7px 11px;
  border-radius: 20px;
  background: rgba(16, 42, 48, 0.72);
  color: white;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(5px);
}

/* Carrusel debajo del texto en celular */
@media (max-width: 700px) {
  #nosotros .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "copy"
      "carousel";
    gap: 24px;
  }

  #nosotros .about-carousel {
    grid-area: carousel;
    width: 86%;
    max-width: 420px;
    margin: 8px auto 0;
    border-radius: 20px;
  }

  .about-carousel-viewport {
    aspect-ratio: 16 / 10;
  }

  .about-carousel-arrow {
    display: none;
  }

  .about-carousel-counter {
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    font-size: 12px;
  }

  .about-carousel-dots {
    bottom: 12px;
    gap: 6px;
  }

  .about-carousel-dots button {
    width: 7px;
    height: 7px;
  }

  .about-carousel-dots button.is-active {
    width: 20px;
  }

  #nosotros .founder-card {
    margin-top: 32px !important;
  }
}
@media (max-width: 700px) {
  #nosotros .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "copy"
      "carousel";
    grid-template-rows: auto;
    gap: 24px;
  }

  #nosotros .about-carousel {
    grid-area: carousel;
    width: 82%;
    max-width: 340px;
    margin: 8px auto 0;
    border-radius: 22px;
    justify-self: center;
  }

  .about-carousel-viewport {
    aspect-ratio: 4 / 5;
  }

  .about-carousel-arrow {
    display: none;
  }

  #nosotros .founder-card {
    margin-top: 28px !important;
  }
}

/* ==================================================
   TESTIMONIOS
================================================== */

.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(129, 159, 150, 0.16),
      transparent 34%
    ),
    linear-gradient(180deg, #f7f5f0 0%, #eeeee8 100%);
}

.testimonials-section::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 6%;
  color: rgba(34, 75, 82, 0.07);
  font-family: Georgia, serif;
  font-size: 260px;
  line-height: 1;
  pointer-events: none;
}

.testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonials-header {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.testimonials-eyebrow,
.testimonial-dialog-eyebrow {
  margin: 0 0 12px;
  color: #527068;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.testimonials-header h2 {
  margin: 0 0 18px;
  color: #19373c;
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 600;
  line-height: 1.05;
}

.testimonials-introduction {
  margin: 0;
  color: #53696c;
  font-size: 18px;
  line-height: 1.75;
}

/* Carrusel */

.testimonials-carousel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  padding: 5px 2px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonials-track.is-empty {
  display: block;
}

.testimonials-loading,
.testimonials-empty {
  width: 100%;
  padding: 48px 24px;
  border: 1px dashed rgba(34, 75, 82, 0.25);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
  color: #667a78;
  text-align: center;
  font-size: 16px;
}

/* Tarjeta generada por JavaScript */

.testimonial-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px 31px 30px;
  border: 1px solid rgba(34, 75, 82, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(25, 55, 60, 0.09);
  scroll-snap-align: start;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 15px;
  right: 25px;
  color: rgba(34, 75, 82, 0.13);
  font-family: Georgia, serif;
  font-size: 75px;
  line-height: 1;
}

.testimonial-card-message {
  position: relative;
  z-index: 1;
  margin: 22px 0 35px;
  color: #314e53;
  font-size: 17px;
  line-height: 1.75;
  white-space: pre-line;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 75, 82, 0.13);
}

.testimonial-card footer strong {
  color: #19373c;
  font-size: 16px;
}

.testimonial-card footer span {
  color: #71827f;
  font-size: 13px;
  text-transform: capitalize;
}

/* Flechas */

.testimonials-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 75, 82, 0.2);
  border-radius: 50%;
  background: #ffffff;
  color: #224b52;
  font-size: 23px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(25, 55, 60, 0.13);
  transform: translateY(-50%);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.testimonials-arrow:hover {
  background: #224b52;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.testimonials-arrow-previous {
  left: -25px;
}

.testimonials-arrow-next {
  right: -25px;
}

/* Botón principal de la sección */

.testimonials-action {
  margin-top: 34px;
  text-align: center;
}

.testimonials-share-button,
.testimonial-primary-button,
.testimonial-secondary-button {
  border-radius: 999px;
  padding: 15px 27px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease;
}

.testimonials-share-button,
.testimonial-primary-button {
  border: 1px solid #224b52;
  background: #224b52;
  color: #ffffff;
  box-shadow: 0 11px 26px rgba(34, 75, 82, 0.2);
}

.testimonial-secondary-button {
  border: 1px solid rgba(34, 75, 82, 0.3);
  background: transparent;
  color: #224b52;
}

.testimonials-share-button:hover,
.testimonial-primary-button:hover,
.testimonial-secondary-button:hover {
  transform: translateY(-2px);
}

.testimonials-action p {
  margin: 15px 0 0;
  color: #74837f;
  font-size: 13px;
}

/* ==================================================
   VENTANA DEL FORMULARIO
================================================== */

.testimonial-dialog {
  width: min(calc(100% - 32px), 650px);
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 27px;
  background: transparent;
  color: #19373c;
  box-shadow: 0 25px 80px rgba(13, 36, 40, 0.28);
}

.testimonial-dialog::backdrop {
  background: rgba(16, 37, 40, 0.64);
  backdrop-filter: blur(5px);
}

.testimonial-dialog-content {
  position: relative;
  padding: 45px 42px 40px;
  background: #fbfaf7;
}

.testimonial-dialog-close {
  position: absolute;
  top: 17px;
  right: 19px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 75, 82, 0.18);
  border-radius: 50%;
  background: #ffffff;
  color: #224b52;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.testimonial-dialog h2 {
  max-width: 520px;
  margin: 0 0 13px;
  color: #19373c;
  font-size: clamp(29px, 5vw, 42px);
  line-height: 1.12;
}

.testimonial-dialog-introduction {
  margin: 0 0 29px;
  color: #617477;
  font-size: 16px;
  line-height: 1.65;
}

/* Opciones de identidad */

.testimonial-identity-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 23px;
  padding: 0;
  border: 0;
}

.testimonial-identity-options legend {
  width: 100%;
  margin-bottom: 10px;
  color: #294b50;
  font-size: 15px;
  font-weight: 700;
}

.testimonial-identity-options label {
  position: relative;
  cursor: pointer;
}

.testimonial-identity-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.testimonial-identity-options label {
  padding: 11px 17px;
  border: 1px solid rgba(34, 75, 82, 0.23);
  border-radius: 999px;
  background: #ffffff;
  color: #536a6d;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-identity-options label:has(input:checked) {
  border-color: #224b52;
  background: #224b52;
  color: #ffffff;
}

/* Campos */

.testimonial-field {
  display: block;
  margin-bottom: 21px;
}

.testimonial-field > span {
  display: block;
  margin-bottom: 9px;
  color: #294b50;
  font-size: 15px;
  font-weight: 700;
}

.testimonial-field input,
.testimonial-field textarea {
  width: 100%;
  border: 1px solid rgba(34, 75, 82, 0.22);
  border-radius: 15px;
  padding: 14px 16px;
  outline: none;
  background: #ffffff;
  color: #19373c;
  font: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.testimonial-field textarea {
  min-height: 155px;
  resize: vertical;
  line-height: 1.65;
}

.testimonial-field input:focus,
.testimonial-field textarea:focus {
  border-color: #527a72;
  box-shadow: 0 0 0 4px rgba(82, 122, 114, 0.12);
}

.testimonial-field input:disabled {
  background: #eeeee9;
  color: #88928f;
}

.testimonial-writing-help {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: -10px 0 23px;
  color: #7b8986;
  font-size: 12px;
}

.testimonial-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.testimonial-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  margin: 0 0 26px;
  color: #52696c;
  font-size: 13px;
  line-height: 1.55;
}

.testimonial-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #224b52;
}

.testimonial-primary-button:disabled,
.testimonial-secondary-button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.testimonial-form-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: #79534d;
  font-size: 14px;
}

/* Vista previa */

.testimonial-preview-card {
  margin: 28px 0;
  padding: 31px 28px;
  border: 1px solid rgba(34, 75, 82, 0.16);
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(25, 55, 60, 0.08);
}

.testimonial-preview-message {
  margin: 0 0 27px;
  color: #314e53;
  font-size: 17px;
  line-height: 1.75;
  white-space: pre-line;
}

.testimonial-preview-card footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 18px;
  border-top: 1px solid rgba(34, 75, 82, 0.13);
}

.testimonial-preview-card footer span {
  color: #778784;
  font-size: 13px;
  text-transform: capitalize;
}

.testimonial-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Confirmación final */

.testimonial-success-view {
  padding: 30px 0 15px;
  text-align: center;
}

.testimonial-success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
  border-radius: 50%;
  background: rgba(34, 75, 82, 0.1);
  color: #224b52;
  font-size: 32px;
  font-weight: 700;
}

.testimonial-success-view h2 {
  margin-right: auto;
  margin-left: auto;
}

.testimonial-success-view p {
  max-width: 440px;
  margin: 0 auto 28px;
  color: #617477;
  font-size: 16px;
  line-height: 1.7;
}

body:has(.testimonial-dialog[open]) {
  overflow: hidden;
}

/* ==================================================
   TESTIMONIOS EN TABLET Y CELULAR
================================================== */

@media (max-width: 900px) {
  .testimonials-track {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }

  .testimonials-arrow-previous {
    left: 5px;
  }

  .testimonials-arrow-next {
    right: 5px;
  }
}

@media (max-width: 620px) {
  .testimonials-section {
    padding: 65px 0;
  }

  .testimonials-section::before {
    top: 15px;
    left: -15px;
    font-size: 170px;
  }

  .testimonials-header {
    margin-bottom: 32px;
  }

  .testimonials-header h2 {
    font-size: 42px;
  }

  .testimonials-introduction {
    font-size: 16px;
  }

  .testimonials-carousel {
    padding-bottom: 58px;
  }

  .testimonials-track {
    grid-auto-columns: 100%;
    gap: 15px;
    padding-bottom: 12px;
  }

  .testimonial-card {
    min-height: 270px;
    padding: 31px 25px 27px;
  }

  .testimonials-arrow {
    top: auto;
    bottom: 0;
    width: 43px;
    height: 43px;
    transform: none;
  }

  .testimonials-arrow:hover {
    transform: none;
  }

  .testimonials-arrow-previous {
    left: calc(50% - 51px);
  }

  .testimonials-arrow-next {
    right: calc(50% - 51px);
  }

  .testimonials-action {
    margin-top: 23px;
  }

  .testimonial-dialog-content {
    padding: 45px 22px 31px;
  }

  .testimonial-dialog-close {
    top: 13px;
    right: 13px;
  }

  .testimonial-identity-options {
    gap: 8px;
  }

  .testimonial-identity-options label {
    padding: 10px 14px;
    font-size: 13px;
  }

  .testimonial-writing-help {
    flex-direction: column;
    gap: 4px;
  }

  .testimonial-preview-actions {
    flex-direction: column-reverse;
  }

  .testimonial-preview-actions button,
  .testimonial-success-view button,
  #testimonialForm .testimonial-primary-button {
    width: 100%;
  }
}

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

  .testimonials-arrow,
  .testimonials-share-button,
  .testimonial-primary-button,
  .testimonial-secondary-button {
    transition: none;
  }
}
/* Evitar que el footer general afecte los testimonios */

.testimonial-preview-card footer,
.testimonial-card footer {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(34, 75, 82, 0.13) !important;
  background: transparent !important;
  color: #19373c !important;
  box-shadow: none !important;
  text-align: left !important;
}

.testimonial-preview-card footer strong,
.testimonial-card footer strong {
  display: block;
  margin: 0 !important;
  color: #19373c !important;
  font-size: 16px !important;
}

.testimonial-preview-card footer span,
.testimonial-card footer span {
  display: block;
  margin-top: 5px !important;
  color: #778784 !important;
  font-size: 13px !important;
  text-transform: none !important;
}
/* Centrar pocos testimonios y ocultar flechas innecesarias */

.testimonials-track.is-centered {
  justify-content: center;
}

.testimonials-arrow[hidden] {
  display: none !important;
}

/* ==================================================
   FLECHAS DEL CARRUSEL ¿QUIÉNES SOMOS?
================================================== */

.about-carousel {
  overflow: visible !important;
  margin-bottom: 78px !important;
}

.about-carousel .about-carousel-arrow {
  top: auto !important;
  bottom: -61px !important;
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(34, 75, 82, 0.25) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #224b52 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: none !important;
  backdrop-filter: none !important;
  box-shadow: 0 9px 22px rgba(25, 55, 60, 0.14) !important;
}

.about-carousel .about-carousel-prev {
  left: calc(50% - 53px) !important;
}

.about-carousel .about-carousel-next {
  right: calc(50% - 53px) !important;
}

/* Flechas creadas con CSS para que queden centradas */

.about-carousel .about-carousel-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.about-carousel .about-carousel-prev::before {
  transform: translate(-38%, -50%) rotate(135deg);
}

.about-carousel .about-carousel-next::before {
  transform: translate(-62%, -50%) rotate(-45deg);
}

.about-carousel .about-carousel-arrow:hover {
  border-color: #224b52 !important;
  background: #224b52 !important;
  color: #ffffff !important;
}

.about-carousel .about-carousel-arrow:active {
  transform: scale(0.96) !important;
}

/* Mantenerlas visibles en tablet y celular */

@media (max-width: 900px) {
  .about-carousel .about-carousel-arrow {
    display: grid !important;
  }
}

@media (max-width: 620px) {
  .about-carousel {
    margin-bottom: 74px !important;
  }

  .about-carousel .about-carousel-arrow {
    bottom: -58px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .about-carousel .about-carousel-prev {
    left: calc(50% - 51px) !important;
  }

  .about-carousel .about-carousel-next {
    right: calc(50% - 51px) !important;
  }
}
/* Tamaño definitivo de Fundadora en celular */
@media (max-width: 900px) {
  body #nosotros > .founder-card.founder-card-sky {
    position: relative !important;
    left: auto !important;
    width: 94vw !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 28px auto 0 !important;
    padding: 36px 24px 30px !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body #nosotros > .source-note {
    width: 94vw !important;
    margin: 16px auto 0 !important;
    text-align: right !important;
  }
}
/* ==================================================
   PRESENTACIÓN DE NUESTRA METODOLOGÍA
================================================== */

.methodology-presentation {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 58px;
}

.methodology-eyebrow {
  margin: 0 0 24px;
  color: #153f43;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.methodology-text-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(145deg, #173f3d 0%, #1e5048 55%, #163b3c 100%);
  box-shadow: 0 22px 55px rgba(22, 57, 58, 0.18);
}

.methodology-zone {
  position: relative;
  padding: 42px 34px 38px;
  color: #f6f2e9;
}

.methodology-zone + .methodology-zone {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.methodology-number {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.methodology-zone h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.08;
}

.methodology-zone p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.72;
  text-align: left;
}

.methodology-zone p:last-child {
  margin-bottom: 0;
}

.methodology-disclaimer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
}

/* Tabletas y celulares */
@media (max-width: 900px) {
  .methodology-text-card {
    grid-template-columns: 1fr;
  }

  .methodology-zone + .methodology-zone {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }
}

/* Celulares */
@media (max-width: 620px) {
  .methodology-presentation {
    width: calc(100% - 32px);
    margin-bottom: 42px;
  }

  .methodology-eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .methodology-text-card {
    border-radius: 24px;
  }

  .methodology-zone {
    padding: 32px 25px 30px;
  }

  .methodology-number {
    margin-bottom: 17px;
  }

  .methodology-zone h3 {
    margin-bottom: 18px;
    font-size: 29px;
  }

  .methodology-zone p {
    font-size: 16px;
    line-height: 1.68;
  }
}
/* Texto más grueso en Nuestra metodología */
.methodology-zone h3 {
  font-weight: 700 !important;
}

.methodology-zone p {
  font-weight: 600 !important;
}

.methodology-disclaimer {
  font-weight: 600 !important;
}
/* Imagen de fondo en Nuestra metodología */
.methodology-text-card {
  background-color: #173f3d !important;

  background-image:
    linear-gradient(rgba(19, 61, 58, 0.88), rgba(17, 54, 53, 0.92)),
    url("fondo.png") !important;

  background-position: center, center !important;

  background-size:
    cover,
    680px auto !important;

  background-repeat: no-repeat, no-repeat !important;
}

/* Ajuste de la imagen en celular */
@media (max-width: 900px) {
  .methodology-text-card {
    background-image:
      linear-gradient(rgba(19, 61, 58, 0.89), rgba(17, 54, 53, 0.93)),
      url("fondo.png") !important;

    background-position:
      center,
      center 70px !important;

    background-size:
      cover,
      88% auto !important;

    background-repeat: no-repeat, repeat-y !important;
  }
}

/* Fondo definitivo de Nuestra metodología */
.methodology-text-card {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    #173f3d 0%,
    #1e5048 55%,
    #163b3c 100%
  ) !important;
}

/* Mandala tenue sobre el color verde */
.methodology-text-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;

  background-image: url("imagenes/fond0.png");
  background-position: center;
  background-size: 680px auto;
  background-repeat: no-repeat;

  opacity: 0.1;
}

/* Mantiene el texto encima de la imagen */
.methodology-zone {
  position: relative;
  z-index: 1;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 105px;
  }
}

/* Espacio después de los tres cuadros de metodología */
.methodology-cards {
  padding-bottom: 75px !important;
}

@media (max-width: 620px) {
  .methodology-cards {
    padding-bottom: 50px !important;
  }
}

/* ==================================================
   EXPERIENCIA Y TRAYECTORIA PROFESIONAL
================================================== */

.professional-experience {
  padding: 80px 0 90px;
  background: #f8f7f4;
}

.experience-card {
  overflow: hidden;
  padding: 52px 50px 48px;
  border: 1px solid rgba(23, 63, 61, 0.14);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(23, 55, 57, 0.1);
}

.experience-heading {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.experience-heading .eyebrow {
  margin: 0 0 15px;
  color: #2b6666;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.experience-heading h2 {
  margin: 0;
  color: #123c41;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.05;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 63, 61, 0.14);
}

.experience-item {
  padding: 37px 32px 12px;
}

.experience-item + .experience-item {
  border-left: 1px solid rgba(23, 63, 61, 0.14);
}

.experience-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 25px;
  border: 1px solid rgba(23, 63, 61, 0.2);
  border-radius: 50%;
  color: #286365;
  font-size: 12px;
  font-weight: 800;
}

.experience-item h3 {
  margin: 0 0 18px;
  color: #143f43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.18;
}

.experience-item p {
  margin: 0;
  color: #4f696b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

/* Tabletas y celulares */
@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-item {
    padding: 32px 8px;
  }

  .experience-item + .experience-item {
    border-top: 1px solid rgba(23, 63, 61, 0.14);
    border-left: 0;
  }
}

/* Celulares */
@media (max-width: 620px) {
  .professional-experience {
    padding: 55px 0 65px;
  }

  .experience-card {
    padding: 38px 24px 30px;
    border-radius: 25px;
  }

  .experience-heading {
    margin-bottom: 32px;
  }

  .experience-heading h2 {
    font-size: 38px;
  }

  .experience-item {
    padding: 30px 0;
  }

  .experience-item h3 {
    font-size: 27px;
  }

  .experience-item p {
    font-size: 16px;
    line-height: 1.7;
  }
}
/* ==================================================
   FONDO DESTACADO PARA TESTIMONIOS
================================================== */

#testimonios {
  background:
    radial-gradient(circle at 8% 18%, rgba(40, 102, 91, 0.14), transparent 30%),
    linear-gradient(135deg, #dfe9e1 0%, #edf2e8 52%, #dce8e1 100%) !important;

  border-top: 1px solid rgba(31, 82, 76, 0.14);
  border-bottom: 1px solid rgba(31, 82, 76, 0.14);

  box-shadow:
    inset 0 22px 45px rgba(30, 72, 67, 0.035),
    inset 0 -22px 45px rgba(30, 72, 67, 0.035);
}

/* Fondo un poco más uniforme en celular */
@media (max-width: 620px) {
  #testimonios {
    background:
      radial-gradient(
        circle at 5% 12%,
        rgba(40, 102, 91, 0.13),
        transparent 25%
      ),
      linear-gradient(180deg, #dfe9e1 0%, #edf2e8 50%, #dbe7df 100%) !important;
  }
}
/* ==================================================
   CARRUSEL DE CURSOS Y DIPLOMADOS
================================================== */

.courses-gallery {
  padding: 40px 0 100px;
  overflow: hidden;
  background: #f8f7f4;
}

.courses-heading {
  margin-bottom: 42px;
  text-align: center;
}

.courses-heading .eyebrow {
  margin: 0 0 14px;
  color: #2b6666;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.courses-heading h2 {
  margin: 0;
  color: #123c41;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 500;
  line-height: 1;
}

.courses-carousel {
  width: min(650px, calc(100% - 130px));
  margin: 0 auto;
  outline: none;
}

.courses-stage {
  position: relative;
  width: 100%;
}

.courses-slide {
  display: none;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 29px;
  background: #e7ede8;
  object-fit: contain;
  box-shadow: 0 22px 48px rgba(20, 58, 61, 0.16);
}

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

.courses-counter {
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 17px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(23, 63, 67, 0.88);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(5px);
}

.courses-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #17484e;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(20, 57, 61, 0.2);
}

.courses-prev {
  left: -68px;
}

.courses-next {
  right: -68px;
}

.courses-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.courses-prev::before {
  transform: translate(-38%, -50%) rotate(135deg);
}

.courses-next::before {
  transform: translate(-62%, -50%) rotate(-45deg);
}

.courses-arrow:hover {
  background: #23636a;
}

.courses-arrow[hidden] {
  display: none !important;
}

.courses-dots {
  display: flex;
  min-height: 16px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.courses-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cad9d5;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.courses-dot.is-active {
  width: 23px;
  background: #17484e;
}

/* Celulares */
@media (max-width: 620px) {
  .courses-gallery {
    padding: 30px 0 70px;
  }

  .courses-heading {
    margin-bottom: 30px;
  }

  .courses-heading h2 {
    font-size: 42px;
  }

  .courses-carousel {
    width: calc(100% - 32px);
  }

  .courses-slide {
    border-radius: 23px;
  }

  .courses-prev {
    left: 11px;
  }

  .courses-next {
    right: 11px;
  }

  .courses-arrow {
    width: 44px;
    height: 44px;
    background: rgba(23, 72, 78, 0.9);
  }

  .courses-counter {
    top: 13px;
    right: 13px;
  }
}
/* ==================================================
   PROTECCIÓN DE IMÁGENES DE LAS GALERÍAS
================================================== */

#galeria img,
.courses-gallery img,
.founder-photo img,
.about-carousel img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

#galeria,
.courses-gallery,
.founder-photo,
.about-carousel {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
/* Flechas inactivas del carrusel de cursos */
.courses-arrow:disabled {
  background: #b8c7c7 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
  opacity: 0.9;
}

.courses-arrow:disabled:hover {
  background: #b8c7c7 !important;
}
/* ==================================================
   MOVIMIENTO FLUIDO DEL CARRUSEL DE CURSOS
================================================== */

.courses-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  border-radius: 29px;
}

.courses-track::-webkit-scrollbar {
  display: none;
}

.courses-track .courses-slide {
  display: block !important;
  flex: 0 0 100%;
  width: 100% !important;
  height: auto;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  object-fit: contain !important;
  object-position: center;
  box-shadow: none;
}

/* Flechas del nuevo carrusel en celular */
@media (max-width: 620px) {
  .courses-carousel {
    width: calc(100% - 96px) !important;
  }

  .courses-track {
    border-radius: 22px;
  }

  .courses-track .courses-slide {
    border-radius: 22px;
    object-fit: contain !important;
  }

  .courses-arrow {
    width: 36px !important;
    height: 36px !important;
  }

  .courses-prev {
    left: -46px !important;
  }

  .courses-next {
    right: -46px !important;
  }

  .courses-arrow::before {
    width: 7px;
    height: 7px;
  }
}

/* ==================================================
   RECUADRO EXTERIOR DE TESTIMONIOS
================================================== */

#testimonios {
  width: calc(100% - 56px);
  max-width: 1500px;
  margin: 38px auto !important;
  box-sizing: border-box;

  border: 2px solid rgba(31, 82, 76, 0.32) !important;
  border-radius: 36px;
  overflow: hidden;

  box-shadow:
    0 20px 48px rgba(24, 67, 63, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

/* Recuadro en celular */
@media (max-width: 620px) {
  #testimonios {
    width: calc(100% - 24px);
    margin: 26px auto !important;
    border-width: 1.5px !important;
    border-radius: 28px;
    box-shadow:
      0 14px 34px rgba(24, 67, 63, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  }
}
/* Eliminar comillas decorativas de Testimonios */
#testimonios::before {
  content: none !important;
  display: none !important;
}
.methodology-cards .approach-card {
  background-color: #f1e5cf !important;
}

/* Menú desplegable con desplazamiento propio */
@media (max-width: 1180px) {
  .mobile-menu nav {
    position: absolute;
    top: 52px;
    right: 0;
    bottom: auto;

    width: min(340px, calc(100vw - 24px));
    max-height: var(--mobile-menu-height, calc(100dvh - 120px));

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;

    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1000;
  }
}

/* Bloquear la página de fondo solamente en celular */
@media (max-width: 901px) {
  html.mobile-menu-open,
  body.mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
}
