/* =============================================
   + Paz | + Mente — Estilos principales
   ============================================= */

:root {
  --forest: #1A2E24;
  --forest-mid: #243D30;
  --sage: #4A7C59;
  --sage-light: #7AAD8A;
  --sand: #E8DFD0;
  --sand-light: #F5F0E8;
  --cream: #FAF7F2;
  --stone: #8A8880;
  --terr: #A0624A;
  --terr-light: #C9876B;
  --white: #FDFCF9;
  --mono: 'JetBrains Mono', monospace;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;

  --como-bg: #213c35;
  --como-card-bg: #37554e;
  --como-border: #809277;
  --como-text-light: #ced0c6;
  --como-accent: #bca281;
  --como-highlight: #a8ab8c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
}
body {
  font-family: var(--sans);
  background: var(--forest);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
button {
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  background: none;
}
::selection {
  background: rgba(74, 124, 89, 0.4);
  color: var(--white);
}

/* ── SCROLL PROGRESS ────────────────────── */
#scroll-prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--sage), var(--terr));
  width: 0%;
  transform-origin: left;
  transition: none;
}

/* ── SPLASH ───────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#splash-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(74, 124, 89, 0.15) 0%, transparent 70%);
}
#splash-logo {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0;
}
#splash-logo .plus {
  color: var(--terr);
}
#splash-tagline {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-top: 1.5rem;
  opacity: 0;
}
#splash-line {
  position: relative;
  z-index: 1;
  width: 1px;
  background: var(--sage);
  height: 0;
  margin-top: 2.5rem;
}
#splash-counter {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
}

/* ── NAV ──────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s, backdrop-filter 0.5s, box-shadow 0.5s, border-bottom 0.5s;
  background: rgba(26, 46, 36, 0.32);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#nav.scrolled {
  background: rgba(26, 46, 36, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(74, 124, 89, 0.25);
  box-shadow: 0 1px 0 0 rgba(122, 173, 138, 0.15), 0 8px 32px rgba(0, 0, 0, 0.18);
}
#nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage-light), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}
#nav.scrolled::after {
  opacity: 1;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}
.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.nav-links a:hover {
  color: var(--cream);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--sage);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--sage);
  color: var(--white);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transition: all 0.35s ease;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: rgba(36, 61, 48, 0.75);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  z-index: 490;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
}
.nav-mobile.open {
  transform: translateX(0);
}
.nav-mobile a {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateX(20px);
  transition: color 0.2s;
}
.nav-mobile.open a {
  opacity: 1;
  transform: translateX(0);
}
.nav-mobile a:hover {
  color: var(--sage-light);
}
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 480;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  backdrop-filter: blur(3px);
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 861px) and (max-width: 1100px) {
  #nav {
    padding: 0 1.5rem;
  }
  .nav-links {
    gap: 1.4rem;
  }
  .nav-links a {
    font-size: 11.5px;
  }
  .nav-cta {
    padding: 9px 18px;
  }
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-cta.desktop {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}
@media (min-width: 641px) and (max-width: 860px) {
  .nav-mobile {
    max-width: 420px;
    padding: 3rem 3rem;
  }
  .nav-mobile a {
    font-size: 1.9rem;
  }
}

/* ── THREE.JS CANVAS ────────────────────── */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* ── HERO ────────────────────────────────── */
#hero {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0 clamp(2rem, 7vw, 7rem) 4rem;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('bghero.png') center/55% auto no-repeat;
  opacity: 0.12;
}
@media (min-width: 761px) {
  .hero-bg-image {
    left: auto;
    width: min(50%, 680px);
    background: url('bghero.png') center right/contain no-repeat;
    opacity: 0.26;
    -webkit-mask-image: linear-gradient(to left, black 40%, transparent 92%);
    mask-image: linear-gradient(to left, black 40%, transparent 92%);
  }
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 60vw;
  height: 60vw;
  background: rgba(74, 124, 89, 0.12);
  top: -10%;
  left: -15%;
}
.orb-2 {
  width: 50vw;
  height: 50vw;
  background: rgba(160, 98, 74, 0.08);
  top: 20%;
  right: -10%;
}
.orb-3 {
  width: 40vw;
  height: 40vw;
  background: rgba(74, 124, 89, 0.08);
  bottom: 5%;
  left: 30%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -2rem;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-22px);
}
.hero-eyebrow::before {
  content: '//';
  opacity: 0.5;
}
h1.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(-34px);
}
h1.hero-headline em {
  font-style: italic;
  color: var(--sand);
}
h1.hero-headline .accent {
  color: var(--sage-light);
}
.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(-22px);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-actions .btn-primary,
.hero-actions .btn-outline {
  opacity: 0;
  transform: scale(1.4);
}
.btn-primary {
  padding: 15px 34px;
  background: var(--sage);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--sage-light);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(74, 124, 89, 0.35);
}
.btn-outline {
  padding: 15px 34px;
  border: 1px solid rgba(250, 247, 242, 0.25);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--cream);
  color: var(--cream);
  transform: translateY(-2px);
}
.hero-stats {
  position: absolute;
  right: clamp(2.5rem, 6vw, 5.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
}
.stat-item {
  text-align: right;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--sage-light);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% {
    top: -100%;
  }
  60%,
  100% {
    top: 120%;
  }
}
@media (max-width: 760px) {
  .hero-stats {
    display: none;
  }
  .hero-content {
    margin-top: 0;
  }
}

