/* =========================================================
 *  Hilo de Vida · Portada informativa [hdv_portada]
 * ======================================================= */
html body .hdv.hdv-pt{background:var(--lino);color:var(--texto);font-family:"DM Sans",system-ui,sans-serif;overflow:hidden;width:100vw;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.hdv-pt *{box-sizing:border-box}
.hdv-pt__wrap{max-width:1280px;margin:0 auto;padding-left:24px;padding-right:24px}
.hdv-pt__sec{padding-top:104px;padding-bottom:104px;display:flex;flex-direction:column;gap:44px}
.hdv-pt section[id]{scroll-margin-top:120px}
.hdv-pt__mano{font-family:'Caveat',cursive;font-weight:600;font-size:30px;line-height:1.1;color:var(--tierra);transform:rotate(-2deg);align-self:flex-start}
.hdv-pt__mano--center{align-self:center;text-align:center}
.hdv-pt__mano--lima{color:var(--lima)}
.hdv-pt__h1,.hdv-pt__h2{margin:0;font-family:'Fraunces',serif;font-weight:400;line-height:1.05;letter-spacing:-.01em;color:var(--texto)}
.hdv-pt__h1{font-size:clamp(44px,6vw,80px);line-height:1.02;letter-spacing:-.02em}
.hdv-pt__h2{font-size:clamp(38px,4.6vw,58px)}
.hdv-pt__h1 em,.hdv-pt__h2 em{color:var(--verde)}
.hdv-pt__h2--claro{color:var(--lino)}
.hdv-pt__h2--claro em{color:var(--lima)}
.hdv-pt__h2--center{text-align:center}
.hdv-pt__h2--ancho{max-width:760px}
.hdv-pt__head{display:flex;flex-direction:column;gap:14px;max-width:720px}
.hdv-pt__head p{margin:0;font-size:19px;line-height:1.6;color:var(--suave)}
.hdv-pt__head--center{align-items:center;text-align:center;margin:0 auto}

/* Portada */
.hdv-pt__hero{padding-top:40px;padding-bottom:96px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.hdv-pt__hero-txt{flex:1 1 520px;display:flex;flex-direction:column;gap:26px}
.hdv-pt__h1 em{position:relative;display:inline-block;isolation:isolate}
.hdv-pt__h1 em span{position:absolute;left:-8px;right:-10px;bottom:.08em;height:.36em;background:var(--lima);border-radius:18px 6px 22px 8px;transform:rotate(-2deg);z-index:-1}
.hdv-pt__lead{margin:0;font-size:21px;line-height:1.6;max-width:540px;color:var(--suave)}
.hdv-pt__caras{display:flex;align-items:center;gap:14px;font-size:15px;color:var(--suave)}
.hdv-pt__caras-fotos{display:flex}
.hdv-pt__caras-fotos img{width:44px;height:44px;border-radius:999px;object-fit:cover;border:3px solid var(--lino)}
.hdv-pt__caras-fotos img+img{margin-left:-12px}
.hdv-pt__hero-fotos{flex:1 1 480px;position:relative;height:540px}
.hdv-pt__polaroid{position:absolute;margin:0;background:#fff;border-radius:6px;box-shadow:0 28px 60px rgba(46,42,34,.22)}
.hdv-pt__polaroid img{display:block;width:100%;object-fit:cover}
.hdv-pt__polaroid figcaption{position:absolute;left:16px;right:16px;bottom:12px;text-align:center;font-family:'Caveat',cursive;font-weight:600;font-size:26px;color:var(--suave)}
.hdv-pt__polaroid--grande{left:0;top:30px;width:76%;padding:14px 14px 56px;transform:rotate(-4deg)}
.hdv-pt__polaroid--grande img{aspect-ratio:3/2}
.hdv-pt__polaroid--peque{right:0;top:230px;width:44%;padding:12px 12px 48px;transform:rotate(5deg)}
.hdv-pt__polaroid--peque img{aspect-ratio:1/1;filter:sepia(.15)}
.hdv-pt__celo{position:absolute;left:50%;top:-14px;width:100px;height:28px;background:rgba(197,221,122,.85);transform:translateX(-50%) rotate(-4deg)}
.hdv-pt__sello{position:absolute;left:6%;bottom:0;width:130px;height:130px;border-radius:999px;background:var(--lima);display:flex;align-items:center;justify-content:center;text-align:center;transform:rotate(-12deg);font-family:'Fraunces',serif;font-style:italic;font-size:18px;line-height:1.15;padding:14px;box-shadow:0 10px 24px rgba(46,42,34,.15)}

/* Cinta verde */
.hdv-pt__cinta{background:var(--verde);color:var(--lino)}
.hdv-pt__cinta .hdv-pt__wrap{padding-top:22px;padding-bottom:22px;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 40px;font-family:'Fraunces',serif;font-style:italic;font-size:22px;text-align:center}
.hdv-pt__cinta i{color:var(--lima);font-style:normal}

/* Así de fácil */
.hdv-pt__pasos{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.hdv-pt__paso{background:var(--crema);border:1px solid #E2D6BF;border-radius:32px;padding:32px;display:flex;flex-direction:column;gap:16px;transform:rotate(var(--rot,0))}
.hdv-pt__paso-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hdv-pt__num{width:64px;height:64px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-family:'Fraunces',serif;font-size:30px;flex:0 0 auto}
.hdv-pt__nota{font-family:'Caveat',cursive;font-weight:600;font-size:26px;color:var(--tierra);text-align:right}
.hdv-pt__paso h3,.hdv-pt__feat h3{margin:0;font-family:'Fraunces',serif;font-weight:600;font-size:27px;line-height:1.15}
.hdv-pt__paso p,.hdv-pt__feat p{margin:0;font-size:17px;line-height:1.6;color:var(--suave)}

/* Ejemplo */
.hdv-pt__ejemplo{background:#E4EDCF url('img/copa.jpg') no-repeat center bottom / 1500px auto}
.hdv-pt__ejemplo-in{padding-top:104px;padding-bottom:120px;display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.hdv-pt__ejemplo-txt{flex:1 1 380px;display:flex;flex-direction:column;gap:20px}
.hdv-pt__ejemplo-txt p{margin:0;font-size:18px;line-height:1.6;color:var(--suave)}
.hdv .hdv-pt__navegador{flex:1 1 580px;display:block;background:#fff;border-radius:24px;box-shadow:0 30px 70px rgba(46,42,34,.2);overflow:hidden;text-decoration:none;transition:transform .3s}
.hdv .hdv-pt__navegador:hover{transform:translateY(-4px)}
.hdv-pt__barra{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#F1ECE1}
.hdv-pt__barra i{width:12px;height:12px;border-radius:999px;background:#D8CBB0}
.hdv-pt__barra span{flex:1;margin-left:12px;background:#fff;border-radius:999px;padding:6px 14px;font-size:13px;color:#5F5644;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hdv-pt__navegador img{display:block;width:100%;height:auto}

/* Características */
.hdv-pt__feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media (max-width:980px){.hdv-pt__feats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.hdv-pt__feats{grid-template-columns:1fr}}
.hdv-pt__feat{border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:12px}
.hdv-pt__feat h3{font-size:24px}
.hdv-pt__feat p{font-size:16px}
.hdv-pt__feat-ico{width:52px;height:52px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--verde)}

/* Plantillas */
.hdv-pt__plantillas{background:#EFE6D3}
.hdv-pt__tfiltros{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 28px}
.hdv .hdv-pt__tfiltros button{font:inherit!important;font-weight:700!important;font-size:15px!important;color:var(--texto)!important;background:#fff!important;border:1.5px solid #E2D6BF!important;border-radius:999px!important;padding:9px 18px!important;cursor:pointer;line-height:1.2!important;text-transform:none!important;min-height:40px}
.hdv .hdv-pt__tfiltros button.is-on{background:var(--verde)!important;border-color:var(--verde)!important;color:#fff!important}
.hdv-pt__tpl[hidden]{display:none!important}
.hdv-pt__tpls{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.hdv-pt__tpl{background:#fff;border-radius:28px;padding:12px;display:flex;flex-direction:column;gap:14px}
.hdv .hdv-pt__tpl-img{all:unset;display:block;border-radius:18px;overflow:hidden;aspect-ratio:4/3;background:#F1E9D6;cursor:zoom-in}
.hdv-pt__tpl-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .4s}
.hdv-pt__tpl-img:hover img{transform:scale(1.03)}
.hdv-pt__tpl-img:focus-visible{outline:3px solid var(--lima);outline-offset:3px}
.hdv-pt__tpl-pie{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:2px 8px 6px}
.hdv-pt__tpl-pie>div{display:flex;flex-direction:column;gap:2px}
.hdv-pt__grupo{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--tierra)}
.hdv-pt__tpl-pie strong{font-family:'Fraunces',serif;font-weight:600;font-size:24px}
.hdv-pt__tpl-pie span:last-child{font-size:14px;color:var(--suave)}
.hdv .hdv-pt__ver{flex:0 0 auto;font:inherit!important;font-size:14px!important;font-weight:700!important;background:transparent!important;border:1.5px solid var(--verde)!important;color:var(--verde)!important;border-radius:999px!important;padding:10px 16px!important;cursor:pointer;text-transform:none!important;line-height:1.2!important}
.hdv .hdv-pt__ver:hover{background:var(--claro)!important}

/* Precios */
.hdv-pt__planes{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:24px;align-items:stretch}
.hdv-pt__plan{position:relative;background:var(--crema);border:1px solid #E2D6BF;border-radius:32px;padding:36px 32px;display:flex;flex-direction:column;gap:18px}
.hdv-pt__plan--main{background:var(--verde);border-color:var(--verde);color:var(--lino)}
.hdv-pt__badge{position:absolute;top:-16px;left:32px;background:var(--lima);color:var(--texto);font-weight:700;font-size:14px;padding:8px 16px;border-radius:999px}
.hdv-pt__plan-nom{font-family:'Fraunces',serif;font-weight:600;font-size:27px}
.hdv-pt__precio{display:flex;align-items:baseline;gap:8px}
.hdv-pt__precio strong{font-family:'Fraunces',serif;font-weight:400;font-size:62px;line-height:1}
.hdv-pt__precio span{font-size:16px;opacity:.85}
.hdv-pt__plan p{margin:0;font-size:16px;line-height:1.55;opacity:.92}
.hdv-pt__plan ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.45}
.hdv-pt__plan li{display:flex;gap:10px;align-items:flex-start}
.hdv-pt__plan li svg{flex:0 0 20px;margin-top:1px;color:var(--verde)}
.hdv-pt__plan--main li svg{color:var(--lima)}
.hdv-pt__plan .hdv-btn{margin-top:auto}
.hdv-pt__luego{margin-top:auto;text-align:center;font-size:14px;font-weight:700;color:var(--tierra);border:1.5px dashed #D2C2A2;border-radius:999px;padding:13px 16px}

/* Regalo */
.hdv-pt__regalo{background:var(--verde);color:var(--lino)}
.hdv-pt__regalo-in{padding-top:96px;padding-bottom:96px;display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.hdv-pt__regalo-txt{flex:1 1 460px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.hdv-pt__regalo-txt p{margin:0;font-size:18px;line-height:1.6;color:var(--claro)}
.hdv-pt__tarjeta{flex:0 1 380px;margin:0 auto;background:var(--lino);color:var(--texto);border-radius:22px;padding:0 28px 30px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;transform:rotate(-4deg);box-shadow:0 30px 60px rgba(0,0,0,.3);overflow:hidden}
.hdv-pt__lazo{width:calc(100% + 56px);height:auto;margin:-6px -28px 6px;overflow:visible}
.hdv-pt__tarjeta-mano{font-family:'Caveat',cursive;font-weight:600;font-size:28px;color:var(--tierra)}
.hdv-pt__tarjeta-para{font-family:'Fraunces',serif;font-size:30px;line-height:1.1}
.hdv-pt__tarjeta-ded{font-family:"Caveat",cursive;font-weight:600;font-size:24px;color:var(--suave);margin-top:10px}
.hdv-pt__tarjeta-logo{font-family:'Fraunces',serif;font-size:26px;margin-top:14px;padding-top:14px;border-top:1.5px dashed #D2C2A2;width:100%}
.hdv-pt__tarjeta-logo em{color:var(--verde)}

/* Vídeo */
.hdv-pt__video-sec{align-items:center;padding-bottom:40px}
.hdv-pt__video{width:100%;max-width:960px;aspect-ratio:16/9;border-radius:32px;overflow:hidden;background:var(--texto);position:relative}
.hdv .hdv-pt__video button{all:unset;cursor:pointer;display:block;width:100%;height:100%;position:relative}
.hdv-pt__video img{width:100%;height:100%;object-fit:cover;opacity:.8}
.hdv-pt__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:104px;height:104px;border-radius:999px;background:var(--lima);display:flex;align-items:center;justify-content:center;transition:transform .2s}
.hdv-pt__video button:hover .hdv-pt__play{transform:translate(-50%,-50%) scale(1.06)}
.hdv-pt__video iframe,.hdv-pt__video video{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:contain;background:#2E2A22}

/* Preguntas */
.hdv-pt__faq{max-width:920px;margin:0 auto;padding-left:24px;padding-right:24px;gap:12px;padding-top:80px}
.hdv-pt__faq .hdv-pt__h2{margin-bottom:20px}
.hdv-pt__q{background:var(--crema);border:1px solid #E2D6BF;border-radius:22px;overflow:hidden}
.hdv-pt__q[open]{border-color:var(--rama)}
.hdv-pt__q summary{list-style:none;cursor:pointer;padding:22px 26px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:'Fraunces',serif;font-weight:600;font-size:21px}
.hdv-pt__q summary::-webkit-details-marker{display:none}
.hdv-pt__q summary i{position:relative;width:36px;height:36px;border-radius:999px;background:#EFE6D3;flex:0 0 36px}
.hdv-pt__q summary i::before,.hdv-pt__q summary i::after{content:'';position:absolute;left:11px;right:11px;top:17px;height:2px;background:var(--texto);border-radius:2px}
.hdv-pt__q summary i::after{transform:rotate(90deg);transition:transform .2s}
.hdv-pt__q[open] summary i{background:var(--lima)}
.hdv-pt__q[open] summary i::after{transform:rotate(0)}
.hdv-pt__q summary:focus-visible{outline:3px solid var(--lima);outline-offset:-3px;border-radius:22px}
.hdv-pt__q p{margin:0;padding:0 26px 24px;font-size:16px;line-height:1.65;color:var(--suave)}

/* Final, con las raíces */
.hdv-pt__final{background:#5E4632 url('img/raices.jpg') no-repeat center top / 1760px auto;color:var(--lino)}
.hdv-pt__final-in{padding-top:170px;padding-bottom:190px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
.hdv-pt__final .hdv-pt__mano{align-self:center;transform:rotate(-3deg)}

@media (max-width:860px){
	.hdv-pt__sec{padding-top:72px;padding-bottom:72px;gap:32px}
	.hdv-pt__hero{padding-top:20px;padding-bottom:64px;gap:24px}
	.hdv-pt__hero-fotos{height:380px;flex-basis:100%}
	.hdv-pt__polaroid--grande{width:82%;top:10px}
	.hdv-pt__polaroid--peque{width:46%;top:170px}
	.hdv-pt__polaroid figcaption{font-size:20px}
	.hdv-pt__sello{width:104px;height:104px;font-size:15px}
	.hdv-pt__lead{font-size:18px}
	.hdv-pt__cinta .hdv-pt__wrap{font-size:18px;gap:6px 18px}
	.hdv-pt__paso{transform:none;padding:26px}
	.hdv-pt__ejemplo-in,.hdv-pt__regalo-in{padding-top:72px;padding-bottom:80px;gap:36px}
	.hdv .hdv-pt__navegador{flex-basis:100%}
	.hdv-pt__tpl-pie{flex-wrap:wrap}
	.hdv-pt__tarjeta{flex-basis:300px;max-width:300px}
	.hdv-pt__final-in{padding-top:110px;padding-bottom:130px}
	.hdv-pt__q summary{font-size:18px;padding:18px 20px}
}
@media (prefers-reduced-motion:reduce){.hdv-pt *{transition:none!important}}

/* Cabecera de Elementor fija arriba al hacer scroll (en la portada) */
body .elementor-location-header{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:999;background-color:#F5EFE3}
@media (max-width:600px){body.admin-bar .elementor-location-header{top:0}}

/* Oferta (Ajustes → Oferta en la portada) */
.hdv-pt__oferta{display:inline-block;margin:0 0 20px;background:#7A1F2B;color:#F5EFE3!important;text-decoration:none!important;font-size:16px;padding:9px 18px;border-radius:999px;box-shadow:0 6px 16px rgba(122,31,43,.25)}
.hdv-pt__oferta strong{color:#E9CD86}
.hdv-pt__badge--oferta{background:#7A1F2B;color:#F5EFE3;max-width:calc(100% - 64px)}

/* Claves bajo los botones de la portada: privacidad y fotos */
.hdv-pt__claves{list-style:none!important;margin:-6px 0 0!important;padding:0!important;display:flex;flex-direction:column;gap:10px}
.hdv-pt__claves li{display:flex;align-items:center;gap:12px;margin:0!important;padding:0!important;font-size:17px;line-height:1.35;color:var(--texto,#2E2A22)}
.hdv-pt__claves li::before{display:none!important}
.hdv-pt__claves svg{flex:0 0 34px;width:34px;height:34px;padding:7px;border-radius:50%;background:#E6EEDB;fill:none;stroke:#3F5B3A;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.hdv-pt__claves strong{color:#3F5B3A}
@media (max-width:600px){.hdv-pt__claves li{font-size:15.5px}}

/* Título de la portada siempre en 3 líneas: el tamaño se ajusta al ancho de la columna */
.hdv-pt__hero-txt{container-type:inline-size;min-width:0}
.hdv-pt__h1{font-size:clamp(30px,10.6cqi,80px)}
.hdv-pt__h1 em{white-space:nowrap}
