/* ════════════════════════════════════════════════════════════
   TúHaz · home.css — estilos específicos de la portada
   ════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5rem); margin: 1.5rem 0; }
.hero__lead { max-width: 30rem; margin-bottom: 2.2rem; }
.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 2.4rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero__stat .n { font-family: var(--f-display); font-size: 2.1rem; line-height: 1; color: var(--ink); }
.hero__stat .l { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: .4rem; }

/* visual derecha */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.hero__photo {
  aspect-ratio: 4/5; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.hero__photo::after { font-size: .72rem; }
.hero__emblem { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; position: relative; z-index: 2; filter: drop-shadow(0 18px 40px rgba(37,41,31,.16)); }
.hero__rings { position: absolute; width: 500px; height: 500px; top: 210px; left: 50%; transform: translate(-50%,-50%); z-index: 1; pointer-events: none; }
.hero__live {
  position: relative; z-index: 3;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem; width: 100%; max-width: 380px;
}
.hero__live h4 { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 400; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.hero__live h4 .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); position: relative; }
.hero__live h4 .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--clay); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0%{ transform: scale(.6); opacity: 1; } 100%{ transform: scale(1.6); opacity: 0; } }
.live-row { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-top: 1px solid var(--line-2); }
.live-row:first-of-type { border-top: none; }
.live-row .swatch { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.live-row .t { font-family: var(--f-mono); font-size: .82rem; color: var(--ink); }
.live-row .nm { font-size: .82rem; color: var(--ink-2); flex: 1; }
.live-row .pz { font-family: var(--f-mono); font-size: .7rem; color: var(--sage); white-space: nowrap; }
.live-row .pz.full { color: var(--clay); }
.live-row .dur { font-family: var(--f-mono); font-size: .7rem; color: var(--ink-3); white-space: nowrap; }

/* anuncio (cartel) en el hero — protagonista */
.hero__visual--cartel { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100%; }
.hero__cartel { display: block; width: 360px; max-width: 100%; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; background: #0a0a0a; border: 8px solid #15171b; box-shadow: 0 22px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(236,233,220,.08); position: relative; z-index: 3; flex-shrink: 0; transition: transform .3s; }
.hero__cartel::before { content: none; }
.hero__cartel img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero__cartel:hover { transform: translateY(-4px); }
.hero__emblem--fallback { width: 320px; max-width: 70%; }
.hero__visual--cartel.has-cartel .hero__emblem--fallback { display: none; }
.hero__visual--cartel.has-cartel .hero__rings { display: none; }
.hero__live { margin-top: 2rem; }
.hero__copy--cartel { display: flex; flex-direction: column; align-items: flex-start; gap: 1.8rem; }
.esencia__grid--solo { display: block; max-width: 44rem; }

/* presentación sobria (movida abajo) */
.esencia { border-top: 1px solid var(--line); }
.esencia__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.esencia__text h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.esencia__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.esencia__emblem { width: 100%; max-width: 300px; position: relative; z-index: 2; filter: drop-shadow(0 16px 36px rgba(0,0,0,.4)); }
.esencia__rings { position: absolute; width: 115%; height: auto; z-index: 1; }
@media (max-width: 820px){ .esencia__grid { grid-template-columns: 1fr; } .esencia__visual { order: -1; max-width: 320px; margin: 0 auto; } }

@media (max-width: 900px){
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__live { left: 0; }
}
@media (max-width: 520px){
  .hero__stats { gap: 1.4rem; flex-wrap: wrap; }
  .hero__live { position: static; width: 100%; margin-top: 1.2rem; }
  .hero__rings { display: none; }
}

/* ── Sección encabezado ───────────────────────────────────── */
.sec-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: .8rem 0 1rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ── Disciplinas (lista editorial) ────────────────────────── */
.disc-list { border-top: 1px solid var(--line); }
.discr {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 2.4rem minmax(10rem, 15rem) 1fr 2.5rem;
  gap: 1.4rem 2.2rem; padding: 1.7rem .4rem 1.6rem; border-bottom: 1px solid var(--line);
  transition: padding-left .35s cubic-bezier(.2,.7,.2,1), background .35s;
}
.discr::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 64%; background: var(--c); border-radius: 3px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.discr:hover { padding-left: 1.4rem; background: linear-gradient(90deg, var(--c-soft, rgba(255,255,255,.02)), transparent 70%); }
.discr:hover::before { transform: translateY(-50%) scaleY(1); }
.discr__n { font-family: var(--f-display); font-size: 1.1rem; color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }
.discr__name { font-family: var(--f-display); font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.05; letter-spacing: -.015em; transition: color .3s; }
.discr:hover .discr__name { color: var(--c); }
.discr__desc { font-size: .96rem; color: var(--ink-2); line-height: 1.5; align-self: center; max-width: 28rem; }
.discr__go {
  align-self: center; justify-self: end; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); transition: all .3s; flex-shrink: 0;
}
.discr__go svg { width: 1.1rem; height: 1.1rem; transition: transform .3s; }
.discr:hover .discr__go { background: var(--c); border-color: var(--c); color: var(--paper); }
.discr:hover .discr__go svg { transform: translateX(2px); }
@media (max-width: 760px){
  .discr { grid-template-columns: 2.4rem 1fr; gap: .4rem 1rem; row-gap: .5rem; padding: 1.4rem .2rem; }
  .discr__n { grid-row: 1; }
  .discr__name { grid-column: 2; }
  .discr__desc { grid-column: 2; grid-row: 2; }
  .discr__go { display: none; }
  .discr:hover { padding-left: .8rem; }
}

/* ── Filosofía: grupos reducidos ─────────────────────────── */
.filo { background: var(--feature); color: var(--feature-ink); position: relative; overflow: hidden; }
.filo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; z-index: 2; }
.filo .eyebrow { color: var(--sage); }
.filo h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); color: var(--feature-ink); margin: 1rem 0 1.4rem; }
.filo h2 em { font-style: normal; color: var(--clay); }
.filo p { color: rgba(232,235,236,.7); font-size: 1.05rem; line-height: 1.7; max-width: 30rem; }
.filo__big { font-family: var(--f-display); font-size: clamp(3.4rem, 7vw, 5.5rem); line-height: .9; color: var(--clay); letter-spacing: -.02em; font-weight: 600; }
.filo__big small { display: block; font-size: .9rem; letter-spacing: .04em; text-transform: none; color: rgba(232,235,236,.55); margin-top: .8rem; font-weight: 400; }
.filo__visual { display: flex; align-items: center; justify-content: center; }
.filo__pulse { width: 100%; max-width: 340px; height: auto; }
.filo__pulse circle { fill: none; stroke: var(--sage); stroke-width: 1.2; }
.filo__pulse circle:nth-child(1){ opacity: .9; }
.filo__pulse circle:nth-child(2){ opacity: .65; }
.filo__pulse circle:nth-child(3){ opacity: .42; }
.filo__pulse circle:nth-child(4){ opacity: .25; }
.filo__list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.filo__item { display: flex; gap: 1rem; align-items: flex-start; }
.filo__item .ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(232,235,236,.25); display: flex; align-items: center; justify-content: center; }
.filo__item .ic span { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.filo__item div strong { display: block; color: var(--feature-ink); font-weight: 600; font-size: .98rem; }
.filo__item div p { font-size: .9rem; margin-top: .2rem; }
.filo__breath { position: absolute; right: -10%; top: -20%; width: 600px; height: 600px; opacity: .25; z-index: 1; }
.filo__breath circle { fill: none; stroke: var(--sage); stroke-width: 1; }
@media (max-width: 820px){ .filo__grid { grid-template-columns: 1fr; } .filo__visual { display: none; } }

/* ── Cómo funciona (flujo editorial, sin cajas) ───────────── */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.flow__step { position: relative; padding-top: 2.2rem; }
.flow__step::before { content: ""; position: absolute; top: 0; left: 0; width: 2.6rem; height: 2px; background: var(--c, var(--sage)); border-radius: 2px; }
.flow__n { font-family: var(--f-display); font-size: 1rem; color: var(--ink-3); font-weight: 500; letter-spacing: .04em; }
.flow__step h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: .5rem 0 .6rem; }
.flow__step p { font-size: .98rem; color: var(--ink-2); line-height: 1.6; max-width: 22rem; }
@media (max-width: 760px){ .flow { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Alfred ───────────────────────────────────────────────── */
.alfred__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.alfred__visual { position: relative; }
.alfred__photo { aspect-ratio: 3/4; border-radius: var(--r-xl); position: relative; box-shadow: var(--shadow); }
.alfred__quote { position: absolute; right: -1.5rem; bottom: 2rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; max-width: 250px; box-shadow: var(--shadow); }
.alfred__quote p { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4; font-weight: 500; }
.alfred__quote cite { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); font-style: normal; display: block; margin-top: .6rem; }
.alfred__text h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 1rem 0 1.2rem; }
.alfred__text p { color: var(--ink-2); line-height: 1.75; margin-bottom: 1rem; max-width: 34rem; }
.alfred__text p em { font-style: normal; color: var(--sage); font-weight: 600; }
.alfred__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
@media (max-width: 820px){ .alfred__grid { grid-template-columns: 1fr; } .alfred__photo { max-width: 380px; } .alfred__quote { right: 1rem; } }

