/* Nobsa al Descubierto — hoja de estilos del sitio público
   Paleta de marca: Azul Andino, Verde Montaña, Terracota, Crema Ruana, Dorado Campana */
:root {
  --azul: #0a3d6b; --azul-2: #072c4e; --azul-3: #05203a;
  --verde: #0b6b3b; --terracota: #c5542f; --crema: #f5e6c8; --crema-2: #fbf4e6;
  --dorado: #d4a017; --dorado-2: #e8bf4a;
  --tinta: #182230; --gris: #5d6672; --linea: rgba(10, 61, 107, .14);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px; --r-sm: 10px;
  --sombra: 0 18px 50px -24px rgba(5, 32, 58, .45);
  --wrap: 1180px;
  --papel: #fffcf6;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--tinta); background: var(--papel); }
::selection { background: var(--dorado); color: var(--azul-3); }
html { scrollbar-color: var(--azul) var(--crema-2); accent-color: var(--azul); caret-color: var(--terracota); }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--gris); }
.small { font-size: .86rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--dorado); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font: 700 .86rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn.sm { padding: .7em 1.15em; font-size: .76rem; }
.btn-gold { background: var(--dorado); color: var(--azul-3); box-shadow: 0 10px 24px -12px rgba(212, 160, 23, .9); }
.btn-gold:hover { background: var(--dorado-2); }
.btn-blue { background: var(--azul); color: #fff; }
.btn-blue:hover { background: var(--azul-2); }
.btn-outline { border-color: var(--azul); color: var(--azul); background: transparent; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-wa { background: #1fae5b; color: #fff; }
.btn-wa:hover { background: #17924b; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--terracota); text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.col { flex-direction: column; align-items: stretch; }
.eyebrow { font: 700 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--terracota); margin-bottom: .9em; display: flex; align-items: center; gap: .8em; }
.eyebrow::before { content: ''; width: 34px; height: 1.5px; background: currentColor; }
.eyebrow.light { color: var(--dorado-2); }
.meta-label { font: 700 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); margin: 0 0 .5em; }
.meta-label.light, .dark .meta-label, .blue .meta-label { color: var(--dorado-2); }
.hero-sub { font: 600 .9rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dorado-2); margin: -.4em 0 1.4em; }
.lead { font-size: 1.12rem; color: var(--gris); max-width: 62ch; }
.light .lead, .blue .lead, .dark .lead { color: rgba(255, 255, 255, .8); }

/* Encabezado */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.solid, body:not(.home) .site-header { background: rgba(7, 44, 78, .97); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.brand strong { display: block; font: 600 1.15rem/1.1 var(--serif); }
.brand small { display: block; font-size: .7rem; letter-spacing: .08em; opacity: .82; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .9; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current] { opacity: 1; color: var(--dorado-2); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* Portada */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--azul-3); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 45%; transform: scale(1.04); animation: zoom 18s ease-out forwards; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 32, 58, .94) 0%, rgba(10, 61, 107, .72) 46%, rgba(10, 61, 107, .15) 100%); }
.hero-in { position: relative; z-index: 2; padding: 130px 0 120px; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); line-height: .95; color: var(--crema); text-transform: uppercase; margin-bottom: .3em; }
.hero h1 em { display: block; font-style: italic; text-transform: none; color: #fff; font-size: .78em; }
.hero-intro { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 52ch; color: rgba(255, 255, 255, .9); margin-bottom: 1.8em; }
.hero-stop { position: absolute; z-index: 3; left: max(20px, calc((100% - var(--wrap)) / 2)); bottom: 34px; display: flex; gap: 12px; align-items: center; padding: 14px 20px 14px 16px; border-radius: var(--r); background: rgba(5, 32, 58, .7); backdrop-filter: blur(10px); color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .18); max-width: calc(100% - 40px); }
.hero-stop svg { width: 26px; height: 26px; color: var(--dorado-2); }
.hero-stop small { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dorado-2); }
.hero-stop strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.hero-stop em { display: block; font-style: normal; font-size: .82rem; opacity: .85; }
@keyframes zoom { to { transform: scale(1); } }