/* ── SECTION GENERIC ──────────────────────── */
.section {
  position: relative;
  z-index: 10;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '//';
  opacity: 0.5;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: italic;
  color: var(--sand);
}
.section-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.78;
  max-width: 580px;
}

/* ── REVEAL ANIMATIONS ───────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal="up"] {
  transform: translateY(48px);
}
[data-reveal="left"] {
  transform: translateX(-48px);
}
[data-reveal="right"] {
  transform: translateX(48px);
}
[data-reveal="scale"] {
  transform: scale(0.88);
}
[data-reveal].visible {
  opacity: 1;
  transform: translate(0) scale(1);
}
[data-reveal="fade"] {
  transform: none;
}
[data-reveal="fade"].visible {
  opacity: 1;
}

/* ── CÓMO TRABAJO (nuevo diseño 2 columnas) ─ */
#como {
  background: var(--como-bg);
}
.como-texto p {
  color: var(--como-text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}
.como-cards-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 480px;
}
.como-card-minimal {
  position: relative;
  background: rgba(55, 85, 78, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid var(--como-border);
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  overflow: hidden;
  isolation: isolate;
}
.como-card-minimal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(122, 173, 138, 0.28) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: -1;
}
.como-card-minimal:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(55, 85, 78, 0.85);
  border-color: var(--como-highlight);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(122, 173, 138, 0.25) inset;
}
.como-card-minimal:hover::before {
  opacity: 1;
}
.como-card-icon-minimal {
  width: 44px;
  height: 44px;
  color: var(--como-highlight);
  margin-bottom: 0.5rem;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.como-card-minimal:hover .como-card-icon-minimal {
  transform: scale(1.12) rotate(-4deg);
}
.como-card-icon-minimal svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.como-card-minimal h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.como-card-minimal p {
  font-size: 0.9rem;
  color: var(--como-text-light);
  line-height: 1.6;
  margin: 0;
}

.como-grid-2col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .como-grid-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .como-cards-grid-2x2 {
    grid-template-columns: 1fr 1fr;
    max-width: 480px;
  }
}

/* ── FILOSOFÍA ───────────────────────────── */
#filosofia {
  position: relative; /* Necesario para posicionar el pseudo-elemento */
  background: var(--forest-mid); /* Color de respaldo */
  padding: 20px 0; /* Ajusta el padding según necesites */
  overflow: hidden; /* Para que el pseudo no se desborde */
  z-index: 1; /* Asegura que el contenido esté por encima */
}

/* Pseudo-elemento para la imagen de fondo con opacidad */
#filosofia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('21954818.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Si quieres efecto parallax, mantenlo */
  opacity: 0.05; /* Solo la imagen tendrá opacidad */
  z-index: -1; /* Coloca la imagen detrás del contenido */
}

.filosofia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 2rem;
  position: relative; /* Asegura que los cards estén por encima del pseudo */
  z-index: 2;
  justify-items: center;
}

.filosofia-card {
  background: rgba(26, 46, 36, 0.7);
  border-radius: 20px;
  padding: 1.75rem 1.75rem;
  border: 0.5px solid rgba(74, 124, 89, 0.2);
  backdrop-filter: blur(4px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  width: 100%;
  max-width: 440px;
}
@media (min-width: 701px) {
  .filosofia-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-items: stretch;
  }
  .filosofia-card {
    max-width: none;
    padding: 2rem 2rem;
  }
}

