/* =========================================
   LANDING INDEX.PHP
   ========================================= */

/* Wrappers de anchura */
.wrap_large {
  width: 95%;
  margin: 0 auto;
}

.wrap_medium {
  width: 85%;
  margin: 0 auto;
}

.wrap_small {
  width: 75%;
  margin: 0 auto;
}

/* Títulos y helpers */
.section_title {
  font-size: 2.4rem;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 550;
}

.section_subtitle {
  font-size: 0.98rem;
  color: var(--color-text-soft);
}

.center {
  text-align: center;
}

/* ========= 1. HERO ========= */

.hero {
  width: 100%;
  margin-left: auto;
  padding-bottom: 4rem;
}

.hero_container {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  align-items: center;
  width: 100%;
  gap: 4rem;
}

.hero_text {
  margin-left: 6%;
  /* alinea cómodo sin desplazar demasiado */
  max-width: 650px;
}

.hero_text h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  font-weight: 550;
}

.hero_kicker {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .5px;
  color: var(--color-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero_subtitle {
  font-size: -1rem;
  color: var(--color-text-soft);
  max-width: 500px;
  margin-bottom: 1.6rem;
}

.hero_cta_group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}


.hero_image_wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero_image {
  width: 100%;
  height: 75vh;
  /* 👉 mucho más grande y dominante */
  max-height: 650px;
  /* puedes aumentar si quieres */
  border-radius: 40px 0 0 40px;
  overflow: hidden;
}

.hero_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========= 2. PROCESO ========= */
/* =====================================
   PASOS (REDISEÑO v2) — glass + fondo claro
   Paleta: #f7e7cb #bfaf9d #789666
   ===================================== */

.pasos {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #f7e7cb 0%, #bfaf9d 48%, #789666 100%);
}

/* contenedor */
.pasos_stage {
  position: relative;
  z-index: 1;
  padding: 1.2rem 0;
}

/* ===============================
   Imagen editorial del header
   =============================== */

/* ===============================
   Header media (2 lados) — flotante
   =============================== */

.pasos_header {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 0 0;
}

.pasos_header .section_title {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  color: var(--color-brown);
}

.pasos_header .hero_kicker {
  color: var(--color-brown);
  font-size: 1rem;
  padding-bottom: 0;
}

/* contenedor base */
.pasos_header_media {
  position: absolute;
  top: -10px;
  width: 300px;
  height: 390px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(58, 47, 38, 0.12);
  opacity: 0.88;
  pointer-events: none;
  z-index: 0;
  /* importante: detrás del texto */
}

.pasos_header_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.02) brightness(0.96);
}

/* izquierda / derecha */
.pasos_media_left {
  left: -260px;
  transform: rotate(-1.6deg);
  animation: headerFloatL 9.4s ease-in-out infinite;
}

.pasos_media_right {
  right: -260px;
  transform: rotate(1.4deg);
  animation: headerFloatR 10.2s ease-in-out infinite;
}

/* animaciones distintas para que no se muevan igual */
@keyframes headerFloatL {
  0% {
    transform: translateY(0) rotate(-1.6deg);
  }

  50% {
    transform: translateY(-14px) rotate(-2.2deg);
  }

  100% {
    transform: translateY(0) rotate(-1.6deg);
  }
}

@keyframes headerFloatR {
  0% {
    transform: translateY(0) rotate(1.4deg);
  }

  50% {
    transform: translateY(-12px) rotate(2.0deg);
  }

  100% {
    transform: translateY(0) rotate(1.4deg);
  }
}

/* texto siempre arriba */
.pasos_header .hero_kicker,
.pasos_header .section_title,
.pasos_header .section_subtitle {
  position: relative;
  z-index: 2;
}

/* evita que en pantallas medianas se salga o tape */
@media (max-width: 1200px) {
  .pasos_header_media {
    width: 260px;
    height: 340px;
  }

  .pasos_media_left {
    left: -300px;
  }

  .pasos_media_right {
    right: -300px;
  }
}

/* Responsive: en móvil la ocultamos */
@media (max-width: 1024px) {
  .pasos_header_media {
    display: none;
  }
}




/* movimiento constante suave */
@keyframes floatSoft {
  0% {
    transform: translate3d(0, 0, 0) rotate(0.2deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(-0.4deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0.2deg);
  }
}

@keyframes floatSoft2 {
  0% {
    transform: translate3d(0, 0, 0) rotate(-0.2deg);
  }

  50% {
    transform: translate3d(0, 10px, 0) rotate(0.4deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(-0.2deg);
  }
}


/* ---------- Grid cards ---------- */
.pasos_cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

/* ---------- Glass cards uniformes ---------- */
.paso_card {
  border-radius: 26px;
  padding: 1.35rem 1.35rem 1.25rem;
  background: rgba(248, 248, 248, 0.609);
  /* glass real */
  border: 1px solid rgba(58, 47, 38, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 400ms ease,
    box-shadow 400ms ease,
    background 400ms ease;
  position: relative;
  overflow: hidden;
}

/* brillo suave interior (sin oscurecer) */
.paso_card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 180px at 20% 10%, rgba(120, 150, 102, 0.18), rgba(120, 150, 102, 0) 60%),
    radial-gradient(420px 220px at 90% 110%, rgba(191, 175, 157, 0.22), rgba(191, 175, 157, 0) 55%);
  pointer-events: none;
  opacity: 0.9;
}

.paso_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.46);
}