.ribbon { background: var(--dorado); color: var(--azul-3); overflow: hidden; white-space: nowrap; padding: 13px 0; font: 700 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.ribbon > div { display: inline-flex; gap: 22px; animation: marquee 40s linear infinite; }
.ribbon i { font-style: normal; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Secciones */
.sec { padding: clamp(52px, 6.5vw, 88px) 0; }
.sec.sec-join { padding-top: 0; }
.sec.pt0 { padding-top: 0; }
.sec.pt-sm { padding-top: 40px; }
.cream { background: var(--crema-2); }
.blue { background: var(--azul); color: #fff; }
.dark { background: var(--azul-3); color: #fff; }
.blue h2, .dark h2, .blue h3, .dark h3 { color: var(--crema); }
.sec-head { max-width: 760px; margin-bottom: 32px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split.rev > :first-child { order: 2; }
h2.big { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--azul); }
.blue h2.big { color: var(--crema); }
.frame { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame.tall img { aspect-ratio: 4 / 5; }
.frame figcaption { position: absolute; inset: auto 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(5, 32, 58, .85)); color: #fff; font: italic 1.15rem/1.3 var(--serif); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--linea); }
.stats div { margin: 0; }
.stats dt { font: 600 2.3rem/1 var(--serif); color: var(--azul); }
.stats dd { margin: 6px 0 0; font-size: .82rem; color: var(--gris); text-transform: uppercase; letter-spacing: .08em; }
.credit { font-size: .85rem; color: var(--gris); font-style: italic; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.pillar { padding: 34px 28px 10px 0; border-right: 1px solid rgba(255, 255, 255, .12); }
.pillar + .pillar { padding-left: 28px; }
.pillar:last-child { border-right: 0; }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 20px; }
.pillar-dato { font: italic 600 clamp(1.6rem, 2.6vw, 2.3rem)/1.05 var(--serif); color: var(--dorado-2); margin-bottom: .45em; }
.pillar h3 { font-size: 1.15rem; letter-spacing: .02em; }
.pillar p:last-child { color: rgba(245, 230, 200, .82); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(2) { border-right: 0; } .pillar:nth-child(3) { padding-left: 0; } .pillar:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 26px 0 18px; border-right: 0; border-top: 1px solid rgba(255, 255, 255, .12); } }
.floors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.floor { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.floor-img { position: relative; aspect-ratio: 16 / 8; background: linear-gradient(135deg, var(--azul), var(--verde)); }
.floor-img img { width: 100%; height: 100%; object-fit: cover; }
.floor-n { position: absolute; left: 18px; bottom: 12px; font: italic 600 3rem/1 var(--serif); color: var(--crema); text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.badge { position: absolute; right: 14px; top: 14px; background: var(--dorado); color: var(--azul-3); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.floor-body { padding: 24px 26px 28px; }
.floor-body p { color: rgba(255, 255, 255, .8); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.tags li { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, .25); padding: 5px 10px; border-radius: 999px; }
.note { margin-top: 18px; font-size: .82rem; opacity: .65; font-style: italic; }

.exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.exp { border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.exp img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.exp > div { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.exp h3 { color: var(--azul); }
.meta { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .9rem; }
.meta b { display: inline-block; min-width: 92px; color: var(--gris); font-weight: 600; }
.exp .link { margin-top: auto; }
.callout { margin-top: 48px; padding: 34px; border-radius: var(--r); background: var(--crema-2); border-left: 5px solid var(--dorado); }

/* Directorio */
.ent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.ent-card { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 0 var(--linea), var(--sombra); transition: transform .25s var(--ease-out); display: flex; flex-direction: column; }
.ent-card:hover { transform: translateY(-2px); }
.ent-pic { overflow: hidden; }
.ent-pic > img:first-child { transition: transform .5s var(--ease-out); }
.ent-card:hover .ent-pic > img:first-child { transform: scale(1.03); }
.ent-pic { position: relative; aspect-ratio: 4 / 3; background: var(--crema); }
.ent-pic > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.ent-logo { position: absolute; left: 16px; bottom: -26px; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.ent-body { padding: 36px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.ent-body h3 { color: var(--azul); margin-bottom: .3em; }
.ent-body p { color: var(--gris); font-size: .93rem; }
.ent-body .link { margin-top: auto; }
.ent-cat { font-size: .7rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota) !important; margin-bottom: .4em !important; }
.dir-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.dir-cta p { margin: 0; color: var(--gris); }
.empty-dir { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--linea); border-left: 4px solid var(--dorado); border-radius: var(--r); }
.empty-dir strong { font: 600 1.15rem/1.3 var(--serif); color: var(--azul); }
.empty-dir p { margin: 4px 0 0; color: var(--gris); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1.5px solid var(--linea); background: #fff; padding: 8px 16px; border-radius: 999px; font: 600 .85rem var(--sans); cursor: pointer; color: var(--azul); }
.chip.on { background: var(--azul); color: #fff; border-color: var(--azul); }

/* Ficha de emprendimiento */
.ent-hero { position: relative; color: #fff; padding: 140px 0 56px; overflow: hidden; background: var(--azul-3); }
.ent-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.45); transform: scale(1.15); }
.ent-hero-in { position: relative; }
.ent-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--crema); margin: 0; }
.crumbs { font-size: .82rem; margin-bottom: 26px; opacity: .85; }
.crumbs a { color: #fff; }
.ent-id { display: flex; gap: 22px; align-items: center; }
.ent-id-logo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; background: #fff; border: 4px solid #fff; flex: none; }
.ent-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.ent-main h2 { color: var(--azul); font-size: 1.6rem; margin-top: 1.4em; }
.ent-main .frame img { aspect-ratio: 16 / 10; }
.ent-side { position: sticky; top: 100px; }
.ent-side h2 { font-size: 1.3rem; color: var(--azul); }
.facts { margin: 22px 0; display: grid; gap: 12px; }
.facts div { border-top: 1px solid var(--linea); padding-top: 10px; }
.facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 700; }
.facts dd { margin: 2px 0 0; }
.ent-social { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.ent-social a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .9rem; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--crema-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); width: 100%; }
.preview-bar { position: fixed; top: 76px; inset-inline: 0; z-index: 40; background: var(--terracota); color: #fff; text-align: center; padding: 8px; font-weight: 700; font-size: .85rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: var(--r-sm); }

/* Formularios */
.card { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: 0 1px 0 var(--linea), var(--sombra); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--azul); }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: var(--r-sm); background: #fff; color: var(--tinta); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(10, 61, 107, .12); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--gris); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { margin: 0; font-weight: 600; color: var(--verde); }
.form-msg.err { color: var(--terracota); }
.visit-info { display: grid; gap: 18px; }
.visit-info h3 { display: flex; gap: 10px; align-items: center; color: var(--azul); }
.page-head { padding: 150px 0 50px; background: linear-gradient(180deg, var(--crema-2), #fff); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--azul); }
.prose h2 { font-size: 1.35rem; color: var(--azul); margin-top: 1.6em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font: 600 1.15rem/1.35 var(--serif); color: var(--azul); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font: 400 1.8rem var(--sans); color: var(--terracota); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--gris); }
.cta-final { background: linear-gradient(120deg, var(--azul) 0%, var(--azul-2) 60%, var(--verde) 140%); }
.cta-final p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }

/* Pie */
.site-footer { background: var(--azul-3); color: rgba(255, 255, 255, .8); padding: 70px 0 0; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.foot-brand { display: flex; gap: 18px; align-items: flex-start; }
.foot-brand img { border-radius: 50%; background: #fff; width: 88px; height: 88px; object-fit: cover; }
.foot-brand strong { font: 600 1.35rem var(--serif); color: var(--crema); }
.promesa { font: italic 1.05rem var(--serif); color: var(--dorado-2); }
.site-footer h3 { font: 700 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dorado-2); margin-bottom: 16px; }
.site-footer a { display: block; color: rgba(255, 255, 255, .85); text-decoration: none; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); margin: 0 !important; }
.social a:hover { background: var(--dorado); color: var(--azul-3); }
.visit-info .social a { background: var(--crema-2); color: var(--azul); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px; font-size: .82rem; }
.foot-bottom a { display: inline; margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: 8px; background: #1fae5b; color: #fff; padding: 13px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.wa-float svg { width: 22px; height: 22px; }

/* Animación de aparición */
/* El contenido es visible desde el primer momento (sin aparición al hacer scroll). */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  .split, .ent-layout { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .floors { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .ent-side { position: static; }
}
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .main-nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--azul-2); padding: 10px 20px 24px; transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility 0s .35s; box-shadow: 0 20px 40px -20px #000; }
  .main-nav.open { transform: none; visibility: visible; transition: transform .35s; }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-nav .btn { margin-top: 16px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header { background: rgba(7, 44, 78, .97); }
}
@media (max-width: 640px) {
  .brand small { display: none; }
  .brand img { width: 44px; height: 44px; }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero-in { padding: 120px 0 22px; }
  .hero::after { background: linear-gradient(180deg, rgba(5, 32, 58, .35) 0%, rgba(5, 32, 58, .92) 62%); }
  .hero-stop { position: relative; left: auto; bottom: auto; margin: 0 20px 28px; padding: 10px 14px; }
  .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .ent-id { flex-direction: column; align-items: flex-start; }
  .ent-id-logo { width: 84px; height: 84px; }
  .actions .btn { flex: 1 1 100%; }
}

/* Aviso de evento */
.aviso { background: linear-gradient(120deg, #3a1f12, #5a2e1a 55%, var(--terracota) 140%); color: #fff; padding: clamp(40px, 6vw, 70px) 0; }
.aviso-in { display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 4vw, 48px); align-items: center; }
.aviso-img { width: 220px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.aviso h2 { color: var(--crema); font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.aviso .eyebrow { color: var(--dorado-2); }
.aviso p { color: rgba(255, 255, 255, .88); max-width: 60ch; }
.aviso-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: var(--crema) !important; }
.aviso-meta span { display: inline-flex; align-items: center; gap: 6px; }
.aviso-tag { background: var(--dorado); color: var(--azul-3); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.aviso .btn-outline { border-color: rgba(255, 255, 255, .6); color: #fff; }

/* Antes y hoy */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beforeafter figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); }
.beforeafter figure:last-child { transform: translateY(28px); }
.beforeafter img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.beforeafter figcaption { position: absolute; left: 12px; top: 12px; background: rgba(5, 32, 58, .82); color: #fff; font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.beforeafter figure:last-child figcaption { background: var(--dorado); color: var(--azul-3); }

/* Videos */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.vcard { margin: 0; }
.vframe { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); }
.vframe video, .vframe img, .vframe iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.vplay { all: unset; cursor: pointer; position: absolute; inset: 0; }
.vplay img { width: 100%; height: 100%; object-fit: cover; }
.vbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; background: var(--dorado); color: var(--azul-3); display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .55); transition: transform .2s var(--ease-out); }
.vbtn svg { width: 26px; height: 26px; margin-left: 3px; }
.vplay:hover .vbtn { transform: translate(-50%, -50%) scale(1.06); }
.vplay:active .vbtn { transform: translate(-50%, -50%) scale(.96); }
.vcard figcaption { padding: 14px 4px 0; display: grid; gap: 4px; }
.vcard figcaption strong { font: 600 1.1rem var(--serif); color: var(--crema); }
.vcard figcaption span { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.vcard.recorrido .social a { background: rgba(255, 255, 255, .1); }

@media (max-width: 760px) {
  .aviso-in { grid-template-columns: 1fr; }
  .aviso-img { width: 46%; max-width: 190px; }
  .vgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vbtn { width: 52px; height: 52px; }
}

/* Video aéreo de portada */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.hero-video.on { opacity: 1; }
.hero::after { z-index: 1; }

/* Galería tipo mosaico */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.bento-item { position: relative; border-radius: var(--r); overflow: hidden; display: block; background: var(--crema); }
.bento-item:first-child { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(6), .bento-item:nth-child(7) { grid-column: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.bento-item:hover img { transform: scale(1.03); }
.bento-item span { position: absolute; inset: auto 0 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(5, 32, 58, .85)); color: #fff; font-size: .85rem; font-weight: 600; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #fff; margin-top: 10px; font-weight: 600; }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
.vcard.wide { grid-column: span 2; }
.vcard.wide .vframe { aspect-ratio: 16 / 9; }
.vgrid { align-items: start; grid-auto-flow: dense; }

/* ---- Orden y densidad (v7) ---- */
.swipe-hint { display: none; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin: 10px 0 0; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 32px; }
.head-row .sec-head { margin-bottom: 0; }
.head-row > .btn { flex-shrink: 0; }
.exp-grid.solo { grid-template-columns: 1fr; }
.exp-grid.solo .exp { flex-direction: row; }
.exp-grid.solo .exp img { width: 46%; flex: 0 0 46%; aspect-ratio: 4 / 3; height: auto; align-self: center; }
.exp-grid.solo .exp > div { padding: clamp(24px, 3.4vw, 44px); justify-content: center; }
.exp-grid.solo .exp h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.exp-grid.solo .exp .meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 36px; }
.exp-grid.solo .exp .link { margin-top: 18px; }
.exp-grid.solo .meta b { display: block; min-width: 0; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.faq-layout { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq-layout .sec-head { margin-bottom: 12px; }
.faq-layout .faq summary { padding-block: 18px; }
.faq details:first-child summary { padding-top: 4px; }
.faq details:first-child summary::after { top: -2px; }
.floors { gap: 18px; }
.floor-body { padding: 20px 22px 22px; }
.vgrid { gap: 18px; }
@media (max-width: 860px) {
  .exp-grid.solo .exp { flex-direction: column; }
  .exp-grid.solo .exp img { width: 100%; flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .exp-grid.solo .exp .meta { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  /* Pisos y videos: fila deslizable en vez de una columna larga */
  .floors, .vgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 0 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .floors::-webkit-scrollbar, .vgrid::-webkit-scrollbar { display: none; }
  .floors > .floor { flex: 0 0 84%; scroll-snap-align: start; }
  .vgrid > .vcard { flex: 0 0 62%; scroll-snap-align: start; }
  .vgrid > .vcard.wide { flex-basis: 88%; }
  .floor-img { aspect-ratio: 16 / 10; }
  .floor-n { font-size: 2.4rem; }
  .tags li { font-size: .66rem; padding: 4px 8px; }
  .swipe-hint { display: block; }
}

/* ---- Arquitectura nueva (v8) ---- */
.page-head { padding: 132px 0 40px; }
.page-head .lead { max-width: 62ch; }
.dark-head { background: var(--azul-3); color: #fff; }
.dark-head h1 { color: var(--crema); }
.dark-head .lead, .dark-head p { color: rgba(255, 255, 255, .82); }
.estado { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font: 700 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; color: var(--terracota); background: rgba(197, 84, 47, .1); }
.estado::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.estado.on { color: var(--verde); background: rgba(11, 107, 59, .12); }
.blue .estado, .dark .estado { background: rgba(255, 255, 255, .12); color: var(--dorado-2); }

/* Pilares como enlaces */
a.pillar { color: inherit; text-decoration: none; transition: background-color .2s ease; }
a.pillar:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--dorado-2); }
.blue .head-row .btn-ghost, .dark .head-row .btn-ghost { align-self: flex-end; }

/* Territorios (lista compacta) */
.terr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linea); }
.terr li { border-bottom: 1px solid var(--linea); }
.terr li:not(:nth-child(3n)) { border-right: 1px solid var(--linea); }
.terr a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; height: 100%; color: inherit; text-decoration: none; transition: background-color .2s ease; }
.terr a:hover { background: var(--crema-2); }
.terr-n strong { display: block; font: 600 1.12rem/1.25 var(--serif); color: var(--azul); }
.terr-n small { display: block; color: var(--gris); font-size: .85rem; margin-top: 2px; }
.cream .terr a:hover { background: #fff; }

/* Experiencia disponible junto al mural */
.exp-now { border: 1px solid var(--linea); border-radius: var(--r-sm); padding: 16px 18px 6px; margin: 4px 0 22px; background: #fff; }
.exp-now-t { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 0 0 10px; }
.exp-now .meta { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 28px; }
.exp-now .meta b { display: block; min-width: 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* Hoja de ruta */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: r; }
.road > li { position: relative; padding: 30px 26px 8px 0; border-top: 3px solid var(--linea); }
.road > li + li { padding-left: 26px; }
.road > li::before { content: ''; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--crema-2); border: 3px solid var(--linea); }
.road > li + li::before { left: 26px; }
.road > li.now { border-top-color: var(--dorado); }
.road > li.now::before { background: var(--dorado); border-color: var(--dorado); box-shadow: 0 0 0 6px rgba(212, 160, 23, .22); }
.road-n { font: 600 1.25rem/1.2 var(--serif); color: var(--azul); margin: 0 0 12px; }
.road-n span { font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terracota); vertical-align: middle; }
.road > li.now .road-n span { color: var(--verde); }
.road ul { margin: 0; padding-left: 1.1em; color: var(--tinta); }
.road ul li { margin-bottom: 6px; }
.road ul li::marker { color: var(--dorado); }

/* Descubre Nobsa */
.hilos { display: grid; gap: 18px; }
.hilo { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(22px, 4vw, 56px); align-items: center; padding: 18px 0; border-top: 1px solid var(--linea); scroll-margin-top: 100px; }
.hilo:nth-child(even) { grid-template-columns: 7fr 5fr; }
.hilo:nth-child(even) > img { order: 2; }
.hilo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.hilo.noimg { grid-template-columns: 1fr; }
.hilo.noimg > div { max-width: 68ch; }
.hilo .pillar-dato { color: var(--terracota); }
.hilo h3 { font-size: 1.6rem; color: var(--azul); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid rgba(255, 255, 255, .2); }
.timeline li { padding: 22px 18px 6px 0; position: relative; }
.timeline li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--dorado); }
.tl-y { display: block; font: italic 600 1.9rem/1 var(--serif); color: var(--dorado-2); margin-bottom: 10px; }
.timeline h3 { font-size: 1.02rem; color: #fff; margin-bottom: .3em; }
.timeline p { font-size: .88rem; color: rgba(245, 230, 200, .8); margin: 0; }
.escudo { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.escudo img { width: 100%; height: auto; }
.escudo.noimg { grid-template-columns: 1fr; }
.escudo.noimg > div { max-width: 760px; }
.next-link { margin-top: 28px; }

/* Rutas */
.rutas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ruta { display: flex; flex-direction: column; border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; background: #fff; scroll-margin-top: 100px; }
.ruta-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--crema-2); }
.ruta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ruta-img > span:first-child { position: absolute; inset: 0; display: grid; place-items: center; font: italic 600 4.5rem/1 var(--serif); color: rgba(10, 61, 107, .16); background: repeating-linear-gradient(135deg, var(--crema-2) 0 14px, var(--crema) 14px 15px); }
.ruta-img .estado { position: absolute; left: 12px; top: 12px; background: #fff; }
.ruta-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ruta h3 { color: var(--azul); font-size: 1.3rem; margin-bottom: .2em; }
.ruta-lugar { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--gris); margin: 0 0 10px; }
.ruta-lugar svg { width: 15px; height: 15px; color: var(--terracota); }
.ruta-por { font-size: .92rem; color: var(--gris); }
.ruta-act { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding-top: 8px; }
.link svg { width: 16px; height: 16px; }
.dark-note { color: var(--gris); }

/* El Centro */
.floors-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.floor-row { display: grid; grid-template-columns: 6fr 5fr; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); overflow: hidden; background: rgba(255, 255, 255, .04); }
.floor-row .floor-img { aspect-ratio: 16 / 10; }
.floor-row .floor-img img { width: 100%; height: 100%; object-fit: cover; }
.floor-row .floor-body { padding: clamp(22px, 3vw, 40px); align-self: center; }
.floor-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--crema); }
.floor-row p { color: rgba(255, 255, 255, .82); }

/* La Casa en el Aire */
.fest-head { background: linear-gradient(160deg, var(--azul-3), #3a1f12); }
.fest-head .wrap > p:not(.hero-sub) { max-width: 62ch; }
.revs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; margin-bottom: 20px; }
.rev { color: inherit; text-decoration: none; }
.rev-cover { aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: var(--azul); display: grid; place-items: center; box-shadow: var(--sombra); transition: transform .25s var(--ease-out); }
.rev-link { color: inherit; text-decoration: none; display: block; }
.rev-link:hover .rev-cover { transform: translateY(-3px); }
.rev-btn { margin-top: 10px; }
.rev-cover img { width: 100%; height: 100%; object-fit: cover; }
.rev-cover span { font: italic 600 2.4rem/1 var(--serif); color: var(--dorado-2); }
.rev.off .rev-cover { background: var(--crema-2); box-shadow: none; border: 2px dashed var(--linea); }
.rev.off .rev-cover span { color: rgba(10, 61, 107, .35); }
.rev p { margin: 10px 0 0; font-size: .92rem; }
.rev em { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terracota); }
.prots { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.prot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 12px; }

@media (max-width: 960px) {
  .terr { grid-template-columns: 1fr 1fr; }
  .terr li:not(:nth-child(3n)) { border-right: 0; }
  .terr li:nth-child(odd) { border-right: 1px solid var(--linea); }
  .rutas { grid-template-columns: 1fr 1fr; }
  .floor-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .road { grid-template-columns: 1fr; }
  .road > li, .road > li + li { padding: 0 0 20px 30px; border-top: 0; border-left: 3px solid var(--linea); }
  .road > li.now { border-left-color: var(--dorado); }
  .road > li::before, .road > li + li::before { top: 0; left: -9px; }
  .hilo, .hilo:nth-child(even) { grid-template-columns: 1fr; }
  .hilo:nth-child(even) > img { order: 0; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 22px; }
  .timeline li { padding: 0 0 18px; display: flex; gap: 16px; align-items: baseline; }
  .timeline li::before { top: 8px; left: -27px; }
  .tl-y { min-width: 4.2em; font-size: 1.4rem; margin: 0; }
  .escudo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .terr { grid-template-columns: 1fr; }
  .terr li:nth-child(odd) { border-right: 0; }
  .terr a { padding: 15px 4px; }
  .rutas { grid-template-columns: 1fr; }
  .exp-now .meta { grid-template-columns: 1fr; }
  .page-head { padding: 112px 0 30px; }
}

/* Formulario de inscripción de emprendimientos */
.ent-form fieldset { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 14px; }
.ent-form legend { font: 600 1.1rem/1.3 var(--serif); color: var(--azul); padding: 0; margin-bottom: 10px; }
.ent-form fieldset + fieldset { border-top: 1px solid var(--linea); padding-top: 18px; }
.checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: rgba(11, 107, 59, .12); color: var(--verde); font: 700 .75rem/20px var(--sans); text-align: center; }
#sumate .split.top > div:first-child, #sumate.sec .split > div:first-child { position: sticky; top: 110px; }
@media (max-width: 960px) { #sumate .split.top > div:first-child, #sumate.sec .split > div:first-child { position: static; } }
#sumate { scroll-margin-top: 70px; }
.credits { padding-left: 1.1em; display: grid; gap: 10px; font-size: .95rem; } .credits li { overflow-wrap: anywhere; }

/* ================= Mapa de Nobsa ================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mapa-page { --mh: 72px; --navy: #072c4e; --ivory: #fbf6ec; overflow: hidden; background: var(--navy); }
.mapa-page .site-footer, .mapa-page .wa-float { display: none; }
.mapa-app { position: fixed; inset: var(--mh) 0 0 0; display: grid; grid-template-columns: 380px 1fr; grid-template-rows: auto 1fr; background: var(--ivory); }
.m-map { grid-column: 2; grid-row: 1 / 3; background: #efe4cc; }
.v-ilus .m-map { background: #efe3c8; }
.m-top { grid-column: 1; grid-row: 1; padding: 16px 16px 10px; background: var(--navy); z-index: 2; }
.m-search { display: flex; align-items: center; gap: 10px; background: var(--ivory); border-radius: 14px; padding: 0 14px; box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .5); }
.m-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--azul); stroke-width: 2; stroke-linecap: round; }
.m-search input { flex: 1; min-width: 0; border: 0; background: none; font: 500 1rem/1 var(--sans); color: var(--tinta); padding: 14px 0; outline: none; }
.m-search:focus-within { box-shadow: 0 0 0 3px rgba(212, 160, 23, .55); }
.m-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.m-chips::-webkit-scrollbar { display: none; }
.m-chips button, .m-sel select { flex: none; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font: 600 .82rem/1 var(--sans); padding: 9px 13px; border-radius: 999px; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.m-chips button:active { transform: scale(.97); }
.m-chips button[aria-pressed="true"] { background: var(--dorado); border-color: var(--dorado); color: var(--azul-3); }
.m-sel { flex: none; display: flex; }
.m-sel select { appearance: none; padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.m-sel select option { color: var(--tinta); }
.m-sheet { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; min-height: 0; background: var(--ivory); z-index: 2; border-right: 1px solid var(--linea); }
.m-handle { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 0; background: none; text-align: left; border-bottom: 1px solid var(--linea); cursor: default; }
.m-handle span { display: none; }
.m-handle b { font: 700 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.m-body { overflow-y: auto; padding: 8px 10px 30px; overscroll-behavior: contain; }
.m-list, .m-rutas { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.m-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 8px; border: 0; background: none; border-radius: 12px; text-align: left; cursor: pointer; transition: background-color .15s ease; }
.m-item:hover, .m-item:focus-visible { background: #f1e7d3; }
.m-list.numbered .m-item::before { counter-increment: n; content: counter(n); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--terracota); color: #fff; font: 700 .75rem/24px var(--sans); text-align: center; }
.m-thumb { flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--azul); color: var(--dorado-2); }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-thumb svg { width: 24px; height: 24px; }
.m-thumb.m-ent { background: var(--terracota); color: #fff; }
.m-thumb.m-nat { background: var(--verde); color: #fff; }
.m-txt { min-width: 0; }
.m-txt strong { display: block; font: 600 1.02rem/1.25 var(--serif); color: var(--azul); }
.m-txt small { display: block; color: var(--gris); font-size: .82rem; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-rutas button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 10px; border: 0; border-bottom: 1px solid var(--linea); background: none; text-align: left; cursor: pointer; }
.m-rutas strong { display: block; font: 600 1.05rem/1.25 var(--serif); color: var(--azul); }
.m-rutas small { color: var(--gris); font-size: .82rem; }
.m-rutas em, .m-k { font: 700 .68rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terracota); font-style: normal; }
.m-rutas em.on { color: var(--verde); }
.m-ruta { padding: 6px 8px 12px; border-bottom: 1px solid var(--linea); margin-bottom: 6px; }
.m-ruta h2 { font-size: 1.4rem; color: var(--azul); margin: 4px 0 6px; }
.m-ruta p { margin: 0 0 6px; color: var(--tinta); font-size: .95rem; }
.m-note { font-size: .8rem !important; color: var(--gris) !important; }
.m-empty { padding: 20px 10px; color: var(--gris); }
.m-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--azul); font: 600 .88rem/1 var(--sans); padding: 10px 8px; cursor: pointer; }
.m-back svg { width: 16px; height: 16px; }
svg.flip { transform: scaleX(-1); }
.m-cta { margin: 16px 8px 0; padding: 16px; border-radius: 14px; background: var(--azul); color: #fff; }
.m-cta p { margin: 0 0 6px; font-weight: 600; }
.m-cta a { display: inline-flex; align-items: center; gap: 6px; color: var(--dorado-2); font-weight: 700; text-decoration: none; }
.m-cta svg { width: 16px; height: 16px; }
/* Ficha */
.d { padding: 0 8px 10px; }
.d-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.d-head { display: flex; align-items: center; gap: 12px; }
.d-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .4); }
.d h2 { font-size: 1.55rem; color: var(--azul); margin: 4px 0 0; text-wrap: balance; }
.d-txt { margin: 12px 0; color: var(--tinta); }
.d-facts { margin: 0 0 14px; display: grid; gap: 8px; }
.d-facts dt { font: 700 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.d-facts dd { margin: 3px 0 0; }
.d-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--linea); background: #fff; color: var(--azul); font: 700 .9rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .1s ease; }
.d-btn:active { transform: scale(.97); }
.d-btn svg { width: 18px; height: 18px; }
.d-btn.wa { background: #1fae5b; border-color: #1fae5b; color: #fff; }
.d-btn.dir { background: var(--azul); border-color: var(--azul); color: #fff; }
.d-btn.ghost { grid-column: 1 / -1; }
.d-rutas { font-size: .88rem; color: var(--gris); margin-top: 14px; }
.d-rutas button { border: 0; background: none; padding: 0; color: var(--azul); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Controles del mapa */
.m-views { position: absolute; z-index: 500; top: 14px; right: 14px; display: flex; padding: 4px; border-radius: 999px; background: rgba(7, 44, 78, .92); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }
.m-views button { border: 0; background: none; color: rgba(255, 255, 255, .8); font: 700 .8rem/1 var(--sans); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.m-views button[aria-pressed="true"] { background: var(--ivory); color: var(--azul); }
.m-locate { position: absolute; z-index: 500; right: 14px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45); display: grid; place-items: center; cursor: pointer; }
.m-locate svg { width: 22px; height: 22px; fill: none; stroke: var(--azul); stroke-width: 2; }
.mapa-app .m-views, .mapa-app .m-locate { grid-column: 2; }
@media (min-width: 900px) { .m-views { left: calc(380px + 14px); right: auto; } .m-locate { right: 14px; } }
/* Marcadores */
.pin-wrap { background: none; border: 0; }
.pin { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--azul); color: var(--dorado-2); border: 2px solid #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .55); transition: transform .2s var(--ease-out); }
.pin > * { transform: rotate(45deg); }
.pin svg { width: 19px; height: 19px; }
.pin img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.pin-ent { background: var(--terracota); color: #fff; }
.pin-nat { background: var(--verde); color: #fff; }
.pin-label { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); white-space: nowrap; font: 700 .72rem/1 var(--sans); color: var(--azul); background: rgba(251, 246, 236, .92); padding: 4px 7px; border-radius: 6px; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.leaflet-marker-icon:hover .pin, .leaflet-marker-icon.on .pin { transform: rotate(-45deg) scale(1.15); }
.leaflet-marker-icon.on .pin { background: var(--dorado); color: var(--azul-3); }
.leaflet-marker-icon:hover .pin-label, .leaflet-marker-icon.on .pin-label { opacity: 1; }
.leaflet-container { font-family: var(--sans); }
.leaflet-control-attribution { font-size: 10px; background: rgba(251, 246, 236, .85) !important; }
.ill-sec { font: italic 600 15px var(--serif); fill: #0a3d6b; opacity: .85; letter-spacing: .02em; paint-order: stroke; stroke: #fbf6ec; stroke-width: 4px; stroke-linejoin: round; }
.ill-title { font: 700 20px var(--serif); fill: #0a3d6b; letter-spacing: .18em; opacity: .8; }
.ill-n { font: 700 10px var(--sans); fill: #0a3d6b; opacity: .6; }
.ill-note { font: 600 10px var(--sans); fill: #0a3d6b; opacity: .45; letter-spacing: .08em; text-transform: uppercase; }
.ill-ico { fill: none; stroke: #0a3d6b; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; opacity: .55; }
.ill-ico.soft { opacity: .35; }
.ill-ico.strong { stroke: #c5542f; opacity: .85; stroke-width: 2.2; }
.pano { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 20, 36, .85); display: grid; place-items: center; padding: 16px; }
.pano-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: 85vh; border-radius: 16px; overflow: hidden; background: #000; }
.pano-box iframe { width: 100%; height: 100%; border: 0; }
.pano-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; cursor: pointer; }
.pano-x svg { width: 20px; height: 20px; }
.m-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2000; background: var(--azul-3); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .9rem; }

/* Celular: mapa a pantalla completa y hoja inferior */
@media (max-width: 899px) {
  .mapa-page { --mh: 64px; }
  .mapa-app { display: block; }
  .m-map { position: absolute; inset: 0; }
  .m-top { position: absolute; z-index: 600; inset: 0 0 auto; padding: 10px 12px 8px; background: linear-gradient(var(--navy), rgba(7, 44, 78, .92) 70%, rgba(7, 44, 78, 0)); }
  .m-views { top: auto; bottom: calc(var(--peek) + 14px); left: 12px; right: auto; }
  .m-locate { bottom: calc(var(--peek) + 14px); right: 12px; }
  .mapa-app { --peek: 72px; }
  .m-sheet { position: absolute; z-index: 700; left: 0; right: 0; bottom: 0; height: min(78vh, calc(100% - 110px)); border: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -14px 40px -20px rgba(0, 0, 0, .55); transform: translateY(calc(100% - var(--peek))); transition: transform .32s cubic-bezier(.32, .72, 0, 1); }
  .m-sheet[data-mode="list"] { transform: translateY(42%); }
  .m-sheet[data-mode="detail"], .m-sheet[data-mode="full"] { transform: translateY(0); }
  .m-handle { flex-direction: column; gap: 8px; padding: 10px 18px 12px; cursor: pointer; }
  .m-handle span { display: block; width: 42px; height: 5px; border-radius: 3px; background: #d9ccb2; }
  .leaflet-control-zoom { display: none; }
  .leaflet-bottom.leaflet-right { bottom: var(--peek); }
}
/* Selector de ubicación (formulario y panel) */
.geo-pick { display: grid; gap: 8px; }
.geo-map { height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid var(--linea, #ddd); background: #efe4cc; z-index: 0; }
.geo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .88rem; }
.geo-bar button { border: 1px solid var(--linea, #ccc); background: #fff; border-radius: 999px; padding: 8px 12px; font: 600 .82rem/1 var(--sans, sans-serif); color: var(--azul, #0a3d6b); cursor: pointer; }
.geo-txt { color: var(--gris, #666); flex: 1; min-width: 140px; }
.geo-clear { margin-left: auto; }
.geo-tiles { filter: saturate(.78) sepia(.12) contrast(.98); }
/* Directorio por categorías */
.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; margin-bottom: 8px; scrollbar-width: none; position: sticky; top: 64px; z-index: 5; background: var(--papel); }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--linea); background: #fff; color: var(--azul); font: 600 .86rem/1 var(--sans); text-decoration: none; }
.cat-nav a span { font-size: .72rem; color: var(--gris); }
.cat-nav a:hover { border-color: var(--azul); }
.cat-row { padding: 18px 0 26px; border-top: 1px solid var(--linea); scroll-margin-top: 130px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.cat-head h2 { font-size: 1.5rem; color: var(--azul); margin: 0; }
.cat-n { color: var(--gris); font-size: .9rem; }
.cat-map { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--terracota); text-decoration: none; }
.cat-map svg { width: 16px; height: 16px; }
.cat-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
.cat-scroll > * { scroll-snap-align: start; }
@media (max-width: 640px) { .cat-scroll { grid-auto-columns: 78%; margin-inline: -20px; padding-inline: 20px; } }
/* Mapa: nombres al acercar, convenciones y satélite */
.show-labels .pin-label { opacity: 1; }
.v-sat .pin-label { background: rgba(7, 44, 78, .88); color: #fff; }
.m-legend { position: absolute; z-index: 500; left: calc(380px + 14px); bottom: 16px; margin: 0; padding: 10px 14px; list-style: none; display: grid; gap: 6px; background: rgba(251, 246, 236, .94); border-radius: 12px; font: 600 .76rem/1.2 var(--sans); color: var(--azul); box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .5); }
.m-legend li { display: flex; align-items: center; gap: 8px; }
.m-legend i { width: 12px; height: 12px; border-radius: 50% 50% 50% 2px; transform: rotate(-45deg); background: var(--azul); border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.m-legend .lg-nat { background: var(--verde); }
.m-legend .lg-ent { background: var(--terracota); }
.v-sat .m-map { background: #2d3a2a; }
@media (max-width: 899px) { .m-legend { left: 12px; right: auto; top: 118px; bottom: auto; padding: 8px 10px; font-size: .7rem; gap: 4px; } }

/* Filtros del mapa: en escritorio se ven todos (varias líneas); en celular, fila deslizable con flecha */
@media (min-width: 900px) { .m-chips { flex-wrap: wrap; overflow: visible; } }
.m-chips-wrap { position: relative; }
.m-more { display: none; }
@media (max-width: 899px) {
  .m-more { display: grid; place-items: center; position: absolute; right: -4px; top: 50%; transform: translateY(-40%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--dorado); color: var(--azul-3); box-shadow: 0 4px 14px -4px rgba(0,0,0,.5); cursor: pointer; z-index: 2; }
  .m-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
  .m-more[hidden] { display: none; }
  .m-chips { padding-right: 40px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .m-chips.at-end { -webkit-mask-image: none; mask-image: none; }
}
.pano-credit { position: absolute; left: 12px; bottom: 10px; margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba(7, 44, 78, .85); color: #fff; font-size: .78rem; } .pano-credit a { color: var(--dorado-2); }
.pano-view { width: 100%; height: 100%; }
/* Dónde dormir y comer */
.pin-srv { background: #6d3b7a; color: #fff; width: 32px; height: 32px; }
.pin-srv svg { width: 16px; height: 16px; }
.m-thumb.m-srv { background: #6d3b7a; color: #fff; }
.m-legend .lg-srv { background: #6d3b7a; }
.d-note { font-size: .84rem; line-height: 1.5; color: var(--gris); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linea); }
.d-note a, .d-facts dd a { color: var(--azul); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.d-link { border: 0; background: none; padding: 0; font: inherit; color: var(--azul); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.own label { display: grid; gap: 6px; margin-top: 12px; font: 600 .86rem/1.3 var(--sans); color: var(--azul); }
.own input:not([type=checkbox]), .own select, .own textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--linea); border-radius: 10px; font: 400 .95rem/1.4 var(--sans); background: #fff; color: var(--tinta); }
.own .own-ok { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; color: var(--gris); }
.own .own-ok input { margin-top: 3px; }
.own .d-btn { margin-top: 16px; width: 100%; justify-content: center; }
.own-msg { font-size: .85rem; color: var(--terracota); margin-top: 8px; min-height: 1em; }
.own .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* ===== Planes listos ===== */
.plan-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.plan-nav a { display: grid; gap: 2px; padding: 12px 18px; border: 1px solid var(--linea); border-radius: 14px; background: var(--papel); text-decoration: none; color: var(--azul); transition: border-color .15s ease, transform .2s var(--ease-out); }
.plan-nav a:hover { border-color: var(--dorado); transform: translateY(-1px); }
.plan-nav strong { font: 600 1rem/1.2 var(--serif); }
.plan-nav small { font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--terracota); }
.plan { padding: 28px 0 36px; border-top: 1px solid var(--linea); scroll-margin-top: 90px; }
.plan-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; }
.plan-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--sombra); }
.plan-info h2 { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--serif); color: var(--azul); margin: 6px 0 10px; }
.lead-sm { font-size: 1.05rem; line-height: 1.55; color: var(--tinta); margin: 0 0 10px; }
.plan-para { display: flex; gap: 8px; align-items: center; color: var(--gris); font-size: .92rem; margin: 0 0 16px; }
.plan-para svg { width: 16px; height: 16px; flex: none; color: var(--terracota); }
.plan-steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: paso; display: grid; gap: 0; }
.plan-steps li { counter-increment: paso; display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0 14px; border-left: 2px solid var(--linea); margin-left: 14px; padding-left: 26px; position: relative; }
.plan-steps li::before { content: counter(paso); position: absolute; left: -15px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--azul); color: #fff; font: 700 .8rem/28px var(--sans); text-align: center; }
.plan-steps li.is-filtro::before { content: '★'; background: var(--dorado); color: var(--azul-3); }
.step-when { font: 700 .76rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--terracota); padding-top: 4px; }
.step-body { display: flex; gap: 14px; align-items: flex-start; }
.step-body img { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.step-body h3 { font: 600 1.12rem/1.25 var(--serif); margin: 0 0 4px; }
.step-body h3 a { color: var(--azul); text-decoration: none; }
.step-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.step-body p { margin: 0 0 6px; color: var(--gris); line-height: 1.5; }
.chip-360 { font: 700 .7rem/1 var(--sans); background: var(--azul); color: var(--dorado-2); padding: 3px 7px; border-radius: 999px; }
.plan-tip { margin: 18px 0 0 14px; padding: 14px 18px; background: var(--crema-2); border-radius: 12px; border-left: 3px solid var(--dorado); color: var(--tinta); }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--azul); text-decoration: none; color: #fff; box-shadow: var(--sombra); }
.plan-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.plan-card:hover img { transform: scale(1.04); }
.plan-card span { position: absolute; inset: auto 0 0; padding: 18px; display: grid; gap: 4px; background: linear-gradient(transparent, rgba(5, 32, 58, .88)); }
.plan-card small { font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dorado-2); }
.plan-card strong { font: 600 1.3rem/1.15 var(--serif); }
.plan-card em { font-style: normal; font-size: .85rem; opacity: .85; }
@media (max-width: 860px) {
  .plan-head { grid-template-columns: 1fr; gap: 18px; }
  .plan-steps li { grid-template-columns: 1fr; gap: 4px; }
  .plan-cards { grid-template-columns: 1fr; }
  .plan-card { aspect-ratio: 16 / 9; }
}
.main-nav a { white-space: nowrap; }
.plan-steps li.is-filtro { counter-increment: none; }
.plan-card span { background: linear-gradient(rgba(5, 32, 58, 0) 0%, rgba(5, 32, 58, .92) 55%); padding-top: 48px; }
@media (max-width: 860px) { .plan-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; } .plan-nav a { flex: none; } }
.open-tag { display: inline-block; margin-top: 4px; font: 700 .7rem/1 var(--sans); letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; background: #eef1f5; color: var(--gris); }
.open-tag.on { background: #e3f4ea; color: var(--verde); }
.m-chips .m-open-chip { display: inline-flex; align-items: center; gap: 6px; }
.m-open-chip i { width: 8px; height: 8px; border-radius: 50%; background: #2fa866; box-shadow: 0 0 0 3px rgba(47, 168, 102, .2); }
.m-open-chip[aria-pressed="true"] { background: var(--verde) !important; color: #fff !important; border-color: var(--verde) !important; }
.m-open-chip[aria-pressed="true"] i { background: #fff; }
/* ===== Guía de la ruana ===== */
.rg-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; }
.rg-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--sombra); }
.rg-top h2, .rg-h, .rg-box h2 { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--serif); color: var(--azul); margin: 6px 0 12px; }
.rg-h { margin-top: 56px; }
.rg-steps { list-style: none; padding: 0; margin: 0; counter-reset: rg; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.rg-steps li { counter-increment: rg; background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 18px; }
.rg-steps li::before { content: counter(rg, decimal-leading-zero); display: block; font: 700 .8rem/1 var(--sans); letter-spacing: .1em; color: var(--terracota); margin-bottom: 8px; }
.rg-steps h3, .rg-card h3 { font: 600 1.1rem/1.2 var(--serif); color: var(--azul); margin: 0 0 6px; }
.rg-steps p, .rg-card p { margin: 0; color: var(--gris); line-height: 1.55; font-size: .95rem; }
.rg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rg-card { background: var(--azul); border-radius: 14px; padding: 20px; }
.rg-card h3 { color: var(--dorado-2); }
.rg-card p { color: rgba(255, 255, 255, .85); }
.rg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.rg-box { background: var(--crema-2); border-radius: var(--r); padding: 26px; }
.rg-box ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.rg-box dl { margin: 0; display: grid; gap: 12px; }
.rg-box dt { font-weight: 700; color: var(--azul); }
.rg-box dd { margin: 2px 0 0; color: var(--gris); }
.m-guide { display: block; margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: var(--crema-2); border-left: 3px solid var(--dorado); color: var(--azul); text-decoration: none; font-size: .9rem; }
@media (max-width: 860px) { .rg-top, .rg-two { grid-template-columns: 1fr; } .rg-cards { grid-template-columns: 1fr; } }
/* ===== English & language switch ===== */
.lang-sw { font: 800 .78rem/1 var(--sans) !important; letter-spacing: .08em; padding: 7px 10px !important; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; }
.lang-sw:hover { background: rgba(255, 255, 255, .12); }
.en-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; }
.en-facts div { border-top: 2px solid var(--dorado); padding-top: 14px; }
.en-facts dt { font: 600 1.5rem/1.15 var(--serif); color: var(--azul); }
.en-facts dd { margin: 6px 0 0; color: var(--gris); line-height: 1.5; }
.en-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.en-card { display: grid; gap: 6px; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; transition: background-color .15s ease, transform .2s var(--ease-out); }
.en-card:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.en-card strong { font: 600 1.2rem/1.2 var(--serif); color: var(--dorado-2); }
.en-card span { color: rgba(255, 255, 255, .82); font-size: .92rem; line-height: 1.5; }
@media (max-width: 860px) { .en-facts, .en-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .en-facts, .en-cards { grid-template-columns: 1fr; } }
/* ===== Destacados ===== */
.dest-tag { display: inline-block; margin-top: 4px; font: 800 .68rem/1 var(--sans); letter-spacing: .05em; padding: 4px 8px; border-radius: 999px; background: var(--dorado); color: var(--azul-3); }
.pin.pin-dest { box-shadow: 0 0 0 3px var(--dorado), 0 6px 16px rgba(0, 0, 0, .35); transform: scale(1.12); }
.dest-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dest-card { display: grid; gap: 4px; text-decoration: none; color: var(--azul); }
.dest-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--crema-2); }
.dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.dest-card:hover .dest-img img { transform: scale(1.04); }
.dest-img b { position: absolute; top: 10px; left: 10px; font: 800 .7rem/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: var(--dorado); color: var(--azul-3); }
.dest-card strong { font: 600 1.08rem/1.2 var(--serif); margin-top: 8px; }
.dest-card small { color: var(--gris); }
@media (max-width: 860px) { .dest-cards { grid-template-columns: 1fr 1fr; } }
/* ===== Instagram en la portada ===== */
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ig-post { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--crema-2); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.ig-post:hover img { transform: scale(1.05); }
.ig-play { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.ig-play svg { width: 14px; height: 14px; }
.ig-cap { position: absolute; inset: auto 0 0; padding: 26px 10px 10px; font-size: .78rem; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(5, 32, 58, .88)); opacity: 0; transition: opacity .2s ease; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-post:hover .ig-cap, .ig-post:focus-visible .ig-cap { opacity: 1; }
.ig-embeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.ig-embeds .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.ig-empty { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r); background: linear-gradient(120deg, #833ab4, #e1306c 55%, #f77737); color: #fff; text-decoration: none; }
.ig-empty svg { width: 40px; height: 40px; flex: none; }
.ig-empty strong { display: block; font: 600 1.2rem/1.2 var(--serif); }
@media (max-width: 860px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Revistas: tarjetas y lector ===== */
.rev-cover { position: relative; }
.rev-pags { position: absolute; right: 8px; bottom: 8px; background: rgba(8, 24, 40, .82); color: #fff; font: 700 .68rem/1 var(--sans); letter-spacing: .06em; padding: 5px 8px; border-radius: 99px; }
.rev-t { margin: 10px 0 0; font-size: .92rem; }
.rev p.rev-d { margin: 4px 0 0; font-size: .82rem; color: var(--gris); line-height: 1.45; }
.revs { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.is-reader { background: #10161d; }
.reader { --rd-h: calc(100svh - var(--hdr, 72px)); background: radial-gradient(120% 90% at 50% 0%, #1f2a36 0%, #10161d 70%); color: #e9eef3; min-height: var(--rd-h); display: grid; grid-template-rows: auto 1fr auto; position: relative; }
.reader:fullscreen { --rd-h: 100vh; }
.rd-bar { display: flex; align-items: center; gap: 16px; padding: 12px clamp(14px, 3vw, 28px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.rd-back { color: var(--dorado-2); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.rd-title { flex: 1; margin: 0; font: 600 clamp(.95rem, 1.6vw, 1.15rem)/1.2 var(--serif); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-tools { display: flex; gap: 6px; }
.rd-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.05rem; cursor: pointer; transition: background .2s; }
.rd-btn:hover, .rd-btn:focus-visible { background: rgba(255, 255, 255, .16); }
.rd-stage { position: relative; display: grid; place-items: center; padding: 14px clamp(48px, 7vw, 90px); min-height: 0; overflow: hidden; }
.rd-book { display: flex; justify-content: center; align-items: center; height: calc(var(--rd-h) - 150px); max-width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.rd-book img { height: 100%; width: auto; max-width: 100%; object-fit: contain; background: #fff; user-select: none; cursor: pointer; display: block; }
.rd-book.two img { max-width: 50%; }
.rd-book.two img:first-child { border-radius: 4px 0 0 4px; box-shadow: inset -18px 0 24px -16px rgba(0, 0, 0, .35); }
.rd-book.two img:last-child { border-radius: 0 4px 4px 0; }
.rd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 64px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s, opacity .2s; z-index: 2; }
.rd-nav:hover { background: rgba(255, 255, 255, .18); }
.rd-nav:disabled { opacity: .2; cursor: default; }
.rd-nav.prev { left: clamp(6px, 1.5vw, 22px); }
.rd-nav.next { right: clamp(6px, 1.5vw, 22px); }
.rd-foot { display: flex; align-items: center; gap: 14px; padding: 10px clamp(14px, 3vw, 28px) 16px; }
.rd-range { flex: 1; accent-color: var(--dorado); }
.rd-count { font: 600 .85rem/1 var(--sans); font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; color: #c9d3dc; }
.rd-thumbs { position: absolute; inset: 65px 0 0; background: rgba(12, 17, 23, .97); overflow-y: auto; padding: 22px clamp(14px, 3vw, 32px); display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 18px 14px; align-content: start; z-index: 5; }
.rd-thumbs[hidden] { display: none; }
.rd-thumbs button { background: none; border: 0; padding: 0; color: #c9d3dc; cursor: pointer; font: 600 .78rem var(--sans); }
.rd-thumbs img { width: 100%; aspect-ratio: 1300 / 1682; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 6px; transition: transform .2s; background: #233; }
.rd-thumbs button:hover img { transform: translateY(-3px); }
.reader.zoomed .rd-stage { overflow: auto; place-items: start center; padding: 14px; }
.reader.zoomed .rd-book { height: auto; filter: none; }
.reader.zoomed .rd-book img { height: auto; width: min(1300px, 96vw); max-width: none; cursor: zoom-out; }
.reader.zoomed .rd-book.two { flex-wrap: wrap; }
.reader.zoomed .rd-nav { display: none; }
@media (max-width: 700px) {
  .rd-title { display: none; }
  .rd-bar { justify-content: space-between; }
  .rd-stage { padding: 10px 8px; }
  .rd-nav { width: 38px; height: 52px; background: rgba(0, 0, 0, .35); font-size: 1.6rem; }
  .rd-book { height: auto; max-height: calc(var(--rd-h) - 140px); }
  .rd-book img { height: auto; max-height: calc(var(--rd-h) - 140px); width: 100%; }
}
.reader { padding-top: 76px; --rd-h: calc(100svh - 76px); min-height: 100svh; }
.reader:fullscreen { padding-top: 0; --rd-h: 100vh; }
.rd-thumbs { inset: 141px 0 0; }
.reader:fullscreen .rd-thumbs { inset: 65px 0 0; }
.is-reader .rd-after { background: #10161d; color: #c9d3dc; }
.is-reader .rd-after a { color: var(--dorado-2); }
@media (max-width: 700px) { .reader { padding-top: 64px; --rd-h: calc(100svh - 64px); } .rd-thumbs { inset: 129px 0 0; } }
.rd-book { height: calc(var(--rd-h) - 185px); }
.is-reader .wa-float { display: none; }
@media (max-width: 700px) { .reader { padding-top: 76px; --rd-h: calc(100svh - 76px); } .rd-thumbs { inset: 141px 0 0; } .rd-book, .rd-book img { max-height: calc(var(--rd-h) - 160px); } }

/* ===== Inicio: ¿Te gusta el vallenato? ===== */
.vall { position: relative; overflow: hidden; color: #f4ece0; padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 60px); background: linear-gradient(135deg, #1b0f0a 0%, #3a1a0f 42%, #0b2c4c 100%); isolation: isolate; }
.vall-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(232, 176, 66, .30) 0%, rgba(232, 176, 66, 0) 62%); z-index: -1; }
.vall::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 22px); }
.vall-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.vall-eye { font: 700 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dorado-2); margin: 0 0 18px; }
.vall h2 { font: 700 clamp(2.5rem, 6vw, 4.6rem)/.98 var(--serif); color: #fff; margin: 0 0 22px; letter-spacing: -.01em; }
.vall h2 span { display: block; font-style: italic; font-weight: 500; font-size: .52em; line-height: 1.15; color: var(--dorado-2); margin-top: .45em; }
.vall-p { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; color: rgba(244, 236, 224, .86); max-width: 52ch; margin: 0 0 28px; }
.vall-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0 0 32px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.vall-stats div { display: grid; gap: 4px; }
.vall-stats strong { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.vall-stats span { font-size: .78rem; letter-spacing: .04em; color: rgba(244, 236, 224, .7); }
.vall-fan { position: relative; height: clamp(360px, 40vw, 520px); }
.vall-cov { position: absolute; top: 50%; left: 50%; width: clamp(150px, 17vw, 240px); aspect-ratio: 520 / 673; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .45s var(--ease-out), box-shadow .45s; transform-origin: 50% 100%; }
.vall-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vall-cov b { position: absolute; left: 10px; bottom: 10px; background: rgba(10, 8, 6, .78); color: var(--dorado-2); font: 700 .78rem/1 var(--sans); letter-spacing: .08em; padding: 6px 9px; border-radius: 99px; }
.vall-cov.c0 { z-index: 5; transform: translate(-50%, -50%) rotate(0deg) scale(1.08); }
.vall-cov.c1 { z-index: 4; transform: translate(-102%, -46%) rotate(-9deg); }
.vall-cov.c2 { z-index: 4; transform: translate(2%, -46%) rotate(9deg); }
.vall-cov.c3 { z-index: 3; transform: translate(-145%, -40%) rotate(-17deg) scale(.9); }
.vall-cov.c4 { z-index: 3; transform: translate(45%, -40%) rotate(17deg) scale(.9); }
.vall-cov:hover, .vall-cov:focus-visible { z-index: 9; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9), 0 0 0 2px var(--dorado); }
.vall-cov.c0:hover { transform: translate(-50%, -54%) scale(1.12); }
.vall-cov.c1:hover { transform: translate(-102%, -52%) rotate(-6deg) scale(1.04); }
.vall-cov.c2:hover { transform: translate(2%, -52%) rotate(6deg) scale(1.04); }
.vall-cov.c3:hover { transform: translate(-145%, -46%) rotate(-13deg) scale(.96); }
.vall-cov.c4:hover { transform: translate(45%, -46%) rotate(13deg) scale(.96); }
.vall-years { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: clamp(30px, 4vw, 50px); }
.vall-years a { color: #f4ece0; text-decoration: none; font: 600 .82rem/1 var(--sans); font-variant-numeric: tabular-nums; padding: 9px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, color .2s, border-color .2s; }
.vall-years a:hover { background: var(--dorado); color: #1b0f0a; border-color: var(--dorado); }
@media (max-width: 900px) {
  .vall-in { grid-template-columns: 1fr; }
  .vall-fan { order: -1; height: clamp(300px, 70vw, 420px); }
  .vall-cov { width: clamp(130px, 36vw, 200px); }
}
@media (max-width: 520px) { .vall-cov.c3, .vall-cov.c4 { display: none; } .vall-stats { gap: 14px 22px; } }
@media (prefers-reduced-motion: reduce) { .vall-cov { transition: none; } }
.vall-cov { width: clamp(140px, 13.5vw, 205px); }
.vall-cov.c1 { transform: translate(-96%, -46%) rotate(-8deg); }
.vall-cov.c2 { transform: translate(-4%, -46%) rotate(8deg); }
.vall-cov.c3 { transform: translate(-128%, -40%) rotate(-15deg) scale(.88); }
.vall-cov.c4 { transform: translate(28%, -40%) rotate(15deg) scale(.88); }
.vall-cov.c1:hover { transform: translate(-96%, -52%) rotate(-5deg) scale(1.04); }
.vall-cov.c2:hover { transform: translate(-4%, -52%) rotate(5deg) scale(1.04); }
.vall-cov.c3:hover { transform: translate(-128%, -46%) rotate(-11deg) scale(.94); }
.vall-cov.c4:hover { transform: translate(28%, -46%) rotate(11deg) scale(.94); }
@media (max-width: 900px) { .vall-cov { width: clamp(120px, 32vw, 190px); } }
/* Portadas más grandes */
.vall-fan { height: clamp(440px, 42vw, 620px); }
.vall-cov { width: clamp(180px, 17.5vw, 270px); }
@media (max-width: 900px) {
  .vall { padding-top: 36px; }
  .vall-fan { height: 84vw; max-height: 560px; margin: 0 -20px 10px; }
  .vall-cov { width: 54vw; max-width: 330px; }
  .vall-cov.c0 { transform: translate(-50%, -50%) scale(1.04); }
  .vall-cov.c1 { transform: translate(-90%, -47%) rotate(-9deg) scale(.86); }
  .vall-cov.c2 { transform: translate(-10%, -47%) rotate(9deg) scale(.86); }
  .vall-cov b { font-size: .9rem; padding: 7px 11px; }
}
/* ===== Bloque vallenato: fondo luxury con la identidad azul y dorado ===== */
.vall { background:
    radial-gradient(60% 70% at 78% 48%, rgba(212, 160, 23, .22) 0%, rgba(212, 160, 23, .06) 38%, transparent 66%),
    radial-gradient(50% 60% at 6% 100%, rgba(10, 61, 107, .65) 0%, transparent 70%),
    linear-gradient(180deg, #041a30 0%, #03111f 55%, #020b15 100%);
  color: #efe6d4; border-top: 1px solid transparent; }
.vall::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, rgba(232, 191, 74, .7) 30%, rgba(232, 191, 74, .7) 70%, transparent); }
.vall::after { opacity: .5; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.vall-glow { inset: auto; right: -8%; top: 8%; width: 58vw; height: 58vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle, rgba(232, 191, 74, .16) 0%, rgba(232, 191, 74, .05) 40%, transparent 65%); filter: blur(10px); }
.vall-mark { position: absolute; z-index: -1; left: 50%; bottom: -.18em; transform: translateX(-50%); font: italic 500 clamp(7rem, 22vw, 21rem)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(232, 191, 74, .10); pointer-events: none; user-select: none; }
.vall-eye { display: flex; align-items: center; gap: 14px; color: var(--dorado-2); }
.vall-eye::before { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--dorado-2)); flex: none; }
.vall h2 { color: #fbf6ec; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.vall h2 span { background: linear-gradient(100deg, #f3d27a 0%, #e8bf4a 35%, #c99512 70%, #f0cc6a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vall-p { color: rgba(239, 230, 212, .80); }
.vall-stats { border-top: 1px solid rgba(232, 191, 74, .28); border-bottom: 1px solid rgba(232, 191, 74, .28); }
.vall-stats div + div { padding-left: 34px; border-left: 1px solid rgba(232, 191, 74, .18); }
.vall-stats strong { color: var(--dorado-2); }
.vall-stats span { color: rgba(239, 230, 212, .62); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.vall-cov { box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(232, 191, 74, .22); }
.vall-cov.c0 { box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(232, 191, 74, .55), 0 0 60px -10px rgba(232, 191, 74, .25); }
.vall-cov b { background: rgba(3, 17, 31, .82); border: 1px solid rgba(232, 191, 74, .45); }
.vall-years a { border-color: rgba(232, 191, 74, .25); color: rgba(239, 230, 212, .85); }
.vall .btn-ghost { border-color: rgba(232, 191, 74, .45); }
@media (max-width: 520px) { .vall-stats div + div { padding-left: 0; border-left: 0; } }
.vall-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.vall-stats div { padding: 0 28px; }
.vall-stats div:first-child { padding-left: 0; }
.vall-stats div + div { padding-left: 28px; }
.vall-mark { bottom: -.32em; -webkit-text-stroke: 1px rgba(232, 191, 74, .08); }
@media (max-width: 520px) {
  .vall-stats { grid-template-columns: repeat(3, 1fr); }
  .vall-stats div, .vall-stats div + div { padding: 0 10px; border-left: 1px solid rgba(232, 191, 74, .18); }
  .vall-stats div:first-child { padding-left: 0; border-left: 0; }
  .vall-stats strong { font-size: 1.25rem; }
  .vall-stats span { font-size: .6rem; letter-spacing: .08em; }
}
/* Las portadas se miden por el ancho de su propia columna: nunca invaden el texto */
.vall-fan { container-type: inline-size; height: auto; aspect-ratio: 1 / .78; max-height: 640px; }
.vall-cov { width: clamp(140px, 30cqi, 280px); }
.vall-stats strong { white-space: nowrap; }
@media (max-width: 900px) {
  .vall-fan { aspect-ratio: auto; height: 84vw; max-height: 560px; container-type: normal; }
  .vall-cov { width: 54vw; max-width: 330px; }
}
@media (min-width: 901px) { .vall-cov { width: clamp(160px, 37cqi, 300px); } .vall-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); } }

/* ===== Recorridos en diapositivas ===== */
.btn-line { border: 1.5px solid var(--azul); color: var(--azul); background: transparent; }
.btn-line:hover { background: var(--azul); color: #fff; }
.mural-sec .actions { margin-top: 6px; }
.reader.is-slides .rd-book img { border-radius: 8px; }
.reader.is-slides .rd-thumbs { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.reader.is-slides .rd-thumbs img { aspect-ratio: 16 / 9; }
.reader.is-slides .rd-book { height: auto; max-height: calc(var(--rd-h) - 185px); width: 100%; }
.reader.is-slides .rd-book img { width: 100%; height: auto; max-height: calc(var(--rd-h) - 185px); object-fit: contain; background: transparent; }
.reader.is-slides.zoomed .rd-book img { width: min(2400px, 160vw); max-height: none; }
.libro-sec { background: linear-gradient(180deg, #041a30 0%, #03111f 100%); color: #efe6d4; padding-bottom: clamp(50px, 6vw, 80px); }
.libro-dest { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
.libro-cov { position: relative; display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(232, 191, 74, .45); transition: transform .4s var(--ease-out); }
.libro-cov:hover { transform: translateY(-4px); }
.libro-cov img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.libro-pags { position: absolute; right: 12px; bottom: 12px; background: rgba(3, 17, 31, .82); border: 1px solid rgba(232, 191, 74, .45); color: var(--dorado-2); font: 700 .74rem/1 var(--sans); letter-spacing: .08em; padding: 7px 11px; border-radius: 99px; }
.libro-txt h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: #fbf6ec; }
.libro-txt p { color: rgba(239, 230, 212, .82); }
.floors-note { color: rgba(255, 255, 255, .75); font-style: italic; margin: 0 0 26px; max-width: 70ch; }
.floor-acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .libro-dest { grid-template-columns: 1fr; } }
.rd-rotate { display: none; text-align: center; color: var(--dorado-2); font-size: .85rem; margin: 0; padding: 4px 16px; }
@media (max-width: 700px) and (orientation: portrait) { .reader.is-slides .rd-rotate { display: block; } }
@media (max-height: 500px) and (orientation: landscape) { .reader.is-slides .rd-bar { padding: 6px 14px; } .reader.is-slides .rd-book, .reader.is-slides .rd-book img { max-height: calc(100svh - 150px); } }
.floor-acts { margin-top: 16px; }
.mural-sec .actions { gap: 12px; }

/* ===== Agenda con programación ===== */
.aviso-img { aspect-ratio: 3 / 4; }
.aviso-tag.live { background: #e0412a; color: #fff; position: relative; padding-left: 22px; }
.aviso-tag.live::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #fff; animation: livePulse 1.4s infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.aviso-prog { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.aviso-prog li { display: grid; grid-template-columns: 150px 1fr; gap: 2px 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.aviso-prog b { color: var(--dorado-2); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; grid-row: span 2; align-self: center; }
.aviso-prog span { color: #fff; font-weight: 600; }
.aviso-prog small { display: inline-flex; gap: 6px; align-items: center; color: rgba(255, 255, 255, .7); font-size: .82rem; }
.aviso-prog small svg { width: 13px; height: 13px; }
.aviso-nota { font-size: .8rem; color: rgba(255, 255, 255, .62) !important; margin-top: 14px; }
@media (max-width: 640px) { .aviso-prog li { grid-template-columns: 1fr; } .aviso-prog b { grid-row: auto; } }

/* ===== Preguntas que intrigan ===== */
.preg-sec { background: radial-gradient(70% 60% at 85% 0%, rgba(212, 160, 23, .12), transparent 60%), var(--crema-2); }
.preg-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.preg-sec .vall-eye { color: var(--terracota); }
.preg-sec .vall-eye::before { background: linear-gradient(90deg, transparent, var(--terracota)); }
.preg-head h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--azul); line-height: 1; margin-bottom: 18px; }
.preg-intro { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--gris); max-width: 60ch; }
.preg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.preg { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 28px 26px 22px; border: 1px solid var(--linea); box-shadow: 0 18px 40px -30px rgba(5, 32, 58, .45); transition: transform .3s var(--ease-out), box-shadow .3s; overflow: hidden; }
.preg::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--dorado), var(--terracota)); transform: scaleX(.18); transform-origin: left; transition: transform .45s var(--ease-out); }
.preg:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(5, 32, 58, .55); }
.preg:hover::after { transform: scaleX(1); }
.preg-n { font: italic 500 2.6rem/1 var(--serif); color: rgba(212, 160, 23, .55); margin-bottom: 10px; }
.preg h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); color: var(--azul); line-height: 1.2; margin-bottom: 10px; }
.preg p { color: var(--gris); font-size: .95rem; margin: 0 0 18px; flex: 1; }
.preg-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--linea); padding-top: 14px; }
.preg-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--azul); text-decoration: none; }
.preg-go svg { width: 16px; height: 16px; transition: transform .25s; }
.preg-go:hover svg { transform: translateX(4px); }
.preg-place { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--terracota); text-decoration: none; font-weight: 600; }
.preg-place svg { width: 14px; height: 14px; }
.preg-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.btn-line-light { border: 1.5px solid var(--azul); color: var(--azul); background: transparent; }
.btn-line-light:hover { background: var(--azul); color: #fff; }

/* ===== Del relato al territorio ===== */
.terr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.terr-card { position: relative; display: grid; gap: 4px; padding: 22px 22px 20px; border-radius: 16px; text-decoration: none; color: var(--tinta); background: linear-gradient(160deg, #fff, var(--crema-2)); border: 1px solid var(--linea); transition: transform .25s var(--ease-out), border-color .25s; }
.terr-card:hover { transform: translateY(-3px); border-color: var(--dorado); }
.terr-card strong { font: 600 1.2rem/1.2 var(--serif); color: var(--azul); padding-right: 54px; }
.terr-card small { color: var(--gris); font-size: .85rem; }
.terr-card b { position: absolute; right: 20px; top: 18px; font: 700 1.6rem/1 var(--serif); color: var(--dorado); font-variant-numeric: tabular-nums; }
.terr-go { position: absolute; right: 18px; bottom: 16px; color: var(--azul); opacity: .35; transition: opacity .2s, transform .2s; }
.terr-go svg { width: 18px; height: 18px; }
.terr-card:hover .terr-go { opacity: 1; transform: translateX(3px); }
.foot-oficial { font-size: .82rem; opacity: .8; margin-top: 14px; } .foot-oficial a { display: inline !important; }
@media (max-width: 700px) {
  .aviso-in { grid-template-columns: 88px 1fr; align-items: start; }
  .aviso-in > div { grid-column: 1 / -1; }
  .aviso-img { width: 88px; grid-row: 1; }
  .preg-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 4px 20px 18px; scrollbar-width: none; }
  .preg-grid::-webkit-scrollbar { display: none; }
  .preg { flex: 0 0 84%; scroll-snap-align: center; }
  .preg-sec .preg-head::after { content: "Desliza para ver más preguntas →"; display: block; margin-top: 10px; font-size: .8rem; color: var(--terracota); font-weight: 600; }
}

/* ===== Agenda en azul y dorado (identidad) ===== */
.aviso { position: relative; overflow: hidden; isolation: isolate; color: #efe6d4;
  background: radial-gradient(55% 80% at 12% 50%, rgba(212, 160, 23, .20) 0%, transparent 62%), radial-gradient(60% 70% at 100% 0%, rgba(10, 61, 107, .7) 0%, transparent 70%), linear-gradient(180deg, #06223f 0%, #041a30 100%); }
.aviso::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 191, 74, .7) 30%, rgba(232, 191, 74, .7) 70%, transparent); }
.aviso::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 191, 74, .35), transparent); }
.aviso h2 { color: #fbf6ec; }
.aviso-img { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(232, 191, 74, .5); }
.aviso-prog li { background: rgba(255, 255, 255, .045); border-color: rgba(232, 191, 74, .18); }
.aviso .btn-outline { border-color: rgba(232, 191, 74, .55); }
.aviso.recap { background: radial-gradient(55% 80% at 12% 50%, rgba(212, 160, 23, .16) 0%, transparent 62%), linear-gradient(180deg, #06223f 0%, #041a30 100%); }

/* ===== Mural: hoy en grande, antes pequeño ===== */
.mural-sec { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 85% 40%, rgba(212, 160, 23, .10), transparent 65%), var(--papel); }
.mural-sec::before { content: ""; position: absolute; right: -120px; top: 50%; width: 760px; height: 760px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(212, 160, 23, .22); box-shadow: 0 0 0 40px rgba(212, 160, 23, .035), 0 0 0 90px rgba(212, 160, 23, .025); pointer-events: none; }
.mural-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.mural-sec .vall-eye { color: var(--terracota); }
.mural-sec .vall-eye::before { background: linear-gradient(90deg, transparent, var(--terracota)); }
.mural-show { position: relative; padding: 0 0 70px 70px; }
.mural-hoy { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(5, 32, 58, .7), 0 0 0 1px rgba(212, 160, 23, .45); }
.mural-hoy::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 14px; pointer-events: none; }
.mural-hoy img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.mural-hoy:hover img { transform: scale(1.03); }
.mural-hoy figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 24px; background: linear-gradient(180deg, transparent, rgba(3, 17, 31, .85)); color: #fff; display: flex; align-items: center; gap: 12px; }
.mural-hoy figcaption b { background: var(--dorado); color: var(--azul-3); font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; }
.mural-hoy figcaption span { font: italic 500 1.15rem/1.2 var(--serif); }
.mural-antes { position: absolute; left: 0; bottom: 0; width: 38%; margin: 0; background: #fff; padding: 10px 10px 34px; border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(5, 32, 58, .55); transform: rotate(-5deg); transition: transform .4s var(--ease-out); z-index: 2; }
.mural-antes:hover { transform: rotate(-2deg) scale(1.04); }
.mural-antes img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; filter: grayscale(.35) contrast(1.05); }
.mural-antes figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: italic 500 1rem/1 var(--serif); color: var(--azul); }
.mural-quote { position: absolute; right: 6px; bottom: 6px; margin: 0; max-width: 60%; text-align: right; font: italic 500 clamp(1.05rem, 1.6vw, 1.35rem)/1.25 var(--serif); color: var(--azul); }
@media (max-width: 860px) {
  .mural-grid { grid-template-columns: 1fr; }
  .mural-show { order: -1; padding: 0 0 56px 40px; }
  .mural-quote { position: static; max-width: none; text-align: center; margin-top: 70px; }
  .mural-sec::before { display: none; }
}

/* ===== ¿Cómo será por dentro? ===== */
.centro-sec { background: radial-gradient(60% 70% at 15% 0%, rgba(212, 160, 23, .14), transparent 60%), linear-gradient(180deg, #041a30, #03111f); color: #efe6d4; }
.centro-pisos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.cpiso { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(232, 191, 74, .2); transition: transform .3s var(--ease-out), border-color .3s; }
.cpiso:hover { transform: translateY(-5px); border-color: rgba(232, 191, 74, .65); }
.cpiso-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a2540; }
.cpiso-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cpiso:hover .cpiso-img img { transform: scale(1.05); }
.cpiso-img b { position: absolute; left: 12px; bottom: -1px; font: 700 3.2rem/1 var(--serif); color: var(--dorado-2); text-shadow: 0 4px 20px rgba(0, 0, 0, .6); }
.cpiso-t { display: grid; gap: 4px; padding: 16px 18px 20px; }
.cpiso-t small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dorado-2); }
.cpiso-t strong { font: 600 1.25rem/1.2 var(--serif); color: #fbf6ec; }
.cpiso-t em { font-style: italic; color: rgba(239, 230, 212, .75); font-size: .9rem; }
@media (max-width: 980px) { .centro-pisos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .centro-pisos { grid-template-columns: 1fr; } }
.mural-hoy figcaption { top: 0; bottom: auto; padding: 24px 26px 60px; background: linear-gradient(0deg, transparent, rgba(3, 17, 31, .75)); }
.mural-quote { max-width: 55%; right: 0; }

/* ===== Mural v3: nada tapa la obra, marco de galería y textura de tejido ===== */
.mural-sec { background:
    repeating-linear-gradient(45deg, rgba(10, 61, 107, .028) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(197, 84, 47, .022) 0 2px, transparent 2px 14px),
    radial-gradient(60% 80% at 80% 45%, rgba(212, 160, 23, .13), transparent 65%), var(--papel); }
.mural-sec::before { display: none; }
.mural-show { padding: 0; }
.mural-tag { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: italic 500 1.05rem/1.2 var(--serif); color: var(--azul); }
.mural-tag b { font: 700 .7rem/1 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; background: var(--dorado); color: var(--azul-3); padding: 7px 12px; border-radius: 99px; }
.mural-hoy { position: relative; border-radius: 6px; overflow: visible; box-shadow: none; }
.mural-hoy::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid rgba(212, 160, 23, .75); border-radius: 6px; z-index: 0; }
.mural-hoy::after { content: none; }
.mural-hoy img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 50px 90px -40px rgba(5, 32, 58, .75); }
.mural-hoy:hover img { transform: none; }
.mural-under { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: center; margin-top: 44px; }
.mural-antes { position: relative; left: auto; bottom: auto; width: 100%; transform: rotate(-4deg); padding: 8px 8px 28px; }
.mural-antes figcaption { bottom: 6px; font-size: .9rem; }
.mural-under-t { display: grid; gap: 12px; }
.mural-quote { position: static; max-width: none; text-align: left; margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--azul); }
.mural-foto { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .92rem; color: var(--gris); }
.mural-foto svg { width: 20px; height: 20px; flex: none; color: var(--terracota); margin-top: 2px; }
.mural-foto b { color: var(--azul); }
.mural-txt h2.big { font-size: clamp(2.6rem, 5vw, 4rem); }
.mural-txt p:first-of-type::first-letter { float: left; font: 600 4.2rem/.8 var(--serif); color: var(--dorado); margin: 6px 10px 0 0; }
@media (max-width: 860px) {
  .mural-show { order: -1; padding-right: 18px; }
  .mural-under { grid-template-columns: 96px 1fr; margin-top: 36px; }
  .mural-quote { text-align: left; margin: 0; }
}

/* ===== Instagram: lo último + invitación a seguir ===== */
.ig-sec { background: radial-gradient(50% 70% at 100% 0%, rgba(225, 48, 108, .07), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(212, 160, 23, .10), transparent 60%), var(--papel); }
.ig-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 30px; margin-bottom: 26px; }
.ig-head .sec-head { margin-bottom: 0; }
.ig-sec .vall-eye { color: #c1356b; }
.ig-sec .vall-eye::before { background: linear-gradient(90deg, transparent, #c1356b); }
.ig-follow { display: grid; justify-items: end; gap: 6px; }
.ig-user { font-size: .82rem; color: var(--gris); }
.ig-apoyo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--linea); }
.ig-apoyo p { margin: 0; color: var(--gris); max-width: 70ch; }
.ig-apoyo b { color: var(--azul); }
.ig-apoyo .social { display: flex; gap: 8px; }
.ig-apoyo .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--azul); color: #fff; }
.ig-apoyo .social svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .ig-follow { justify-items: start; } }
.mural-txt p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.mural-txt h2 + p::first-letter { float: left; font: 600 4.2rem/.8 var(--serif); color: var(--dorado); margin: 6px 10px 0 0; }

/* ===== Personajes de mi tierra ===== */
.pers-head { background: radial-gradient(60% 80% at 85% 20%, rgba(212, 160, 23, .22), transparent 60%), linear-gradient(160deg, #041a30, #0a2d4f 60%, #3a1f12); }
.pers-head h1 { color: #fbf6ec; }
.pers-head p:not(.vall-eye) { color: rgba(239, 230, 212, .85); max-width: 62ch; font-size: 1.08rem; }
.pers-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pers-nav a { color: #f4ece0; text-decoration: none; font-size: .82rem; font-weight: 600; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(232, 191, 74, .35); }
.pers-nav a:hover { background: var(--dorado); color: var(--azul-3); }
.pers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.pers { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 26px 26px 20px; border: 1px solid var(--linea); box-shadow: 0 18px 40px -30px rgba(5, 32, 58, .45); }
.pers::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--dorado), var(--terracota)); }
.pers-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pers-ini { width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 1.35rem/1 var(--serif); color: var(--dorado-2); background: radial-gradient(circle at 30% 30%, #0f3a63, #041a30); box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(212, 160, 23, .55); }
.pers-foto { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(212, 160, 23, .55); }
.pers-marca { font: italic 500 1.05rem/1.2 var(--serif); color: var(--terracota); text-align: right; }
.pers-q { font: italic 500 1.08rem/1.3 var(--serif); color: var(--dorado); margin: 0 0 8px; }
.pers h3 { font-size: 1.35rem; color: var(--azul); margin: 0 0 2px; }
.pers-of { margin: 0 0 12px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); font-weight: 700; }
.pers-t { color: var(--tinta); font-size: .95rem; line-height: 1.6; flex: 1; margin: 0 0 16px; }
.pers-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--linea); padding-top: 14px; }
.pers-src { margin: 12px 0 0; font-size: .74rem; color: var(--gris); }
.pers-src a { color: inherit; }
.pers-pub .pers { box-shadow: none; }
.pers-pub .pers::before { background: var(--linea); }
.pers-pub .pers-ini { background: #e9eef3; color: var(--azul); box-shadow: none; }
.pers-home { background: linear-gradient(180deg, var(--papel), var(--crema-2)); }
.pers-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.pers-mini { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--linea); text-decoration: none; color: var(--tinta); transition: transform .25s var(--ease-out), border-color .25s; }
.pers-mini:hover { transform: translateY(-3px); border-color: var(--dorado); }
.pers-mini em { display: block; font: italic 500 1rem/1.25 var(--serif); color: var(--azul); margin-bottom: 4px; }
.pers-mini strong { font-size: .8rem; color: var(--terracota); letter-spacing: .04em; }
.pers-mini .pers-ini { width: 48px; height: 48px; font-size: 1.1rem; }

/* ===== Bandera, escudo e himno ===== */
.simb-sec { background: radial-gradient(60% 80% at 15% 0%, rgba(212, 160, 23, .16), transparent 60%), linear-gradient(180deg, #041a30, #03111f); color: #efe6d4; }
.simb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.simb { padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(232, 191, 74, .25); }
.simb h3 { color: #fbf6ec; font-size: 1.4rem; margin: 0 0 10px; }
.simb p { color: rgba(239, 230, 212, .85); font-size: .95rem; line-height: 1.6; }
.simb .pers-q { color: var(--dorado-2); }
.simb-nota { border-left: 2px solid var(--dorado); padding-left: 12px; font-style: italic; color: var(--dorado-2) !important; font-size: .88rem !important; }
.simb .pers-src { color: rgba(239, 230, 212, .55); }
.pers-mini.himno .pers-ini { font-family: var(--sans); }
.brand strong, .brand small { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1600px) {
  .brand small { display: none; }
  .main-nav { gap: 16px; }
  .main-nav a:not(.btn) { font-size: .86rem; }
}

/* ===== Inicio consolidado ===== */
.preg-dest { position: absolute; top: 28px; right: 24px; font: 700 .66rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--azul); background: rgba(10, 61, 107, .07); padding: 6px 10px; border-radius: 99px; }
.hoy-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; font-size: 1.3rem; color: var(--azul); margin: 34px 0 16px; padding-top: 22px; border-top: 1px solid var(--linea); }
.hoy-sub:first-of-type { margin-top: 10px; border-top: 0; padding-top: 0; }
.hoy-sub a { font: 700 .82rem/1 var(--sans); color: var(--terracota); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.hoy-sub a svg { width: 14px; height: 14px; }
.hoy-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 18px; border-radius: 16px; background: var(--crema-2); }
.hoy-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--linea); color: var(--azul); font-weight: 700; font-size: .86rem; text-decoration: none; transition: border-color .2s, transform .2s; }
.hoy-links a:hover { border-color: var(--dorado); transform: translateY(-2px); }
.hoy-links svg { width: 14px; height: 14px; }
.centro-etapas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -8px 0 26px; color: rgba(239, 230, 212, .75); font-size: .88rem; }
.centro-etapas span { padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(232, 191, 74, .25); }
.centro-etapas span.now { background: var(--dorado); color: var(--azul-3); border-color: var(--dorado); }
.centro-etapas i { font-style: normal; color: var(--dorado-2); }
.centro-etapas a { color: var(--dorado-2); font-weight: 700; margin-left: 6px; }
.cpiso-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 22, 40, .85), rgba(6, 22, 40, 0) 55%); pointer-events: none; }
.cpiso-img b { z-index: 1; }
.cpiso-badge { position: absolute; top: 12px; left: 12px; z-index: 1; font: 600 .72rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: #0a2540; background: var(--dorado-2); padding: 6px 10px; border-radius: 999px; }
/* ===== Oficios y datos curiosos ===== */
.ofi-list { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: 28px; }
.ofi { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; scroll-margin-top: 100px; }
.ofi.alt .ofi-media { order: 2; }
.ofi-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(150deg, var(--azul-2), var(--azul-3)); box-shadow: var(--sombra); position: sticky; top: 100px; }
.ofi-media img { width: 100%; height: 100%; object-fit: cover; }
.ofi-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 32, 58, .7), transparent 50%); }
.ofi-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 600 clamp(6rem, 14vw, 10rem)/1 var(--serif); color: rgba(232, 191, 74, .35); }
.ofi-num { position: absolute; left: 18px; bottom: 10px; z-index: 1; font: 600 3rem/1 var(--serif); color: var(--dorado-2); }
.ofi-piso { margin: 0 0 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); font-weight: 700; }
.ofi-body h2 { margin-bottom: .25em; }
.ofi-q { font: italic 500 clamp(1.15rem, 2vw, 1.4rem)/1.35 var(--serif); color: var(--azul); margin: 0 0 14px; }
.ofi-intro { color: var(--gris); margin: 0 0 22px; }
.ofi-sabias { background: var(--azul-3); color: #efe6d4; border-radius: var(--r); padding: 22px 24px 18px; position: relative; overflow: hidden; }
.ofi-sabias::before { content: "?"; position: absolute; right: 14px; top: -18px; font: 600 8rem/1 var(--serif); color: rgba(232, 191, 74, .1); }
.ofi-sabias h3 { color: var(--dorado-2); font-size: 1.15rem; margin: 0 0 10px; }
.ofi-sabias ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ofi-sabias li { position: relative; padding-left: 22px; line-height: 1.5; }
.ofi-sabias li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--dorado); }
.ofi-sabias small { display: block; font-size: .7rem; color: rgba(239, 230, 212, .5); margin-top: 2px; letter-spacing: .02em; }
.ofi-rec { margin-top: 16px; border: 1px solid var(--linea); border-radius: var(--r); background: #fff; }
.cream .ofi-rec { background: var(--papel); }
.ofi-rec summary { cursor: pointer; padding: 16px 22px; font: 600 1.05rem/1.3 var(--serif); color: var(--azul); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ofi-rec summary::-webkit-details-marker { display: none; }
.ofi-rec summary::after { content: "+"; font-family: var(--sans); color: var(--terracota); transition: transform .25s; }
.ofi-rec[open] summary::after { transform: rotate(45deg); }
.ofi-rec dl { margin: 0; padding: 0 22px 18px; display: grid; gap: 12px; }
.ofi-rec dt { font-weight: 700; font-size: .9rem; color: var(--tinta); }
.ofi-rec dd { margin: 2px 0 0; color: var(--gris); font-size: .92rem; }
.ofi-acts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 18px 0 0; }
.centro-ofi { margin: 26px 0 0; text-align: center; }
.centro-ofi a { display: inline-flex; align-items: center; gap: 10px; font: italic 500 1.15rem/1.3 var(--serif); color: var(--dorado-2); text-decoration: none; border-bottom: 1px solid rgba(232, 191, 74, .4); padding-bottom: 4px; }
.centro-ofi a svg { width: 18px; height: 18px; }
.centro-ofi a:hover { border-color: var(--dorado-2); }
.centro-ofi.on-light a { color: var(--azul); border-color: var(--linea); }
@media (max-width: 860px) {
  .ofi { grid-template-columns: 1fr; }
  .ofi.alt .ofi-media { order: 0; }
  .ofi-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
}
/* ===== Símbolos en Descubre Nobsa ===== */
.anchor-alias { position: relative; top: -90px; display: block; }
.simb { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), border-color .35s; }
.simb:hover { transform: translateY(-4px); border-color: rgba(232, 191, 74, .55); }
.simb-body { padding: 22px 26px 26px; }
.simb-vis { position: relative; height: 190px; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(232, 191, 74, .28), transparent 62%), linear-gradient(160deg, #0b3a66, #041a30); }
.simb-vis > img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.simb-vis.contain > img { object-fit: contain; padding: 18px; opacity: 1; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.simb-vis::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(4, 22, 40, .85), transparent); pointer-events: none; }
.v-himno { background:
  repeating-linear-gradient(180deg, transparent 0 17px, rgba(232, 191, 74, .55) 17px 18px) center 58px / 100% 90px no-repeat,
  radial-gradient(circle at 25% 30%, rgba(232, 191, 74, .25), transparent 55%),
  linear-gradient(150deg, #5a1414, #2b0a0a 55%, #041a30); }
.simb-clef { position: absolute; left: 22px; top: 34px; font-size: 6.4rem; line-height: 1; color: var(--dorado-2); text-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.simb-notes { position: absolute; left: 110px; right: 18px; top: 52px; display: flex; justify-content: space-around; }
.simb-notes i { font-style: normal; font-size: 2.1rem; color: #fbf6ec; opacity: .9; animation: simbNote 3.6s var(--ease-in-out) infinite; }
.simb-notes i:nth-child(2) { margin-top: 26px; animation-delay: .4s; }
.simb-notes i:nth-child(3) { margin-top: 8px; animation-delay: .8s; }
.simb-notes i:nth-child(4) { margin-top: 34px; animation-delay: 1.2s; }
.simb-notes i:nth-child(5) { margin-top: 14px; animation-delay: 1.6s; }
@keyframes simbNote { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .simb-notes i { animation: none; } }
.simb.is-himno { border-color: rgba(232, 191, 74, .5); background: linear-gradient(180deg, rgba(90, 20, 20, .35), rgba(255, 255, 255, .03)); }
.simb-more { margin: 26px 0 0; text-align: center; }
.simb-more a { display: inline-flex; gap: 10px; align-items: center; color: var(--dorado-2); font: italic 500 1.1rem/1.3 var(--serif); text-decoration: none; border-bottom: 1px solid rgba(232, 191, 74, .4); padding-bottom: 4px; }
.simb-more a svg { width: 18px; height: 18px; }
.simb-audio { margin: 16px 0 6px; display: grid; gap: 10px; }
.simb-audio audio { width: 100%; }
.simb-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.simb-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.simb-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--dorado-2); font-weight: 700; font-size: .88rem; text-decoration: none; }
.simb-btn svg { width: 16px; height: 16px; }
.simb-audio small { color: rgba(239, 230, 212, .55); font-size: .74rem; }
.simb-letra { margin: 14px 0 4px; border: 1px solid rgba(232, 191, 74, .3); border-radius: 12px; }
.simb-letra summary { cursor: pointer; padding: 12px 16px; color: var(--dorado-2); font: italic 600 1rem/1.3 var(--serif); list-style: none; display: flex; justify-content: space-between; }
.simb-letra summary::-webkit-details-marker { display: none; }
.simb-letra summary::after { content: "+"; font-style: normal; }
.simb-letra[open] summary::after { content: "–"; }
.simb-versos { padding: 0 16px 14px; max-height: 420px; overflow: auto; }
.simb-versos p { font: italic 400 1rem/1.7 var(--serif) !important; color: #efe6d4 !important; margin: 0 0 14px; }
.simb-leer { margin: 4px 0 8px; }