/* Efecto de zoom específico para las tarjetas +Mente y +Paz */
.filosofia-card.mente:hover,
.filosofia-card.paz:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
  z-index: 3;
}
.filosofia-card.mente {
  border-color: var(--sage-light);
}
.filosofia-card.mente h3 {
  color: var(--sage-light);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.filosofia-card.paz {
  border-color: var(--terr-light);
}
.filosofia-card.paz h3 {
  color: var(--terr-light);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.filosofia-card p {
  color: var(--cream);
  line-height: 1.7;
}
.filosofia-blurb {
  margin-top: 2.5rem;
  background: rgba(26, 46, 36, 0.6);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(74, 124, 89, 0.15);
  text-align: left;
  position: relative;
  z-index: 2;
}
.filosofia-blurb p {
  color: var(--como-text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}
.filosofia-blurb p+p {
  margin-top: 1.2rem;
}
@media (max-width: 700px) {
  .filosofia-blurb {
    padding: 1.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── PARALLAX IMAGE ──────────────────────── */
#metodologia {
  padding: 80px 0;
  background: var(--forest-mid);
  overflow: hidden;
  position: relative;
}
.met-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.met-text {
  width: 100%;
}
.met-image {
  position: relative;
  width: 100%;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
}
.parallax-img-wrap {
  position: absolute;
  inset: 0;
  background: url('MariaAlbarran.jpg?w=1600&q=80') center top/cover no-repeat;
  transform: scale(1.12);
  transform-origin: 50% 0%;
  will-change: transform;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 46, 36, 0.22) 0%, rgba(26, 46, 36, 0.05) 45%, rgba(26, 46, 36, 0.3) 100%);
}
@media (min-width: 861px) {
  .met-split {
    flex-direction: row;
    align-items: stretch;
    gap: 3.5rem;
  }
  .met-text {
    flex: 0 0 44%;
    display: flex;
    align-items: center;
  }
  .met-image {
    flex: 1;
    min-height: 460px;
  }
}
.met-card {
  background: rgba(26, 46, 36, 0.4);
  border: 1px solid rgba(74, 124, 89, 0.25);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  width: 100%;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
.met-card:hover {
  background: rgba(26, 46, 36, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}
.met-card .section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.tcc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 124, 89, 0.2);
  border: 1px solid rgba(74, 124, 89, 0.4);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--sage-light);
  margin-bottom: 1rem;
}

/* ── SERVICIOS ────────────────────────────── */
#servicios {
  padding: 120px 0;
  background: var(--forest-mid);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  perspective: 1400px;
}
@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}
.svc-card {
  background: rgba(36, 61, 48, 0.65);
  border: 1px solid rgba(74, 124, 89, 0.28);
  border-radius: 22px;
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow 0.4s ease, border-color 0.4s ease;
  background-blend-mode: overlay;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
  transform-style: preserve-3d;
  will-change: transform;
}
.svc-card.svc-resetting {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(122, 173, 138, 0.32) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.svc-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light), var(--terr-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.svc-card:hover {
  border-color: rgba(122, 173, 138, 0.5);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(122, 173, 138, 0.15) inset;
}
.svc-card:hover::before {
  opacity: 1;
}
.svc-card:hover::after {
  transform: scaleX(1);
}
.svc-icon-minimal {
  width: 56px;
  height: 56px;
  color: var(--sage-light);
  margin-bottom: 1.1rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
  transform: translateZ(25px);
}
.svc-card:hover .svc-icon-minimal {
  transform: translateZ(60px) scale(1.2) rotate(-8deg);
  color: var(--terr-light);
}
.svc-icon-minimal svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
}
.svc-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  transition: transform 0.5s ease, color 0.4s ease;
  transform: translateZ(15px);
}
.svc-card:hover .svc-num {
  transform: translateZ(35px);
  color: var(--sage-light);
}
.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
  transform: translateZ(20px);
}
.svc-card:hover h3 {
  transform: translateZ(45px);
}
.svc-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.72;
  transition: transform 0.5s ease;
  transform: translateZ(10px);
}
.svc-card:hover p {
  transform: translateZ(25px);
}
/* Card de exploración con efecto zoom */
.exploracion-card {
  transition: all 0.4s ease;
  cursor: pointer;
}
.exploracion-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(74, 124, 89, 0.2);
}
.exploracion-card p {
  transition: transform 0.3s ease;
}
.exploracion-card:hover p {
  transform: scale(1.02);
}

/* ── PARALLAX 2 ───────────────────────────── */
#inmersion {
  padding: 0;
  height: 85svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.parallax-img2 {
  position: absolute;
  inset: -20%;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
  will-change: transform;
}
.parallax-ov2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 46, 36, 0.6) 0%, rgba(26, 46, 36, 0.3) 50%, rgba(26, 46, 36, 0.85) 100%);
}
.inmersion-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  text-align: center;
}
.big-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto;
}
.big-quote em {
  font-style: italic;
  color: var(--sand);
}