.paso_card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 160px at 20% 10%,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.paso_card:hover::after {
  opacity: 1;
}


.paso_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  position: relative;
  z-index: 2;
  margin-bottom: 0.8rem;
}

.paso_num {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: 0.6px;
  color: var(--color-brown);
  background: rgba(255, 255, 255, 0.50);
  border: 1px solid rgba(58, 47, 38, 0.12);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.paso_icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 150, 102, 0.22);
  border: 1px solid rgba(58, 47, 38, 0.10);
  color: rgba(58, 47, 38, 0.92);
}

.paso_card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.2px;
  color: var(--color-green);
  margin-bottom: 0.45rem;
}

.paso_card p {
  position: relative;
  z-index: 2;
  color: rgba(58, 47, 38, 0.80);
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 52ch;
}

.paso_hint {
  position: relative;
  z-index: 2;
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(58, 47, 38, 0.10);
  border: 1px solid rgba(58, 47, 38, 0.12);
  color: rgba(58, 47, 38, 0.86);
  font-size: 0.82rem;
}

/* ---------- Entrada suave ---------- */
.paso_card[data-reveal] {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.985);
  transition: opacity 720ms ease, filter 720ms ease, transform 720ms ease;
}

.paso_card.is-reveal {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* animación constante MUY sutil (dentro de armonía) */
@keyframes cardBreath {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -5px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.paso_card.is-reveal {
  animation: cardBreath 8.2s ease-in-out infinite;
}

.paso_card:nth-child(2).is-reveal {
  animation-delay: .6s;
}

.paso_card:nth-child(3).is-reveal {
  animation-delay: 1.2s;
}

.paso_card:nth-child(4).is-reveal {
  animation-delay: 1.8s;
}

/* pausa en hover */
.paso_card:hover {
  animation-play-state: paused;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pasos_cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .float_media {
    display: none;
  }

  .pasos {
    padding: 5rem 0;
  }
}

/* ========= 3. SERVICIOS ========= */

.servicios {
  padding: 6rem 0;
}

/* Contenedor general */
.servicios_container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* Panel verde grande (como en la imagen de referencia) */
.servicios_panel {
  background-color: var(--color-green);
  color: #fdf8f1;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);

  /* dejamos un espacio a la izquierda para que “entre” la imagen */
  padding: 2.8rem 2.6rem 2.8rem 320px;
}

/* Tipografía dentro del panel */
.servicios_panel h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.servicios_panel p {
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
  width: 90%;
}

.servicios_panel .hero_kicker {
  color: var(--color-white);
}

.servicios_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0 0.6rem;
  padding-left: 0;
  gap: 2rem;
}

.servicios_quote {
  margin-top: 1.1rem;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.9;
}

.servicios_intro {
  font-size: 1rem;
  line-height: 1.6;
  margin: 1.2rem 0 1.6rem;
  color: rgba(242, 242, 242, 0.75);
}

.servicios_points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.servicios_points li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.servicios_points strong {
  font-weight: 600;
  font-size: 1.2rem;
  color: #f5fff5;
  /* ajusta a tu paleta */
}

.servicios_points span {
  font-size: 0.95rem;
  color: rgba(234, 234, 234, 0.7);
}

.servicios_points i {
  color: #d4f0d4;
  /* ajusta a tu paleta */
  margin-right: 0.55rem;
}

/* Imagen superpuesta a la izquierda del panel */
.servicios_media {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-18%, -50%);
  /* hace que la imagen “salga” un poco del panel */
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios_image {
  width: 350px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.servicios_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================
   TEMAS — Diseño limpio y moderno
   ===================================== */

.temas_emocionales {
  padding: 6rem 0;
  background: #faf5ed;
  position: relative;
  overflow: hidden;
}

/* detalle sutil de fondo */
.temas_emocionales::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(120, 150, 102, 0.18), rgba(120, 150, 102, 0) 60%);
  pointer-events: none;
}

.temas_header {
  max-width: 760px;
  margin: 0 auto 2.6rem;
}

.temas_header .section_title {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.temas_header .section_subtitle {
  max-width: 640px;
  margin: 0.7rem 0 0;
  text-align: center;
  margin: 0 auto;
}

/* GRID */
.temas_grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

/* tamaño “masonry” */
.tema_grande {
  grid-column: span 6;
  min-height: 300px;
}

.tema_vertical {
  grid-column: span 3;
  min-height: 420px;
}

.temas_grid .tema_box:not(.tema_grande):not(.tema_vertical):not(.tema_cta) {
  grid-column: span 3;
  min-height: 300px;
}


/* CARD */
.tema_box {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  isolation: isolate;
}

/* imagen */
.tema_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(1.03);
  transform: scale(1.03);
  transition: transform 900ms ease, filter 500ms ease;
}

/* overlay premium */
.tema_box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.70) 100%),
    radial-gradient(650px 280px at 20% 20%, rgba(120, 150, 102, 0.22), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* contenido */
.tema_content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  color: #fff;
}

.tema_icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(7px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  margin-bottom: 0.1rem;
}

.tema_icon i {
  font-size: 1.05rem;
  color: #fff;
}

.tema_box h3 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.2px;
}

.tema_box p {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.94;
  max-width: 90%;
}

.tema_tag {
  align-self: flex-start;
  font-size: 0.78rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

/* hover elegante */
.tema_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.16);
}

