/* =========================================================
   Camino del Tiempo · estilos (banner home + página)
   Prefijo .cdt- para no chocar con Divi
   ========================================================= */
:root{
  --cdt-azul:#4993cc;
  --cdt-azul-inst:#192854;
  --cdt-blanco:#fefefe;
  --cdt-texto:#141414;
  --cdt-titulo:#1a1a1a;
  --cdt-crema:#faf8f5;
  --cdt-gris:#c4c4c4;
  --cdt-display:Yacote, Helvetica, Arial, sans-serif;
  --cdt-body:"Instrument Sans", Helvetica, Arial, sans-serif;
  --cdt-btn:"Plus Jakarta Sans", Helvetica, Arial, sans-serif;
}

/* ---------- Botón general (pill con flecha) ---------- */
.cdt-btn{
  display:inline-flex;align-items:center;gap:16px;
  background:var(--cdt-azul);color:#fff !important;
  font-family:var(--cdt-btn);font-weight:700;font-size:14px;line-height:20px;
  padding:12px 12px 12px 24px;border-radius:9999px;text-decoration:none !important;
  transition:background-color .3s ease;
}
.cdt-btn:hover{background:var(--cdt-azul-inst);}
.cdt-btn__icon{
  width:32px;height:32px;border-radius:9999px;background:rgba(255,255,255,.2);
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cdt-btn__icon svg{width:20px;height:20px;display:block;}

/* ---------- Banner home ---------- */
.cdt-home-banner{
  position:relative;min-height:407px;display:flex;align-items:center;justify-content:center;
  padding:80px 20px;text-align:center;overflow:hidden;isolation:isolate;
  background-color:#6E2A22;
  background-image:linear-gradient(rgba(110,42,34,.80),rgba(110,42,34,.90)),url("img/camino-del-tiempo-cta.webp");
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.cdt-home-banner__inner{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:24px;max-width:1210px;}
.cdt-home-banner h2{
  font-family:var(--cdt-display);font-weight:400;color:var(--cdt-blanco);
  font-size:40px;line-height:1.2;letter-spacing:-1.6px;margin:0;padding:0;
}
.cdt-home-banner p{
  font-family:var(--cdt-body);color:var(--cdt-blanco);font-size:16px;line-height:1.3;
  max-width:48ch;margin:0;padding:0;
}
.cdt-home-banner .cdt-sol{top:-70px;right:-165px;height:560px;}

/* ---------- Página ---------- */
.cdt-page{background:var(--cdt-crema);color:var(--cdt-texto);font-family:var(--cdt-body);}
.cdt-page *{box-sizing:border-box;}
.cdt-page h1,.cdt-page h2,.cdt-page h3{font-family:var(--cdt-display);font-weight:400;padding:0;margin:0;}
.cdt-page p{padding:0;margin:0;}
.cdt-azul{color:var(--cdt-azul);}
.cdt-eyebrow{font-family:var(--cdt-body);color:var(--cdt-azul);font-size:16px;line-height:1.3;text-transform:uppercase;}
.cdt-h2{font-size:40px;line-height:1.2;letter-spacing:-1.6px;color:var(--cdt-titulo);}
.cdt-center{text-align:center;}

/* Hero */
.cdt-hero{
  position:relative;height:951px;display:flex;align-items:center;justify-content:center;
  background-color:var(--cdt-azul-inst);
  
  background-size:cover;background-position:center;
}
.cdt-hero__content{
  width:900px;max-width:calc(100% - 40px);padding:48px 0;
  display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center;
  background:radial-gradient(ellipse 50% 50% at 50% 54%,rgba(25,40,84,.65) 0%,rgba(25,40,84,0) 100%);
}
.cdt-hero h1{
  font-size:80px;line-height:normal;letter-spacing:-2px;text-transform:uppercase;color:var(--cdt-blanco);
}
.cdt-hero__sub{font-size:20px;color:var(--cdt-blanco);}

/* Barra de anclas */
.cdt-anchors{
  position:sticky;top:0;z-index:50;margin-top:-79px;
  padding:24px 20px;display:flex;justify-content:center;
  background:linear-gradient(rgba(255,255,255,.85),rgba(255,255,255,.85)),#2d71ad;
}
.cdt-anchors ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;flex-wrap:wrap;justify-content:center;}
.cdt-anchors li{padding:0;}
.cdt-anchors a{
  display:block;background:var(--cdt-azul);color:var(--cdt-blanco) !important;
  font-family:var(--cdt-display);font-size:16px;line-height:1.2;
  padding:15px 16px;border-radius:20px 0 20px 0;text-decoration:none;transition:background-color .2s;
}
.cdt-anchors a:hover,.cdt-anchors a.is-active{background:var(--cdt-azul-inst);}

/* Bloques texto + imagen */
.cdt-bloques{padding-top:36px;}
.cdt-bloque{display:flex;gap:46px;align-items:center;padding:115px 100px 50px;position:relative;}
.cdt-bloque--alt{padding:20px 100px;}
.cdt-bloque__content{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:8px;position:relative;}
.cdt-bloque--alt .cdt-bloque__content{padding:50px 0 20px;}
.cdt-bloque__content .cdt-h2{margin-bottom:0;}
.cdt-bloque__text{font-size:16px;line-height:1.3;color:var(--cdt-texto);}
.cdt-bloque__text p + p{margin-top:1.3em;}
.cdt-bloque__img{flex:1 1 0;min-width:0;height:393px;border-radius:16px;overflow:hidden;background:#d9d4cc;position:relative;}
.cdt-bloque__img::after{content:"";position:absolute;inset:0;background:rgba(110,42,34,.28);border-radius:inherit;pointer-events:none;}
.cdt-bloque__img img{width:100%;height:100%;object-fit:cover;display:block;}
.cdt-bloque__glifo{position:absolute;left:-17px;top:-96px;width:66px;height:66px;}

/* Qué hacer */
.cdt-que-hacer{background:var(--cdt-azul-inst);padding:96px 100px;position:relative;overflow:hidden;margin-top:80px;}
.cdt-que-hacer .cdt-h2{color:var(--cdt-blanco);text-align:center;margin-bottom:64px;}
.cdt-tips{display:flex;gap:32px;justify-content:center;position:relative;z-index:1;max-width:1240px;margin:0 auto;}
.cdt-tip{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:16px;text-align:center;color:var(--cdt-blanco);}
.cdt-tip h3{font-size:22px;line-height:1.2;color:var(--cdt-blanco);}
.cdt-tip p{font-size:16px;line-height:1.3;}
.cdt-deco{position:absolute;pointer-events:none;z-index:0;}
.cdt-deco--fire{left:0;top:111px;}
.cdt-deco--mask{right:0;top:240px;}

/* Mapa */
.cdt-mapa{padding:80px 0 0;display:flex;flex-direction:column;align-items:center;gap:32px;}
.cdt-mapa .cdt-h2{max-width:1040px;padding:0 20px;}
.cdt-mapa__frame{width:100%;height:504px;border:0;display:block;}

/* Datos interesantes */
.cdt-datos{background:var(--cdt-azul-inst);padding:100px 20px;position:relative;overflow:hidden;margin-top:80px;}
.cdt-datos .cdt-h2{color:#fff;text-align:center;font-size:37px;line-height:1.2;margin-bottom:70px;}
.cdt-datos__grid{max-width:1187px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:35px 25px;position:relative;z-index:1;}
.cdt-dato{
  border:3px solid var(--cdt-azul);border-radius:16px;padding:40px;min-height:0;
  display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;color:var(--cdt-blanco);
}
.cdt-dato h3{font-size:21px;line-height:1.2;color:var(--cdt-blanco);}
.cdt-dato hr{width:100px;border:0;border-top:3px solid var(--cdt-azul);margin:0 0 15px;}
.cdt-dato p{font-size:16px;line-height:1.3;max-width:491px;}
.cdt-deco--datos{right:0;bottom:0;}

/* CTA planificador */
.cdt-planificador{
  position:relative;overflow:hidden;isolation:isolate;
  margin:10px 0;padding:100px 20px;display:flex;flex-direction:column;align-items:center;gap:30px;text-align:center;
  background-color:#6E2A22;
  background-image:linear-gradient(rgba(110,42,34,.80),rgba(110,42,34,.90)),url("img/camino-del-tiempo-cta.webp");
  background-size:cover;background-position:center;
}
.cdt-planificador > *:not(.cdt-sol){position:relative;z-index:2;}
.cdt-planificador .cdt-h2{color:#fff;max-width:700px;line-height:52px;letter-spacing:0;}
.cdt-planificador p{color:#fff;font-weight:500;font-size:16px;line-height:1.2;}

/* Destinos naturales */
.cdt-destinos{padding:80px 16px 0;}
.cdt-destinos__head{text-align:center;margin-bottom:32px;}
.cdt-destinos__head .cdt-h2{color:var(--cdt-azul);}
.cdt-destinos__head .cdt-negro{color:#000;}
.cdt-destinos__row{display:flex;gap:16px;margin-bottom:16px;}
.cdt-card{
  position:relative;flex:1 1 0;min-width:0;height:349px;border-radius:16px;overflow:hidden;
  display:block;text-decoration:none;background:var(--cdt-azul-inst);
}
.cdt-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.cdt-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(25,40,84,0) 50%,#192854 100%);}
.cdt-card:hover img{transform:scale(1.04);}
.cdt-card span{
  position:absolute;left:50%;bottom:50px;transform:translateX(-50%);z-index:1;white-space:nowrap;
  font-family:var(--cdt-display);font-size:40px;line-height:1.2;letter-spacing:-1.6px;color:#fff;
}

/* Blog */
.cdt-blog{padding:80px 200px 0;display:flex;flex-direction:column;align-items:center;gap:32px;}
.cdt-blog .cdt-h2{color:#000;}
.cdt-blog__cards{display:flex;gap:32px;width:100%;}
.cdt-post{flex:1 1 0;min-width:0;border:1px solid var(--cdt-azul);box-shadow:0 12px 7px rgba(0,0,0,.3);background:transparent;display:flex;flex-direction:column;}
.cdt-post__img{height:279px;background:#808080;}
.cdt-post__body{padding:24px 16px;display:flex;flex-direction:column;gap:18px;}
.cdt-post h3{font-size:22px;line-height:22px;color:var(--cdt-titulo);}
.cdt-post p{font-size:16px;line-height:20.8px;color:#21272a;}
.cdt-post a{font-weight:500;font-size:16px;line-height:20.8px;color:#21272a;text-decoration:none;}
.cdt-post a::after{content:"\203A";color:var(--cdt-azul);margin-left:10px;font-weight:700;}

/* FAQ */
.cdt-faq{padding:80px 100px 100px;display:flex;gap:80px;}
.cdt-faq__left{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:32px;}
.cdt-faq__left .cdt-h2 .cdt-negro{color:var(--cdt-texto);}
.cdt-faq__galeria{display:flex;gap:10px;height:431px;}
.cdt-faq__galeria div{flex:1 1 0;border-radius:32px;overflow:hidden;background:#d9d4cc;}
.cdt-faq__galeria img{width:100%;height:100%;object-fit:cover;display:block;}
.cdt-faq__right{flex:1 1 0;min-width:0;}
.cdt-q{border-bottom:1px solid var(--cdt-gris);padding:24px 0;}
.cdt-q summary{
  list-style:none;cursor:pointer;display:flex;gap:16px;align-items:center;
  font-family:var(--cdt-display);font-size:22px;line-height:1.2;color:var(--cdt-texto);
}
.cdt-q summary::-webkit-details-marker{display:none;}
.cdt-q summary > span:first-child{flex:1 1 0;}
.cdt-q__icon{
  width:44px;height:44px;border-radius:40px;border:.5px solid var(--cdt-azul-inst);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;transition:transform .2s;
}
.cdt-q[open] .cdt-q__icon{transform:rotate(45deg);}
.cdt-q p{margin-top:20px !important;font-size:16px;line-height:1.3;color:#000;}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .cdt-bloque,.cdt-bloque--alt{padding-left:40px;padding-right:40px;}
  .cdt-blog{padding-left:40px;padding-right:40px;}
  .cdt-faq{padding-left:40px;padding-right:40px;gap:40px;}
  .cdt-que-hacer{padding-left:40px;padding-right:40px;}
}
@media (max-width:980px){
  .cdt-hero{height:720px;}
  .cdt-hero h1{font-size:52px;letter-spacing:-1px;}
  .cdt-bloque,.cdt-bloque--alt{flex-direction:column;align-items:stretch;padding:60px 20px 0;gap:24px;}
  .cdt-bloque--alt .cdt-bloque__img{order:2;}
  .cdt-bloque--alt .cdt-bloque__content{padding:0;}
  .cdt-bloque__img{height:280px;}
  .cdt-bloque__glifo{display:none;}
  .cdt-tips{flex-wrap:wrap;}
  .cdt-tip{flex:1 1 45%;}
  .cdt-datos__grid{grid-template-columns:1fr;}
  .cdt-destinos__row{flex-direction:column;}
  .cdt-blog__cards{flex-direction:column;}
  .cdt-faq{flex-direction:column;padding:60px 20px;}
  .cdt-deco{display:none;}
}
@media (max-width:767px){
  .cdt-home-banner{min-height:0;padding:64px 20px;}
  .cdt-home-banner h2,.cdt-h2{font-size:30px;letter-spacing:-1px;}
  .cdt-hero{height:620px;}
  .cdt-hero h1{font-size:38px;}
  .cdt-hero__sub{font-size:17px;}
  .cdt-anchors{margin-top:0;padding:14px 12px;overflow-x:auto;justify-content:flex-start;}
  .cdt-anchors ul{flex-wrap:nowrap;gap:10px;}
  .cdt-anchors a{white-space:nowrap;font-size:14px;padding:11px 13px;}
  .cdt-que-hacer{padding:64px 20px;}
  .cdt-tip{flex:1 1 100%;}
  .cdt-card{height:260px;}
  .cdt-card span{font-size:30px;}
  .cdt-dato{padding:28px 20px;min-height:0;}
  .cdt-mapa__frame{height:380px;}
  .cdt-faq__galeria{height:300px;}
}

/* Anclas: compensar la barra fija */
.cdt-page [id]{scroll-margin-top:110px;}


/* Blog: imágenes reales */
.cdt-post__img{overflow:hidden;}
.cdt-post__img img{width:100%;height:100%;object-fit:cover;display:block;}

/* Barra de anclas: fija al pasar */
.cdt-anchors-wrap{margin-top:-79px;position:relative;z-index:50;}
.cdt-anchors{position:relative;margin-top:0;}
.cdt-anchors.is-fixed{position:fixed;top:0;left:0;right:0;z-index:999;box-shadow:0 4px 16px rgba(25,40,84,.12);}

/* Mapa con ruta */
.cdt-mapa__wrap{position:relative;width:100%;height:560px;}
#cdt-mapa{position:absolute;inset:0;z-index:0;}
.cdt-mapa__panel{
  position:absolute;top:20px;left:20px;bottom:20px;width:290px;z-index:500;
  background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(25,40,84,.18);
  display:flex;flex-direction:column;overflow:hidden;font-family:var(--cdt-body);
}
.cdt-mapa__panel h3{font-family:var(--cdt-display);font-size:18px;color:var(--cdt-azul-inst);padding:18px 18px 8px;margin:0;}
.cdt-mapa__panel ol{list-style:none;margin:0;padding:0 8px 12px;overflow-y:auto;flex:1;}
.cdt-mapa__panel li{padding:0;}
.cdt-mapa__panel button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:10px;align-items:center;width:100%;padding:7px 10px;border-radius:10px;font-size:14px;line-height:1.25;color:var(--cdt-texto);}
.cdt-mapa__panel button:hover{background:#eef4fa;}
.cdt-mapa__leyenda{font-size:12px;color:#555;padding:10px 18px 14px;border-top:1px solid #eee;line-height:1.5;}
.cdt-pin{
  width:30px;height:30px;border-radius:50%;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;
  background:var(--cdt-azul);color:#fff;font:700 13px/1 var(--cdt-btn);border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.25);
}
.cdt-pin--muni{background:var(--cdt-azul-inst);}
.cdt-pin--aprox{background:#fff;color:var(--cdt-azul);border:2px dashed var(--cdt-azul);}
.cdt-pin--tramo{width:30px;height:6px;border-radius:3px;border:0;box-shadow:none;background:var(--cdt-azul);}
.cdt-mapa__leyenda .cdt-pin{width:14px;height:14px;font-size:0;vertical-align:-2px;margin-right:4px;border-width:1px;}
.cdt-mapa__leyenda .cdt-pin--tramo{width:18px;height:4px;vertical-align:2px;}
.leaflet-popup-content{font-family:var(--cdt-body);font-size:14px;line-height:1.35;}
.leaflet-popup-content strong{font-family:var(--cdt-display);font-weight:400;font-size:16px;color:var(--cdt-azul-inst);}
.cdt-aprox{color:#888;font-size:12px;}
@media (max-width:767px){
  .cdt-anchors-wrap{margin-top:0;}
  .cdt-mapa__wrap{height:auto;}
  #cdt-mapa{position:relative;height:380px;}
  .cdt-mapa__panel{position:relative;inset:auto;width:auto;margin:16px 20px 0;max-height:none;}
}

/* Mapa Google My Maps */
.cdt-mapa__wrap--google{height:auto;}
.cdt-mapa__wrap--google .cdt-mapa__frame{width:100%;height:560px;border:0;display:block;}
@media (max-width:767px){ .cdt-mapa__wrap--google .cdt-mapa__frame{height:440px;} }

/* Sol en banners */
.cdt-sol{position:absolute;z-index:1;width:auto;pointer-events:none;user-select:none;}
@media (max-width:980px){
  .cdt-home-banner .cdt-sol{height:300px;top:auto;bottom:-40px;right:-110px;}
}
@media (max-width:767px){
  .cdt-home-banner .cdt-sol{height:220px;opacity:.35;}
}

/* Sello encima de cada sección */
.cdt-sello{display:block;align-self:flex-start;width:52px;height:71px;}
@media (max-width:767px){ .cdt-sello{width:38px;height:52px;} }
/* Hero: que el logotipo de abajo a la izquierda no se corte.
   La foto se encaja en la parte visible (encima de la barra de anclas, 79px)
   y se ancla abajo a la izquierda, así el recorte solo se come arriba y a la derecha. */
.cdt-hero{
  padding-bottom:79px;
  background-origin:content-box;
  background-repeat:no-repeat;
  background-position:left bottom;
}
@media (max-width:767px){
  .cdt-hero{padding-bottom:0;}
}

/* =========================================================
   Propuesta E · orden de marketing (noviembre 2026)
   ========================================================= */
.cdt-negro{color:var(--cdt-titulo);}
.cdt-head{max-width:1040px;margin:0 auto 32px;text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center;}
.cdt-lead{font-size:18px;line-height:1.4;color:var(--cdt-texto);max-width:60ch;}
.cdt-quote{font-family:var(--cdt-body);font-weight:600;font-size:22px !important;line-height:1.3;color:var(--cdt-titulo);}

/* Secciones de tarjetas (Los senderos, Qué vivir, Qué ver) */
.cdt-seccion{padding:80px 100px 0;}
.cdt-cards{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.cdt-exp{position:relative;height:430px;border-radius:16px;overflow:hidden;background:#6b6b66;display:flex;align-items:flex-end;}
.cdt-exp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.cdt-exp::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(25,40,84,0) 45%,rgba(25,40,84,.9) 100%);}
.cdt-exp:hover img{transform:scale(1.04);}
.cdt-exp__txt{position:relative;z-index:1;padding:24px;display:flex;flex-direction:column;gap:12px;color:#fff;}
.cdt-exp h3{font-size:32px;line-height:1.1;letter-spacing:-1px;color:#fff;}
.cdt-exp p{font-size:16px;line-height:1.3;color:rgba(255,255,255,.9);}
.cdt-exp--sinfoto{background:var(--cdt-azul-inst);}
.cdt-exp--pronto{opacity:.75;}
.cdt-exp--abierto .cdt-exp__txt p::before,.cdt-exp--pronto .cdt-exp__txt p::before{
  display:inline-block;margin-right:8px;padding:2px 10px;border-radius:9999px;
  font-family:var(--cdt-btn);font-weight:700;font-size:12px;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px;
}
.cdt-exp--abierto .cdt-exp__txt p::before{content:"Abierto";background:var(--cdt-azul);color:#fff;}
.cdt-exp--pronto .cdt-exp__txt p::before{content:"Próximamente";background:rgba(255,255,255,.2);color:#fff;}

/* Franja de 4 columnas en claro (Cómo funciona) y números */
.cdt-que-hacer--claro{background:transparent;margin-top:0;padding-top:80px;padding-bottom:16px;}
.cdt-que-hacer--claro .cdt-h2{color:var(--cdt-titulo);margin-bottom:0;}
.cdt-que-hacer--claro .cdt-tip,.cdt-que-hacer--claro .cdt-tip h3{color:var(--cdt-titulo);}
.cdt-tip__num{
  align-self:center;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:var(--cdt-azul);color:#fff;font:700 15px/1 var(--cdt-btn);
}
.cdt-que-hacer__cta{display:flex;justify-content:center;margin-top:48px;position:relative;z-index:1;}

/* Sendero Kan */
.cdt-kan{padding-top:60px;}
.cdt-kan .cdt-bloque__content{gap:12px;}
.cdt-kpis{font-family:var(--cdt-btn);font-weight:700;font-size:20px;line-height:1.3;color:var(--cdt-azul-inst);}

/* Cerca del camino: título en azul */
#cerca .cdt-h2{color:var(--cdt-azul);}

@media (max-width:1100px){ .cdt-seccion{padding-left:40px;padding-right:40px;} }
@media (max-width:980px){
  .cdt-cards{grid-template-columns:1fr 1fr;}
  .cdt-seccion{padding:60px 20px 0;}
}
@media (max-width:767px){
  .cdt-cards{grid-template-columns:1fr;}
  .cdt-exp{height:300px;}
  .cdt-exp h3{font-size:26px;}
  .cdt-quote{font-size:19px !important;}
}

/* Mapa: widget de spots de Passporter */
.cdt-mapa__wrap--widget{height:auto;max-width:1240px;padding:0 20px;box-sizing:border-box;}
.cdt-mapa__wrap--widget .cdt-mapa__frame{height:680px;border-radius:16px;}
@media (max-width:767px){.cdt-mapa__wrap--widget .cdt-mapa__frame{height:620px;}}

/* Cómo funciona: igual que Planifica (fondo azul, decoraciones, sin números) */
.cdt-que-hacer--oscuro .cdt-head{position:relative;z-index:1;margin:0 auto 64px;text-align:center;}
.cdt-que-hacer--oscuro .cdt-head .cdt-h2{margin-bottom:0;color:var(--cdt-blanco);}
.cdt-tip__num{display:none !important;}

/* Cards de Los senderos, Qué vivir y Qué ver: como en Figma */
#senderos .cdt-exp, #que-vivir .cdt-exp, #que-ver .cdt-exp{border-radius:24px;opacity:1;}
#senderos .cdt-exp::after, #que-vivir .cdt-exp::after, #que-ver .cdt-exp::after{
  background:linear-gradient(180deg, rgba(110,42,34,0) 25%, rgba(110,42,34,1) 99%) !important;
}
#senderos .cdt-exp__txt, #que-vivir .cdt-exp__txt, #que-ver .cdt-exp__txt{padding:32px;gap:16px;}
#senderos .cdt-exp h3, #que-vivir .cdt-exp h3, #que-ver .cdt-exp h3{font-size:24px;line-height:1.2;letter-spacing:0;}
#senderos .cdt-exp p, #que-vivir .cdt-exp p, #que-ver .cdt-exp p{font-size:16px;color:#fff;}
.cdt-exp--abierto .cdt-exp__txt p::before, .cdt-exp--pronto .cdt-exp__txt p::before{content:none !important;display:none !important;}

/* Hoy puedes recorrer el Sendero Kan: foto con el degradado de las cards */
.cdt-kan .cdt-bloque__img::after{background:linear-gradient(180deg, rgba(110,42,34,0) 25%, rgba(110,42,34,1) 99%) !important;}

/* Segundo y tercer sendero: tratamiento luminosity como en Figma */
#senderos .cdt-exp--pronto{background:#6b6b66;}
#senderos .cdt-exp--pronto img{opacity:.9;mix-blend-mode:luminosity;}
.cdt-exp--sinfoto-gris{background:#6b6b66 !important;}

/* Aire entre las cards de Qué vivir y el banner */
#que-vivir{padding-bottom:80px;}
@media (max-width:767px){ #que-vivir{padding-bottom:48px;} }

/* Mapa sin título, justo debajo del bloque del Sendero Kan */
.cdt-kan .cdt-mapa{padding-top:40px;gap:0;}

/* =========================================================
   Cómo vivirlo · Elige tu plan (pestañas con los 4 itinerarios)
   ========================================================= */
.cdt-planes{padding-top:80px;}
.cdt-planes .cdt-head{padding:0 100px;margin-bottom:32px;}
.cdt-planes .cdt-head .cdt-h2{color:#000;}
.cdt-planes .cdt-lead{max-width:none;line-height:1.2;letter-spacing:-.04em;}
.cdt-planes__box{background:transparent;padding:20px 100px;}
.cdt-planes__inner{max-width:1200px;margin:0 auto;display:flex;gap:48px;align-items:flex-start;}
.cdt-planes__tabs{flex:0 0 306px;display:flex;flex-direction:column;}
.cdt-planes__tab{
  display:flex;align-items:center;gap:20px;width:100%;text-align:left;cursor:pointer;
  background:none;border:0;border-left:3px solid var(--cdt-gris);padding:15px 0 15px 30px;margin:0;
  font-family:var(--cdt-display);font-weight:400;font-size:20.8px;line-height:1;color:#8a8fa3;
  transition:color .2s ease,border-color .2s ease;
}
.cdt-planes__tab:hover{color:var(--cdt-azul-inst);}
.cdt-planes__tab.is-active{color:var(--cdt-azul-inst);border-left-color:var(--cdt-azul-inst);}
.cdt-planes__tab:focus-visible{outline:2px solid var(--cdt-azul);outline-offset:2px;}
.cdt-planes__panels{flex:1 1 0;min-width:0;}
.cdt-plan{display:flex;gap:70px;align-items:flex-start;}
.cdt-plan[hidden]{display:none;}
.cdt-plan__content{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:24px;}
.cdt-page .cdt-plan__title{font-size:40px;line-height:52px;letter-spacing:0;color:var(--cdt-titulo);}
.cdt-plan__text{font-size:16px;line-height:20.8px;color:#21272a;}
.cdt-plan__text p + p{margin-top:20.8px;}
.cdt-plan__img{flex:1 1 0;min-width:0;height:400px;border-radius:20px;overflow:hidden;background:#d9d4cc;}
.cdt-plan__img img{width:100%;height:100%;object-fit:cover;display:block;}

@media (max-width:1100px){
  .cdt-planes .cdt-head,.cdt-planes__box{padding-left:40px;padding-right:40px;}
  .cdt-planes__inner{gap:32px;}
  .cdt-plan{gap:32px;}
}
@media (max-width:980px){
  .cdt-planes{padding-top:60px;}
  .cdt-planes .cdt-head{padding:0 20px;}
  .cdt-planes__box{padding:20px;}
  .cdt-planes__inner{flex-direction:column;gap:24px;}
  .cdt-planes__tabs{flex:none;width:100%;flex-direction:row;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .cdt-planes__tabs::-webkit-scrollbar{display:none;}
  .cdt-planes__tab{width:auto;flex:0 0 auto;white-space:nowrap;gap:10px;border-left:0;border-bottom:3px solid var(--cdt-gris);padding:12px 16px;font-size:18px;}
  .cdt-planes__tab.is-active{border-bottom-color:var(--cdt-azul-inst);}
  .cdt-plan{flex-direction:column;gap:24px;}
  .cdt-plan__img{order:-1;flex:none;width:100%;height:280px;}
}
@media (max-width:767px){
  .cdt-page .cdt-plan__title{font-size:30px;line-height:38px;}
}

/* Sendero Kan: datos con la tipografía de Figma */
.cdt-kan .cdt-kpis{font-family:var(--cdt-body);font-weight:600;font-size:22px;line-height:1.2;color:var(--cdt-titulo);}


/* ---------- Cards that ask El Chatío (places, experiences, trails) ----------
   At rest, a small chat badge in the top-right corner (the title sits at the bottom). On hover or
   keyboard focus it unfolds into a pill with «Pregúntale a El Chatío»: the icon stays anchored on
   the right and the text grows to the left (Userback GUATB2C-10). The badge is absolutely
   positioned, so the card layout never moves. Touch screens have no hover: icon only (the optional
   one-time peek in german.js reuses .is-peek). */
.cdt-exp--ask{cursor:pointer;}
.cdt-exp--ask:focus-visible{outline:3px solid var(--cdt-azul);outline-offset:3px;}
.cdt-ask{
  position:absolute;top:16px;right:16px;z-index:2;max-width:calc(100% - 32px);
  display:inline-flex;align-items:center;height:40px;padding:0 10px;border-radius:9999px;
  background:var(--cdt-azul);color:#fff;box-shadow:0 2px 10px rgba(25,40,84,.3);
  font-family:var(--cdt-btn);font-weight:700;font-size:14px;line-height:20px;white-space:nowrap;
  transition:background-color .28s ease-out;
}
.cdt-ask svg{width:20px;height:20px;display:block;flex-shrink:0;}
.cdt-ask__txt{
  display:block;overflow:hidden;max-width:0;opacity:0;margin-right:0;
  transition:max-width .28s ease-out,opacity .28s ease-out,margin-right .28s ease-out;
}
.cdt-exp--ask:hover .cdt-ask,.cdt-exp--ask:focus-visible .cdt-ask,.cdt-exp--ask.is-peek .cdt-ask{background:var(--cdt-azul-inst);}
.cdt-exp--ask:hover .cdt-ask__txt,.cdt-exp--ask:focus-visible .cdt-ask__txt,.cdt-exp--ask.is-peek .cdt-ask__txt{
  max-width:200px;opacity:1;margin-right:8px;
}
@media (hover:none){
  .cdt-exp--ask:hover:not(.is-peek) .cdt-ask{background:var(--cdt-azul);}
  .cdt-exp--ask:hover:not(.is-peek):not(:focus-visible) .cdt-ask__txt{max-width:0;opacity:0;margin-right:0;}
}
@media (prefers-reduced-motion:reduce){
  .cdt-ask,.cdt-ask__txt{transition:none;}
}


/* ---------- Mobile fixes (≤980px) ----------
   In a column, flex:1 1 0 gives a height of 0 to boxes whose content does not size them (absolute
   image and title): the «Cerca del camino» cards and the «Qué es» image vanished on phones. The
   plan images already had flex:none in the handoff; same fix for the other two. */
@media (max-width:980px){
  .cdt-bloque__img,
  .cdt-destinos__row .cdt-card{flex:none;width:100%;}
}

/* ---------- Map per plan: preloaded maps of the other plans ----------
   Stacked on the visible one and hidden with visibility (not display:none), so Google Maps keeps
   its size and the switch is instant. */
.cdt-mapa__wrap{position:relative;}
.cdt-mapa__frame.is-standby{position:absolute;top:0;left:0;visibility:hidden;pointer-events:none;}

/* ---------- Map per plan: title (Userback GUATB2C-9) ----------
   The widget's own title is hidden (hideTitle=true); this one says what the points are and names
   the active plan (assets/plans-map.js). */
.cdt-mapa{gap:20px;}
.cdt-mapa__head{max-width:1040px;padding:0 20px;text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center;}
.cdt-mapa__title{font-size:28px;line-height:1.2;letter-spacing:-.5px;color:var(--cdt-titulo);}
.cdt-mapa__lead{font-size:16px;line-height:1.4;color:var(--cdt-texto);max-width:60ch;}
@media (max-width:767px){ .cdt-mapa__title{font-size:24px;} }

/* ---------- Qué ver: 3 cards per municipality, each group under its heading (Userback GUATB2C-21) ----------
   The rows stay at 3 cards down to tablet so no group leaves a card alone on its own row. */
#que-ver .cdt-grupo{max-width:1240px;margin:48px auto 16px;font-size:28px;line-height:1.2;letter-spacing:-.5px;color:var(--cdt-azul-inst);}
#que-ver .cdt-head + .cdt-grupo{margin-top:8px;}
#que-ver .cdt-cards--grupo .cdt-exp{height:360px;}
@media (max-width:980px){
  #que-ver .cdt-cards--grupo{grid-template-columns:repeat(3,1fr);}
  #que-ver .cdt-cards--grupo .cdt-exp{height:300px;}
  #que-ver .cdt-cards--grupo .cdt-exp__txt{padding:20px;}
  #que-ver .cdt-cards--grupo .cdt-exp h3{font-size:20px;}
}
@media (max-width:767px){
  #que-ver .cdt-grupo{margin-top:32px;font-size:24px;}
  #que-ver .cdt-cards--grupo{grid-template-columns:1fr;}
  #que-ver .cdt-cards--grupo .cdt-exp{height:260px;}
}

/* ---------- Hero video (Userback GUATB2C-56) ----------
   The INGUAT's short clips, as on visitguatemala.gt's home, instead of the photo carousel
   (GUATB2C-14). They come as ONE seamless loop with dissolves (assets/video/hero-camino-*.mp4, made
   by hero-video/make_hero_video.sh): 1920×1080 from 768 px, a 672×1080 vertical cut on phones.
   - The poster <img> is the loop's first frame. It paints first (it is the LCP image), it is all
     that shows with prefers-reduced-motion, and the video fades in over it, so there is no jump.
   - One button pauses and resumes the loop (WCAG 2.2.2), bottom right, in the frosted style the
     carousel controls had. Behaviour in assets/hero.js. */
.cdt-hero{background-image:none;overflow:hidden;isolation:isolate;}
.cdt-hero__media{position:absolute;inset:0;z-index:0;overflow:hidden;background:var(--cdt-azul-inst);}
.cdt-hero__poster{position:absolute;inset:0;margin:0;}
.cdt-hero__poster img,.cdt-hero__video{
  position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;
  object-fit:cover;object-position:50% 50%;
}
.cdt-hero__video{opacity:0;transition:opacity .8s ease;}
/* has-video: the video has shown its first frame. It stays visible when paused (the paused frame,
   not the poster). */
.cdt-hero.has-video .cdt-hero__video{opacity:1;}

/* Shade: the neutral one of the page rework of 2026-11-19 (Userback GUATB2C-42: the clips' own
   colours, no brand red); if that rework changes it, its value wins. */
.cdt-hero::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.22) 0%,rgba(0,0,0,.12) 45%,rgba(0,0,0,.32) 100%);
}
/* Halo behind the title, stronger and wider than the rework's (.42 on the content box): the
   subtitle got lost over the busiest clips (the white cloth and the figures of the crafts stall,
   the painted tombs). It is a layer larger than the content box that fades to nothing at its own
   edges (closest-side), so it never shows a rectangle; only the middle darkens. */
.cdt-hero .cdt-hero__content{background:none;}
.cdt-hero__content::before{
  content:"";position:absolute;z-index:-1;inset:-40px -140px;pointer-events:none;
  background:radial-gradient(closest-side,rgba(0,0,0,.55) 0%,rgba(0,0,0,.35) 50%,rgba(0,0,0,0) 100%);
}

/* Brand layer, unchanged since 0.6.8: the gold sun on the right and the white «El Camino del Tiempo»
   logo bottom-left, with the handoff poster's geometry (a 5760×3488 frame that covers the visible
   hero, above the 79 px anchor bar, anchored bottom-left). They stay still over the video. */
.cdt-hero{--cdt-poster-h:872px;}
.cdt-hero__brand{
  position:absolute;left:0;bottom:79px;z-index:2;pointer-events:none;
  width:max(100%,calc(var(--cdt-poster-h) * 5760 / 3488));aspect-ratio:5760/3488;
}
.cdt-hero__brand img{position:absolute;display:block;max-width:none;}
.cdt-hero__sol{left:74.64%;top:23.28%;height:56.19%;width:auto;}
.cdt-hero__logo{left:3.49%;top:85.55%;width:13.45%;height:auto;}
@media (max-width:980px){ .cdt-hero{--cdt-poster-h:641px;} }
/* Where the poster's crop leaves less than half of the sun on screen (a gold sliver on the right
   edge), it is hidden: 981–1253 px (sun from x = 1074) and 768–921 px (sun from x = 790). */
@media (min-width:981px) and (max-width:1253px){ .cdt-hero__brand .cdt-hero__sol{display:none;} }
@media (min-width:768px) and (max-width:921px){ .cdt-hero__brand .cdt-hero__sol{display:none;} }
/* Since 0.8.0 the title is «El Camino del Tiempo» on one line (Userback GUATB2C-34): from 1254 to
   1699 px its right end runs into the sun's left rays (93 px at 1440), measured on the visible pixels
   with a 16 px margin. From 1700 px they clear each other. */
@media (min-width:1254px) and (max-width:1699px){ .cdt-hero__brand .cdt-hero__sol{display:none;} }
.cdt-hero__content{position:relative;z-index:3;}
.cdt-hero h1,.cdt-hero__sub{text-shadow:0 1px 3px rgba(0,0,0,.35),0 2px 24px rgba(0,0,0,.45);}
.cdt-hero .cdt-hero__sub{text-shadow:0 0 2px rgba(0,0,0,.75),0 1px 3px rgba(0,0,0,.6),0 2px 18px rgba(0,0,0,.6);}

/* Pause / play. Bottom right, above the anchor bar (79 px) on desktop and tablet. The markup ships
   it hidden: assets/hero.js shows it once there is a video to control. */
.cdt-hero__toggle{
  position:absolute;right:28px;bottom:calc(79px + 24px);z-index:4;
  width:44px;height:44px;border:0;border-radius:9999px;padding:0;margin:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;background:rgba(0,0,0,.30);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  transition:background-color .25s ease,transform .25s ease;
  animation:cdt-hero-toggle-in .6s ease both;
}
.cdt-hero__toggle[hidden]{display:none;}
.cdt-hero__toggle:hover{background:rgba(0,0,0,.48);}
.cdt-hero__toggle:active{transform:scale(.92);}
.cdt-hero__toggle:focus-visible{outline:2px solid #fff;outline-offset:3px;}
.cdt-hero__toggle svg{width:18px;height:18px;display:block;}
.cdt-hero__toggle .cdt-hero__icon-play,
.cdt-hero.is-paused .cdt-hero__toggle .cdt-hero__icon-pause{display:none;}
.cdt-hero.is-paused .cdt-hero__toggle .cdt-hero__icon-play{display:block;}
@keyframes cdt-hero-toggle-in{from{opacity:0;}to{opacity:1;}}

@media (max-width:767px){
  /* Phones: no anchor bar over the hero. The logo goes to the bottom-left corner (the poster frame
     would put it under the title) and the button to the bottom right, on the same line. The sun is
     off screen here, as on the poster. */
  .cdt-hero{--cdt-poster-h:620px;}
  .cdt-hero__brand{bottom:0;width:100%;height:100%;aspect-ratio:auto;}
  .cdt-hero__brand .cdt-hero__sol{display:none;}
  .cdt-hero__logo{left:16px;top:auto;bottom:25px;width:128px;}
  .cdt-hero__toggle{right:14px;bottom:18px;width:40px;height:40px;}
}
/* Reduced motion: only the poster (hero.js does not even load the video) and no button. */
@media (prefers-reduced-motion:reduce){
  .cdt-hero__video,.cdt-hero__toggle{display:none;}
}


/* ---------- «Qué es»: the Camino del Tiempo video (Userback GUATB2C-17/18, CDT-007, F-02) ----------
   Replaces the photo of the Chichicastenango market. Paused, with a poster and a pulsing play
   button over it; the native controls appear once it plays (assets/video.js). The box takes the
   video's 16:9 instead of the handoff's fixed image height. */
.cdt-video{height:auto;aspect-ratio:16/9;align-self:center;background:#0f1730;}
.cdt-video::after{z-index:1;transition:opacity .6s ease;}
.cdt-video.is-playing::after{opacity:0;}
.cdt-video__el{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;background:#0f1730;}

.cdt-video__play{
  position:absolute;left:50%;top:50%;z-index:2;width:96px;height:96px;margin:-48px 0 0 -48px;
  border:0;border-radius:50%;padding:0;background:transparent;color:#fff;cursor:pointer;
  transition:transform .35s cubic-bezier(.22,1,.36,1),opacity .4s ease;
}
.cdt-video__core{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;
  border-radius:50%;background:var(--cdt-azul);box-shadow:0 12px 32px rgba(10,14,30,.35);
  transition:background-color .3s ease;animation:cdt-video-breathe 2.4s ease-in-out infinite;
}
/* The triangle's centroid is already at the centre of its 24×24 box: no extra nudge to the right
   (it made the button look off centre, Gonzalo 2026-11-17). */
.cdt-video__core svg{width:34px;height:34px;display:block;}
/* Two rings that grow out of the button and fade, half a beat apart. */
.cdt-video__play::before,.cdt-video__play::after{
  content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(255,255,255,.9);
  pointer-events:none;animation:cdt-video-pulse 2.4s cubic-bezier(.22,1,.36,1) infinite;
}
.cdt-video__play::after{animation-delay:1.2s;}
@keyframes cdt-video-pulse{0%{transform:scale(1);opacity:.85;}100%{transform:scale(1.85);opacity:0;}}
@keyframes cdt-video-breathe{0%,100%{transform:scale(1);}50%{transform:scale(1.06);}}
.cdt-video__play:hover{transform:scale(1.08);}
.cdt-video__play:hover .cdt-video__core{background:var(--cdt-azul-inst);}
.cdt-video__play:focus-visible{outline:3px solid #fff;outline-offset:6px;}

.cdt-video__label{
  position:absolute;left:50%;top:calc(50% + 66px);z-index:2;transform:translateX(-50%);
  padding:6px 14px;border-radius:9999px;white-space:nowrap;pointer-events:none;
  font-family:var(--cdt-btn);font-weight:700;font-size:13px;line-height:18px;color:#fff;
  background:rgba(25,40,84,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  transition:opacity .4s ease;
}
.cdt-video.is-playing .cdt-video__play,.cdt-video.is-playing .cdt-video__label{opacity:0;pointer-events:none;}
.cdt-video.is-playing .cdt-video__play{transform:scale(.8);}

@media (max-width:767px){
  .cdt-video__play{width:72px;height:72px;margin:-36px 0 0 -36px;}
  .cdt-video__core svg{width:26px;height:26px;}
  .cdt-video__label{top:calc(50% + 50px);font-size:12px;padding:5px 12px;}
}
@media (prefers-reduced-motion:reduce){
  .cdt-video__core,.cdt-video__play::before,.cdt-video__play::after{animation:none;}
  .cdt-video__play::before,.cdt-video__play::after{display:none;}
}


/* =========================================================
   0.8.0 · INGUAT review of 2026-11-18 (Userback GUATB2C-33 to 61)
   ========================================================= */

/* ---------- Photos in their own colours (GUATB2C-42) ----------
   The brand red came off every photo. Where white text sits on a photo, a neutral black shade (no
   hue) keeps it legible: card titles, «Cerca del camino» and the «¿Dudas…?» band. The hero's is in
   hero.css. */
.cdt-bloque__img::after{background:none;}
#que-vivir .cdt-exp::after,#que-ver .cdt-exp::after{
  background:linear-gradient(180deg,rgba(0,0,0,0) 38%,rgba(0,0,0,.5) 68%,rgba(0,0,0,.8) 100%) !important;
}
#que-vivir .cdt-exp__txt,#que-ver .cdt-exp__txt{text-shadow:0 1px 2px rgba(0,0,0,.35);}
.cdt-card::after{background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.72) 100%);}
.cdt-card span{text-shadow:0 1px 3px rgba(0,0,0,.35);}
.cdt-planificador{
  background-color:#2b2b2b;
  background-image:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url("img/camino-del-tiempo-cta.webp");
}
.cdt-planificador .cdt-h2{text-shadow:0 1px 3px rgba(0,0,0,.35);}

/* ---------- Opening lines under the anchor bar (GUATB2C-35) ----------
   A headline as big as a header, and the INGUAT's paragraph. No tab of its own. */
.cdt-intro{padding:104px 100px 0;display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center;}
.cdt-page .cdt-intro__title{font-size:64px;line-height:1.1;letter-spacing:-2px;color:var(--cdt-titulo);max-width:1100px;}
.cdt-intro__line{display:block;}
.cdt-page .cdt-intro__text{font-size:20px;line-height:1.45;color:var(--cdt-texto);max-width:62ch;}
.cdt-intro + .cdt-bloques{padding-top:0;}
.cdt-intro + .cdt-bloques #que-es{padding-top:96px;}
@media (max-width:1100px){ .cdt-intro{padding-left:40px;padding-right:40px;} }
@media (max-width:980px){
  .cdt-intro{padding:72px 20px 0;gap:20px;}
  .cdt-page .cdt-intro__title{font-size:46px;letter-spacing:-1.4px;}
  .cdt-intro + .cdt-bloques #que-es{padding-top:60px;}
}
@media (max-width:767px){
  .cdt-intro{padding-top:56px;}
  .cdt-page .cdt-intro__title{font-size:34px;letter-spacing:-1px;}
  .cdt-page .cdt-intro__text{font-size:17px;}
}

/* ---------- «Descubre el camino»: map + three blocks (GUATB2C-38 to 41) ----------
   The INGUAT's static map on the left and the three blocks on the right; stacked on tablets and
   phones. The map comes in two widths, img/mapa-camino-del-tiempo-v2{,-1300}.webp (build/img/ in the
   sources), shown whole at its own proportions: changing the map is replacing those files, under a
   new name so that no cache keeps the old one. The sun of the
   logo replaces the two decorative icons of the band. */
.cdt-descubre__body{
  position:relative;z-index:1;max-width:1240px;margin:0 auto;
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:center;
}
.cdt-descubre__mapa{margin:0;border-radius:16px;overflow:hidden;background:rgba(255,255,255,.06);}
.cdt-descubre__mapa img{display:block;width:100%;height:auto;}
.cdt-descubre__tips{display:flex;flex-direction:column;}
.cdt-descubre .cdt-tip{flex:none;text-align:left;gap:12px;padding:28px 0;border-top:1px solid rgba(255,255,255,.2);}
.cdt-descubre .cdt-tip:first-child{border-top:0;padding-top:0;}
.cdt-descubre .cdt-tip:last-child{padding-bottom:0;}
.cdt-descubre .cdt-tip h3{font-size:26px;}
.cdt-descubre .cdt-deco--sol{right:-110px;bottom:-190px;width:auto;height:400px;opacity:.12;}
@media (max-width:980px){
  .cdt-descubre__body{grid-template-columns:1fr;gap:40px;}
  .cdt-descubre .cdt-tip h3{font-size:22px;}
}

/* ---------- «Elige tu plan»: 3 plans, length line and WhatsApp booking (GUATB2C-51, 53) ---------- */
.cdt-kan--planes{padding-top:0;}
.cdt-page .cdt-plan__dur{margin-top:-12px;font-family:var(--cdt-body);font-weight:600;font-size:20px;line-height:1.3;color:var(--cdt-azul-inst);}
.cdt-plan__ctas{display:flex;flex-wrap:wrap;gap:12px;}
/* Desktop: the two buttons side by side on a row of their own, under the text and the photo (the text
   column alone is too narrow for both). The content box dissolves into the plan's grid; the text row
   takes the photo's extra height so the title, length and text stay together. */
@media (min-width:981px){
  .cdt-plan:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:70px;row-gap:24px;align-items:start;}
  .cdt-plan__content{display:contents;}
  .cdt-plan__img{grid-column:2;grid-row:1 / span 3;}
  .cdt-plan__ctas{grid-column:1 / -1;}
}
@media (min-width:981px) and (max-width:1100px){ .cdt-plan:not([hidden]){column-gap:32px;} }
.cdt-btn--wa{background:var(--cdt-azul-inst);}
.cdt-btn--wa:hover{background:#0e1735;}
.cdt-btn--wa .cdt-btn__icon svg{width:18px;height:18px;}
@media (max-width:767px){ .cdt-page .cdt-plan__dur{margin-top:-8px;font-size:18px;} }

/* ---------- FAQ: one photo (GUATB2C-57) and contact links (GUATB2C-58, 59) ---------- */
.cdt-faq__galeria div{flex:1 1 auto;}
.cdt-faq__galeria img{object-position:42% 50%;}
.cdt-q__contacto{list-style:none;margin:12px 0 0;padding:0;font-size:16px;line-height:1.6;color:#000;}
.cdt-q__contacto li{padding:0;}
.cdt-q a{color:var(--cdt-azul-inst);font-weight:600;text-decoration:underline;text-underline-offset:2px;word-break:break-word;}
.cdt-q a[href^="https://wa.me/"]{white-space:nowrap;}
.cdt-q a:hover{color:var(--cdt-azul);}

/* ---------- Home banner: the photo in its own colours (0.8.1, the criterion of GUATB2C-42) ----------
   It had the brand maroon at 80–90 % over the photo. Now a neutral black shade, darker behind the
   centred text and lighter towards the edges, so the photo keeps its colours and the white text
   reads. Loaded on the home too (camino-del-tiempo.css goes with the banner). */
.cdt-home-banner{
  background-color:#2b2b2b;
  background-image:radial-gradient(ellipse 60% 75% at 50% 50%,rgba(0,0,0,.6) 0%,rgba(0,0,0,.42) 55%,rgba(0,0,0,.22) 100%),url("img/camino-del-tiempo-cta.webp");
}
.cdt-home-banner h2,.cdt-home-banner p{text-shadow:0 1px 3px rgba(0,0,0,.35);}
