/* Alegría BeWell — una dirección editorial consistente para las vistas públicas. */
:root {
  --studio-ink: rgb(93, 35, 4);
  --studio-muted: rgb(93, 35, 4);
  --studio-paper: #faf7f0;
  --studio-sand: #eee8db;
  --studio-orange: #ed793b;
  --studio-olive: #71834c;
  --studio-ease: cubic-bezier(.22,1,.36,1);
}
html { scroll-padding-top: 80px; }
body { background: var(--studio-paper); }
.editorial-kicker { display: block; color: var(--studio-orange); font: 700 .7rem/1.35 var(--font-sans); letter-spacing: .19em; text-transform: uppercase; }
.site-header { background: rgba(250,247,240,.97); border-color: rgba(67,41,23,.1); backdrop-filter: blur(16px); }
.site-header.header-scrolled { box-shadow: 0 8px 24px rgba(67,41,23,.075); }
.header-container { max-width: 1420px; }
.site-header .cta-button { border-radius: 100px; box-shadow: none; font-size: .78rem; letter-spacing: .07em; padding: .85rem 1.25rem; }
.site-header .wa-header { box-shadow: none; }
.site-footer { background: #efe9dc; border-top: 1px solid rgba(67,41,23,.12); }
.site-footer .footer-container { max-width: 1200px; }

/* La entrada acompaña el contenido sin dejar texto y fotos apagados. */
html.js-anim .reveal:not(.in-view) { opacity: .86; transform: translateY(12px); }
html.js-anim .reveal-left:not(.in-view), html.js-anim .reveal-right:not(.in-view) { transform: translateY(12px); }
.motion-site .motion-heading:not(.is-visible) { opacity: .82; transform: translateY(14px); filter: none; }
.motion-site .motion-media { opacity: 1; clip-path: inset(0 0 5% 0 round 5px); }
.motion-site .motion-media.is-visible { clip-path: inset(0 round 5px); }
.motion-site .motion-media::after { display: none; }
.motion-site .motion-media img { transform: scale(1.025) translate3d(0,var(--motion-shift,0px),0) !important; }
.motion-site .motion-media:hover img { transform: scale(1.05) translate3d(0,var(--motion-shift,0px),0) !important; }
.motion-site .motion-chapter::before { color: var(--studio-orange); }
.motion-site .motion-chapter::after { background: rgba(67,41,23,.18); }
.studio-reveal { opacity: .88; transform: translate3d(0,18px,0); transition: opacity .75s var(--studio-ease), transform .75s var(--studio-ease); transition-delay: var(--studio-delay,0ms); }
.studio-reveal.is-in-view { opacity: 1; transform: none; }

/* Portada: lectura clara, marca y una acción visible. */
.home-page .hero { justify-content: center; text-align: center; min-height: 630px; }
.home-page .hero-overlay { background: rgba(0,0,0,.28); }
.home-page .hero-content { width: min(1040px,100%); margin: auto; padding: 3rem clamp(1.4rem,5vw,4rem); }
.home-page .home-hero-eyebrow { display: block; margin-bottom: 2rem; font: 700 .72rem/1.3 var(--font-sans); letter-spacing: .22em; color: #f8e4ca; }
.home-page .hero-title { display: block; width: min(670px,70vw); margin: 0 auto 1.2rem; }
.home-page .hero-logo-img { display: block; width: 100%; max-width: none; margin: 0; filter: drop-shadow(0 2px 20px rgba(0,0,0,.15)); }
.home-page .hero-subtitle { width: 100%; font: 600 clamp(2.1rem,4.2vw,4.1rem)/1.08 var(--font-sans); letter-spacing: -.045em; margin: 0 auto; }
.home-page .hero-text { font-size: clamp(1.12rem,1.75vw,1.5rem); line-height: 1.5; max-width: 720px; margin: 1rem auto 0; }
.home-hero-link { display: inline-flex; align-items: center; gap: 2.2rem; margin-top: 2.7rem; padding: 1rem 1.15rem 1rem 1.5rem; border: 1px solid rgba(255,255,255,.75); border-radius: 100px; color: #fff; text-decoration: none; font: 600 .84rem var(--font-sans); transition: background .3s ease,color .3s ease,gap .4s var(--studio-ease); }
.home-hero-link span { font-size: 1.35rem; line-height: .7; }
.home-hero-link:hover, .home-hero-link:focus-visible { background: #fff; color: var(--studio-ink); gap: 2.8rem; }
.home-page .hero.motion-hero::after { left: 50%; right: auto; bottom: 35px; }

/* Una portada navegable sustituye la franja repetida. */
.home-pathways { padding: clamp(3rem,4.5vw,4rem) clamp(1.3rem,5vw,4rem) clamp(3.2rem,5vw,4.5rem); background: var(--studio-paper); scroll-margin-top: 78px; }
.home-pathways-intro { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 1210px; margin: 0 auto 3rem; }
.home-pathways-intro .editorial-kicker { grid-column: 1 / -1; margin-bottom: 1.2rem; }
.home-pathways-intro h2 { color: var(--studio-ink); font: 400 clamp(2.9rem,5vw,5.2rem)/1.06 var(--font-serif); letter-spacing: -.035em; max-width: 700px; }
.home-pathways-intro p { max-width: 420px; margin-top: 1.2rem; justify-self: center; color: var(--studio-muted); font-size: 1.05rem; line-height: 1.65; }
.home-pathways-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; max-width: 1210px; margin: auto; }
.home-pathway { position: relative; display: block; min-width: 0; height: clamp(340px,37vw,510px); overflow: hidden; color: white; background: #786d5c; text-decoration: none; isolation: isolate; }
.home-pathway:nth-child(2) { margin-top: 2.5rem; margin-bottom: -2.5rem; }
.home-pathway::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg,rgba(25,23,20,.82),rgba(25,23,20,.06) 67%); transition: background .5s ease; }
.home-pathway img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--studio-ease),filter .7s ease; }
.home-pathway:nth-child(1) img { object-position: 50% 24%; }
.home-pathway:nth-child(2) img { object-position: 53% center; }
.home-pathway:nth-child(3) img { object-position: 60% center; }
.home-pathway:hover img, .home-pathway:focus-visible img { transform: scale(1.07); filter: saturate(1.06); }
.home-pathway-number { position: absolute; z-index: 2; top: 1.35rem; left: 1.45rem; font: 700 .7rem var(--font-sans); letter-spacing: .2em; }
.home-pathway-content { position: absolute; z-index: 2; left: clamp(1.25rem,2.4vw,2.3rem); bottom: clamp(1.3rem,2.8vw,2.5rem); display: grid; gap: .4rem; padding-right: 3rem; }
.home-pathway-content strong { font: 400 clamp(2rem,3.1vw,3.4rem)/1.04 var(--font-serif); letter-spacing: -.03em; }
.home-pathway-content > span { font-size: .83rem; letter-spacing: .04em; }
.home-pathway-arrow { position: absolute; z-index: 2; right: 1.4rem; bottom: 1.4rem; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 1.4rem; transition: color .3s ease,background .3s ease,transform .4s var(--studio-ease); }
.home-pathway:hover .home-pathway-arrow, .home-pathway:focus-visible .home-pathway-arrow { color: var(--studio-ink); background: white; transform: rotate(45deg); }