.tema_box:hover .tema_bg {
  transform: scale(1.10);
  filter: brightness(0.58) saturate(1.08);
}

/* CTA especial */
.tema_cta::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(650px 280px at 25% 25%, rgba(211, 193, 161, 0.30), transparent 62%);
}

.tema_cta .tema_cta_btn {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(12, 100, 80, 0.22);
}

/* ===============================
   CTA "No lo tienes claro" (doble + sólido)
   =============================== */

/* Que abarque como el grande */
.tema_cta_grande {
  grid-column: span 6;
  min-height: 300px;
}

/* Reset: si dejas el <img>, lo escondemos en CTA */
.tema_cta .tema_bg {
  display: none;
}

/* Contenedor interno sólido */
.tema_cta_solid {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.2rem;
  border-radius: 28px;
  align-items: center;
  /* Fondo sólido (sin imagen) */
  background: var(--color-brown);
  /* verde profundo */
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Textos */
.tema_cta_solid h3 {
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.3px;
  margin-top: 0.55rem;
  color: #fff;
}

.tema_cta_solid p {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.92;
  color: #fff;
  max-width: 520px;
}

/* Icono más protagonista */
.tema_cta_solid .tema_icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.tema_cta_solid .tema_icon i {
  font-size: 1.15rem;
}

/* Fila inferior: tag + botón */
.tema_cta_row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tema_cta_solid .tema_tag {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

/* Botón CTA (sin usar primary) */
.tema_cta_solid .tema_cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
  background: var(--color-green);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 30px rgba(12, 100, 80, 0.28);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.tema_cta_solid .tema_cta_btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(12, 100, 80, 0.34);
}

/* Zona derecha decorativa */
.tema_cta_right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RINGS / GLOW creativos */
.tema_cta_ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  filter: blur(0.2px);
  opacity: 0.9;
}

.tema_cta_ring2 {
  width: 150px;
  height: 150px;
  opacity: 0.7;
}

/* Un brillo suave en esquina */
.tema_cta_solid::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(138, 175, 117, 0.6), rgba(120, 150, 102, 0) 60%);
  pointer-events: none;
}

/* Ajustes hover del card (manteniendo tu estilo) */
.tema_cta.tema_box:hover {
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .tema_cta_grande {
    grid-column: span 12;
  }

  .tema_cta_solid {
    grid-template-columns: 1fr;
  }

  .tema_cta_right {
    display: none;
  }
}


/* ============ Animación (sin translateY fuerte) ============ */
.tema_box.is-reveal {
  animation: temaFade 650ms ease both;
}

