/* Plantilla "Turismo y noche" del Sistema de Portales (body.plantilla-turismo).
   Toma el color de la marca (--n) para los acentos; el resto es noche cálida + crema. */
.plantilla-turismo{--fh:var(--mc-fh,'Fredoka',system-ui,sans-serif);--tn:#1a0e09;--tn2:#2c150b;--amb:#f6a623;--crema:#fbf5ec;--tt:#2a1a12;--rad:18px;background:var(--mc-fondo,var(--crema));color:var(--tt)}
.plantilla-turismo h1,.plantilla-turismo h2,.plantilla-turismo h3,.plantilla-turismo h4{font-family:var(--fh);font-weight:600;letter-spacing:-.005em}

/* ---------- cabecera: noche con el resplandor del atardecer abajo ---------- */
.plantilla-turismo .topbar{background:var(--mc-barra,var(--tn));color:var(--mc-barra-t,#e9d9cc);border-bottom:1px solid rgba(255,255,255,.06)}
.plantilla-turismo .head{position:relative;background:var(--mc-cab,radial-gradient(120% 140% at 85% 120%,rgba(232,96,28,.55),transparent 55%),radial-gradient(90% 120% at 10% 130%,rgba(246,166,35,.28),transparent 60%),linear-gradient(180deg,var(--tn),var(--tn2)));color:#fff;overflow:hidden}
.plantilla-turismo .head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,var(--amb),var(--n),var(--amb),transparent);opacity:.9}
.plantilla-turismo .head .wrap{padding-top:10px;padding-bottom:12px}
.plantilla-turismo .logo img{max-height:84px;width:auto}
.plantilla-turismo .head .buscar input{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);color:#fff;border-radius:999px}
.plantilla-turismo .head .buscar input::placeholder{color:#d9c6b8}
.plantilla-turismo .head .buscar button{color:#fff}
.plantilla-turismo .menu-btn span{background:#fff}
.plantilla-turismo .nav{background:var(--mc-menu,var(--tn));box-shadow:0 6px 20px rgba(26,14,9,.25)}
.plantilla-turismo .nav .wrap{gap:4px;padding-top:8px;padding-bottom:8px}
.plantilla-turismo .nav a{color:var(--mc-menu-t,#f3e6dc);font-family:var(--fh);font-weight:500;font-size:16px;padding:7px 15px;border:0;border-radius:999px;transition:background .2s,color .2s}
.plantilla-turismo .nav a:hover{background:rgba(255,255,255,.1);color:#fff}
.plantilla-turismo .nav a.on{background:var(--mc-menu-on,var(--n));color:#fff;border:0}
.plantilla-turismo .ticker{background:var(--mc-ticker,var(--amb));color:var(--tt)}
.plantilla-turismo .ticker b{background:var(--tt);color:#fff}

/* ---------- vidriera ---------- */
.tur-hero{position:relative;height:clamp(460px,76vh,760px);background:var(--tn);color:#fff;overflow:hidden;isolation:isolate}
.tur-slides{position:absolute;inset:0}
.tur-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility 0s .9s}
.tur-slide.on{opacity:1;visibility:visible;transition:opacity .9s ease}
.tur-slide-ph{position:absolute;inset:0}
.tur-slide-ph img,.tur-slide-ph .noimg{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.08);transition:transform 7s ease-out}
.tur-slide.on .tur-slide-ph img{transform:scale(1)}
.tur-slide-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,10,6,.82) 0%,rgba(20,10,6,.45) 45%,rgba(20,10,6,0) 75%),linear-gradient(0deg,rgba(20,10,6,.85) 0%,rgba(20,10,6,0) 45%)}
.tur-slide-tx{position:absolute;left:0;right:0;bottom:84px;z-index:2}
.tur-slide-tx>*{max-width:720px}
.tur-slide .chip-sec{position:static;display:inline-block;background:var(--c,var(--n));color:#fff;font-family:var(--fh);font-weight:600;font-size:14px;padding:5px 14px;border-radius:999px;margin-bottom:12px}
.tur-slide .volanta{display:block;color:var(--amb);font-weight:700;margin-bottom:4px}
.tur-slide-h{font-size:clamp(30px,4.6vw,58px);line-height:1.04;margin:0 0 14px;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.tur-slide-h a{color:#fff}
.tur-slide-tx p{font-size:19px;line-height:1.45;color:#f1e4da;margin:0 0 22px}
.tur-slide.on .tur-slide-tx>*{animation:turSube .8s both}
.tur-slide.on .tur-slide-tx>*:nth-child(2){animation-delay:.08s}
.tur-slide.on .tur-slide-tx>*:nth-child(3){animation-delay:.16s}
.tur-slide.on .tur-slide-tx>*:nth-child(4){animation-delay:.24s}
@keyframes turSube{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.tur-btn{display:inline-flex;align-items:center;gap:8px;background:var(--n);color:#fff;font-family:var(--fh);font-weight:600;font-size:17px;padding:12px 26px;border-radius:999px;box-shadow:0 10px 30px rgba(232,96,28,.35);transition:transform .2s,box-shadow .2s}
.tur-btn::after{content:"→";transition:transform .2s}
.tur-btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(232,96,28,.5)}
.tur-btn:hover::after{transform:translateX(4px)}
.tur-dots{position:absolute;left:0;right:0;bottom:34px;z-index:3;display:flex;gap:8px}
.tur-dots button{flex:0 0 54px;height:20px;padding:0;border:0;background:none;cursor:pointer;display:flex;align-items:center}
.tur-dots span{display:block;width:100%;height:4px;border-radius:4px;background:rgba(255,255,255,.3);overflow:hidden;position:relative}
.tur-dots span::after{content:"";position:absolute;inset:0;background:var(--amb);transform:scaleX(0);transform-origin:left}
.tur-dots .on span::after{animation:turBarra var(--dur,6.5s) linear forwards}
.tur-hero.pausa .tur-dots .on span::after{animation-play-state:paused}
@keyframes turBarra{to{transform:scaleX(1)}}
.tur-pulso{display:block;width:100%;height:40px;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tur-pulso path{stroke-dasharray:900;stroke-dashoffset:900;animation:turLate 3.2s ease-in-out infinite}
@keyframes turLate{0%{stroke-dashoffset:900}55%{stroke-dashoffset:0}100%{stroke-dashoffset:-900}}
.tur-pulso-hero{position:absolute;left:0;right:0;bottom:-6px;z-index:2;stroke:var(--amb);opacity:.85}

/* ---------- encabezados de bloque ---------- */
.tur-tit{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 22px}
.tur-sobre{display:inline-flex;align-items:center;gap:8px;font-family:var(--fb);font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--n)}
.tur-sobre::before{content:"";width:26px;height:2px;background:currentColor;border-radius:2px}
.tur-tit h2{font-size:clamp(28px,3.4vw,42px);line-height:1.05;margin:4px 0 0}
.tur-ver{flex:none;font-family:var(--fh);font-weight:600;font-size:15px;padding:9px 18px;border-radius:999px;border:2px solid currentColor;color:var(--n);transition:background .2s,color .2s}
.tur-ver:hover{background:var(--n);color:#fff;border-color:var(--n)}
.tur-ver i{font-style:normal}

/* ---------- explorá: destinos ---------- */
.tur-explora{padding:56px 0 30px}
.tur-dests{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:220px;gap:16px}
.tur-dests.n1{grid-template-columns:1fr}
.tur-dests.n2,.tur-dests.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
.tur-dests.n3 .tur-dest:first-child,.tur-dests.n5 .tur-dest:first-child,.tur-dests.n6 .tur-dest:first-child{grid-row:span 2}
.tur-dest{position:relative;display:block;border-radius:var(--rad);overflow:hidden;background:var(--tn);color:#fff;box-shadow:0 12px 30px -14px rgba(42,26,18,.45)}
.tur-dest-ph,.tur-dest-ph img,.tur-dest-ph .noimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tur-dest-ph img{transition:transform .8s ease}
.tur-dest:hover .tur-dest-ph img{transform:scale(1.06)}
.tur-dest-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,10,6,.86),rgba(20,10,6,.05) 62%)}
.tur-dest-tx{position:absolute;left:0;right:0;bottom:0;padding:20px 64px 20px 22px;z-index:1}
.tur-dest-tx b{display:block;font-family:var(--fh);font-weight:600;font-size:26px;line-height:1.05}
.tur-dest:first-child .tur-dest-tx b{font-size:34px}
.tur-dest-tx small{display:block;margin-top:5px;font-size:14px;line-height:1.35;color:#ecdccf}
.tur-dest-tx i{position:absolute;right:18px;bottom:20px;width:38px;height:38px;border-radius:50%;background:var(--c,var(--n));display:grid;place-items:center;font-style:normal;font-weight:700;transition:transform .25s}
.tur-dest:hover .tur-dest-tx i{transform:translateX(4px)}

/* ---------- en escena: la noche ---------- */
.tur-escena{position:relative;margin:40px 0 0;padding:64px 0 30px;background:linear-gradient(180deg,#140a14 0%,var(--tn) 100%);color:#fff;overflow:hidden;isolation:isolate}
.tur-luz{position:absolute;z-index:-1;width:60vw;height:60vw;max-width:760px;max-height:760px;border-radius:50%;filter:blur(40px);opacity:.45;animation:turLuz 14s ease-in-out infinite alternate}
.tur-luz.a{left:-12vw;top:-30%;background:radial-gradient(circle,rgba(214,51,132,.75),transparent 65%)}
.tur-luz.b{right:-14vw;bottom:-40%;background:radial-gradient(circle,rgba(232,96,28,.8),transparent 65%);animation-delay:-7s}
@keyframes turLuz{to{transform:translate(8vw,6vh) scale(1.15)}}
.tur-escena .tur-tit h2{font-size:clamp(38px,5vw,64px);color:#fff;text-shadow:0 0 18px rgba(246,166,35,.55),0 0 42px rgba(232,96,28,.45)}
.tur-escena .tur-sobre{color:var(--amb)}
.tur-escena .tur-ver{color:#fff}
.tur-escena .tur-ver:hover{background:#fff;color:var(--tn);border-color:#fff}
.tur-esc-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.tur-esc-sola{grid-column:1/-1}
.tur-esc-h{font-size:22px;margin:0 0 14px;display:flex;align-items:center;gap:10px}
.tur-esc-h::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--amb);box-shadow:0 0 0 4px rgba(246,166,35,.25),0 0 16px var(--amb)}
.tur-esc-col:nth-child(2) .tur-esc-h::before{background:#d63384;box-shadow:0 0 0 4px rgba(214,51,132,.25),0 0 16px #d63384}
.tur-esc-h a{color:#fff}
.tur-afiches{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.tur-esc-sola .tur-afiches{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.tur-afiche{position:relative;display:block;aspect-ratio:3/4;border-radius:16px;overflow:hidden;background:#000;color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 18px 40px -18px rgba(0,0,0,.8);transition:transform .3s,box-shadow .3s}
.tur-afiche:hover{transform:translateY(-4px) rotate(-.6deg);box-shadow:0 0 0 2px var(--amb),0 22px 44px -18px rgba(232,96,28,.7)}
.tur-af-ph,.tur-af-ph img,.tur-af-ph .noimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tur-af-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,4,10,.92),rgba(10,4,10,0) 60%)}
.tur-af-fecha{position:absolute;top:10px;left:10px;z-index:1;background:var(--amb);color:var(--tt);border-radius:10px;padding:4px 8px 5px;text-align:center;font-family:var(--fh);font-weight:600;font-size:11px;line-height:1;letter-spacing:.06em}
.tur-af-fecha b{display:block;font-size:21px;letter-spacing:0;margin-bottom:1px}
.tur-af-tx{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:12px 12px 14px}
.tur-af-tx h3{margin:0;font-size:16px;line-height:1.18;font-weight:500}
.tur-pulso-esc{stroke:var(--n);opacity:.7;margin-top:34px}

/* ---------- guía ---------- */
.tur-guia{padding:56px 0 10px}
.tur-gcols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}
.tur-gcol{background:#fff;border-radius:var(--rad);padding:20px;box-shadow:0 14px 34px -22px rgba(42,26,18,.5);border-top:5px solid var(--c,var(--n))}
.tur-gcol>h3{font-size:24px;margin:0 0 12px}
.tur-gcol>h3 a{color:var(--tt)}
.tur-gcard{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center;padding:10px 0;border-top:1px dashed rgba(42,26,18,.14);color:var(--tt)}
.tur-gcol>h3+.tur-gcard{border-top:0}
.tur-g-ph{display:block;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#eee}
.tur-g-ph img,.tur-g-ph .noimg{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.tur-gcard:hover .tur-g-ph img{transform:scale(1.07)}
.tur-g-tx h3{font-size:17px;line-height:1.2;margin:0 0 4px;font-weight:500}
.tur-gcard:hover h3{color:var(--n)}
.tur-g-tx p{margin:0;font-size:14px;line-height:1.4;color:#6d5a4d}

/* ---------- mosaico ---------- */
.tur-mosaico{padding:56px 0 20px}
.tur-mos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:190px;gap:10px}
.tur-mos a{position:relative;display:block;border-radius:14px;overflow:hidden;background:#ddd}
.tur-mos a:first-child{grid-column:span 2;grid-row:span 2}
.tur-mos img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s}
.tur-mos span{position:absolute;left:0;right:0;bottom:0;padding:30px 14px 12px;background:linear-gradient(0deg,rgba(20,10,6,.85),transparent);color:#fff;font-family:var(--fh);font-weight:500;font-size:15px;line-height:1.2;opacity:0;transform:translateY(8px);transition:.3s}
.tur-mos a:hover img{transform:scale(1.06)}
.tur-mos a:hover span,.tur-mos a:focus span{opacity:1;transform:none}

/* ---------- lo de siempre, en clave cálida ---------- */
.plantilla-turismo .pub-ancho{margin:26px 0}
.plantilla-turismo .tit{border-bottom:0;font-size:28px;margin-bottom:16px}
.plantilla-turismo .tit span{border-bottom:0;padding-bottom:12px;background:no-repeat left bottom/64px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8'%3E%3Cpath d='M0 4h22l3-3 4 6 3-6 3 5 2-2h27' fill='none' stroke='%23e8601c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.plantilla-turismo .tit a{font-family:var(--fh);font-weight:600;color:var(--n)}
.plantilla-turismo .card .ph,.plantilla-turismo .fila .ph,.plantilla-turismo .nl-ph,.plantilla-turismo .nlista img{border-radius:14px}
.plantilla-turismo .cat{font-family:var(--fh);font-weight:600}
.plantilla-turismo .box{background:#fff;border-radius:var(--rad);padding:18px 20px;box-shadow:0 14px 34px -24px rgba(42,26,18,.55)}
.plantilla-turismo .box .tit{font-size:22px}
.plantilla-turismo .nota h1{font-size:clamp(32px,4vw,50px);line-height:1.06}
.plantilla-turismo .cuerpo blockquote{border-left-color:var(--n)}
.plantilla-turismo .btn,.plantilla-turismo .buscar-grande button{border-radius:999px;font-family:var(--fh);font-weight:600}
.plantilla-turismo .pager a,.plantilla-turismo .pager span{border-radius:999px}

/* ---------- pie ---------- */
.plantilla-turismo .pie{position:relative;background:var(--mc-pie,radial-gradient(90% 120% at 50% -20%,rgba(232,96,28,.35),transparent 60%),var(--tn));color:var(--mc-pie-t,#e9d9cc);border-top:0;margin-top:56px}
.plantilla-turismo .pie::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,transparent,var(--amb),var(--n),var(--amb),transparent)}
.plantilla-turismo .pie a{color:var(--mc-pie-a,#f6e8dd)}
.plantilla-turismo .pie a:hover{color:var(--amb)}
.plantilla-turismo .pie h4{color:#fff;font-family:var(--fh);font-weight:600}
.plantilla-turismo .pie-marca img{max-height:96px;width:auto}
.plantilla-turismo .pie img{filter:none;opacity:1;mix-blend-mode:normal}
.plantilla-turismo .pie-baja{background:rgba(0,0,0,.25);color:#bba89a;border-top:1px solid rgba(255,255,255,.06)}
.plantilla-turismo .radio-barra{background:var(--tn)}

@media (max-width:980px){
  .tur-dests,.tur-dests.n4{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:190px}
  .tur-dests.n3 .tur-dest:first-child,.tur-dests.n5 .tur-dest:first-child,.tur-dests.n6 .tur-dest:first-child{grid-row:auto;grid-column:span 2}
  .tur-esc-cols{grid-template-columns:1fr;gap:26px}
  .tur-mos{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:760px){
  .plantilla-turismo .logo img{max-height:54px}
  .plantilla-turismo .barra-fija{background:var(--tn)}
  .tur-hero{height:min(78vh,620px)}
  .tur-slide-tx{bottom:70px}
  .tur-slide-tx p{font-size:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .tur-slide-ph::after{background:linear-gradient(0deg,rgba(20,10,6,.92) 0%,rgba(20,10,6,.35) 60%,rgba(20,10,6,.1) 100%)}
  .tur-dots{bottom:26px}
  .tur-dots button{flex-basis:36px}
  .tur-explora,.tur-guia,.tur-mosaico{padding-top:40px}
  .tur-tit{align-items:flex-start;flex-direction:column;gap:10px}
  .tur-dests,.tur-dests.n2,.tur-dests.n4{grid-template-columns:1fr;grid-auto-rows:180px}
  .tur-dests .tur-dest:first-child{grid-column:auto!important}
  .tur-dest:first-child .tur-dest-tx b{font-size:28px}
  .tur-escena{padding-top:46px}
  .tur-afiches,.tur-esc-sola .tur-afiches{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -20px;padding:4px 20px 10px;scrollbar-width:none}
  .tur-afiches::-webkit-scrollbar{display:none}
  .tur-afiche{flex:0 0 62%;scroll-snap-align:start}
  .tur-mos{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:150px}
  .tur-mos span{opacity:1;transform:none;font-size:13px}
  .tur-mos a:nth-child(n+6){display:none}
}
@media (prefers-reduced-motion:reduce){
  .tur-slide-ph img,.tur-luz,.tur-pulso path,.tur-slide.on .tur-slide-tx>*{animation:none!important;transition:none!important;transform:none!important}
  .tur-pulso path{stroke-dasharray:none}
}