/* ── MULTIMEDIA ───────────────────────────── */
#multimedia {
  padding: 120px 0;
  background: var(--forest);
}
.mm-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 56px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .mm-grid {
    grid-template-columns: 1fr;
  }
}
.mm-card {
  background: rgba(36, 61, 48, 0.5);
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.35s;
  margin-bottom: 14px;
  min-height: 100px;
  flex: 1;
}
.mm-card:hover {
  border-color: rgba(74, 124, 89, 0.4);
  background: rgba(36, 61, 48, 0.8);
}
.mm-card-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(74, 124, 89, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.mm-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}
.mm-visual {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--forest-mid);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.mm-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(26, 46, 36, 0.5);
}
.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(250, 247, 242, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s;
}
.play-btn:hover {
  background: var(--sage);
  border-color: var(--sage);
  transform: scale(1.1);
}
.play-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  margin-left: 3px;
}
.mm-visual-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ── TESTIMONIOS ──────────────────────────── */
#testimonios {
  padding: 120px 0;
  background: var(--forest-mid);
  overflow: hidden;
}
.test-track-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}
.test-track {
  display: flex;
  gap: 20px;
  animation: scrollTestimonials 30s linear infinite;
  width: max-content;
}
.test-track:hover {
  animation-play-state: paused;
}
.test-card {
  min-width: 320px;
  max-width: 360px;
  flex-shrink: 0;
  background: rgba(26, 46, 36, 0.5);
  border: 1px solid rgba(74, 124, 89, 0.12);
  border-radius: 22px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s;
  cursor: pointer;
}
.test-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  color: rgba(74, 124, 89, 0.12);
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}
.test-card:hover {
  border-color: rgba(74, 124, 89, 0.35);
  transform: translateY(-5px);
}
.test-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}
.star {
  color: var(--terr);
  font-size: 13px;
}
.test-quote {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.test-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--forest-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.test-author-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  display: block;
}
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── CTA ──────────────────────────────────── */
#cta {
  height: 90svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-img3 {
  position: absolute;
  inset: -20%;
  background: url('https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=1600&q=80') center/cover no-repeat;
  will-change: transform;
}
.parallax-ov3 {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 46, 36, 0.9) 0%, rgba(26, 46, 36, 0.6) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 2rem;
}
.cta-content .section-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}
.cta-content .section-desc {
  margin: 0 auto 2.5rem;
  text-align: center;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.wa-btn {
  padding: 16px 36px;
  background: #25D366;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wa-btn:hover {
  background: #1db954;
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(37, 211, 102, 0.35);
}
.wa-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── CONTACTO ─────────────────────────────── */
#contacto {
  padding: 100px 0 80px;
  background: var(--forest);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start;
}
.contact-extra {
  margin-top: 1.5rem;
}
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .contact-info-col {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.75rem 2.5rem;
  }
  .contact-info-item {
    flex: 1 1 220px;
    margin-bottom: 0;
  }
  .contact-extra {
    flex: 1 1 220px;
    margin-top: 0;
  }
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(74, 124, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3px;
}
.contact-val {
  font-size: 15px;
  color: var(--cream);
  font-weight: 500;
}
.contact-form {
  background: rgba(36, 61, 48, 0.4);
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-radius: 22px;
  padding: 2.5rem;
  align-self: start;
  margin-top: -0.9rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}
@media (max-width: 1024px) {
  .contact-form {
    margin-top: 1rem;
  }
}
.contact-form:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}
.form-field {
  margin-bottom: 1.25rem;
}
.form-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: block;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(26, 46, 36, 0.6);
  border: 1px solid rgba(74, 124, 89, 0.2);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.25s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--sage);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.form-textarea {
  resize: vertical;
  min-height: 110px;
}
.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.payment-badge {
  padding: 7px 14px;
  border: 1px solid rgba(74, 124, 89, 0.2);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ── FOOTER ───────────────────────────────── */
footer {
  background: var(--forest);
  border-top: 1px solid rgba(74, 124, 89, 0.15);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--cream);
}
.footer-logo .plus {
  color: var(--terr);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
}

/* ── WA FLOAT ────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wa-float:hover {
  transform: scale(1.12);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-card {
    padding: 2rem 1.5rem;
  }
  .como-grid-2col {
    grid-template-columns: 1fr;
  }
  .como-cards-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-primary,
  .btn-outline {
    text-align: center;
    justify-content: center;
  }
  .met-card {
    padding: 1.5rem;
  }
  #hero {
    padding: 0 1.25rem 4rem;
  }
  .section-inner {
    padding: 0 1.25rem;
  }
  h1.hero-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .filosofia-blurb {
    padding: 1.25rem;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .test-track {
    animation: none !important;
  }
}