@keyframes temaFade {
  from {
    opacity: 0;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .tema_grande {
    grid-column: span 12;
    min-height: 300px;
  }

  .tema_vertical {
    grid-column: span 6;
    min-height: 340px;
  }

  .temas_grid .tema_box:not(.tema_grande):not(.tema_vertical) {
    grid-column: span 6;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .temas_grid {
    gap: 1rem;
  }

  .tema_grande,
  .tema_vertical,
  .temas_grid .tema_box:not(.tema_grande):not(.tema_vertical) {
    grid-column: span 12;
    min-height: 280px;
  }

  .tema_box p {
    max-width: 100%;
  }
}

/* =====================================
   ANIMACIÓN CONSTANTE – TEMAS (FLOAT)
   ===================================== */

/* animación base */
@keyframes temaFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* activamos la animación */
.tema_box {
  animation: temaFloat 6.5s ease-in-out infinite;
  will-change: transform;
}

/* desfases para que no se muevan en bloque */
.tema_box:nth-child(1) {
  animation-delay: 0s;
}

.tema_box:nth-child(2) {
  animation-delay: 0.8s;
}

.tema_box:nth-child(3) {
  animation-delay: 1.6s;
}

.tema_box:nth-child(4) {
  animation-delay: 0.4s;
}

.tema_box:nth-child(5) {
  animation-delay: 1.2s;
}

.tema_box:nth-child(6) {
  animation-delay: 2s;
}

/* pausa elegante al hover */
.tema_box:hover {
  animation-play-state: paused;
}


/* ========= 5. ÚLTIMOS ARTÍCULOS ========= */

.ultimos_articulos {
  padding: 3.5rem 0;
  background-color: var(--color-green);
  color: #fdf8f1;
}

.ultimos_articulos_container p {
  text-align: center;
  line-height: 1.7;
  width: 80%;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ========= 6. TESTIMONIOS ========= */

.testimonios {
  padding: 8rem 0;
}

.testimonios_container {
  width: 85%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  /* 👉 más espacio para el cuadro */
  gap: 3rem;

}

.testimonios_left h2 {
  font-size: 3rem;
  margin-bottom: 0.6rem;
  margin-top: 1rem;
}

.testimonios_left p {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  padding-bottom: 1rem;
}



.testimonios_right {
  position: relative;
}

/* SLIDER + TARJETAS */

.testimonios_slider {
  position: relative;
  min-height: 210px;
  /* mantiene la altura al cambiar de testimonio */
}

.testimonio_card {
  background-color: #fdf8f1;
  border-radius: 28px;
  padding: 3rem 3.8rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.testimonio_card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

/* Layout horizontal: avatar + texto al lado */
.testimonio_card_container {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.testimonio_avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ddd;
  flex-shrink: 0;
}

.testimonio_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonio_copy {
  text-align: left;
}

.testimonio_text {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.testimonio_meta {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  text-align: center;
}

/* FLECHAS EN LA MITAD DEL BORDE DEL CUADRO */

.testimonios_controls {
  position: absolute;
  top: 50%;
  /* mitad vertical del cuadro */
  left: 0;
  width: 100%;
  transform: translateY(-100%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  /* solo los botones son clicables */
}

.testimonios_btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  color: var(--color-brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background-color 0.25s ease;
  font-size: 1.5rem;

}

.testimonios_btn:hover {
  color: var(--color-light-brown);
}

/* Que sobresalgan un poquito del borde del cuadro */
.testimonios_controls .testimonios_btn:first-child {
  margin-left: -2.5rem;
}

.testimonios_controls .testimonios_btn:last-child {
  margin-right: -2.5rem;
}


/* ========= 7. FAQ (armonioso + SIEMPRE funciona) ========= */

.faq {
  padding: 5rem 0;
  background: var(--color-green);
}

.faq_container .hero_kicker {
  text-align: center;
  color: var(--color-white);
  opacity: 0.9;
}

.faq .section_title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 2rem;
}

.faq_list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 900px;
  margin-inline: auto;
}

.faq_item {
  border-radius: 22px;
  background: rgba(253, 248, 241, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.faq_item span{
  font-size: 1.2rem;
}

.faq_item:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

.faq_question {
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--color-brown);
  text-align: left;
}

.faq_question i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 150, 102, 0.14);
  color: var(--color-green);
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

/* CLAVE: cerrado */
.faq_answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0;
  transition: max-height 360ms ease, opacity 220ms ease, padding 220ms ease;
}

/* CLAVE: abierto (sin depender de JS para alturas) */
.faq_item.open .faq_answer {
  max-height: 800px;
  /* suficientemente grande para cualquier respuesta */
  opacity: 1;
  padding: 0.2rem 1.25rem 1.15rem;
}

.faq_item.open .faq_question i {
  transform: rotate(180deg);
  background: var(--color-green);
  color: #fff;
}




/* ========= 8. CTA FINAL ========= */

.cta_final {
  padding: 4.5rem 0 5rem;
}

.cta_final_container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
}

.cta_final_gallery {
  position: relative;
  min-height: 260px;
}

.cta_img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cta_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta_img_main {
  width: 70%;
  position: absolute;
  left: 0;
  top: 18%;
}

.cta_img_small {
  width: 42%;
  position: absolute;
}

.cta_img_top {
  right: 0;
  top: 0;
}

.cta_img_bottom {
  right: 6%;
  bottom: -4%;
}

.cta_final_text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}

.cta_final_text p {
  font-size: 0.98rem;
  color: var(--color-text-soft);
  margin-bottom: 1.4rem;
}

/* ===============================
   CTA FLOTANTE — Agenda tu momento
   =============================== */
@keyframes ctaBounceSoft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating-cta {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 900;

  background: var(--color-green);
  /* marrón de tu paleta */
  color: #fff;
  text-decoration: none;

  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;

  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  animation: ctaBounceSoft 2.8s ease-in-out infinite;
  will-change: transform;
}

/* hover */
.floating-cta:hover {
  background: #7a5c3a;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28);
  animation-play-state: paused;
  /* pausa el rebote al hover */
  transform: translateY(-3px);
  /* hover limpio */
}




/* ============ AGENDAR ============ */

.agendar_main {
  padding-top: 2.8rem;
  padding-bottom: 4.8rem;
  width: 90%;
  margin: 0 auto;
  background:
    radial-gradient(1000px 520px at 8% 0%, rgba(120, 150, 102, .18), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(138, 100, 61, .14), transparent 60%);
  border-radius: 28px;
}

.agendar {
  padding: 2rem 0;
}

.agendar_header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.agendar_header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: var(--color-green);
}

.agendar_header p {
  max-width: 580px;
  font-size: 0.98rem;
  color: var(--color-text-soft);
}