/* Presentación de Gabriela. */
.home-page .about-section { padding: clamp(3rem,4.5vw,4rem) clamp(1.3rem,5vw,4rem); background: #ede8da; }
.home-page .about-kicker { text-align: center; margin-bottom: 1.5rem; }
.home-page .about-quote { color: var(--studio-ink); font: 400 clamp(2.6rem,4.4vw,4.6rem)/1.15 var(--font-serif); max-width: 1020px; margin-bottom: clamp(3rem,5vw,4.5rem); }
.home-page .about-quote .quote-highlight { color: var(--studio-orange); background: none; }
.home-page .about-container { max-width: 1210px; gap: clamp(2.5rem,6vw,7rem); align-items: start; }
.home-page .about-content { max-width: 560px; padding-top: .35rem; }
.home-page .about-text-bold { color: var(--studio-ink); font: 400 clamp(1.42rem,2vw,1.85rem)/1.42 var(--font-serif); margin-bottom: 2rem; }
.home-page .about-text { color: var(--color-brown); font-size: .98rem; line-height: 1.8; margin-bottom: 1.15rem; }
.home-page .about-subtitle { font: 500 1.38rem var(--font-serif); color: var(--studio-ink); margin-top: 2rem; }
.home-page .about-btn { border-radius: 100px; background: var(--studio-ink); color: #fff; font-size: .85rem; font-weight: 600; margin-top: 1.6rem; }
.home-page .about-btn:hover { background: var(--studio-orange); }
.home-page .about-image { position: sticky; top: 105px; min-width: 0; border-radius: 3px; box-shadow: 24px 24px 0 rgba(128,139,83,.17); }
.home-page .about-image img { aspect-ratio: 4/5; object-position: 50% 65%; }
.about-image-caption { position: absolute; z-index: 3; left: 1.15rem; bottom: 1.15rem; display: flex; gap: 2rem; align-items: center; padding: .7rem 1rem; color: var(--studio-ink); background: rgba(250,247,240,.92); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.about-image-caption span { font-size: 1.1rem; }

/* Calendario: se ve como una herramienta importante y serena. */
.home-page .home-booking, .booking-page .reserva-section { padding: clamp(3rem,4.5vw,4rem) 1.3rem !important; background: var(--studio-paper); }
.home-page .home-booking::before { width: 3px; }
.home-page .reserva-inner, .booking-page .reserva-inner { max-width: 1100px; }
.home-page .reserva-header { margin-bottom: 2.7rem; }
.home-page .reserva-header .editorial-kicker { margin-bottom: 1rem; }
.home-page .reserva-header h2 { color: var(--studio-ink); font: 400 clamp(2.8rem,4.6vw,4.6rem)/1.05 var(--font-serif); }
.home-page .reserva-header p { font-size: 1rem; line-height: 1.6; }
.home-page .reserva-accent-line { display: none; }
.home-page .cal-servicios { width: 100%; gap: 10px !important; margin-bottom: 14px !important; }
.home-page .cal-servicio-card, .booking-page .cal-servicio-card { position: relative; min-width: 0 !important; border-radius: 4px !important; padding: 1.5rem !important; background: #fffdf8; box-shadow: none; transition: transform .3s var(--studio-ease),box-shadow .3s ease; }
.home-page .cal-servicio-card:hover, .booking-page .cal-servicio-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(67,41,23,.08); }
.home-page .cal-servicio-card h4, .booking-page .cal-servicio-card h4 { font-size: 1.08rem; line-height: 1.2; }
.home-page .cal-servicio-card p, .booking-page .cal-servicio-card p { line-height: 1.55; }
.home-page .cal-wrapper, .booking-page .cal-wrapper { max-width: none; border: 1px solid rgba(67,41,23,.12); border-radius: 4px; box-shadow: none; padding: clamp(1.3rem,3vw,2.5rem); }
.home-page .cal-cancel-section { border-radius: 4px; box-shadow: none; }
.booking-management { width: 100%; max-width: 1100px; margin-top: 2rem; border-top: 1px solid rgba(67,41,23,.2); }
.booking-management summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem .25rem; color: var(--studio-ink); font: 600 .86rem var(--font-sans); cursor: pointer; }
.booking-management summary::-webkit-details-marker { display: none; }
.booking-management summary::after { content: '+'; font: 400 1.5rem var(--font-serif); }
.booking-management[open] summary::after { content: '−'; }
.booking-management summary span { margin-left: auto; font-size: 1.2rem; }
.booking-management .cal-cancel-section { margin-top: 1rem; }

/* La comunidad y los colores conservan su diseño original. */
.home-page .pilares-section { padding: clamp(3rem,4.5vw,4rem) clamp(1.3rem,5vw,4rem); }
.home-page .pilares-container { max-width: 1210px; gap: clamp(2rem,5vw,6rem); }
.home-page .pilares-title { color: var(--studio-ink); font-size: clamp(2.6rem,4.2vw,4.3rem); text-align: left; }
.home-page .pilares-text { color: var(--studio-muted); }
.home-page .pilares-image img { border-radius: 3px; }
.home-page .beneficios-box { border-radius: 3px; }

/* Servicios: misma portada, relatos más compuestos y tarjetas legibles. */
.servicios-page .services-intro { background: var(--studio-paper); }
.servicios-page .service-story { background: #fffdf8 !important; }
.servicios-page .service-story:nth-of-type(odd) { background: #f3eee3 !important; }
.servicios-page .service-story .servicio-image { border-radius: 4px !important; box-shadow: none; }
.servicios-page .service-story .servicio-title { color: var(--studio-ink); letter-spacing: -.035em; }
.servicios-page .service-story .servicio-text { color: var(--studio-muted); }
.servicios-page .service-story-link { color: var(--studio-orange); }
.servicios-page .services-therapy { background: #e9e3d3; }
.servicios-page .services-therapy .terapias-title { color: var(--studio-ink); max-width: 560px; font-size: clamp(2.6rem,4.2vw,4.5rem); }
.servicios-page .services-therapy .terapias-grid { gap: 0; background: #fffdf8; }
.servicios-page .services-therapy .terapia-card { min-height: 0; padding: clamp(1.6rem,2.8vw,2.5rem); border-radius: 0; box-shadow: none; border-right: 1px solid rgba(67,41,23,.16); }
.servicios-page .services-therapy .terapia-card:last-child { border-right: 0; }
.servicios-page .services-therapy .terapia-card:hover { transform: none; box-shadow: inset 0 4px 0 var(--studio-orange); }
.servicios-page .services-therapy .terapia-card h3 { color: var(--studio-ink); font-size: clamp(1.45rem,1.9vw,1.9rem); line-height: 1.18; overflow-wrap: normal; }
.servicios-page .services-therapy .terapia-card p { font-size: .95rem; line-height: 1.65; color: var(--studio-muted); }
.servicios-page .services-closing { background: #617548; }
.servicios-page .services-closing-link { border-radius: 100px; }

/* Eventos: índice útil y fotografías con menos ornamento. */
.eventos-index { max-width: 1220px; margin: auto; padding: clamp(2.3rem,4vw,4rem) clamp(1.3rem,5vw,4rem); }
.eventos-index .editorial-kicker { margin-bottom: 1.6rem; }
.eventos-index-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 1.4rem; }
.eventos-index-links a { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: 1rem 0; border-top: 1px solid rgba(67,41,23,.24); color: var(--studio-ink); text-decoration: none; font: 500 .9rem var(--font-sans); transition: color .3s ease,padding .4s var(--studio-ease); }
.eventos-index-links a span:first-child { color: var(--studio-orange); font-size: .68rem; letter-spacing: .1em; }
.eventos-index-links a::after { content: '↗'; margin-left: auto; font-size: 1.2rem; }
.eventos-index-links a:hover, .eventos-index-links a:focus-visible { color: var(--studio-orange); padding-left: .5rem; }
.eventos-page .eventos-item { scroll-margin-top: 80px; background: #fffdf8 !important; padding-top: clamp(3rem,5vw,4.5rem) !important; padding-bottom: clamp(3rem,5vw,4.5rem) !important; }
.eventos-page .eventos-item:nth-of-type(even) { background: #f3eee3 !important; }
.eventos-page .eventos-item .servicio-image { border-radius: 4px !important; box-shadow: none; }
.eventos-page .eventos-item .servicio-title { color: var(--studio-ink); letter-spacing: -.035em; }
.eventos-page .eventos-item .servicio-text { color: var(--studio-muted); }

/* Blog: una portada con rostro y una primera historia destacada. */
.blogs-page .blogs-intro { background: #647749; padding: 0 clamp(1.3rem,5vw,4rem); }
.blogs-page .blogs-intro::after { display: none; }
.blogs-page .blogs-intro-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem,5vw,6rem); align-items: center; max-width: 1220px; min-height: 590px; }
.blogs-page .blogs-intro-copy { padding: clamp(3rem,5vw,4.5rem) 0; }
.blogs-page .blogs-intro h1 { font-size: clamp(3.1rem,5.3vw,5.5rem); letter-spacing: -.035em; }
.blogs-page .blogs-intro p { max-width: 520px; }
.blogs-intro-photo { position: relative; align-self: stretch; min-height: 530px; overflow: hidden; }
.blogs-intro-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 29%; filter: saturate(.86); }
.blogs-intro-photo::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.3); pointer-events: none; }
.blogs-page .blogs-section { background: var(--studio-paper); }
.blogs-page .blogs-grid { max-width: 1220px; gap: 2.6rem 1.1rem; }
.blogs-page .blog-card { border-radius: 3px; box-shadow: none; border: 1px solid rgba(67,41,23,.1); background: #fffdf8; }
.blogs-page .blog-card:hover { box-shadow: 0 14px 34px rgba(67,41,23,.1); transform: translateY(-5px); }
.blogs-page .blog-card-body { padding: 1.45rem 1.5rem 1.6rem; }
.blogs-page .blog-date { color: var(--studio-orange); font-weight: 700; }
.blogs-page .blog-title { color: var(--studio-ink); }
.blogs-page .blog-link { color: var(--studio-orange); }
.blogs-page .blog-modal-dialog { border-radius: 4px; }

/* Retiros: fotografías y valores presentados como capítulos. */
.retreats-page .experiencia-section { padding: clamp(3rem,4.5vw,4rem) clamp(1.3rem,5vw,4rem); }
.retreats-page .experiencia-section:nth-of-type(even) { background: #f4efe5 !important; }
.retreats-page .experiencia-header { margin-bottom: 2.7rem; }
.retreats-page .experiencia-title { color: var(--studio-ink); font-size: clamp(2.6rem,4.3vw,4.4rem); line-height: 1.07; letter-spacing: -.04em; }
.retreats-page .ar-cards { max-width: 1150px; gap: 0; margin-top: 3rem; }
.retreats-page .ar-card { position: relative; border-radius: 0; border: 0; border-top: 1px solid rgba(67,41,23,.3); border-right: 1px solid rgba(67,41,23,.13); background: transparent; box-shadow: none; padding: clamp(1.6rem,3vw,2.7rem); counter-increment: retreat-value; }
.retreats-page .ar-cards { counter-reset: retreat-value; }
.retreats-page .ar-card:last-child { border-right: 0; }
.retreats-page .ar-card::before { content: '0' counter(retreat-value); display: block; margin-bottom: 1.5rem; color: var(--studio-orange); font: 700 .7rem var(--font-sans); letter-spacing: .2em; }
.retreats-page .ar-card:hover { transform: none; background: rgba(255,255,255,.4); box-shadow: inset 0 3px 0 var(--studio-orange); }
.retreats-page .ar-card-icon { display: none; }
.retreats-page .ar-card-title { color: var(--studio-ink); font-size: clamp(1.45rem,2vw,2rem); font-weight: 400; text-transform: none; }
.retreats-page .ar-card-desc { color: var(--studio-muted); line-height: 1.65; }
.retreats-page .ar-vivir-photo { border-radius: 4px; }
.retreats-page .ar-vivir-photo img { border-radius: 4px; }
.retreats-page .retreat-reel { width: min(1180px,100%); }
.retreats-page .retreat-reel-viewport { border-radius: 4px; box-shadow: none; }
.retreats-page .retreat-reel-controls { border-bottom: 1px solid rgba(67,41,23,.25); padding-bottom: 1.2rem; }
.retreats-page .retreat-reel-actions button { width: 44px; height: 44px; }

@media (max-width: 900px) {
  .home-pathways-intro { grid-template-columns: 1fr; gap: 1rem; }
  .home-pathways-intro .editorial-kicker { grid-column: auto; }
  .home-pathways-intro p { justify-self: center; }
  .home-page .about-image { position: relative; top: auto; }
  .blogs-page .blogs-intro-inner { grid-template-columns: 1fr .8fr; }
  .servicios-page .services-therapy .terapias-grid { grid-template-columns: 1fr; }
  .servicios-page .services-therapy .terapia-card { border-right: 0; border-bottom: 1px solid rgba(67,41,23,.16); }
}
@media (max-width: 700px) {
  .home-page .hero { min-height: 660px; height: min(88svh,820px); aspect-ratio: auto; align-items: center; }
  .home-page .hero-overlay { background: rgba(0,0,0,.34); }
  .home-page .hero-content { padding: 1.5rem 1.35rem 4.5rem; }
  .home-page .home-hero-eyebrow { font-size: .6rem; letter-spacing: .14em; margin-bottom: 1.4rem; }
  .home-page .hero-title { width: min(350px,82vw); margin: 0 auto 1.2rem; }
  .home-page .hero-subtitle { font-size: clamp(2.2rem,9vw,3.7rem); }
  .home-page .hero-text { font-size: 1.08rem; }
  .home-hero-link { margin-top: 1.8rem; }
  .home-page .hero.motion-hero::after { display: none; }
  .home-pathways { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .home-pathways-intro { margin-bottom: 2rem; }
  .home-pathways-intro h2 { font-size: clamp(2.1rem,8.2vw,4rem); }
  .home-pathways-grid { grid-template-columns: 1fr; gap: .65rem; }
  .home-pathway, .home-pathway:nth-child(2) { height: clamp(290px,70vw,400px); margin: 0; }
  .home-page .about-section { display: block; }
  .home-page .about-kicker { display: block; }
  .home-page .about-quote { font-size: clamp(2.3rem,8vw,3.4rem); margin-bottom: 3rem; }
  .home-page .about-container { flex-direction: column-reverse; gap: 2.5rem; }
  .home-page .about-image, .home-page .about-content { width: 100%; }
  .home-page .about-image img { aspect-ratio: 4/4.5; }
  .home-page .cal-servicios { flex-direction: column; }
  .home-page .cal-servicio-card { width: 100%; }
  .home-page .pilares-title { font-size: clamp(2.4rem,8vw,3.3rem); }
  .eventos-index-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .blogs-page .blogs-intro-inner { grid-template-columns: 1fr; gap: 0; }
  .blogs-page .blogs-intro-copy { padding: 4.5rem 0 2.5rem; }
  .blogs-page .blogs-intro h1 { font-size: clamp(2.9rem,10vw,4.4rem); }
  .blogs-intro-photo { min-height: 280px; max-height: 360px; margin-bottom: 1.3rem; }
  .blogs-page .blogs-grid { grid-template-columns: 1fr; }
  .retreats-page .ar-cards { grid-template-columns: 1fr; }
  .retreats-page .ar-card { border-right: 0; }
}
@media (max-width: 480px) {
  .eventos-index-links { grid-template-columns: 1fr; }
  .home-page .hero { min-height: 620px; }
  .home-page .hero-content { padding: 2rem 1.35rem; }
  /* "Acompañamiento" ocupa casi todo el ancho: la flecha va arriba para no taparlo */
  .home-pathway-content { right: 1.25rem; padding-right: 0; }
  .home-pathway-content strong { font-size: min(2.3rem, 9vw); }
  .home-pathway-arrow { top: 1rem; bottom: auto; right: 1rem; width: 40px; height: 40px; }
  .booking-management summary { font-size: .8rem; }
  .booking-management summary span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-pathway img, .home-pathway-arrow, .home-hero-link, .eventos-index-links a { transition: none; }
  .motion-site .motion-media { clip-path: none; }
  .studio-reveal { opacity: 1; transform: none; transition: none; }
}