/* ── CTA final ────────────────────────────────────────────── */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 2; max-width: 40rem; margin: 0 auto; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 1rem 0 1.2rem; }
.cta p { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 2.2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta__breath { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 700px; height: 700px; opacity: .4; z-index: 1; }
.cta__breath circle { fill: none; stroke: var(--sage); stroke-width: 1; }

/* ── Anuncio (cartel de Alfred, enmarcado tipo móvil) ─────── */
.anuncio { background: var(--feature); color: var(--feature-ink); position: relative; overflow: hidden; }
.anuncio__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.anuncio__frame { display: flex; justify-content: center; }
.anuncio__phone {
  width: 280px; max-width: 78vw; aspect-ratio: 9/16;
  background: #000; border: 8px solid #15171b; border-radius: 32px;
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(236,233,220,.08);
  overflow: hidden; position: relative;
}
.anuncio__phone::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 5px; border-radius: 3px; background: rgba(236,233,220,.18); z-index: 2;
}
.anuncio__phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.anuncio__tag { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--sage); margin-bottom: .6rem; }
.anuncio__text h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--feature-ink); margin-bottom: 1rem; }
.anuncio__text p { color: rgba(236,233,220,.72); line-height: 1.7; max-width: 30rem; margin-bottom: 1.8rem; }
.anuncio__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 820px){
  .anuncio__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .anuncio__text { display: flex; flex-direction: column; align-items: center; }
  .anuncio__actions { justify-content: center; }
}