.agendar_layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.agendar_calendar,
.agendar_slots {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.agendar_calendar h2,
.agendar_slots h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.agendar_controls label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.agendar_controls input[type="date"] {
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: inherit;
  background: #fff;
}

.agendar_hint {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.agendar_slots_header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.agendar_slots_header h2 {
  font-size: 1.2rem;
}

#agendarDateLabel {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.slots_container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.slot_group {
  background-color: #fdf8f1;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.slot_group_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}


.slot_group_name {
  font-weight: 600;
}

.slot_group_bio {
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.slot_times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.slot_btn {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #fff;
  font-size: 0.86rem;
  cursor: pointer;
}

.slot_btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.agendar_note {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.agendar_emergency {
  margin-top: 1.2rem;
}

.agendar_emergency_card {
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.agendar_emergency_card .btn {
  align-self: flex-start;
}

.agendar_emergency_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
}

.agendar_emergency_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(120, 150, 102, 0.18);
  color: #345137;
  font-weight: 600;
  text-align: center;
}

.emergency_form {
  margin-top: 0;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.emergency_fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0;
}

.emergency_field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.emergency_field input,
.emergency_field select {
  width: 100%;
  padding: 1rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-family: inherit;
}

.urgencia_checkout_card {
  background: rgba(255,255,255,.85);
  border-radius: 22px;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.urgencia_checkout_card h1 {
  margin-bottom: 0.6rem;
}

.urgencia_checkout_info {
  margin: 1rem auto 1.4rem;
  display: grid;
  gap: 0.4rem;
  color: var(--color-text-soft);
}





/* =========================================
   CONVERSACIÓN (keypoints + quote grande)
   ========================================= */

.conversacion {
  padding: 6rem 0;
  background: var(--color-brown);
  color: var(--color-white);
}

.conversacion_head .hero_kicker {
  color: rgba(255, 255, 255, 0.5);
}

.conversacion_head .section_title {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.conversacion_head .section_subtitle {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  color: var(--color-white);
}

.conversacion_grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.conv_card {
  grid-column: span 4;
  border-radius: 24px;
  background: rgba(253, 248, 241, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.conv_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}

.conv_card h3 {
  font-size: 1.05rem;
  color: var(--color-brown);
  margin-bottom: 0.9rem;
  font-weight: 650;
}

.conv_card--highlight {
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f1 100%);
  border: 1px solid rgba(120, 150, 102, 0.22);
}

.conv_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.conv_bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-green);
  margin-right: 0.55rem;
  transform: translateY(1px);
}

.conv_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.conv_tag {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #e5efe7;
  color: #345137;
  font-size: 0.82rem;
  white-space: nowrap;
}

.conv_durations {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.conv_duration {
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: transform var(--transition), border-color var(--transition);
}

.conv_duration:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 150, 102, 0.55);
}

.conv_duration.is-active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

.conv_hint {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  line-height: 1.55;
}

/* Quote con imagen de fondo (quote.jpg) */
.conv_quote {
  grid-column: span 12;
  border-radius: 28px;
  padding: 2rem 1.6rem;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;

  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.20) 100%),
    url("../img/quote.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}


/* Opcional: asegura que los botones se vean bien sobre foto */
.conv_quote_actions .btn {
  backdrop-filter: blur(4px);
}


.conv_quote_text {
  font-size: clamp(1.25rem, 2.4vw, 2.05rem);
  font-weight: 550;
  line-height: 1.2;
  max-width: 720px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);

}

.conv_quote_actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}







/* =========================================================
       CONTACTO — Estilo + Animaciones (page-scoped)
       ========================================================= */


/* ---------- Portada ---------- */
.contacto_portada {
  position: relative;
  padding: 4.2rem 0 3rem;
  overflow: hidden;
}

.contacto_portada .wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.contacto_portada_inner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .10);
  background: url("../img/cozy_space.jpg");
  ;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}

.contacto_portada_bg {
  position: absolute;
  inset: 0;

  filter: brightness(.62) saturate(1.03);
  transform: scale(1.03);
}

.contacto_portada_overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 15% 30%, rgba(29, 45, 20, 0.4), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .55));
  pointer-events: none;
}

.contacto_portada_content {
  position: relative;
  z-index: 2;
  padding: 2.3rem;
  color: #fff;
}

.contacto_kicker {
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 650;
  font-size: .92rem;
  opacity: .92;
  margin: 0 0 .8rem;
}

.contacto_portada_content h1 {
  margin: 0 0 .9rem;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.7px;
  font-weight: 650;
}

.contacto_portada_content p {
  margin: 0;
  max-width: 56ch;
  line-height: 1.6;
  opacity: .92;
  font-size: 1rem;
}

.contacto_portada_badges {
  margin-top: 1.35rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.contacto_badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  font-size: .85rem;
  color: rgba(255, 255, 255, .95);
}

/* Tarjeta lateral (micro CTA) */
.contacto_portada_side {
  position: relative;
  z-index: 2;
  padding: 2.3rem;
  display: flex;
  justify-content: center;
}

.contacto_side_card {
  width: 100%;
  max-width: 360px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .15);
  padding: 1.5rem;
  color: #fff;
}

.contacto_side_card h3 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
  font-weight: 750;
}

.contacto_side_card p {
  margin: 0 0 1rem;
  opacity: .92;
  line-height: 1.55;
  font-size: .95rem;
}

.contacto_side_actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}

/* ---------- Bloque principal: Form + Datos ---------- */
.contacto_contacto {
  padding: 3.5rem 0 4.2rem;
}

.contacto_contacto .wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.contacto_layout {
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  gap: 1.6rem;
  align-items: start;
}

.contacto_card {
  border-radius: 28px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.contacto_card_inner {
  padding: 2rem;
}

.contacto_block_kicker {
  text-transform: uppercase;
  letter-spacing: .55px;
  font-weight: 700;
  font-size: .86rem;
  color: var(--color-green);
  margin: 0 0 .6rem;
}

.contacto_title {
  margin: 0 0 .65rem;
  font-size: 2rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text-main);
}

.contacto_hint {
  margin: 0 0 1.3rem;
  color: var(--color-text-soft);
  line-height: 1.6;
  max-width: 70ch;
}

/* Form */
.contacto_form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.field_full {
  grid-column: span 12;
}

.field label {
  font-size: .9rem;
  font-weight: 650;
  color: var(--color-text-main);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .10);
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .75);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  color: var(--color-text-main);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(120, 150, 102, .45);
  box-shadow: 0 0 0 4px rgba(120, 150, 102, .18);
}

.contacto_form_actions {
  grid-column: span 12;
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: .2rem;
}

.contacto_form_note {
  font-size: .88rem;
  color: var(--color-text-soft);
  margin: 0;
}

