/* ===== Hilo de Vida ===== */
.hdv{--lino:#F5EFE3;--crema:#FFFBF3;--verde:#3F5B3A;--lima:#C5DD7A;--claro:#E4EDCF;--arena:#E8D9BC;--tierra:#7A5A3C;--dorado:#D9B877;--texto:#2E2A22;--suave:#4A4335;--rama:#A88763;
	font-family:'DM Sans',system-ui,sans-serif;color:var(--texto);background:var(--lino);overflow:hidden;overflow:clip;line-height:1.5}
.hdv *,.hdv *::before,.hdv *::after{box-sizing:border-box}
.hdv a{color:inherit}
.hdv img{max-width:100%}
.hdv h1,.hdv h2,.hdv h3,.hdv p{margin:0}
.hdv-wrap{max-width:1280px;margin:0 auto;padding-left:24px;padding-right:24px}
.hdv-h2{font-family:'Fraunces',serif;font-weight:400;font-size:clamp(38px,5vw,64px);line-height:1.02;color:var(--texto)}
.hdv-h2 em{color:var(--verde)}
.hdv-h2--claro,.hdv-h2--claro em{color:var(--lino)}
.hdv-h2--claro em{color:var(--lima)}
.hdv-sub{font-size:18px;color:var(--suave);margin-top:12px}
.hdv-sub--claro{color:var(--claro)}
.hdv-sub{max-width:720px}
.hdv-pista{font-size:14px;color:#6B624F;margin-top:8px}
.hdv-nota{font-family:'Caveat',cursive;font-size:30px;line-height:1.1;color:var(--tierra);transform:rotate(-3deg)}
.hdv-nota--lima{color:var(--lima)}
.hdv-nota--center{text-align:center;margin:28px auto 0}
.hdv-sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}
.hdv-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Botones */
.hdv-btns{display:flex;flex-wrap:wrap;gap:12px}
.hdv-btns--center{justify-content:center}
.hdv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none;background:var(--verde);color:var(--lino)!important;padding:16px 28px;border-radius:999px;font-weight:700;font-size:17px;border:1.5px solid var(--verde);transition:transform .2s,box-shadow .2s}
.hdv-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(46,42,34,.15)}
.hdv-btn--line{background:transparent;color:var(--texto)!important;border-color:var(--texto)}
.hdv-btn--lima{background:var(--lima);border-color:var(--lima);color:var(--texto)!important}
.hdv-btn--crema{background:var(--lino);border-color:var(--lino);color:var(--texto)!important}
.hdv-btn--dark{background:#2F4630;border-color:#2F4630}
.hdv-btn--sm{padding:10px 18px;min-height:44px;font-size:15px}

/* Portada */
.hdv-hero{display:flex;flex-wrap:wrap;gap:40px;align-items:center;padding-top:24px;padding-bottom:96px}
.hdv-hero__txt{flex:1 1 500px;display:flex;flex-direction:column;gap:24px}
.hdv-kicker{font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:#5F6E3C;font-weight:700}
.hdv-titulo{margin:0;font-family:'Fraunces',serif;font-weight:400;font-size:clamp(48px,7vw,88px);line-height:1;letter-spacing:-.02em;color:var(--texto)}
.hdv-titulo em{position:relative;display:inline-block;isolation:isolate;color:var(--verde);font-style:italic}
.hdv-marca{position:absolute;left:-8px;right:-12px;bottom:.12em;height:.34em;background:var(--lima);border-radius:18px 6px 22px 8px;transform:rotate(-2deg);z-index:-1}
.hdv-lead{font-size:20px;line-height:1.6;max-width:520px;color:var(--suave)}
.hdv-hero__foto{flex:1 1 480px;position:relative;padding:40px 10px 60px}
.hdv-hero__back{position:absolute;left:8%;top:12%;width:84%;height:74%;background:var(--claro);border-radius:6px;transform:rotate(4deg)}
.hdv-polaroid{position:relative;margin:0;background:#fff;padding:16px 16px 64px;border-radius:6px;transform:rotate(-3deg);box-shadow:0 2px 4px rgba(46,42,34,.08),0 28px 60px rgba(46,42,34,.22)}
.hdv-polaroid img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:2px}
.hdv-polaroid__vacia{aspect-ratio:3/2;background:var(--arena);display:flex;align-items:center;justify-content:center;color:var(--suave)}
.hdv-polaroid figcaption{position:absolute;left:16px;right:16px;bottom:14px;font-family:'Caveat',cursive;font-size:clamp(20px,4.5vw,32px);line-height:1.2;color:var(--suave);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hdv-cinta{position:absolute;left:50%;top:-16px;width:120px;height:32px;background:rgba(197,221,122,.8);transform:translateX(-50%) rotate(-4deg);border-radius:2px}
.hdv-nota--hero{position:absolute;right:0;top:-6px;transform:rotate(6deg)}
.hdv-sticker{position:absolute;left:-6px;bottom:0;width:124px;height:124px;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.1;padding:12px;box-shadow:0 10px 24px rgba(46,42,34,.15)}

/* Árbol */
.hdv-arbol{background:url('img/copa.webp') no-repeat center calc(100% + 2px) / 1760px auto,url('img/cielo.svg') no-repeat center top / 100% 100%,linear-gradient(180deg,#CFE3EE 0%,#DDEBF1 45%,#E9F1EF 100%);padding:96px 0}
.hdv-tree{display:flex;flex-direction:column;align-items:center;padding:8px 0}
.hdv-tree__top{position:relative;display:flex;flex-direction:column;align-items:center}
.hdv-nota--tronco{position:absolute;right:calc(100% + 16px);top:30px;white-space:nowrap;transform:rotate(-6deg)}
.hdv-card{display:flex;gap:6px;border-radius:36px;padding:20px 14px 18px}
.hdv-card--top{background:#fff;box-shadow:0 10px 30px rgba(63,91,58,.12)}
.hdv-card--rama{background:rgba(255,255,255,.72);border-radius:32px;padding:16px 10px 14px}
.hdv-ramaje{display:block;width:100%;height:110px}
.hdv-ramaje--sm{height:70px}
.hdv-ramas{display:grid;gap:16px;width:100%}
.hdv-rama{display:flex;flex-direction:column;align-items:center}
.hdv-pasillo{position:relative}
.hdv-pasillo::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:4px;margin-left:-2px;background:var(--rama);border-radius:2px}
.hdv-tree--multi .hdv-ramas{gap:14px}
.hdv-tree--multi .hdv-ramas+.hdv-ramaje{margin-top:-2px}
.hdv-tree--multi .hdv-card--rama{padding:14px 6px 12px;gap:2px}
.hdv-tree--multi .hdv-p--md{width:128px}
.hdv-tree--multi .hdv-p--md .hdv-p__foto{width:88px;height:88px}
.hdv-tree--multi .hdv-p--md .hdv-p__nom{font-size:17px}
.hdv-tree--multi .hdv-p--sm .hdv-p__foto{width:84px;height:84px}
.hdv-tree--multi .hdv-p--sm .hdv-p__nom{font-size:16px}
.hdv-tree--multi .hdv-chip{padding:6px 11px;min-height:32px;font-size:12px;white-space:nowrap}
.hdv-tree--multi .hdv-kids--muchos .hdv-chip__mas{display:none}
.hdv-tree--multi .hdv-kids--muchos .hdv-p--sm .hdv-p__nom{font-size:15px}
.hdv-hueco{display:block}
.hdv-kids{display:grid;width:100%}
.hdv-nieto{display:flex;flex-direction:column;align-items:center;min-width:0}
.hdv-nieto__pareja{display:flex;justify-content:center;gap:0;background:#CFDDB0;border-radius:22px;padding:10px 4px 8px}
.hdv-card--kids.hdv-kids--sueltos{background:transparent;padding:0;gap:10px;align-items:start}
.hdv-kids--sueltos>.hdv-p{background:#CFDDB0;border-radius:22px;padding:10px 4px 8px;justify-self:center;min-width:110px}
.hdv-ramaje--xs{height:44px;width:70%}
.hdv-card--bebes{display:grid;width:auto;min-width:70%;background:#8FA862;border-radius:22px;padding:10px 4px 10px;gap:0;box-shadow:0 6px 16px rgba(46,42,34,.14)}
.hdv-card--bebes .hdv-p__fecha{color:#2E2A22}
.hdv-p--xs{width:auto;gap:5px;padding:2px}
.hdv-p--xs .hdv-p__foto{width:80px;height:80px;border-width:3px}
.hdv-p--xs .hdv-p__nom{font-size:16px}
.hdv-p--xs .hdv-p__fecha{font-size:12px;margin-top:-4px}
.hdv-p--xs .hdv-chip{padding:4px 9px;min-height:28px;font-size:11px;white-space:nowrap}
.hdv-p--xs .hdv-chip__mas,.hdv-nieto .hdv-chip__mas,.hdv-tree--multi .hdv-kids--muchos .hdv-chip__mas{display:none}
.hdv-card--kids{background:#CFDDB0;border-radius:28px;padding:14px 6px 12px;gap:0}
.hdv-p{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:4px}
.hdv-p--lg{width:190px}.hdv-p--md{width:160px}.hdv-p--sm{width:auto}
.hdv-p__foto{display:block;border-radius:999px;overflow:hidden;border:3px solid var(--dorado);flex:0 0 auto}
.hdv-p--lg .hdv-p__foto{width:136px;height:136px}
.hdv-p--md .hdv-p__foto{width:104px;height:104px}
.hdv-p--sm .hdv-p__foto{width:96px;height:96px}
.hdv-p__foto img,.hdv-p__foto .hdv-ini{display:flex;width:100%;height:100%;object-fit:cover}
.hdv-ini{align-items:center;justify-content:center;background:var(--arena);font-family:'Fraunces',serif;font-size:28px;color:var(--texto);border-radius:999px}
.hdv-p__nom{font-family:'Fraunces',serif;font-size:19px;line-height:1.15}
.hdv-p--lg .hdv-p__nom{font-size:22px}
.hdv-p--sm .hdv-p__nom{font-size:17px}
.hdv-p__fecha{font-size:13px;color:#5F5644;margin-top:-6px}
.hdv-chip{display:inline-flex;align-items:center;min-height:36px;text-decoration:none;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:700}
.hdv-chip--ver{background:var(--verde);color:var(--lino)!important}
.hdv-chip--crear{background:var(--lima);color:var(--texto)!important}
.hdv-p--sm .hdv-chip{padding:6px 12px;min-height:32px;font-size:12px;white-space:nowrap}
.hdv-p__otro{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:var(--tierra)!important;text-decoration:none;padding:4px 0}
.hdv-nota--fin{margin-top:32px;transform:rotate(-2deg);background:rgba(245,239,227,.9);padding:4px 16px;border-radius:12px}
.hdv-vacio{font-size:18px;text-align:center;padding:40px 0}

/* Raíces */
.hdv-raices{background:#5E4632 url('img/raices.jpg') no-repeat center top / 1760px auto;color:var(--lino)}
.hdv-raices__in{padding-top:170px;padding-bottom:190px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.hdv-raices p{font-size:18px;line-height:1.55;max-width:600px;color:#F1F5E4}

/* Grandes momentos (tendedero) */
.hdv-momentos{padding-top:96px;padding-bottom:96px}
.hdv-filtros{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.hdv-filtro{font:inherit;font-size:15px;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:7px;padding:10px 18px;min-height:44px;border-radius:999px;border:0;background:var(--arena);color:var(--texto);box-shadow:0 0 0 0 var(--texto);transition:box-shadow .2s,transform .2s,opacity .2s}
.hdv-filtro:hover{transform:translateY(-1px)}
.hdv-filtro span{font-weight:500;opacity:.75}
.hdv-filtro--todos{background:var(--verde);color:var(--lino)}
.hdv-filtros.is-filtrando .hdv-filtro:not(.is-on){opacity:.55}
.hdv-filtro.is-on{box-shadow:0 0 0 2.5px var(--lino),0 0 0 4.5px var(--texto)}
.hdv-tendedero{position:relative;min-width:1160px}
.hdv-cuerda{position:absolute;inset:0;width:100%;height:100%}
.hdv-pinza{position:absolute;width:262px;margin-left:-131px;transform:rotate(var(--rot,0));transform-origin:50% 0;transition:opacity .3s,filter .3s}
.hdv-pinza.is-off{opacity:.22;filter:grayscale(1)}
.hdv-pinza__clip{position:absolute;left:50%;top:-14px;width:14px;height:34px;margin-left:-7px;background:#C9A273;border-radius:3px;box-shadow:inset -3px 0 0 #B08A5C;z-index:2}
.hdv-pinza__card{background:#fff;border-radius:6px;padding:12px 12px 16px;box-shadow:0 14px 30px rgba(46,42,34,.16);display:flex;flex-direction:column;gap:8px}
.hdv-pinza__foto{height:170px;width:100%;border:0;padding:0;font:inherit;cursor:zoom-in;border-radius:3px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;color:var(--texto)}
.hdv-pinza__foto img{transition:transform .4s}
.hdv-pinza__foto:hover img{transform:scale(1.04)}
.hdv-pinza__foto img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.hdv-pinza__icono{opacity:.7}
.hdv-pinza__meta{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 2px}
.hdv-pinza__anio{font-family:'Fraunces',serif;font-style:italic;font-size:26px;line-height:1;color:var(--verde)}
.hdv-tag{display:flex;align-items:center;gap:4px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700}
.hdv-pinza h3{font-family:'Fraunces',serif;font-weight:600;font-size:19px;line-height:1.2;padding:0 2px}
.hdv-pinza p{font-size:14px;color:#5F5644;padding:0 2px;line-height:1.35}
.hdv-pinza__caras{display:flex;gap:4px;padding:2px 2px 0}
.hdv-pinza__caras a{display:block;width:36px;height:36px;border-radius:999px;overflow:hidden;border:2px solid var(--dorado)}
.hdv-pinza__caras img,.hdv-pinza__caras .hdv-ini{display:flex;width:100%;height:100%;object-fit:cover;font-size:14px}

/* Foto en grande */
.hdv-lb{position:fixed;inset:0;z-index:99999;background:rgba(30,27,21,.82);display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;transition:opacity .25s}
.hdv-lb.is-open{opacity:1}
.hdv-lb__card{position:relative;background:#fff;border-radius:8px;padding:16px 16px 22px;max-width:min(860px,100%);max-height:100%;overflow:auto;transform:rotate(-1deg);box-shadow:0 30px 80px rgba(0,0,0,.4);font-family:'DM Sans',system-ui,sans-serif;color:var(--texto,#2E2A22)}
.hdv-lb__foto{position:relative;background:#F5EFE3;border-radius:3px;display:flex;align-items:center;justify-content:center;min-height:200px}
.hdv-lb__foto img{display:block;max-width:100%;max-height:68vh;object-fit:contain}
.hdv-lb__txt{padding:14px 6px 0;display:flex;flex-direction:column;gap:6px}
.hdv-lb__txt .hdv-pinza__meta{justify-content:flex-start;gap:12px}
.hdv-lb__txt h3{font-family:'Fraunces',serif;font-weight:600;font-size:26px;line-height:1.15;margin:0}
.hdv-lb__txt p{margin:0;font-size:16px;color:#5F5644}
.hdv-lb__cerrar,.hdv-lb__nav{position:absolute;width:44px;height:44px;border-radius:999px;border:0;background:rgba(255,251,243,.95);color:#2E2A22;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:24px;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.hdv-lb__cerrar{right:-14px;top:-14px;background:#3F5B3A;color:#fff}
.hdv-lb__nav{top:50%;transform:translateY(-50%)}
.hdv-lb__nav.is-prev{left:10px}.hdv-lb__nav.is-next{right:10px}
.hdv-lb__cont{position:absolute;right:12px;top:12px;background:rgba(46,42,34,.75);color:#fff;font-size:13px;font-weight:700;padding:6px 10px;border-radius:999px}

/* ===== Persona ===== */
.hdv-volver{padding-top:20px;padding-bottom:8px}
.hdv-phero{background:var(--arena);border-radius:48px;padding:48px;display:flex;flex-wrap:wrap;gap:48px;align-items:center;margin:16px 0 72px}
.hdv-phero__foto{flex:0 1 380px;position:relative}
.hdv-phero__marco{width:100%;aspect-ratio:1/1;border-radius:40px;overflow:hidden;border:8px solid #fff;transform:rotate(-3deg);box-shadow:0 24px 48px rgba(46,42,34,.2)}
.hdv-phero__marco img,.hdv-phero__marco .hdv-ini{display:flex;width:100%;height:100%;object-fit:cover;font-size:80px;border-radius:0}
.hdv-phero__apodo{position:absolute;right:-12px;bottom:-16px;background:#2F4630;color:#fff;padding:12px 18px;border-radius:18px;font-weight:700;font-size:15px;transform:rotate(3deg)}
.hdv-phero__txt{flex:1 1 440px;display:flex;flex-direction:column;gap:18px}
.hdv-pills{display:flex;flex-wrap:wrap;gap:8px}
.hdv-pills span{background:#fff;padding:8px 14px;border-radius:999px;font-size:14px;font-weight:700}
.hdv-pnombre{font-family:'Fraunces',serif;font-weight:600;font-size:clamp(44px,6vw,84px);line-height:.95;letter-spacing:-.02em}
.hdv-pfechas{font-family:'Fraunces',serif;font-size:30px;font-weight:600}
.hdv-pcita{font-size:22px;line-height:1.45;font-style:italic}
.hdv-bio{display:flex;flex-wrap:wrap;gap:48px;padding-bottom:72px}
.hdv-bio .hdv-h2{flex:1 1 280px}
.hdv-bio__txt{flex:2 1 520px;font-size:20px;line-height:1.7}
.hdv-bio__txt p+p{margin-top:1em}

/* Camino de vida */
.hdv-camino{background:#2F4630;color:#fff;border-radius:48px 48px 0 0;padding:88px 0 64px}
.hdv-camino__board{position:relative;margin-top:16px}
.hdv-camino__svg{position:absolute;inset:0;width:100%;height:100%}
.hdv-parada{position:absolute;left:0;right:0;height:360px}
.hdv-parada__nota{position:absolute;top:90px;width:26%;font-family:'Caveat',cursive;font-size:34px;line-height:1.1;color:var(--lima)}
.hdv-parada.is-izq .hdv-parada__nota{left:48.5%;text-align:left;transform:rotate(-4deg)}
.hdv-parada.is-der .hdv-parada__nota{right:48.5%;text-align:right;transform:rotate(4deg)}
.hdv-parada__card{position:absolute;top:-40px;width:44%;background:var(--crema);color:var(--texto);border-radius:24px;padding:14px 14px 22px;box-shadow:0 24px 50px rgba(0,0,0,.28)}
.hdv-parada.is-izq .hdv-parada__card{left:2%;transform:rotate(-1.5deg)}
.hdv-parada.is-der .hdv-parada__card{left:54%;transform:rotate(1.5deg)}
.hdv-parada__card .hdv-cinta{top:-14px;width:110px;height:28px;background:rgba(197,221,122,.85)}
.hdv-parada__num{position:absolute;left:-22px;top:-22px;width:56px;height:56px;border-radius:999px;background:var(--lima);color:var(--texto);display:flex;align-items:center;justify-content:center;font-family:'Fraunces',serif;font-size:24px;box-shadow:0 0 0 6px #2F4630;z-index:3}
.hdv-parada__head{display:flex;align-items:baseline;gap:14px;padding:4px 10px 0;flex-wrap:wrap}
.hdv-parada__anio{font-family:'Fraunces',serif;font-style:italic;font-size:44px;line-height:1;color:var(--verde)}
.hdv-parada h3{font-family:'Fraunces',serif;font-weight:600;font-size:22px}
.hdv-parada__txt{margin-top:8px!important;font-size:15px;line-height:1.55;padding:0 10px;color:var(--suave)}

.hdv-camino__fin{margin-top:28px}

/* Audio */
.hdv-audio{display:flex;align-items:center;gap:14px;border-radius:999px;padding:8px 18px 8px 8px;max-width:460px}
.hdv-audio--hero{background:#2F4630;color:var(--lino)}
.hdv-audio--slide{background:transparent;color:var(--lino);width:72%;max-width:none;border-radius:0;padding:0;flex-direction:column;gap:18px;text-align:center}
.hdv-audio__play{flex:0 0 auto;width:48px;height:48px;border-radius:999px;border:0;background:var(--lima);color:var(--texto);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .2s}
.hdv-audio__play:hover{transform:scale(1.06)}
.hdv-audio--slide .hdv-audio__play{width:72px;height:72px;box-shadow:0 0 0 10px rgba(197,221,122,.18)}
.hdv-audio__i-pausa{display:none}
.hdv-audio.is-playing .hdv-audio__i-pausa{display:block}
.hdv-audio.is-playing .hdv-audio__i-play{display:none}
.hdv-audio__cuerpo{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px;width:100%}
.hdv-audio__tit{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hdv-audio--slide .hdv-audio__tit{font-family:'Fraunces',serif;font-style:italic;font-weight:400;font-size:24px;white-space:normal;order:2}
.hdv-audio__ondas{display:flex;align-items:center;gap:3px;height:30px;cursor:pointer}
.hdv-audio--slide .hdv-audio__ondas{height:56px}
.hdv-audio__ondas i{flex:1 1 0;min-width:2px;border-radius:2px;background:rgba(245,239,227,.35);transition:background .15s}
.hdv-audio__ondas i.is-on{background:var(--lima)}
.hdv-audio__t{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;opacity:.85;flex:0 0 auto}
.hdv-car__slide.is-audio{background:#3F5B3A}

/* Carrusel */
.hdv-car__vista{position:relative;height:300px;border-radius:16px;overflow:hidden;background:var(--arena)}
.hdv-car__pista{display:flex;height:100%;transition:transform .45s ease}
.hdv-car__slide{flex:0 0 100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;color:var(--suave)}
.hdv-car__slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hdv-car__slide.is-antigua img{object-fit:contain;padding:18px;filter:drop-shadow(0 8px 14px rgba(46,42,34,.25))}
.hdv-car__btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:0;background:rgba(255,251,243,.92);color:var(--texto);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.hdv-car__btn.is-prev{left:10px}.hdv-car__btn.is-next{right:10px}
.hdv-car__cont{position:absolute;right:12px;top:12px;background:rgba(46,42,34,.75);color:#fff;font-size:13px;font-weight:700;padding:6px 10px;border-radius:999px}
.hdv-car__dots{display:flex;justify-content:center;gap:4px;padding-top:6px}
.hdv-car__dots button{width:28px;height:28px;border:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.hdv-car__dots span{width:8px;height:8px;border-radius:999px;background:#C9BFA8;transition:width .3s}
.hdv-car__dots button.is-on span{width:24px;background:var(--verde)}

/* Su gente */
.hdv-gente{padding-top:88px;padding-bottom:88px;display:flex;flex-direction:column;gap:28px}
.hdv-gente__lista{display:flex;flex-wrap:wrap;gap:14px}
.hdv-gente__item{text-decoration:none;display:flex;align-items:center;gap:12px;padding:10px 22px 10px 10px;border-radius:999px;color:var(--texto)}
.hdv-gente__item img,.hdv-gente__item .hdv-ini{display:flex;width:52px;height:52px;border-radius:999px;object-fit:cover;border:2px solid #fff;font-size:20px}
.hdv-gente__item span{display:flex;flex-direction:column}
.hdv-gente__item strong{font-size:16px}
.hdv-gente__item small{font-size:14px}
.hdv-otro{background:#DCE3CF;border-radius:32px;padding:32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.hdv-otro div{display:flex;flex-direction:column;gap:6px}
.hdv-otro strong{font-family:'Fraunces',serif;font-weight:600;font-size:28px}
.hdv-clave{padding-top:96px;padding-bottom:96px;display:flex;flex-direction:column;gap:20px;align-items:flex-start}

/* ===== Modo editar ===== */
.hdv-ebar{position:sticky;top:0;z-index:50;background:#2F4630;color:var(--lino,#F5EFE3);font-family:'DM Sans',system-ui,sans-serif;box-shadow:0 6px 18px rgba(0,0,0,.15)}
.hdv-ebar__in{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:10px;padding-bottom:10px}
.hdv-ebar__txt{font-weight:700;font-size:14px;margin-right:auto;display:flex;align-items:center;gap:8px}
.hdv-ebar__txt i{font-style:normal;width:26px;height:26px;border-radius:999px;background:#C5DD7A;color:#2E2A22;display:inline-flex;align-items:center;justify-content:center}
.hdv-ebar__btn{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:700;text-decoration:none;color:#F5EFE3!important;border:1.5px solid rgba(245,239,227,.35)}
.hdv-ebar__btn:hover{border-color:#F5EFE3}
.hdv-ebar__btn.is-main{background:#C5DD7A;border-color:#C5DD7A;color:#2E2A22!important}
.hdv-ebar__btn.is-salir{border-color:transparent;opacity:.8}
.hdv-p{position:relative}
.hdv-p__lapiz{position:absolute;top:0;right:calc(50% - 64px);width:34px;height:34px;border-radius:999px;background:#fff;color:var(--verde)!important;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:16px;box-shadow:0 3px 10px rgba(46,42,34,.18);z-index:2}
.hdv-p--md .hdv-p__lapiz{right:calc(50% - 56px)}
.hdv-p--sm .hdv-p__lapiz,.hdv-p--xs .hdv-p__lapiz{width:30px;height:30px;font-size:13px;right:calc(50% - 52px)}
.hdv-p--xs .hdv-p__lapiz{right:calc(50% - 46px)}
.hdv-parada__editar{position:absolute;right:14px;top:-14px;z-index:4;background:#fff;color:var(--verde)!important;text-decoration:none;font-size:13px;font-weight:700;padding:8px 14px;border-radius:999px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.hdv-arbol--vacio .hdv-wrap{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.hdv-arbol--vacio .hdv-vacio{max-width:560px;background:rgba(255,251,243,.92);border-radius:24px;padding:22px 26px}

/* ===== Avisos ===== */
.hdv-aviso{background:#F6E3C9;color:#5A3E1E;border-radius:16px;padding:14px 18px;font-weight:500;margin:16px 0}
.hdv-aviso--ok{background:#DDE8C6;color:#2F4630}

/* ===== Formularios ===== */
.hdv--form{min-height:60vh}
.hdv-fpage{padding-top:8px;padding-bottom:96px;max-width:860px}
.hdv-fpage>.hdv-h2{margin:8px 0 28px}
.hdv-h3{font-family:'Fraunces',serif;font-weight:400;font-size:30px;margin:40px 0 16px}
.hdv-form{display:flex;flex-direction:column;gap:18px}
.hdv-fs{border:0;margin:0;padding:24px;background:var(--crema);border-radius:28px;display:flex;flex-direction:column;gap:16px;box-shadow:0 2px 0 rgba(46,42,34,.04)}
.hdv-fs legend{float:left;width:100%;padding:0;margin:0 0 4px;font-family:'Fraunces',serif;font-size:24px;color:var(--verde)}
.hdv-fs legend small{font-family:'DM Sans',sans-serif;font-size:14px;color:#6B624F}
.hdv-fs--mas summary{cursor:pointer;font-weight:700;color:var(--verde)}
.hdv-fila{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.hdv-fila--13{grid-template-columns:minmax(120px,1fr) 3fr}
.hdv-campo{display:flex;flex-direction:column;gap:6px;min-width:0}
.hdv-campo>span{font-size:15px;font-weight:700;color:var(--texto)}
.hdv-campo input[type=text],.hdv-campo input[type=email],.hdv-campo select,.hdv-campo textarea{font:inherit;font-size:17px;color:var(--texto);background:#fff;border:1.5px solid #E2D6BF;border-radius:14px;padding:13px 16px;min-height:50px;width:100%;box-sizing:border-box}
.hdv-campo textarea{line-height:1.5;resize:vertical}
.hdv-campo input:focus,.hdv-campo select:focus,.hdv-campo textarea:focus{outline:3px solid rgba(197,221,122,.7);border-color:var(--verde)}
.hdv-campo__ayuda{font-size:13px;color:#6B624F;line-height:1.4}
.hdv-campo__mini{width:72px;height:72px;border-radius:14px;object-fit:cover;border:2px solid #fff;box-shadow:0 2px 8px rgba(46,42,34,.15)}
.hdv-file{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.hdv-file audio{max-width:100%;height:40px}
.hdv-file__btn{position:relative;display:inline-flex;align-items:center;min-height:48px;padding:12px 20px;border-radius:999px;background:var(--claro);border:1.5px dashed var(--verde);font-weight:700;font-size:15px;font-family:'DM Sans',system-ui,sans-serif;color:var(--verde);cursor:pointer}
.hdv-file__btn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.hdv-file__btn:focus-within{outline:3px solid rgba(197,221,122,.8)}
.hdv-file__nom{font-style:normal;font-size:14px;color:#5F5644}
.hdv-check{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.45;cursor:pointer}
.hdv-check input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--verde);flex:0 0 auto}
.hdv-check--consent{background:#F1E9D6;border-radius:16px;padding:14px 16px}
.hdv-radios{display:flex;flex-direction:column;gap:10px}
.hdv-radios>span{font-size:15px;font-weight:700}
.hdv-sub-fs{background:#F1E9D6;border-radius:18px;padding:16px}
.hdv-sub-fs[hidden]{display:none}
.hdv-minis{display:flex;flex-wrap:wrap;gap:12px}
.hdv-mini-quitar{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;cursor:pointer}
.hdv-caras-check{display:flex;flex-wrap:wrap;gap:8px}
.hdv-cara-check{display:flex;align-items:center;gap:8px;padding:5px 14px 5px 5px;border-radius:999px;background:#fff;border:1.5px solid #E2D6BF;cursor:pointer;font-size:14px;font-weight:700}
.hdv-cara-check input{position:absolute;opacity:0;width:1px;height:1px}
.hdv-cara-check img,.hdv-cara-check .hdv-ini{width:34px;height:34px;border-radius:999px;object-fit:cover;font-size:14px;display:flex}
.hdv-cara-check:has(input:checked){background:var(--claro);border-color:var(--verde)}
.hdv-cara-check:has(input:focus-visible){outline:3px solid rgba(197,221,122,.8)}
.hdv-peligro{margin-top:28px;padding:16px 20px;border-radius:20px;border:1.5px solid #E2D6BF;display:flex;flex-direction:column;gap:12px}
.hdv-peligro summary{cursor:pointer;font-weight:700;color:#8A4B2A}
.hdv-peligro[open]{gap:12px}
.hdv-peligro .hdv-btn{align-self:flex-start}
.hdv-equipo{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hdv-equipo li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;background:var(--crema);border-radius:20px;padding:14px 18px}
.hdv-equipo li span{display:flex;flex-direction:column;font-size:15px}
.hdv-equipo small{color:#6B624F}

/* ===== Acceso y Crear ===== */
.hdv-acceso{padding-top:64px;padding-bottom:96px;display:flex;justify-content:center}
.hdv-acceso__card{width:100%;max-width:560px;background:var(--crema);border-radius:36px;padding:44px 40px;display:flex;flex-direction:column;gap:16px;box-shadow:0 20px 50px rgba(46,42,34,.1)}
.hdv-acceso__card--ancha{max-width:720px}
.hdv-acceso__card .hdv-nota{align-self:flex-start}
.hdv-acceso__card .hdv-h2{font-size:clamp(34px,5vw,52px)}
.hdv-acceso__card .hdv-sub a{color:var(--verde);font-weight:700}

/* ===== Móvil ===== */
@media (max-width:860px){
	.hdv-ebar__in{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-top:8px;padding-bottom:8px}
	.hdv-ebar__in::-webkit-scrollbar{display:none}
	.hdv-ebar__txt{margin:0;font-size:0;gap:0}
	.hdv-ebar__txt i{font-size:14px}
	.hdv-ebar__btn{min-height:38px;padding:7px 13px;font-size:13px;white-space:nowrap;flex:0 0 auto}
	.hdv-fs{padding:18px;border-radius:22px}
	.hdv-fila--13{grid-template-columns:1fr}
	.hdv-acceso{padding-top:28px}
	.hdv-acceso__card{padding:28px 22px;border-radius:28px}
	.hdv-lb{padding:16px}
	.hdv-lb__cerrar{right:6px;top:6px}
	.hdv-hero{padding-bottom:64px}
	.hdv-hero__foto{padding:30px 6px 70px}
	.hdv-nota--tronco{position:static;margin-bottom:12px}
	.hdv-polaroid{padding:10px 10px 46px}
	.hdv-sticker{width:92px;height:92px;font-size:14px;top:0;bottom:auto;left:-4px}
	.hdv-arbol{padding:64px 0;background-size:900px auto,100% 100%,auto}
	.hdv-tree{min-width:0!important}
	.hdv-ramaje{display:none}
	.hdv-pasillo,.hdv-hueco{display:none}
	.hdv-nieto{grid-column:1/-1}
	.hdv-card--kids.hdv-kids--sueltos{grid-template-columns:1fr!important;gap:14px}
	.hdv-nieto .hdv-card--bebes{margin-top:8px}
	.hdv-card--bebes{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))!important}
	.hdv-card--top{flex-wrap:wrap;justify-content:center}
	.hdv-ramas{grid-template-columns:1fr!important;gap:28px;margin-top:28px}
	.hdv-card--rama{flex-wrap:wrap;justify-content:center}
	.hdv-kids{margin-top:14px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:8px 0;justify-items:center}
	.hdv-tree .hdv-chip{font-size:12px;padding:7px 11px;white-space:nowrap}
	.hdv-card--rama{padding:16px 8px 14px}
	.hdv-p--lg,.hdv-p--md{width:150px}
	.hdv-p--lg .hdv-p__foto{width:104px;height:104px}
	.hdv-p--md .hdv-p__foto{width:88px;height:88px}
	.hdv-phero{padding:28px;border-radius:32px}
	.hdv-camino__board{height:auto!important;display:flex;flex-direction:column;gap:48px;padding-top:28px}
	.hdv-camino__svg{display:none}
	.hdv-parada{position:relative;top:auto!important;height:auto}
	.hdv-parada__nota{position:static;width:auto;margin:0 0 38px;text-align:left!important;transform:rotate(-2deg)!important}
	.hdv-parada__card{position:relative;top:auto;left:auto!important;width:auto;transform:none!important}
	.hdv-parada__num{left:-8px}
	.hdv-car__vista{height:240px}
	.hdv-tendedero{min-width:0;height:auto!important;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:36px 20px;padding-top:20px}
	.hdv-cuerda{display:none}
	.hdv-pinza{position:relative;left:auto!important;top:auto!important;width:auto;margin-left:0}
}

/* ===== Blindaje frente a estilos del tema / Elementor (botones y campos) ===== */
.hdv button.hdv-btn,.hdv a.hdv-btn,.hdv .hdv-btn{background:var(--verde)!important;color:var(--lino)!important;border:1.5px solid var(--verde)!important;border-radius:999px!important;font-family:'DM Sans',system-ui,sans-serif!important;font-weight:700!important;font-size:17px!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;padding:16px 28px!important;width:auto!important;cursor:pointer}
.hdv a.hdv-btn:hover,.hdv a.hdv-btn:focus,.hdv button.hdv-btn:hover,.hdv button.hdv-btn:focus{background:#2F4630!important;border-color:#2F4630!important;color:var(--lino)!important}
.hdv .hdv-btn:focus-visible{outline:3px solid rgba(197,221,122,.9)!important;outline-offset:2px}
.hdv .hdv-btn--line,.hdv a.hdv-btn--line,.hdv button.hdv-btn--line{background:transparent!important;color:var(--texto)!important;border-color:var(--texto)!important}
.hdv a.hdv-btn--line:hover,.hdv a.hdv-btn--line:focus,.hdv button.hdv-btn--line:hover,.hdv button.hdv-btn--line:focus{background:var(--texto)!important;color:var(--lino)!important;border-color:var(--texto)!important}
.hdv .hdv-btn--lima,.hdv a.hdv-btn--lima,.hdv button.hdv-btn--lima{background:var(--lima)!important;border-color:var(--lima)!important;color:var(--texto)!important}
.hdv a.hdv-btn--lima:hover,.hdv a.hdv-btn--lima:focus,.hdv button.hdv-btn--lima:hover,.hdv button.hdv-btn--lima:focus{background:#B4CF62!important;border-color:#B4CF62!important;color:var(--texto)!important}
.hdv .hdv-btn--crema,.hdv a.hdv-btn--crema,.hdv button.hdv-btn--crema{background:var(--lino)!important;border-color:var(--lino)!important;color:var(--texto)!important}
.hdv .hdv-btn--dark,.hdv a.hdv-btn--dark,.hdv button.hdv-btn--dark{background:#2F4630!important;border-color:#2F4630!important}
.hdv .hdv-btn--sm,.hdv a.hdv-btn--sm,.hdv button.hdv-btn--sm{padding:10px 18px!important;font-size:15px!important}
.hdv .hdv-btn:disabled{opacity:.6}
.hdv .hdv-filtro{border:0!important;border-radius:999px!important;color:var(--texto)!important;font-family:'DM Sans',system-ui,sans-serif!important;text-transform:none!important}
.hdv .hdv-filtro--todos{color:var(--lino)!important}
.hdv .hdv-car__btn,.hdv .hdv-lb__nav{border:0!important;border-radius:999px!important;padding:0!important;color:var(--texto)!important;background:rgba(255,251,243,.95)!important}
.hdv .hdv-car__dots button{border:0!important;background:transparent!important;padding:0!important}
.hdv .hdv-audio__play{border:0!important;border-radius:999px!important;padding:0!important;background:var(--lima)!important;color:var(--texto)!important}
.hdv .hdv-pinza__foto{border:0!important;border-radius:3px!important;padding:0!important}
.hdv-lb .hdv-lb__cerrar{border:0!important;border-radius:999px!important;padding:0!important;background:#3F5B3A!important;color:#fff!important}
.hdv-lb .hdv-lb__nav{border:0!important;border-radius:999px!important;padding:0!important;background:rgba(255,251,243,.95)!important;color:#2E2A22!important}
.hdv .hdv-campo input[type=text],.hdv .hdv-campo input[type=email],.hdv .hdv-campo select,.hdv .hdv-campo textarea{border:1.5px solid #E2D6BF!important;border-radius:14px!important;background:#fff!important;color:var(--texto)!important;font-family:'DM Sans',system-ui,sans-serif!important;font-size:17px!important;padding:13px 16px!important;min-height:50px}
.hdv .hdv-check input[type=checkbox],.hdv .hdv-check input[type=radio]{width:22px!important;height:22px!important}
.hdv-ebar .hdv-ebar__btn{font-family:'DM Sans',system-ui,sans-serif!important;text-transform:none!important}
.hdv .hdv-check--consent.is-error{background:#FBE3D6;box-shadow:0 0 0 2px #C0552B}
.hdv-consent-msg{margin:-6px 0 0!important;color:#A3401C;font-weight:700;font-size:15px}
.hdv-momentos__add{margin:-8px 0 20px}
.hdv-tend-vacio{position:relative;background:var(--crema);border:2px dashed #D9C9A8;border-radius:32px;padding:56px 28px 36px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.hdv-tend-vacio p{max-width:560px;font-size:17px;color:var(--suave)}
.hdv-tend-vacio__cuerda{position:absolute;left:24px;right:24px;top:10px;width:calc(100% - 48px);height:44px}
.hdv a .hdv-ini,.hdv .hdv-pinza__caras a,.hdv .hdv-p__foto,.hdv .hdv-gente__item{text-decoration:none!important}

/* ===== Índice por décadas ===== */
.hdv-decadas{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;padding:12px 0;margin:18px 0 8px}
.hdv-decadas::-webkit-scrollbar{display:none}
.hdv-decadas--oscuro{background:#2F4630}
.hdv-decadas--claro{background:var(--lino)}
.hdv-decadas__txt{font-family:'Caveat',cursive;font-size:24px;line-height:1;flex:0 0 auto;padding-right:4px}
.hdv-decadas--oscuro .hdv-decadas__txt{color:var(--lima)}
.hdv-decadas--claro .hdv-decadas__txt{color:var(--tierra)}
.hdv .hdv-decada{flex:0 0 auto;font-family:'DM Sans',system-ui,sans-serif!important;font-size:14px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;min-height:38px;padding:8px 15px!important;border-radius:999px!important;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.hdv .hdv-decadas--oscuro .hdv-decada{background:transparent!important;color:var(--lino)!important;border:1.5px solid rgba(245,239,227,.35)!important}
.hdv .hdv-decadas--oscuro .hdv-decada:hover{border-color:var(--lino)!important}
.hdv .hdv-decadas--oscuro .hdv-decada.is-on{background:var(--lima)!important;color:var(--texto)!important;border-color:var(--lima)!important}
.hdv .hdv-decadas--claro .hdv-decada{background:var(--crema)!important;color:var(--texto)!important;border:1.5px solid #E2D6BF!important}
.hdv .hdv-decadas--claro .hdv-decada:hover{border-color:var(--verde)!important}
.hdv .hdv-decadas--claro .hdv-decada.is-on{background:var(--verde)!important;color:var(--lino)!important;border-color:var(--verde)!important}
.hdv .hdv-decada:focus-visible{outline:3px solid rgba(197,221,122,.9)!important;outline-offset:2px}
@keyframes hdvDestaca{0%{box-shadow:0 0 0 0 rgba(197,221,122,.9)}100%{box-shadow:0 0 0 18px rgba(197,221,122,0)}}
.hdv-parada__card.is-destacado,.hdv-pinza__card.is-destacado{animation:hdvDestaca 1.1s ease-out 2}
.hdv-enlace{display:flex;align-items:stretch;border:1.5px solid #E2D6BF;border-radius:14px;background:#fff;overflow:hidden}
.hdv-enlace__base{display:flex;align-items:center;padding:0 4px 0 14px;font-size:15px;color:#6B624F;background:#F6F0E4;white-space:nowrap;flex:0 0 auto}
.hdv .hdv-enlace input[type=text]{border:0!important;border-radius:0!important;min-width:0;flex:1 1 auto}
.hdv-enlace__vista{font-size:14px;color:#5F5644;word-break:break-all}
.hdv-enlace__vista strong{color:var(--verde)}
.hdv-ebar button.hdv-ebar__btn{background:transparent;cursor:pointer;font:inherit;font-size:14px;font-weight:700}
@media (max-width:860px){.hdv-enlace{flex-direction:column}.hdv-enlace__base{max-width:none;padding:8px 14px}}
.hdv-ebar button.hdv-ebar__btn,.hdv-ebar button.hdv-ebar__btn:hover,.hdv-ebar button.hdv-ebar__btn:focus{background:transparent!important;color:#F5EFE3!important;border:1.5px solid rgba(245,239,227,.35)!important;border-radius:999px!important;padding:8px 16px!important;font-family:'DM Sans',system-ui,sans-serif!important;font-size:14px!important;font-weight:700!important;text-transform:none!important;line-height:1.2!important;min-height:40px}
.hdv-ebar button.hdv-ebar__btn:hover{border-color:#F5EFE3!important}

/* ===== Fotos verticales: se ven enteras, con fondo difuminado ===== */
.hdv-foto-fondo{position:absolute!important;inset:-12px!important;width:calc(100% + 24px)!important;height:calc(100% + 24px)!important;object-fit:cover!important;filter:blur(14px) saturate(1.1);opacity:.55;transform:scale(1.05);pointer-events:none}
.hdv img.hdv-vertical{object-fit:contain!important;z-index:1}
.hdv-car__slide.is-antigua img.hdv-vertical{padding:18px}

/* ===== Filtros del tendedero: el tema no los pinta al tocarlos ===== */
.hdv .hdv-filtro{font-size:15px!important;font-weight:700!important;line-height:1.2!important;padding:10px 18px!important}
.hdv .hdv-filtro--todos,.hdv .hdv-filtro--todos:hover,.hdv .hdv-filtro--todos:focus,.hdv .hdv-filtro--todos:active{background:var(--verde)!important;color:var(--lino)!important}
.hdv .hdv-filtro:not(.hdv-filtro--todos):hover,.hdv .hdv-filtro:not(.hdv-filtro--todos):focus,.hdv .hdv-filtro:not(.hdv-filtro--todos):active{color:var(--texto)!important;filter:brightness(.97)}

/* ===== Árbol en móvil: como un índice con sangrías ===== */
@media (max-width:860px){
	.hdv-pinza__foto{height:auto!important;aspect-ratio:4/3}
	.hdv-tree{align-items:stretch}
	.hdv-tree__top{align-items:center}
	/* Tronco: línea a la izquierda; cada rama sale de ella */
	.hdv-ramas{padding-left:26px;margin-top:28px!important}
	.hdv-ramas+.hdv-ramas{margin-top:28px!important}
	.hdv-rama{position:relative;align-items:stretch}
	.hdv-rama::before{content:'';position:absolute;left:-16px;top:-28px;bottom:-28px;width:4px;background:var(--rama);border-radius:2px}
	.hdv-ramas:nth-last-child(2) .hdv-rama:last-child::before{bottom:auto;height:96px}
	.hdv-rama::after{content:'';position:absolute;left:-16px;top:64px;width:16px;height:4px;background:var(--rama);border-radius:2px}
	.hdv-card--rama{width:100%;justify-content:center;flex-wrap:nowrap!important;padding:14px 6px 12px!important;gap:0!important}
	.hdv-card--rama .hdv-p--md{width:50%!important;max-width:150px}
	.hdv-card--rama .hdv-p--md .hdv-p__foto{width:84px!important;height:84px!important}
	.hdv-card--rama .hdv-p__nom{font-size:17px}
	/* Nietos: colgando de su rama, un poco más adentro */
	.hdv-rama .hdv-card--kids{position:relative;margin:14px 0 0 26px!important;width:auto}
	.hdv-rama .hdv-card--kids:not(.hdv-kids--sueltos){grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important}
	.hdv-rama .hdv-card--kids .hdv-p--sm .hdv-p__foto{width:80px!important;height:80px!important}
	.hdv-rama .hdv-card--kids .hdv-p--sm .hdv-chip__mas{display:none}
	.hdv-rama .hdv-card--kids::before{content:'';position:absolute;left:-16px;top:-14px;height:72px;width:4px;background:var(--rama);border-radius:2px}
	.hdv-rama .hdv-card--kids::after{content:'';position:absolute;left:-16px;top:54px;width:16px;height:4px;background:var(--rama);border-radius:2px}
	/* Nietos "sueltos" (con pareja o bebés): cada uno con su conector */
	.hdv-rama .hdv-kids--sueltos::before,.hdv-rama .hdv-kids--sueltos::after{display:none}
	.hdv-kids--sueltos>*{position:relative;justify-self:stretch!important;width:auto}
	.hdv-kids--sueltos>*::before{content:'';position:absolute;left:-16px;top:-14px;bottom:-14px;width:4px;background:var(--rama);border-radius:2px}
	.hdv-kids--sueltos>*:last-child::before{bottom:auto;height:72px}
	.hdv-kids--sueltos>*::after{content:'';position:absolute;left:-16px;top:54px;width:16px;height:4px;background:var(--rama);border-radius:2px}
	.hdv-kids--sueltos>.hdv-p{background:#CFDDB0;border-radius:22px}
	.hdv-nieto{align-items:stretch}
	.hdv-nieto__pareja{justify-content:center}
	/* Bebés: aún más adentro */
	.hdv-nieto .hdv-card--bebes{position:relative;margin:14px 0 0 26px!important;min-width:0;width:auto}
	.hdv-nieto .hdv-card--bebes::before{content:'';position:absolute;left:-16px;top:-14px;height:66px;width:4px;background:var(--rama);border-radius:2px}
	.hdv-nieto .hdv-card--bebes::after{content:'';position:absolute;left:-16px;top:48px;width:16px;height:4px;background:var(--rama);border-radius:2px}
	.hdv-nota--fin{align-self:center}
}

/* ===== Anillos entre las parejas ===== */
.hdv-lazo{flex:0 0 auto;align-self:flex-start;position:relative;z-index:3;display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:53px -12px 0;border-radius:999px;background:#fff;color:#A0773F;box-shadow:0 0 0 2px var(--dorado),0 3px 8px rgba(46,42,34,.15)}
.hdv-lazo--lg{width:36px;height:36px;margin:54px -14px 0}
.hdv-lazo--md{margin-top:42px}
.hdv-lazo--sm{width:26px;height:26px;margin:40px -11px 0}
.hdv-tree--multi .hdv-lazo--md{margin-top:34px}
.hdv-tree--multi .hdv-lazo--sm{margin-top:32px}
@media (max-width:860px){
	.hdv-lazo--lg{margin-top:38px}
	.hdv-card--rama .hdv-lazo--md{margin-top:32px}
	.hdv-lazo--sm{margin-top:36px}
}
@media (max-width:860px){
	.hdv-card--top{flex-wrap:nowrap!important;padding:18px 8px 16px!important;gap:0!important;width:100%;justify-content:center}
	.hdv-card--top .hdv-p--lg{width:50%!important;max-width:160px}
	.hdv-card--top .hdv-p--lg .hdv-p__foto{width:100px!important;height:100px!important}
	.hdv-card--top .hdv-p--lg .hdv-p__nom{font-size:19px}
}
/* Corazón entre las parejas (más grande y visible) */
.hdv-lazo{width:38px;height:38px;margin:49px -14px 0;color:#B5654A;background:#FFF8F2;box-shadow:0 0 0 2.5px #E4C9A6,0 4px 10px rgba(46,42,34,.18)}
.hdv-lazo--lg{width:44px;height:44px;margin:46px -16px 0}
.hdv-lazo--md{margin-top:33px}
.hdv-lazo--sm{width:34px;height:34px;margin:31px -13px 0}
.hdv-tree--multi .hdv-lazo--md{margin-top:25px}
.hdv-tree--multi .hdv-lazo--sm{margin-top:25px}
@media (max-width:860px){
	.hdv-lazo--lg{margin-top:28px}
	.hdv-card--rama .hdv-lazo--md{margin-top:23px}
	.hdv-lazo--sm{margin-top:31px}
}

/* ===== El baúl de los recuerdos (entre las raíces) ===== */
.hdv-baul{margin-top:56px;display:flex;flex-direction:column;align-items:center;gap:18px;width:100%}
.hdv .hdv-baul__abrir{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;border-radius:24px;padding:8px 16px 14px!important;background:transparent!important;border:0!important;color:var(--lino)!important}
.hdv .hdv-baul__abrir:focus-visible{outline:3px solid rgba(197,221,122,.9)!important;outline-offset:4px}
.hdv-baul__dibujo{width:240px;height:auto;overflow:visible;filter:drop-shadow(0 10px 18px rgba(0,0,0,.25));transition:transform .3s}
.hdv-baul__abrir:hover .hdv-baul__dibujo{transform:translateY(-3px) rotate(-1deg)}
.hdv-baul__tapa{transform-origin:56px 90px;transition:transform .55s cubic-bezier(.3,1.4,.5,1)}
.hdv-baul.is-open .hdv-baul__tapa{transform:translate(-6px,-18px) rotate(-16deg)}
.hdv-baul__titulo{font-family:'Fraunces',serif;font-style:italic;font-size:28px;line-height:1.1;color:var(--lino)}
.hdv-baul__pista{font-size:14px;color:#E8DCC8;opacity:.85}
.hdv-baul__dentro{width:100%;max-width:760px;background:rgba(46,34,24,.55);border:1.5px dashed rgba(217,184,119,.55);border-radius:28px;padding:26px 22px 28px;display:flex;flex-direction:column;align-items:center;gap:18px;animation:hdvBaul .45s ease-out}
.hdv-baul__dentro[hidden]{display:none}
@keyframes hdvBaul{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.hdv-baul__caras{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:22px}
.hdv-baul__cara{display:flex;flex-direction:column;align-items:center;gap:8px;width:120px;text-align:center}
.hdv-baul__cara img,.hdv-baul__cara .hdv-ini{width:88px;height:88px;border-radius:999px;object-fit:cover;border:3px solid #D9B877;filter:sepia(.45) saturate(.8);display:flex;font-size:30px}
.hdv-baul__cara span{font-family:'Fraunces',serif;font-size:16px;line-height:1.2;color:var(--lino)}
.hdv .hdv-baul__sacar{font-size:12px;font-weight:700;color:var(--lima)!important;text-decoration:underline}
@media (max-width:860px){.hdv-baul__dibujo{width:200px}.hdv-baul__titulo{font-size:24px}.hdv-baul__cara{width:96px}.hdv-baul__cara img,.hdv-baul__cara .hdv-ini{width:72px;height:72px}}

.hdv a.hdv-btn--dark:hover,.hdv button.hdv-btn--dark:hover{background:#243826!important;border-color:#243826!important}
.hdv a.hdv-btn--crema:hover,.hdv button.hdv-btn--crema:hover{background:#fff!important;border-color:#fff!important;color:var(--texto)!important}
.hdv-baul__dibujo{width:300px}
@media (max-width:860px){.hdv-baul__dibujo{width:240px}}


/* ===== Pastillas ajustadas a su contenido ===== */
.hdv-card{padding:16px 12px 14px}
.hdv-card--rama{padding:12px 8px 12px}
.hdv-hijos{display:flex;flex-direction:column;align-items:stretch;width:fit-content;max-width:100%;align-self:center}
.hdv-hijos .hdv-ramaje--sm{width:100%}
.hdv-card--kids{width:auto;padding:10px 8px 10px;column-gap:6px}
.hdv-card--kids.hdv-kids--sueltos{column-gap:10px}
.hdv-p--sm{padding:2px 4px}
.hdv-nieto__pareja{padding:8px 6px 8px}
.hdv-card--bebes{min-width:0;padding:8px 6px 8px}
.hdv-kids--sueltos>.hdv-p{padding:8px 8px 8px}
@media (max-width:860px){
	.hdv-card--top{width:auto!important;align-self:center}
	.hdv-card--rama{width:auto!important;align-self:flex-start;min-width:0}
	.hdv-hijos{align-self:flex-start;width:auto;max-width:100%}
	.hdv-rama .hdv-card--kids{width:auto}
	.hdv-kids--sueltos>*{justify-self:start!important}
	.hdv-nieto{align-items:flex-start}
}
@media (max-width:860px){
	.hdv-card--bebes,.hdv-rama .hdv-card--kids:not(.hdv-kids--sueltos){display:flex!important;flex-wrap:wrap;justify-content:center;gap:4px 6px!important}
	.hdv-card--bebes>.hdv-p,.hdv-rama .hdv-card--kids:not(.hdv-kids--sueltos)>.hdv-p{width:104px!important}
	.hdv-card--rama .hdv-p--md{width:auto!important;min-width:118px}
}

/* ===== Foto en grande: mantiene la forma de polaroid ===== */
.hdv-lb__card{width:min(720px,100%,calc((100vh - 290px) * 4 / 3 + 32px));max-width:none;overflow:hidden;padding:16px 16px 22px}
.hdv-lb__foto{aspect-ratio:4/3;min-height:0;overflow:hidden;background:#EFE7D8}
.hdv-lb__foto .hdv-lb__fondo{position:absolute;inset:-16px;width:calc(100% + 32px);height:calc(100% + 32px);object-fit:cover;filter:blur(16px) saturate(1.1);opacity:.55;transform:scale(1.05)}
.hdv-lb__foto .hdv-lb__img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;z-index:1}
.hdv-lb__foto>span:not(.hdv-lb__cont){position:relative;z-index:1}
.hdv-lb .hdv-lb__nav{z-index:2;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;font-size:26px!important;font-family:'DM Sans',system-ui,sans-serif!important;line-height:1!important;box-shadow:0 4px 12px rgba(0,0,0,.25)!important}
.hdv-lb .hdv-lb__cerrar{width:40px!important;height:40px!important;min-width:40px!important;font-size:24px!important;line-height:1!important;right:10px;top:10px;z-index:3}
.hdv-lb__cont{z-index:2}

/* ===== Título del tendedero, más aire ===== */
.hdv-momentos .hdv-h2{margin-bottom:24px!important}
.hdv-momentos .hdv-pista{margin-top:12px!important}
.hdv-momentos .hdv-sub{margin-top:0!important}

/* ===== Baúl pequeño, a un lado de las raíces ===== */
.hdv-raices__in{position:relative}
.hdv-baul{margin:0;width:auto}
@media (min-width:1180px){
	.hdv-baul{position:absolute;left:24px;top:90px;align-items:center;gap:8px;max-width:240px}
}
.hdv-baul__dibujo{width:150px}
.hdv-baul__titulo{font-size:20px}
.hdv-baul__pista{font-size:12px}
.hdv-baul__dentro{max-width:520px;padding:18px 16px 20px;gap:12px}
@media (min-width:1180px){
	.hdv-baul.is-open{z-index:5}
	.hdv-baul__dentro{width:240px;margin-top:4px;background:rgba(46,34,24,.85)}
}
.hdv-baul__caras{gap:14px}
.hdv-baul__cara{width:92px}
.hdv-baul__cara img,.hdv-baul__cara .hdv-ini{width:64px;height:64px}
.hdv-baul__cara span{font-size:14px}
@media (max-width:1179px){
	.hdv-baul{order:5;margin-top:28px}
	.hdv-baul__dibujo{width:130px}
}

/* ===== Apodo: a la izquierda y en otro color ===== */
.hdv-phero__apodo{right:auto;left:-12px;bottom:-16px;background:var(--lima);color:var(--texto);transform:rotate(-3deg)}
.hdv-lb .hdv-lb__cont{right:auto;left:12px}

/* Árbol vivo */
.hdv-ebar--frio{background:#2C3E57}
.hdv-ebar__dias{margin-left:6px;font-weight:700;font-size:13px;color:#2E2A22!important;background:#F6C65B;border-radius:999px;padding:4px 10px;text-decoration:none!important}
.hdv-vivo{display:flex;flex-direction:column;gap:16px}
.hdv-vivo>.hdv-btn--sm{align-self:flex-start}
.hdv-vivo__estado{margin:0;padding:14px 18px;border-radius:16px;background:#F1E9D6;font-size:16px;line-height:1.5}
.hdv-vivo__estado.is-ok{background:#E3EDCF}
.hdv-vivo__estado.is-frio{background:#DCE6F2}
.hdv-vivo__lista{margin:0;padding-left:20px;line-height:1.7;color:#4A4335}
.hdv-ebar__dias--frio{background:#DCE6F2}
.hdv-vivo__parte{display:flex;flex-direction:column;gap:10px;padding:18px;border:1.5px solid #E2D6BF;border-radius:20px;background:#fff}
.hdv-vivo__t{margin:0;font-family:'Fraunces',serif;font-weight:600;font-size:22px}
.hdv-vivo__gente{margin:0;font-size:14px;color:#6B624F}
.hdv-vivo__parte .hdv-btns{margin:0}
.hdv-vivo__otras h3{margin:8px 0 6px;font-size:16px}
.hdv-vivo__otras ul{margin:0;padding-left:20px;line-height:1.7;font-size:15px}
.hdv-vivo__otras span{color:#6B624F}
.hdv-card--rama{position:relative}
.hdv .hdv-rama__btn{position:absolute;left:50%;bottom:-16px;transform:translateX(-50%);z-index:3;white-space:nowrap;display:inline-flex;align-items:center;min-height:30px;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:700;text-decoration:none!important;background:#C5DD7A;color:#2E2A22!important;box-shadow:0 4px 10px rgba(46,42,34,.15)}
.hdv .hdv-rama__btn.is-frio{background:#DCE6F2;color:#2C3E57!important}
.hdv .hdv-rama__btn.is-txt{cursor:default}
.hdv-ebar .hdv-ebar__btn--vivo{gap:7px;background:#F6C65B;border-color:#F6C65B;color:#2E2A22!important}
.hdv-ebar .hdv-ebar__btn--vivo:hover{background:#FFD97A;border-color:#FFD97A}
.hdv-ebar .hdv-ebar__btn--vivo.is-on{background:transparent;border-color:#F6C65B;color:#F6C65B!important}
.hdv-ebar .hdv-ebar__btn--vivo.is-on:hover{background:rgba(246,198,91,.15)}
.hdv-fila--cumple{grid-template-columns:120px 200px;display:grid;gap:12px}
@media (max-width:520px){.hdv-fila--cumple{grid-template-columns:1fr 1.6fr}}
/* Más aire encima del botón de la rama */
.hdv-card--rama:has(.hdv-rama__btn){padding-bottom:34px!important}
/* Un solo nieto: la pastilla se ajusta a él en vez de ocupar todo el ancho */
@media (min-width:861px){
	.hdv-card--kids.hdv-kids--uno{width:fit-content;min-width:190px;margin-left:auto;margin-right:auto;padding-left:22px;padding-right:22px}
}
@media (max-width:860px){
	.hdv-rama:has(.hdv-rama__btn) .hdv-card--kids{margin-top:34px!important}
	.hdv-rama:has(.hdv-rama__btn) .hdv-card--kids:not(.hdv-kids--sueltos)::before{top:-34px;height:92px}
	.hdv-rama:has(.hdv-rama__btn) .hdv-kids--sueltos>*:first-child::before{top:-34px}
}

/* Árboles protegidos: puerta, peticiones y panel «Quién lo ve» */
.hdv-puerta{display:flex;flex-direction:column;gap:14px;text-align:left}
.hdv-puerta__candado{width:64px;height:64px;border-radius:999px;background:#E3EDCF;color:#3F5B3A;display:flex;align-items:center;justify-content:center}
.hdv-puerta__msg{margin:0;background:#F1E9D6;border-radius:16px;padding:12px 16px;font-style:italic}
.hdv-trampa{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.hdv-radio-card{display:flex;gap:12px;align-items:flex-start;background:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 0 0 1.5px #E2D6BF;cursor:pointer;margin-bottom:10px}
.hdv-radio-card:has(input:checked){box-shadow:0 0 0 3px var(--verde,#3F5B3A)}
.hdv-radio-card input{margin-top:4px;accent-color:#3F5B3A}
.hdv-radio-card span{display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:1.45;color:#4A4335}
.hdv-radio-card strong{font-size:16px;color:#2E2A22}
.hdv-visitas{display:flex;flex-direction:column;gap:16px}
.hdv-visitas>.hdv-btn--sm{align-self:flex-start}
.hdv-visitas__nueva{display:flex;flex-direction:column;gap:8px}
.hdv-visitas__enlace{display:flex;gap:8px;flex-wrap:wrap}
.hdv-visitas__enlace input{flex:1 1 240px;min-width:0;font-size:13px;padding:10px 12px;border-radius:12px;border:1.5px solid #E2D6BF;background:#fff}
.hdv-p__otro small{font-weight:400;opacity:.8}
.hdv-visitas .hdv-equipo form{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.hdv-vaciar{margin-top:6px;border-top:1.5px dashed #E2D6BF;padding-top:10px}
.hdv-vaciar summary{cursor:pointer;font-weight:700;font-size:14px;color:#9A4A2E}
.hdv-vaciar .hdv-check{margin-top:10px;background:#FBEDE6;border-radius:14px;padding:12px 14px}
/* Botón de cada rama en marrón, como las ramas */
.hdv .hdv-rama__btn{background:#A88763;color:#fff!important}
.hdv .hdv-rama__btn:hover{background:#8F7150}

/* Tarjeta regalo */
.hdv-regalo{display:flex;flex-direction:column;gap:16px}
.hdv-regalo>.hdv-btn--sm{align-self:flex-start}
.hdv-tarjeta{display:flex;justify-content:center;scroll-margin-top:90px}
.hdv-tarjeta__lienzo{display:block;width:100%;max-width:520px;height:auto;aspect-ratio:3/4;border-radius:18px;box-shadow:0 24px 60px rgba(46,42,34,.22);background:#F5EFE3}
@media print{
	@page{margin:10mm}
	body *{visibility:hidden!important}
	.hdv-tarjeta,.hdv-tarjeta *{visibility:visible!important}
	.hdv-tarjeta{position:fixed;inset:0;align-items:center}
	.hdv-tarjeta__lienzo{max-width:none;width:auto;height:100%;max-height:100vh;box-shadow:none;border-radius:0}
}

/* ===== Mascotas: cajita azul debajo de su casa ===== */
.hdv-masc{display:flex;flex-direction:column;align-items:center;width:100%}
.hdv-masc__hilo{display:block;width:0;height:22px;border-left:3px dotted #8FAECB}
.hdv-masc__caja{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;background:#DCE8F2;border:1.5px solid #B9CFE2;border-radius:22px;padding:12px 16px 10px;max-width:100%;box-sizing:border-box}
.hdv-masc__icono{position:absolute;left:-10px;top:-10px;width:26px;height:26px;border-radius:999px;background:#6E8FB0;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #DCE8F2}
.hdv-masc__una{display:flex;flex-direction:column;align-items:center;gap:5px;width:88px}
.hdv .hdv-masc__foto{position:relative;display:block;width:76px;height:76px;border-radius:999px;overflow:visible;text-decoration:none}
.hdv-masc__foto img,.hdv-masc__sin{display:flex;width:76px;height:76px;border-radius:999px;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 2px #8FAECB;box-sizing:border-box;align-items:center;justify-content:center;background:#C7D9EA;color:#4E6C8C}
.hdv-masc__lapiz{position:absolute;right:-6px;top:-6px;width:22px;height:22px;border-radius:999px;background:#fff;color:#4E6C8C;font-size:12px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.hdv-masc__nom{font-family:'Fraunces',serif;font-size:15px;line-height:1.1;color:#2C3E57;text-align:center;overflow-wrap:anywhere}
.hdv-masc--xs .hdv-masc__hilo{height:14px}
.hdv-masc--xs .hdv-masc__caja{padding:8px 10px 6px;border-radius:16px}
.hdv-masc--xs .hdv-masc__una{width:72px}
.hdv-masc--xs .hdv-masc__foto,.hdv-masc--xs .hdv-masc__foto img,.hdv-masc--xs .hdv-masc__sin{width:60px;height:60px}
.hdv-masc--xs .hdv-masc__nom{font-size:12px}
.hdv-masc--top{margin-top:-4px}
.hdv-masc--top .hdv-masc__caja{background:#E6EEF6}
.hdv-rama:has(.hdv-rama__btn)>.hdv-masc>.hdv-masc__hilo{height:34px}
.hdv-ebar__btn svg{flex:0 0 auto}

/* ===== Rincón «Las huellas que nos dejaron», al otro lado del baúl ===== */
.hdv-peludos .hdv-baul__dentro{border-color:rgba(169,195,220,.6)}
.hdv-peludos__cara img,.hdv-peludos__cara .hdv-masc__sin{width:72px;height:72px;border-radius:999px;object-fit:cover;border:3px solid #A9C3DC;filter:sepia(.25) saturate(.9);display:flex;align-items:center;justify-content:center;background:#C7D9EA;color:#4E6C8C;box-sizing:border-box}
.hdv-peludos__cara small{font-size:12px;color:#E8DCC8;opacity:.85}
@media (min-width:1180px){
	.hdv-peludos{left:auto!important;right:24px}
}
.hdv-peludos__corazon{transform-origin:130px 60px;transition:transform .5s cubic-bezier(.3,1.4,.5,1)}
.hdv-peludos.is-open .hdv-peludos__corazon{transform:translateY(-10px) scale(1.15)}
/* Mascotas de los abuelos: a un lado del tronco (no cuelga nadie de ellas) */
.hdv-card--top{position:relative}
.hdv-masc--top{position:absolute;left:100%;top:50%;transform:translateY(-50%);width:auto;flex-direction:row;margin:0}
.hdv-masc--top .hdv-masc__hilo{width:34px;height:0;border-left:0;border-top:3px dotted #8FAECB}
.hdv-masc--top .hdv-masc__caja{flex-wrap:nowrap}
@media (max-width:860px){
	.hdv-card--top:has(.hdv-masc--top){margin-bottom:128px}
	.hdv-masc--top{left:50%;top:calc(100% + 14px);transform:translateX(-50%);flex-direction:column}
	.hdv-masc--top .hdv-masc__hilo{display:none}
	.hdv-masc--top .hdv-masc__caja{flex-wrap:nowrap}
}