/* Datos */
.contacto_datos {
  position: sticky;
  top: 1.2rem;
}

.contacto_datos_list {
  display: grid;
  gap: .9rem;
  margin-top: 1.1rem;
}

.dato_item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.dato_icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(120, 150, 102, .14);
  border: 1px solid rgba(120, 150, 102, .22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--color-green);
  flex: 0 0 auto;
}

.dato_body h4 {
  margin: 0 0 .2rem;
  font-size: .95rem;
  font-weight: 750;
  color: var(--color-text-main);
}

.dato_body p,
.dato_body a {
  margin: 0;
  font-size: .92rem;
  color: var(--color-text-soft);
  text-decoration: none;
  line-height: 1.45;
}

.dato_body a:hover {
  text-decoration: underline;
  color: var(--color-text-main);
}

/* ---------- CTA final ---------- */
.contacto_cta {
  padding: 0 0 4.5rem;
}

.contacto_cta .contacto_cta_copy h3,
.contacto_cta .contacto_cta_copy p {
  color: var(--color-white);
}

.contacto_cta .wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.contacto_cta_copy h3 {
  color: var(--color-white);
}

.contacto_cta_card {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .10);
  position: relative;

  /* NUEVO: imagen de fondo */
  background-image: url("../img/cozy_space2.jfif");
  ;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.6rem;
  align-items: center;
}


.contacto_cta_card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(18, 22, 15, 0.78),
      rgba(22, 20, 16, 0.75));
  z-index: 1;
  pointer-events: none;
}

.contacto_cta_copy {
  position: relative;
  z-index: 2;
}

.contacto_cta_copy h3 {
  margin: 0 0 .55rem;
  font-size: 1.8rem;
  letter-spacing: -.4px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-text-main);
}

.contacto_cta_copy p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.6;
  max-width: 70ch;
}

.contacto_cta_actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---------- Animaciones: entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

.reveal.is-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- Animaciones: constante (suave) ---------- */
@keyframes floatSoft {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.float {
  animation: floatSoft 6.5s ease-in-out infinite;
  will-change: transform;
}

.float.delay1 {
  animation-delay: .4s;
}

.float.delay2 {
  animation-delay: .9s;
}

.float.delay3 {
  animation-delay: 1.3s;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contacto_portada_inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contacto_portada_side {
    padding-top: 0;
    padding-bottom: 2rem;
  }

  .contacto_layout {
    grid-template-columns: 1fr;
  }

  .contacto_datos {
    position: static;
  }

  .contacto_cta_card {
    grid-template-columns: 1fr;
  }

  .contacto_cta_actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .contacto_portada {
    padding: 3.2rem 0 2.6rem;
  }

  .contacto_portada_content,
  .contacto_portada_side,
  .contacto_card_inner {
    padding: 1.5rem;
  }

  .contacto_title {
    font-size: 1.65rem;
  }

  .field {
    grid-column: span 12;
  }

  .contacto_cta_card {
    padding: 1.6rem;
  }

  .contacto_cta_copy h3 {
    font-size: 1.5rem;
  }
}







/* EQUIPO PAGINA DE ESCUCHADORES ============================================================ */

.equipo_page {
  background: #f5e5d4;
}

/* Portada */
.equipo_hero {
  position: relative;
  padding: 3.2rem 0 2.2rem;
  overflow: hidden;
}

.equipo_hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(900px 380px at 18% 25%, rgba(120, 150, 102, .22), transparent 60%),
    radial-gradient(900px 380px at 82% 30%, rgba(138, 100, 61, .18), transparent 60%),
    radial-gradient(700px 320px at 50% 110%, rgba(12, 59, 59, .10), transparent 60%);
  filter: blur(2px);
  pointer-events: none;
}

.equipo_hero .wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.equipo_hero_card {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
  background: linear-gradient(135deg, rgba(211, 193, 161, .72), rgba(247, 231, 203, .88));
  position: relative;
  min-height: 320px;
}

.equipo_hero_bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 59, 59, .70), rgba(12, 59, 59, .28)),
    url('assets/img/img5.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(0.95);
}

.equipo_hero_content {
  position: relative;
  padding: 2.4rem 2.2rem;
  color: #fff;
  max-width: 760px;
}

.equipo_kicker {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  font-size: .95rem;
  letter-spacing: .03em;
  opacity: .95;
  margin-bottom: .8rem;
}

.equipo_hero_content h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  margin-bottom: .95rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.equipo_hero_content p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 1.25rem;
  max-width: 58ch;
}

.equipo_hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .2rem;
}

.equipo_hero_actions .btn {
  border-radius: 999px;
  padding: .85rem 1.15rem;
}

/* Lista */
.equipo_section {
  padding: 1.6rem 0 0;
}

.equipo_section .wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.equipo_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0 1rem;
}

.equipo_head h2 {
  font-size: 1.5rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.equipo_head p {
  color: var(--color-text-soft);
  max-width: 62ch;
  line-height: 1.5;
  margin-bottom: .15rem;
}

.equipo_grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
  margin-top: 1.1rem;
}

.listener_card {
  grid-column: span 4;
  border-radius: 26px;
  background: rgba(247, 231, 203, .9);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .10);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
}

.listener_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .14);
}

.listener_media {
  height: 168px;
  position: relative;
}

.listener_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  display: block;
}


.listener_avatar {
  position: absolute;
  left: 18px;
  bottom: -26px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.listener_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listener_avatar_fallback {
  font-weight: 700;
  font-size: 1.2rem;
}

.listener_body {
  padding: 2.2rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}

.listener_name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.listener_desc {
  color: var(--color-text-soft);
  line-height: 1.55;
  min-height: 3.1em;
}

.listener_chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .2rem;
}

.chip {
  font-size: .85rem;
  padding: .32rem .6rem;
  border-radius: 999px;
  background: rgba(120, 150, 102, .16);
  border: 1px solid rgba(120, 150, 102, .25);
}

.listener_footer {
  padding: 0 1.2rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.price_pills {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.price_pill {
  font-size: .82rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(138, 100, 61, .14);
  border: 1px solid rgba(138, 100, 61, .22);
  white-space: nowrap;
}

.listener_more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: rgba(12, 59, 59, .92);
}



/* Por si el footer aún queda cerca, puedes añadir margen final al main */
.equipo_section {
  padding-bottom: 2.5rem;
}

/* Ocultar precios (por si queda algún resto) */
.price_pills,
.price_pill {
  display: none !important;
}

/* Si quitaste el avatar cuando no existe, evita “huecos” */
.listener_media {
  position: relative;
}

.listener_body {
  padding-top: 1.6rem;
  /* antes 2.2rem: baja un poco porque ya no hay avatar flotando */
}

/* “Leer más” como botón bonito */
.listener_footer {
  justify-content: flex-end;
  /* que quede a la derecha */
}

.listener_more {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  background: rgba(12, 59, 59, .10);
  border: 1px solid rgba(12, 59, 59, .18);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.listener_card:hover .listener_more {
  transform: translateY(-1px);
  background: rgba(12, 59, 59, .16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
}

.listener_more i {
  transition: transform var(--transition);
}

.listener_card:hover .listener_more i {
  transform: translateX(2px);
}


@media (max-width: 980px) {
  .listener_card {
    grid-column: span 6;
  }

  .equipo_head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .listener_card {
    grid-column: span 12;
  }

  .equipo_hero_content {
    padding: 2rem 1.25rem;
  }

  .equipo_hero_card {
    min-height: 340px;
  }
}

/* =========================================================
   PERFIL DE ESCUCHADOR (perfil_escuchador.php)
   Requiere: <body class="perfil_listener_page">
========================================================= */

.perfil_listener_page {
  background: #f5e5d4;
}


.perfil_shell {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 2.2rem 0 4.5rem;
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.perfil_card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
  background: rgba(247, 231, 203, .92);
  padding-bottom: 3rem;
}

/* =========================
   HEADER CON FOTO (VISIBLE)
========================= */

/* Header bg visible */
.perfil_header_bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.perfil_header {
  position: relative;
  min-height: 300px;
  /* un poco más para lucir la foto */
}

/* Imagen real, sin “taparla” */
.perfil_header_bg {
  position: absolute;
  inset: 0;
  background-image: url('<?= esc($cover); ?>');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.02);
}


.perfil_header_content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.8rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-width: 820px;
}

.perfil_kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  opacity: .95;
  font-size: .95rem;
}

.perfil_name {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.perfil_short {
  color: rgba(255, 255, 255, .92);
  line-height: 1.6;
  max-width: 62ch;
  text-shadow: 0 14px 35px rgba(0, 0, 0, .22);
}

/* =========================
   CUERPO
========================= */

.perfil_body {
  padding: 1.25rem 1.6rem 1.9rem;
}

.perfil_row {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* NO mostrar precios */

.perfil_actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .15rem;
}

.perfil_actions .btn {
  border-radius: 999px;
  padding: .85rem 1.1rem;
}

/* Títulos y texto */
.perfil_section_title {
  margin-top: 1.1rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 1rem;
}

.perfil_bio {
  margin-top: .6rem;
  color: var(--color-text-soft);
  line-height: 1.75;
}

.perfil_chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .7rem;
}

.chip {
  font-size: .85rem;
  padding: .32rem .6rem;
  border-radius: 999px;
  background: rgba(120, 150, 102, .16);
  border: 1px solid rgba(120, 150, 102, .25);
}

/* =========================
   SIDEBAR
========================= */

.side_card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .10);
  background: rgba(247, 231, 203, .92);
  padding: 1.1rem;
  position: sticky;
  top: 1.1rem;
}

.side_title {
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.post_item {
  display: flex;
  gap: .75rem;
  padding: .75rem;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .55);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: .7rem;
}

.post_item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .12);
}

/* Mini thumb sin “overlay feo” */
.post_thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(12, 59, 59, .10);
  border: 1px solid rgba(0, 0, 0, .06);
  overflow: hidden;
  flex: 0 0 auto;
}

.post_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: normal;
}

.post_meta {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.post_title {
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.25;
}

.post_excerpt {
  color: var(--color-text-soft);
  font-size: .86rem;
  line-height: 1.35;
}

.side_actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .9rem;
}



@media (max-width: 980px) {
  .perfil_shell {
    grid-template-columns: 1fr;
  }

  .side_card {
    position: static;
  }
}



@media (max-width: 980px) {
  .listener_card {
    grid-column: span 6;
  }

  .equipo_head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .listener_card {
    grid-column: span 12;
  }

  .equipo_hero_content {
    padding: 2rem 1.25rem;
  }

  .equipo_hero_card {
    min-height: 340px;
  }
}

/* =========================================================
   RESPONSIVE (UNIFICADO)
   - Arregla TEMAS (evita espacios vacíos)
   - Incluye CONVERSACIÓN / AGENDAR
   - Mantiene PROCESO / HERO / SERVICIOS / TESTIMONIOS / CTA
   ========================================================= */

/* -------------------------
   <= 1024px (tablet grande)
   ------------------------- */
@media (max-width: 1024px) {

  /* TEMAS: que el layout llene el ancho */
  .tema_grande {
    grid-column: span 12;
    min-height: 300px;
  }

  .tema_vertical {
    grid-column: span 6;
    min-height: 340px;
  }

  .temas_grid .tema_box:not(.tema_grande):not(.tema_vertical):not(.tema_cta) {
    grid-column: span 6;
    min-height: 300px;
  }

  /* CTA de temas */
  .tema_cta_grande {
    grid-column: span 12;
  }

  .tema_cta_solid {
    grid-template-columns: 1fr;
  }

  .tema_cta_right {
    display: none;
  }
}

/* -------------------------
   <= 960px (tablet)
   ------------------------- */
@media (max-width: 960px) {

  /* CONVERSACIÓN (lo que pediste añadir aquí) */
  .conv_card {
    grid-column: span 6;
  }

  .conv_quote {
    flex-direction: column;
    align-items: flex-start;
  }

  /* LAYOUTS GRANDES */
  .hero_container,
  .servicios_container,
  .testimonios_container,
  .cta_final_container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 3rem 0 3.2rem;
  }

  .hero_container {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: min(980px, 92%);
  }

  .hero_text {
    max-width: 720px;
  }

  .hero_subtitle {
    max-width: 620px;
  }

  .hero_image_wrapper {
    justify-content: center;
  }

  .hero_image {
    height: 52vh;
    max-height: 520px;
    border-radius: 28px;
  }

  /* SERVICIOS */
  .servicios_container {
    position: static;
  }

  .servicios_media {
    position: static;
    transform: none;
    margin-bottom: 1.6rem;
    justify-content: center;
  }

  .servicios_panel {
    padding: 2rem 1.7rem;
  }

  /* TESTIMONIOS */
  .testimonios_right {
    margin-top: 2rem;
  }

  .testimonio_card {
    padding: 1.9rem 2.2rem;
  }

  .testimonio_content {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonio_copy {
    text-align: left;
  }

  .testimonios_controls .testimonios_btn:first-child {
    margin-left: -1.2rem;
  }

  .testimonios_controls .testimonios_btn:last-child {
    margin-right: -1.2rem;
  }

  /* PROCESO */
  .proceso_steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proceso_svg {
    opacity: 0.7;
  }
}

/* -------------------------
   <= 900px (tablet/ móvil grande)
   ------------------------- */
@media (max-width: 900px) {

  /* AGENDAR (lo que pegaste tú) */
  .agendar_layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .emergency_fields {
    grid-template-columns: 1fr;
  }

  /* TEMAS: más aire y menos “apretado” */
  .temas_grid {
    gap: 1rem;
  }

  .tema_content {
    padding: 1.35rem;
  }

  .tema_box p {
    max-width: 100%;
  }
}

/* -------------------------
   <= 640px (móvil)
   ------------------------- */
@media (max-width: 640px) {

  .hero {
    padding: 2.4rem 1rem 3rem;
    text-align: center;
  }

  .hero_container {
    width: 92%;
    gap: 1.5rem;
  }

  .hero_text h1 {
    font-size: 2.05rem;
    line-height: 1.15;
  }

  .hero_kicker {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .hero_subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.3rem;
  }

  .hero_cta_group {
    gap: 0.75rem;
  }

  /* opcional: botones a ancho completo si quieres más “respirar” */
  .hero_cta_group .btn {
    margin: 0 auto;
  }

  .hero_image {
    height: 240px;
    max-height: none;
    border-radius: 24px;
  }

  /* Wrappers */
  .wrap_large,
  .wrap_medium,
  .wrap_small {
    width: 92%;
  }

  /* HERO */
  .hero {
    padding-top: 3.3rem;
  }

  .hero_text {
    margin-left: 0;
  }

  .hero_text h1 {
    font-size: 2.1rem;
  }

  /* TITULOS */
  .section_title {
    font-size: 1.6rem;
  }

  /* CONVERSACIÓN */
  .conv_card {
    grid-column: span 12;
  }

  .conv_quote {
    padding: 1.6rem 1.2rem;
  }

  .conv_quote_text {
    max-width: 100%;
  }

  /* TEMAS: 1 columna SIEMPRE */
  .tema_grande,
  .tema_vertical,
  .temas_grid .tema_box:not(.tema_grande):not(.tema_vertical):not(.tema_cta),
  .tema_cta_grande {
    grid-column: span 12;
    min-height: 280px;
  }

  /* PROCESO */
  .proceso_steps {
    grid-template-columns: 1fr;
  }

  .proceso_dot {
    display: none;
  }

  /* CTA final imágenes */
  .cta_img_main {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    left: 0;
    top: 0;
  }

  .cta_img_small {
    display: none;
  }

  .testimonios,
  .cta_final {
    text-align: center;
  }

}

/* -------------------------
   Extra: desactivar “float” en móvil (evita mareo + mejora legibilidad)
   ------------------------- */
@media (max-width: 640px) {
  .tema_box {
    animation: none;
  }
}
