/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
  --bg-deep:      #030610;
  --bg-mid:       #070d1f;
  --bg-card:      rgba(10,20,50,0.75);
  --neon-cyan:    #00ffe7;
  --neon-blue:    #0080ff;
  --neon-purple:  #8b00ff;
  --neon-pink:    #ff00c8;
  --neon-gold:    #ffd700;
  --neon-red:     #cc0a0a;
  --text-primary: #e8f4ff;
  --text-muted:   #6a8aab;
  --border-glow:  rgba(0,255,231,0.25);
  --gradient-hero:linear-gradient(135deg,#030610 0%,#0a0e2e 50%,#080414 100%);
  --gradient-neon:linear-gradient(90deg,var(--neon-cyan),var(--neon-blue),var(--neon-purple));
  --font-display: 'Cinzel',serif;
  --font-body:    'Montserrat',sans-serif;
  --font-mono:    'Raleway',sans-serif;
  --font-cinzel:  'Cinzel',serif;
  --font-cormorant:'Raleway',sans-serif;
  --radius:       12px;
  --transition:   0.35s cubic-bezier(0.4,0,0.2,1);
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--bg-deep);color:var(--text-primary);font-family:var(--font-body);overflow-x:hidden;cursor:none;}
a{color:inherit;}
button{font-family:inherit;}
body::before{content:'';position:fixed;inset:0;background-image:linear-gradient(rgba(0,255,231,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(0,255,231,.03) 1px,transparent 1px);background-size:50px 50px;pointer-events:none;z-index:0;}

/* ── CURSOR ── */
.cursor-dot{position:fixed;top:0;left:0;width:8px;height:8px;background:var(--neon-cyan);border-radius:50%;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);box-shadow:0 0 10px var(--neon-cyan);}
.cursor-ring{position:fixed;top:0;left:0;width:32px;height:32px;border:1.5px solid rgba(0,255,231,.5);border-radius:50%;pointer-events:none;z-index:9998;transform:translate(-50%,-50%);transition:width .2s,height .2s,border-color .2s;}

/* ── TOAST ── */
#toast{position:fixed;bottom:2rem;right:2rem;z-index:9000;background:rgba(0,255,231,.1);border:1px solid var(--neon-cyan);color:var(--neon-cyan);font-family:var(--font-mono);font-size:.85rem;padding:.75rem 1.5rem;border-radius:8px;backdrop-filter:blur(10px);opacity:0;transform:translateY(20px);transition:all .4s ease;pointer-events:none;}
#toast.show{opacity:1;transform:translateY(0);}

/* ── NAVBAR ── */
#navbar{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:1rem 3rem;background:rgba(3,6,16,.85);backdrop-filter:blur(16px);border-bottom:1px solid var(--border-glow);transition:var(--transition);}
.nav-logo{font-family:var(--font-display);font-size:1rem;font-weight:900;letter-spacing:.15em;background:var(--gradient-neon);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-decoration:none;}
.nav-links{display:flex;gap:2rem;list-style:none;}
.nav-links a{font-family:var(--font-mono);font-size:.8rem;letter-spacing:.1em;color:var(--text-muted);text-decoration:none;transition:var(--transition);position:relative;}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;right:0;height:1px;background:var(--neon-cyan);transform:scaleX(0);transition:var(--transition);}
.nav-links a:hover{color:var(--neon-cyan);}
.nav-links a:hover::after{transform:scaleX(1);}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;}
.hamburger span{width:25px;height:2px;background:var(--neon-cyan);transition:var(--transition);}

/* ── HERO ── */
#inicio{min-height:100vh;display:flex;align-items:center;padding:8rem 3rem 4rem;position:relative;overflow:hidden;background:var(--gradient-hero);}
.hero-particles{position:absolute;inset:0;overflow:hidden;z-index:0;}
.particle{position:absolute;width:2px;height:2px;background:var(--neon-cyan);border-radius:50%;animation:float-particle linear infinite;opacity:0;}
@keyframes float-particle{0%{transform:translateY(100vh);opacity:0;}10%{opacity:.7;}90%{opacity:.3;}100%{transform:translateY(-10vh) translateX(60px);opacity:0;}}
.hero-content{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;max-width:1200px;margin:0 auto;width:100%;}
.hero-left{display:flex;flex-direction:column;gap:1.5rem;}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem 1rem;border:1px solid var(--border-glow);border-radius:50px;font-family:var(--font-mono);font-size:.75rem;letter-spacing:.1em;color:var(--neon-cyan);background:rgba(0,255,231,.05);width:fit-content;animation:badge-pulse 3s ease-in-out infinite;}
@keyframes badge-pulse{0%,100%{box-shadow:0 0 0 rgba(0,255,231,0);}50%{box-shadow:0 0 15px rgba(0,255,231,.3);}}
.badge-dot{width:6px;height:6px;border-radius:50%;background:var(--neon-cyan);animation:dot-blink 1.5s ease-in-out infinite;}
@keyframes dot-blink{0%,100%{opacity:1;}50%{opacity:.2;}}
.hero-profile-wrapper{display:flex;align-items:center;gap:1.5rem;}
.hero-photo-frame{position:relative;flex-shrink:0;}
.hero-photo-frame::before{content:'';position:absolute;inset:-3px;border-radius:50%;background:var(--gradient-neon);animation:spin-frame 6s linear infinite;z-index:0;}
@keyframes spin-frame{to{transform:rotate(360deg);}}
.hero-photo-frame::after{content:'';position:absolute;inset:-8px;border-radius:50%;background:conic-gradient(transparent 70%,rgba(0,255,231,.2) 100%);animation:spin-frame 4s linear infinite reverse;z-index:0;}
.hero-photo{width:130px;height:130px;border-radius:50%;object-fit:cover;position:relative;z-index:1;border:3px solid var(--bg-deep);}
.hero-info h1{font-family:var(--font-display);font-size:clamp(1.1rem,2.5vw,1.5rem);font-weight:700;line-height:1.3;color:var(--text-primary);letter-spacing:.05em;}
.hero-info h1 span{background:var(--gradient-neon);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.hero-info p{font-size:.85rem;color:var(--text-muted);margin-top:.4rem;line-height:1.6;}
.hero-info .university{font-family:var(--font-mono);font-size:.75rem;color:var(--neon-gold);letter-spacing:.05em;margin-top:.5rem;}
.hero-headline{font-family:var(--font-display);font-size:clamp(1.8rem,4vw,3rem);font-weight:900;line-height:1.1;letter-spacing:.05em;}
.headline-line1{color:var(--text-primary);display:block;}
.headline-line2{display:block;background:var(--gradient-neon);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.hero-desc{font-size:.95rem;color:var(--text-muted);line-height:1.8;max-width:480px;}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap;}
.btn-primary{padding:.7rem 1.8rem;background:linear-gradient(135deg,var(--neon-cyan),var(--neon-blue));color:var(--bg-deep);border:none;border-radius:var(--radius);font-family:var(--font-display);font-size:.8rem;font-weight:700;letter-spacing:.1em;cursor:pointer;text-decoration:none;transition:var(--transition);box-shadow:0 0 20px rgba(0,255,231,.3);display:inline-block;}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 0 35px rgba(0,255,231,.5);}
.btn-outline{padding:.7rem 1.8rem;background:transparent;border:1px solid var(--border-glow);color:var(--neon-cyan);border-radius:var(--radius);font-family:var(--font-display);font-size:.8rem;letter-spacing:.1em;cursor:pointer;text-decoration:none;transition:var(--transition);display:inline-block;}
.btn-outline:hover{background:rgba(0,255,231,.08);border-color:var(--neon-cyan);box-shadow:0 0 20px rgba(0,255,231,.2);}
.hero-right{position:relative;aspect-ratio:16/12;background:transparent;overflow:hidden;display:flex;align-items:center;justify-content:center;}
.main-container{display:flex;justify-content:center;align-items:center;height:100%;width:100%;}
.loader{width:100%;max-width:600px;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;}
.loader svg{width:100%;height:100%;filter:drop-shadow(0 0 20px rgba(0,255,231,.1));}
.trace-bg{stroke:#333;stroke-width:1.8;fill:none;}
.trace-flow{stroke-width:1.8;fill:none;stroke-dasharray:40 400;stroke-dashoffset:438;filter:drop-shadow(0 0 6px currentColor);animation:flow 3s cubic-bezier(.5,0,.9,1) infinite;}
.trace-flow.yellow{stroke:#ffea00;color:#ffea00;}.trace-flow.blue{stroke:#00ccff;color:#00ccff;}
.trace-flow.green{stroke:#00ff15;color:#00ff15;}.trace-flow.purple{stroke:#9900ff;color:#9900ff;}
.trace-flow.red{stroke:#ff3300;color:#ff3300;}
@keyframes flow{to{stroke-dashoffset:0;}}

/* ── SECTIONS ── */
section{position:relative;z-index:1;padding:6rem 3rem;}
.section-header{text-align:center;margin-bottom:3.5rem;}
.section-tag{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.2em;color:var(--neon-cyan);text-transform:uppercase;margin-bottom:.75rem;display:block;}
.section-title{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.2rem);font-weight:900;letter-spacing:.05em;color:var(--text-primary);}
.section-title span{background:var(--gradient-neon);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.section-line{width:60px;height:2px;margin:1rem auto 0;background:var(--gradient-neon);border-radius:2px;}
body.js-ready .reveal{opacity:0;transform:translateY(28px);transition:opacity .6s ease,transform .6s ease;}
body.js-ready .reveal.visible{opacity:1;transform:translateY(0);}

/* ── PROYECTOS ── */
#proyectos{background:linear-gradient(180deg,var(--bg-deep) 0%,var(--bg-mid) 100%);}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto;}
.project-card{background:var(--bg-card);border:1px solid var(--border-glow);border-radius:var(--radius);padding:2rem;position:relative;overflow:hidden;transition:var(--transition);backdrop-filter:blur(10px);}
.project-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--gradient-neon);transform:scaleX(0);transform-origin:left;transition:var(--transition);}
.project-card:hover{transform:translateY(-6px);border-color:rgba(0,255,231,.4);box-shadow:0 20px 40px rgba(0,0,0,.4),0 0 20px rgba(0,255,231,.1);}
.project-card:hover::before{transform:scaleX(1);}
.project-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:1.2rem;}
.icon-green{background:rgba(0,255,128,.15);}.icon-blue{background:rgba(0,128,255,.15);}
.icon-purple{background:rgba(139,0,255,.15);}.icon-gold{background:rgba(255,215,0,.15);}
.project-tag{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.1em;padding:.25rem .6rem;border-radius:50px;border:1px solid;margin-bottom:.8rem;display:inline-block;}
.tag-live{color:#00ff80;border-color:rgba(0,255,128,.3);}.tag-coming{color:var(--text-muted);border-color:rgba(106,138,171,.3);}
.project-card h3{font-family:var(--font-display);font-size:1rem;font-weight:700;margin-bottom:.75rem;color:var(--text-primary);letter-spacing:.05em;}
.project-card p{font-size:.88rem;color:var(--text-muted);line-height:1.7;margin-bottom:1.2rem;}
.project-highlights{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.3rem;}
.highlight{font-family:var(--font-mono);font-size:.7rem;padding:.2rem .6rem;background:rgba(0,255,231,.06);border:1px solid rgba(0,255,231,.15);border-radius:4px;color:var(--neon-cyan);}
.btn-project{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1.2rem;background:transparent;border:1px solid var(--border-glow);color:var(--neon-cyan);border-radius:8px;font-family:var(--font-mono);font-size:.75rem;text-decoration:none;transition:var(--transition);}
.btn-project:hover{background:rgba(0,255,231,.08);border-color:var(--neon-cyan);transform:translateX(4px);}
.project-demo{border:1px solid rgba(0,255,231,.5);box-shadow:0 0 20px rgba(0,255,231,.1);}
.project-demo::after{content:'⚡ NUEVO';position:absolute;top:1rem;right:1rem;background:linear-gradient(135deg,var(--neon-cyan),var(--neon-blue));color:var(--bg-deep);font-family:var(--font-mono);font-size:.65rem;font-weight:bold;padding:.2rem .6rem;border-radius:20px;letter-spacing:.05em;}
.btn-demo-project{background:linear-gradient(135deg,rgba(0,255,231,.15),rgba(0,128,255,.1));border-color:var(--neon-cyan);}
.btn-demo-project:hover{background:linear-gradient(135deg,var(--neon-cyan),var(--neon-blue));color:var(--bg-deep);}

/* ── GALERÍA COVERFLOW ── */
#galeria{background:linear-gradient(180deg,var(--bg-deep) 0%,rgba(10,13,30,.8) 100%);overflow:hidden;}
.gallery-container{max-width:1200px;margin:0 auto;}
.gallery-cycle-label{text-align:center;margin-bottom:2.5rem;font-family:var(--font-mono);font-size:.85rem;color:var(--text-muted);}
.gallery-cycle-label span{color:var(--neon-cyan);margin:0 .7rem;font-weight:700;}
.swiper-container{width:100%;max-width:900px;margin:0 auto;perspective:1200px;}
.swiper-slide{width:280px;height:360px;display:flex;align-items:center;justify-content:center;opacity:.5;filter:brightness(.6);transition:all .4s cubic-bezier(.34,1.56,.64,1);}
.swiper-slide-active{opacity:1;filter:brightness(1);transform:scale(1.1);}
.gallery-card-coverflow{width:100%;height:100%;border-radius:16px;border:1.5px solid var(--border-glow);overflow:hidden;cursor:pointer;background:var(--bg-card);backdrop-filter:blur(10px);box-shadow:0 20px 60px rgba(0,0,0,.5);display:flex;flex-direction:column;transition:all .4s cubic-bezier(.34,1.56,.64,1);position:relative;}
.gallery-card-coverflow::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--gradient-neon);transform:scaleX(0);transform-origin:left;transition:var(--transition);z-index:5;}
.swiper-slide-active .gallery-card-coverflow::before{transform:scaleX(1);}
.swiper-slide-active .gallery-card-coverflow{box-shadow:0 25px 50px rgba(0,0,0,.5),0 0 30px rgba(0,255,231,.15);border-color:rgba(0,255,231,.4);}
.gallery-img-wrapper-coverflow{width:100%;aspect-ratio:16/10;position:relative;overflow:hidden;background:linear-gradient(135deg,#0a1628,#0d1f3d);}
.gallery-img-coverflow{width:100%;height:100%;object-fit:cover;transition:transform .6s ease;}
.swiper-slide-active .gallery-img-coverflow{transform:scale(1.08);}
.gallery-overlay-coverflow{position:absolute;inset:0;background:rgba(3,6,16,.4);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s;font-size:2.5rem;backdrop-filter:blur(4px);z-index:8;}
.swiper-slide-active .gallery-overlay-coverflow{opacity:1;}
.gallery-info-coverflow{padding:1.2rem;flex:1;background:linear-gradient(135deg,rgba(0,255,231,.05),rgba(139,0,255,.02));border-top:1px solid rgba(0,255,231,.15);display:flex;flex-direction:column;justify-content:center;position:relative;z-index:9;}
.gallery-info-coverflow h4{font-family:var(--font-display);font-size:.9rem;font-weight:700;letter-spacing:.08em;color:var(--text-primary);margin-bottom:.3rem;}
.gallery-info-coverflow p{font-size:.78rem;color:var(--text-muted);line-height:1.5;}
.swiper-pagination{position:relative!important;margin-top:2rem;bottom:auto!important;}
.swiper-pagination-bullet{background:rgba(0,255,231,.3);transition:all .3s;}
.swiper-pagination-bullet-active{background:var(--neon-cyan);box-shadow:0 0 10px var(--neon-cyan);}
.swiper-navigation-hint{text-align:center;margin-top:2rem;font-family:var(--font-mono);font-size:.75rem;color:var(--text-muted);letter-spacing:.1em;}
.swiper-button-next,.swiper-button-prev{color:var(--neon-cyan);}
#lightbox{display:none;position:fixed;inset:0;z-index:4000;background:rgba(0,0,0,.92);backdrop-filter:blur(8px);align-items:center;justify-content:center;}
#lightbox.open{display:flex;}
.lightbox-content{position:relative;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;align-items:center;gap:1rem;}
.lightbox-close{position:absolute;top:-40px;right:0;background:none;border:none;color:var(--neon-cyan);font-size:1.8rem;cursor:pointer;transition:var(--transition);}
.lightbox-close:hover{color:var(--neon-pink);transform:rotate(90deg);}
.lightbox-img{max-width:90vw;max-height:75vh;object-fit:contain;border-radius:12px;box-shadow:0 0 60px rgba(0,255,231,.2);}
.lightbox-caption{font-family:var(--font-mono);font-size:.8rem;color:var(--neon-cyan);letter-spacing:.1em;text-align:center;}

/* ══════════════════════════════════════════
   SECCIÓN AWAJÚN — INTRO CON 3 FIGURAS
══════════════════════════════════════════ */
#ceramica-awajun{background:linear-gradient(180deg,var(--bg-deep) 0%,#080c1a 60%,#0a0412 100%);overflow:hidden;padding-bottom:5rem;}

.aw-intro-scene{
  position:relative;overflow:hidden;
  background:radial-gradient(ellipse 80% 70% at 50% 50%,#180a04 0%,#0a0508 55%,#000 100%);
  margin-bottom:4rem;
}
.aw-scene-bg{position:absolute;inset:0;pointer-events:none;z-index:0;}

.aw-intro-grid{
  display:grid;grid-template-columns:1fr 1fr;
  align-items:center;position:relative;z-index:2;
  min-height:480px;padding:2.5rem 0;
}

/* PANEL GEO */
.aw-geo-panel{
  position:relative;display:flex;align-items:center;justify-content:center;
  padding:2.5rem 2rem;min-height:480px;
  border-right:1px solid rgba(204,10,10,.2);
}
.aw-geo-glow{position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 50% 50%,rgba(204,10,10,.1),transparent 70%);pointer-events:none;}

/* grid de las 3 figuras */
.aw-figures-wrap{
  position:relative;z-index:2;
  display:grid;
  grid-template-areas:"main main" "small1 small2";
  grid-template-columns:1fr 1fr;
  gap:1.2rem;
  width:min(400px,100%);
}
.aw-fig-item{display:flex;flex-direction:column;align-items:center;gap:.5rem;}
.aw-fig-main{grid-area:main;}
.aw-fig-small:nth-of-type(2){grid-area:small1;}
.aw-fig-small:nth-of-type(3){grid-area:small2;}
.aw-svg-main{width:min(230px,90%);height:auto;filter:drop-shadow(0 0 28px rgba(204,10,10,.55));}
.aw-svg-small{width:min(130px,100%);height:auto;filter:drop-shadow(0 0 14px rgba(204,10,10,.4));}
.aw-fig-label{font-family:var(--font-cinzel);font-size:.62rem;letter-spacing:.15em;color:rgba(200,146,42,.8);text-transform:uppercase;text-align:center;}

/* corners */
.aw-corner{position:absolute;width:20px;height:20px;}
.aw-tl{top:10px;left:10px;border-top:1px solid rgba(204,10,10,.5);border-left:1px solid rgba(204,10,10,.5);}
.aw-tr{top:10px;right:10px;border-top:1px solid rgba(204,10,10,.5);border-right:1px solid rgba(204,10,10,.5);}
.aw-bl{bottom:10px;left:10px;border-bottom:1px solid rgba(204,10,10,.5);border-left:1px solid rgba(204,10,10,.5);}
.aw-br{bottom:10px;right:10px;border-bottom:1px solid rgba(204,10,10,.5);border-right:1px solid rgba(204,10,10,.5);}

/* PANEL TEXTO */
.aw-text-panel{position:relative;padding:3rem 2.5rem;display:flex;flex-direction:column;gap:1.3rem;}
.aw-eyebrow{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.3em;color:rgba(204,10,10,.8);text-transform:uppercase;}
.aw-main-title{font-family:var(--font-cinzel);font-weight:700;font-size:clamp(1.8rem,3.5vw,2.8rem);color:#f2e8d5;letter-spacing:.15em;line-height:1;text-shadow:0 0 60px rgba(204,10,10,.3);}
.aw-main-title span{color:#cc0a0a;text-shadow:0 0 30px rgba(204,10,10,.8);}
.aw-divider{width:80px;height:1px;background:linear-gradient(90deg,#cc0a0a,rgba(200,146,42,.6),transparent);position:relative;flex-shrink:0;}
.aw-divider::after{content:'';position:absolute;right:0;top:-2px;width:5px;height:5px;border-radius:50%;background:#cc0a0a;box-shadow:0 0 8px #cc0a0a;}
.aw-quote-block{border-left:2px solid rgba(204,10,10,.4);padding-left:1.2rem;}
.aw-quote-text{font-family:var(--font-cormorant);font-style:italic;font-weight:300;font-size:1rem;line-height:1.7;color:rgba(242,232,213,.85);}
.aw-quote-author{display:block;margin-top:.5rem;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.1em;color:rgba(204,10,10,.7);}
.aw-desc{font-family:var(--font-cormorant);font-size:.95rem;line-height:1.75;color:rgba(200,185,165,.8);font-weight:300;}
.aw-desc strong{color:#f2e8d5;font-weight:400;}
.aw-symbol-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin-top:.4rem;}
.aw-symbol-item{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:.6rem .4rem;border:.5px solid rgba(204,10,10,.2);border-radius:8px;background:rgba(204,10,10,.04);transition:all .3s ease;cursor:default;}
.aw-symbol-item:hover{background:rgba(204,10,10,.1);border-color:rgba(204,10,10,.4);}
.aw-symbol-item span{font-family:var(--font-mono);font-size:.58rem;color:rgba(204,10,10,.7);text-align:center;letter-spacing:.05em;}

/* ══════════════════════════════════════════
   GALERÍA SAGRADA — NIVEL MUSEO
══════════════════════════════════════════ */
.sacred-gallery-section{max-width:1300px;margin:0 auto;padding:0 1rem;}

/* HERO circular */
.sacred-hero{
  display:grid;grid-template-columns:1fr 1fr;gap:3rem;
  align-items:center;margin-bottom:2.5rem;
  padding:2.5rem;border-radius:24px;
  background:rgba(204,10,10,.04);
  border:1px solid rgba(204,10,10,.18);
  position:relative;overflow:hidden;
}
.sacred-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 50%,rgba(204,10,10,.06),transparent 70%);pointer-events:none;}
.sacred-hero-left{position:relative;display:flex;align-items:center;justify-content:center;}

/* borde giratorio */
.sacred-circle-border{
  position:relative;width:min(340px,90%);aspect-ratio:1;
  border-radius:50%;overflow:hidden;
  box-shadow:0 0 0 2px rgba(204,10,10,.4),0 0 80px rgba(204,10,10,.3),0 0 160px rgba(204,10,10,.1);
}
.sacred-circle-border::before{
  content:'';position:absolute;inset:-3px;border-radius:50%;z-index:10;
  background:conic-gradient(from 0deg,#cc0a0a 0%,#c8922a 25%,#cc0a0a 50%,#c8922a 75%,#cc0a0a 100%);
  animation:sacred-border-spin 8s linear infinite;pointer-events:none;
}
@keyframes sacred-border-spin{to{transform:rotate(360deg);}}
.sacred-circle-border iframe{width:100%;height:100%;border:none;display:block;background:#f2e8d5;pointer-events:none;}

.sacred-hero-right{display:flex;flex-direction:column;gap:1.2rem;}
.sacred-big-num{font-family:var(--font-cinzel);font-size:5rem;font-weight:700;line-height:1;color:rgba(204,10,10,.12);letter-spacing:.1em;margin-bottom:-.8rem;}
.sacred-hero-title{font-family:var(--font-cinzel);font-size:clamp(1.1rem,2.5vw,1.7rem);color:#f2e8d5;letter-spacing:.08em;line-height:1.3;}
.sacred-hero-desc{font-family:var(--font-cormorant);font-size:.95rem;line-height:1.8;color:rgba(200,185,165,.8);font-weight:300;}
.sacred-hero-tags{display:flex;flex-wrap:wrap;gap:.5rem;}
.sacred-hero-tags span{font-family:var(--font-mono);font-size:.62rem;padding:.25rem .8rem;border-radius:20px;background:rgba(204,10,10,.1);border:.5px solid rgba(204,10,10,.3);color:rgba(240,180,160,.9);}
.btn-sacred-hero{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.6rem;width:fit-content;background:rgba(204,10,10,.12);border:1px solid rgba(204,10,10,.4);color:#f2e8d5;border-radius:12px;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.1em;cursor:pointer;transition:all .3s ease;}
.btn-sacred-hero:hover{background:rgba(204,10,10,.25);box-shadow:0 0 30px rgba(204,10,10,.3);transform:translateY(-2px);}
.btn-sacred-hero .btn-arrow{transition:transform .3s;}
.btn-sacred-hero:hover .btn-arrow{transform:translateX(4px);}

/* GRID 4 tarjetas */
.sacred-grid-label{text-align:center;margin:0 0 1.2rem;font-family:var(--font-mono);font-size:.62rem;letter-spacing:.25em;color:rgba(204,10,10,.5);text-transform:uppercase;}
.sacred-cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(204,10,10,.15);border:1px solid rgba(204,10,10,.15);border-radius:12px;overflow:hidden;margin-bottom:2rem;}
.sacred-design-card{position:relative;aspect-ratio:4/5;cursor:pointer;background:#000;overflow:hidden;transition:all .4s cubic-bezier(.34,1.56,.64,1);}
.sacred-design-card:hover{z-index:5;transform:scale(1.04);box-shadow:0 0 40px rgba(204,10,10,.5);}
.sacred-design-card.active{z-index:5;transform:scale(1.04);box-shadow:0 0 40px rgba(204,10,10,.5);}
.sacred-card-iframe-wrap{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
.sacred-card-iframe-wrap iframe{width:200%;height:200%;border:none;transform:scale(.5);transform-origin:top left;filter:brightness(.45);}
.sacred-design-card:hover .sacred-card-iframe-wrap iframe,
.sacred-design-card.active .sacred-card-iframe-wrap iframe{filter:brightness(.75);}
.sacred-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.98) 35%,rgba(0,0,0,.55) 65%,rgba(0,0,0,.1) 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:1rem;transition:background .3s;}
.sacred-design-card:hover .sacred-card-overlay,.sacred-design-card.active .sacred-card-overlay{background:linear-gradient(to top,rgba(5,0,0,.99) 30%,rgba(20,5,5,.7) 65%,rgba(0,0,0,.15) 100%);}
.sacred-card-active-bar{position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#cc0a0a,transparent);opacity:0;transition:opacity .3s;}
.sacred-design-card.active .sacred-card-active-bar{opacity:1;}
.sacred-card-num{font-family:var(--font-cinzel);font-size:2.2rem;color:rgba(204,10,10,.2);line-height:1;margin-bottom:.2rem;transition:color .3s;}
.sacred-design-card.active .sacred-card-num,.sacred-design-card:hover .sacred-card-num{color:rgba(204,10,10,.55);}
.sacred-card-title{font-family:var(--font-cinzel);font-size:.72rem;color:rgba(242,232,213,.7);line-height:1.3;margin-bottom:.2rem;transition:color .3s;}
.sacred-design-card.active .sacred-card-title,.sacred-design-card:hover .sacred-card-title{color:#f2e8d5;}
.sacred-card-sub{font-family:var(--font-mono);font-size:.55rem;color:rgba(200,146,42,.5);letter-spacing:.05em;transition:color .3s;}
.sacred-design-card.active .sacred-card-sub,.sacred-design-card:hover .sacred-card-sub{color:rgba(200,146,42,.8);}
.sacred-card-hint{position:absolute;top:.6rem;right:.6rem;font-family:var(--font-mono);font-size:.5rem;color:rgba(204,10,10,.4);letter-spacing:.1em;opacity:0;transition:opacity .3s;}
.sacred-design-card:hover .sacred-card-hint{opacity:1;}

/* LEYENDA */
.sacred-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:1.5rem;border-radius:16px;background:rgba(0,255,231,.02);border:1px solid rgba(0,255,231,.08);}
.sacred-legend-item{display:flex;align-items:center;gap:.8rem;}
.sacred-legend-icon{width:44px;height:44px;border-radius:10px;border:1px solid;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.sacred-legend-item strong{display:block;font-family:var(--font-display);font-size:.72rem;color:var(--text-primary);margin-bottom:.2rem;letter-spacing:.05em;}
.sacred-legend-item p{font-size:.7rem;color:var(--text-muted);margin:0;line-height:1.4;}

/* MODAL INMERSIVO */
.sacred-modal{display:none;position:fixed;inset:0;z-index:3500;background:rgba(0,0,0,.97);backdrop-filter:blur(20px);align-items:center;justify-content:center;padding:1.5rem;}
.sacred-modal.open{display:flex;}
.sacred-modal-close{position:fixed;top:1.2rem;right:1.5rem;z-index:3600;background:rgba(204,10,10,.15);border:1px solid rgba(204,10,10,.3);color:#f2e8d5;border-radius:8px;padding:.5rem 1rem;font-family:var(--font-mono);font-size:.65rem;letter-spacing:.1em;cursor:pointer;transition:all .25s;}
.sacred-modal-close:hover{background:rgba(204,10,10,.3);}
.sacred-modal-inner{width:100%;max-width:1100px;max-height:92vh;background:linear-gradient(135deg,#0d0302,#050102);border-radius:20px;border:1px solid rgba(204,10,10,.3);box-shadow:0 0 120px rgba(204,10,10,.2);overflow:hidden;display:grid;grid-template-columns:1fr 380px;}
.sacred-modal-frame{background:#f2e8d5;overflow:hidden;min-height:400px;display:flex;align-items:center;justify-content:center;}
.sacred-modal-frame iframe{width:100%;height:100%;min-height:400px;border:none;}
.sacred-modal-panel{border-left:1px solid rgba(204,10,10,.15);padding:2rem;display:flex;flex-direction:column;gap:1.1rem;overflow-y:auto;background:linear-gradient(180deg,#0d0302,#050102);}
.sacred-modal-num{font-family:var(--font-cinzel);font-size:4rem;font-weight:700;color:rgba(204,10,10,.12);line-height:1;}
.sacred-modal-title{font-family:var(--font-cinzel);font-size:1.1rem;color:#f2e8d5;line-height:1.3;letter-spacing:.08em;}
.sacred-modal-desc{font-family:var(--font-cormorant);font-size:.88rem;line-height:1.75;color:rgba(200,185,165,.75);font-weight:300;flex:1;}
.sacred-modal-tags{display:flex;flex-wrap:wrap;gap:.4rem;}
.sacred-modal-tags span{font-family:var(--font-mono);font-size:.58rem;padding:.25rem .7rem;border-radius:20px;background:rgba(204,10,10,.08);border:.5px solid rgba(204,10,10,.25);color:rgba(240,180,160,.8);}
.sacred-modal-nav{display:flex;gap:.6rem;}
.sacred-nav-btn{flex:1;padding:.6rem;background:rgba(204,10,10,.08);border:.5px solid rgba(204,10,10,.25);color:rgba(242,232,213,.7);border-radius:8px;font-family:var(--font-mono);font-size:.65rem;letter-spacing:.08em;cursor:pointer;transition:all .25s;}
.sacred-nav-btn:hover{background:rgba(204,10,10,.2);color:#f2e8d5;}

/* ── VIDEOS ── */
#videos{background:linear-gradient(180deg,rgba(10,13,30,.8) 0%,var(--bg-mid) 100%);}
.videos-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;max-width:1200px;margin:0 auto;}
.video-card{background:var(--bg-card);border:1px solid var(--border-glow);border-radius:20px;overflow:hidden;transition:var(--transition);backdrop-filter:blur(10px);display:flex;flex-direction:column;}
.video-card:hover{transform:translateY(-8px);border-color:rgba(0,255,231,.5);box-shadow:0 20px 40px rgba(0,0,0,.4),0 0 30px rgba(0,255,231,.15);}
.video-thumbnail{position:relative;width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,#0a1628,#0d1f3d);overflow:hidden;display:flex;align-items:center;justify-content:center;}
.video-thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.video-card:hover .video-thumbnail img{transform:scale(1.05);}
.video-play-btn{position:absolute;width:60px;height:60px;background:linear-gradient(135deg,var(--neon-cyan),var(--neon-blue));border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--bg-deep);font-size:1.5rem;cursor:pointer;transition:all .3s ease;box-shadow:0 0 20px rgba(0,255,231,.5);z-index:2;border:none;}
.video-card:hover .video-play-btn{transform:scale(1.1);box-shadow:0 0 35px rgba(0,255,231,.8);}
.video-overlay{position:absolute;inset:0;background:rgba(0,0,0,.3);transition:background .3s ease;z-index:1;}
.video-card:hover .video-overlay{background:rgba(0,0,0,.2);}
.video-info{padding:1.5rem;flex:1;display:flex;flex-direction:column;gap:.5rem;}
.video-type{font-family:var(--font-mono);font-size:.65rem;letter-spacing:.15em;color:var(--neon-cyan);text-transform:uppercase;background:rgba(0,255,231,.06);border:1px solid rgba(0,255,231,.15);padding:.2rem .6rem;border-radius:4px;width:fit-content;}
.video-title{font-family:var(--font-display);font-size:.95rem;font-weight:700;color:var(--text-primary);line-height:1.4;}
.video-desc{font-size:.82rem;color:var(--text-muted);line-height:1.6;flex:1;}
.video-meta{display:flex;justify-content:space-between;align-items:center;font-family:var(--font-mono);font-size:.75rem;color:var(--text-muted);margin-top:.5rem;}
.video-duration{color:var(--neon-cyan);}
#video-modal{display:none;position:fixed;inset:0;z-index:4000;background:rgba(0,0,0,.95);backdrop-filter:blur(8px);align-items:center;justify-content:center;}
#video-modal.open{display:flex;}
.video-modal-content{position:relative;width:min(900px,90vw);aspect-ratio:16/9;}
.video-modal-close{position:absolute;top:-40px;right:0;background:none;border:none;color:var(--neon-cyan);font-size:1.8rem;cursor:pointer;transition:var(--transition);}
.video-modal-close:hover{color:var(--neon-pink);transform:rotate(90deg);}
.video-modal-iframe{width:100%;height:100%;border:none;border-radius:12px;}

/* ── CONTACTO ── */
#contacto{background:linear-gradient(180deg,var(--bg-mid) 0%,var(--bg-deep) 100%);}
.contact-wrapper{max-width:760px;margin:0 auto;}
.contact-card{background:var(--bg-card);border:1px solid var(--border-glow);border-radius:20px;padding:2.5rem;backdrop-filter:blur(10px);}
.contact-note{background:rgba(0,255,231,.05);border:1px solid rgba(0,255,231,.15);border-radius:10px;padding:1rem;margin-bottom:2rem;font-size:.85rem;color:var(--text-muted);line-height:1.6;}
.form-group{margin-bottom:1.2rem;}
.form-group label{display:block;font-family:var(--font-mono);letter-spacing:.1em;color:var(--text-primary);font-size:.8rem;margin-bottom:.4rem;}
input,select,textarea{width:100%;background:rgba(0,255,231,.03);border:1px solid var(--border-glow);border-radius:8px;padding:.75rem 1rem;color:var(--text-primary);font-family:var(--font-body);font-size:.9rem;transition:var(--transition);}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--neon-cyan);box-shadow:0 0 0 3px rgba(0,255,231,.1);}
textarea{resize:vertical;min-height:120px;}
input::placeholder,textarea::placeholder{color:var(--text-muted);}
.field-error{font-family:var(--font-mono);font-size:.72rem;color:var(--neon-pink);margin-top:.3rem;display:none;}
.field-error:not(:empty){display:block;}
.formspree-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .8rem;background:rgba(0,255,231,.05);border:1px solid var(--border-glow);border-radius:20px;font-family:var(--font-mono);font-size:.7rem;color:var(--text-muted);text-decoration:none;transition:var(--transition);}
.formspree-badge:hover{border-color:var(--neon-cyan);color:var(--neon-cyan);}
.contact-divider{text-align:center;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.15em;color:var(--text-muted);text-transform:uppercase;margin:2rem 0;position:relative;}
.contact-divider::before{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:var(--border-glow);}
.contact-methods{display:grid;gap:1rem;}
.contact-method-card{display:flex;align-items:center;gap:1rem;padding:1rem;background:rgba(0,255,231,.03);border:1px solid var(--border-glow);border-radius:10px;transition:var(--transition);}
.contact-method-card:hover{border-color:rgba(0,255,231,.3);background:rgba(0,255,231,.05);}
.cmethod-icon{font-size:1.5rem;flex-shrink:0;}
.cmethod-info{display:flex;flex-direction:column;gap:.15rem;}
.cmethod-label{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.1em;color:var(--text-muted);text-transform:uppercase;}
.cmethod-value{font-size:.9rem;color:var(--text-primary);font-weight:600;}
.cmethod-hint{font-size:.75rem;color:var(--text-muted);}
.visitor-bar{display:flex;justify-content:center;gap:2rem;margin-top:1.5rem;flex-wrap:wrap;}
.visitor-stat{font-family:var(--font-mono);font-size:.8rem;color:var(--text-muted);}
.visitor-stat strong{color:var(--neon-cyan);}

/* ── FOOTER ── */
footer{text-align:center;padding:3rem 2rem;background:var(--bg-deep);border-top:1px solid var(--border-glow);position:relative;z-index:1;}
.footer-logo{font-family:var(--font-display);font-size:1.1rem;font-weight:900;letter-spacing:.15em;background:var(--gradient-neon);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:block;margin-bottom:1.5rem;}
.footer-links{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;margin-bottom:1.5rem;}
.footer-links a{font-family:var(--font-mono);font-size:.75rem;color:var(--text-muted);text-decoration:none;letter-spacing:.1em;transition:var(--transition);}
.footer-links a:hover{color:var(--neon-cyan);}
.footer-copy{font-size:.78rem;color:var(--text-muted);line-height:1.7;}
.footer-copy span{color:var(--neon-cyan);}
#scroll-top{position:fixed;bottom:2rem;right:2rem;z-index:500;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--neon-cyan),var(--neon-blue));border:none;color:var(--bg-deep);font-size:1.2rem;cursor:pointer;opacity:0;transform:translateY(20px);transition:var(--transition);box-shadow:0 0 20px rgba(0,255,231,.3);}
#scroll-top.visible{opacity:1;transform:translateY(0);}
#scroll-top:hover{transform:translateY(-3px);box-shadow:0 0 30px rgba(0,255,231,.5);}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .sacred-cards-grid{grid-template-columns:repeat(2,1fr);}
  .sacred-hero{grid-template-columns:1fr;}
  .sacred-circle-border{max-width:280px;margin:0 auto;}
  .sacred-legend{grid-template-columns:repeat(2,1fr);}
  .aw-symbol-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
  section{padding:5rem 1.5rem;}
  #inicio{padding:7rem 1.5rem 3rem;}
  .hero-content{grid-template-columns:1fr;}
  .hero-right{display:none;}
  #navbar{padding:1rem 1.5rem;}
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:rgba(3,6,16,.97);backdrop-filter:blur(20px);border-bottom:1px solid var(--border-glow);padding:1rem 0;}
  .nav-links.open{display:flex;}
  .nav-links li{padding:.5rem 2rem;}
  .hamburger{display:flex;}
  .aw-intro-grid{grid-template-columns:1fr;}
  .aw-geo-panel{min-height:auto;border-right:none;border-bottom:1px solid rgba(204,10,10,.2);padding:2rem 1.5rem;}
  .aw-figures-wrap{width:min(340px,100%);}
  .aw-svg-main{width:min(180px,80%);}
  .aw-text-panel{padding:2rem 1.5rem;}
  .sacred-cards-grid{grid-template-columns:repeat(2,1fr);}
  .sacred-modal-inner{grid-template-columns:1fr;max-height:85vh;}
  .sacred-modal-frame{min-height:280px;}
  .contact-card{padding:1.5rem;}
  .visitor-bar{gap:1rem;flex-direction:column;align-items:center;}
}
@media(max-width:480px){
  .sacred-cards-grid{grid-template-columns:1fr 1fr;gap:.5px;}
  .sacred-legend{grid-template-columns:1fr;}
  .sacred-hero{padding:1.5rem;}
}
@media(hover:none){
  body{cursor:auto;}
  .cursor-dot,.cursor-ring{display:none;}
}

/* ============================================================
   FRONTEND REFINADO 2026 — mejoras desde portafolio académico
============================================================ */
.section-lead{
  max-width:760px;
  margin:1rem auto 0;
  color:var(--text-muted);
  font-size:.95rem;
  line-height:1.8;
}
.project-section-lead{max-width:860px;}

.portfolio-overview{
  max-width:1200px;
  margin:0 auto 2rem;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:1.25rem;
}
.overview-card,
.purpose-card,
.aw-brief-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(160deg,rgba(10,22,44,.86),rgba(8,14,30,.7));
  backdrop-filter:blur(14px);
  box-shadow:0 18px 40px rgba(0,0,0,.24);
}
.overview-card{
  padding:1.4rem 1.5rem;
}
.overview-card::before,
.purpose-card::before,
.aw-brief-card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,rgba(0,255,231,.08),transparent 30%,transparent 70%,rgba(139,0,255,.08));
  pointer-events:none;
}
.overview-label,
.purpose-kicker,
.aw-brief-kicker,
.project-mini-label,
.circular-gallery-kicker{
  display:inline-flex;
  width:fit-content;
  padding:.28rem .72rem;
  border-radius:999px;
  border:1px solid rgba(0,255,231,.18);
  background:rgba(0,255,231,.06);
  font-family:var(--font-mono);
  font-size:.66rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--lb-panel-accent, var(--neon-cyan));
}
.overview-card strong{
  display:block;
  margin:.95rem 0 .65rem;
  font-size:1.12rem;
  line-height:1.45;
  font-family:var(--font-display);
  letter-spacing:.04em;
}
.overview-card p{
  color:var(--text-muted);
  font-size:.9rem;
  line-height:1.7;
}
.overview-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.metric-box{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  padding:1.2rem;
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.06);
  min-height:140px;
}
.metric-value{
  font-family:var(--font-display);
  font-size:2rem;
  line-height:1;
  background:var(--gradient-neon);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.metric-label{
  margin-top:.55rem;
  color:var(--text-muted);
  font-size:.78rem;
  line-height:1.5;
}
.portfolio-purpose{
  max-width:1200px;
  margin:0 auto 2rem;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.25rem;
}
.purpose-card{
  padding:1.6rem;
}
.purpose-card h3{
  margin:.95rem 0 .7rem;
  font-family:var(--font-display);
  font-size:1.02rem;
  line-height:1.45;
  letter-spacing:.04em;
}
.purpose-card p{
  color:var(--text-muted);
  font-size:.9rem;
  line-height:1.75;
}
.purpose-problem{border-color:rgba(255,0,200,.12);}
.purpose-goal{border-color:rgba(0,255,231,.16);}

.projects-grid{gap:1.25rem;}
.project-card-clean{
  display:flex;
  flex-direction:column;
  min-height:100%;
  border-radius:22px;
  padding:1.45rem;
  background:
    radial-gradient(circle at top right, rgba(0,255,231,.08), transparent 32%),
    linear-gradient(165deg, rgba(7,16,35,.92), rgba(7,13,28,.82));
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 20px 48px rgba(0,0,0,.28);
}
.project-card-clean::after{
  content:'';
  position:absolute;
  inset:auto 18px 18px auto;
  width:72px;
  height:72px;
  border-radius:18px;
  background:radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
  opacity:.4;
  pointer-events:none;
}
.project-card-clean:hover{
  transform:translateY(-10px);
  border-color:rgba(0,255,231,.22);
  box-shadow:0 26px 58px rgba(0,0,0,.36),0 0 28px rgba(0,255,231,.09);
}
.project-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}
.project-copy{display:flex;flex-direction:column;flex:1;}
.project-mini-label{margin-bottom:.9rem;}
.project-card-clean h3{
  margin-bottom:.7rem;
  font-size:1.02rem;
}
.project-card-clean p{
  font-size:.88rem;
  line-height:1.72;
  margin-bottom:1.1rem;
}
.project-card-clean .btn-project{margin-top:auto; align-self:flex-start;}
.project-card-gold{
  background:
    radial-gradient(circle at top right, rgba(255,215,0,.1), transparent 32%),
    linear-gradient(165deg, rgba(24,17,6,.86), rgba(10,12,22,.88));
}


/* Proyectos premium */
.projects-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:1.25rem;
}
.project-card-featured{grid-column:span 7;padding:1.6rem 1.6rem 1.4rem;}
.project-card-side{grid-column:span 5;}
.project-card-half{grid-column:span 6;}
.project-card-headline{display:flex;align-items:center;gap:.9rem;}
.project-card-index{display:block;margin-top:.22rem;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(238,242,255,.5);}
.project-featured-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(250px,.9fr);gap:1.15rem;align-items:stretch;flex:1;margin-bottom:1rem;}
.project-preview-card{
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  padding:1.1rem;
  background:
    radial-gradient(circle at top right, rgba(255,215,0,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.project-preview-kicker{font-family:var(--font-mono);font-size:.65rem;letter-spacing:.16em;text-transform:uppercase;color:var(--neon-cyan);}
.project-preview-title{display:block;margin:.75rem 0 1rem;font-family:var(--font-display);font-size:clamp(1.5rem,2vw,2rem);line-height:1;letter-spacing:.08em;color:var(--text-primary);}
.project-preview-lines{display:grid;gap:.5rem;margin-bottom:1rem;}
.project-preview-lines span{height:1px;background:linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,.05));display:block;}
.project-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;}
.project-preview-grid div{padding:.8rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);}
.project-preview-grid small{display:block;margin-bottom:.3rem;font-family:var(--font-mono);font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(238,242,255,.45);}
.project-preview-grid strong{font-size:.82rem;letter-spacing:.08em;font-family:var(--font-display);color:var(--text-primary);text-transform:uppercase;}
.project-meta-row{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:auto;}
.project-meta-row span,.project-chip-soft{display:inline-flex;align-items:center;padding:.42rem .75rem;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);font-family:var(--font-mono);font-size:.64rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(238,242,255,.7);}
.project-actions,.project-footer-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap;margin-top:auto;}
.project-inline-note{font-size:.82rem;color:var(--text-muted);}
.btn-project-primary{background:rgba(0,255,231,.08);}
.project-card-clean .highlight{padding:.3rem .65rem;border-radius:999px;background:rgba(0,255,231,.065);}
.project-card-clean h3{font-size:1.08rem;line-height:1.35;}
.project-card-featured h3{font-size:1.28rem;margin-bottom:.8rem;}
.project-card-featured p{font-size:.92rem;}
.accent-gold{color:var(--neon-gold);font-weight:600;}
.project-card-clean::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(140deg, rgba(255,255,255,.12), transparent 35%, transparent 70%, rgba(0,255,231,.14));-webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.8;pointer-events:none;}
.project-card-side,.project-card-half{min-height:320px;}

@media (max-width: 1100px){
  .project-card-featured,.project-card-side,.project-card-half{grid-column:span 12;}
  .project-featured-body{grid-template-columns:1fr;}
}
@media (max-width: 720px){
  .project-actions,.project-footer-row{align-items:flex-start;}
  .project-preview-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 560px){
  .project-preview-grid{grid-template-columns:1fr;}
  .project-card-clean{padding:1.2rem;}
  .project-card-featured{padding:1.25rem;}
}

/* Carrusel circular */
#galeria{
  background:linear-gradient(180deg,rgba(10,13,30,.82) 0%,rgba(8,12,24,.96) 100%);
}
.circular-gallery{
  max-width:1240px;
  margin:0 auto;
  display:grid;
  grid-template-columns:380px 1fr;
  gap:1.5rem;
  align-items:stretch;
}
.circular-gallery-panel,
.circular-stage-shell{
  border-radius:26px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(160deg,rgba(9,18,36,.88),rgba(5,10,22,.78));
  backdrop-filter:blur(14px);
  position:relative;
  overflow:hidden;
}
.circular-gallery-panel{
  padding:1.6rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.circular-gallery-panel h3{
  font-family:var(--font-display);
  font-size:1.2rem;
  line-height:1.35;
  letter-spacing:.05em;
}
.circular-subtitle{
  color:var(--lb-panel-accent, var(--neon-cyan));
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.08em;
}
.circular-description{
  color:var(--text-muted);
  line-height:1.82;
  font-size:.92rem;
}
.circular-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}
.circular-meta span{
  padding:.32rem .78rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  font-family:var(--font-mono);
  font-size:.7rem;
  color:var(--text-primary);
}
.circular-controls{display:flex; gap:.75rem; margin-top:.35rem;}
.circular-btn{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:var(--text-primary);
  border-radius:12px;
  padding:.75rem 1rem;
  font-family:var(--font-mono);
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:var(--transition);
}
.circular-btn:hover{transform:translateY(-2px); border-color:rgba(0,255,231,.25); background:rgba(0,255,231,.08);}
.circular-btn-primary{background:linear-gradient(135deg,rgba(0,255,231,.18),rgba(0,128,255,.14)); color:var(--neon-cyan);}
.circular-thumbs{
  margin-top:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.7rem;
}
.circular-thumb{
  display:flex;
  flex-direction:column;
  gap:.45rem;
  border:none;
  padding:0;
  background:none;
  cursor:pointer;
  text-align:left;
}
.circular-thumb-frame{
  border-radius:16px;
  overflow:hidden;
  aspect-ratio:1;
  border:1px solid rgba(255,255,255,.06);
  background:#081224;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}
.circular-thumb-frame img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease, opacity .3s ease;}
.circular-thumb:hover img{transform:scale(1.08);}
.circular-thumb span{
  font-size:.66rem;
  color:var(--text-muted);
  line-height:1.4;
}
.circular-thumb.active .circular-thumb-frame{border-color:rgba(0,255,231,.35); box-shadow:0 0 0 1px rgba(0,255,231,.18),0 10px 22px rgba(0,0,0,.32);}
.circular-thumb.active span{color:var(--text-primary);}
.circular-gallery-stage{min-height:680px;}
.circular-stage-shell{height:100%; min-height:680px;}
.circular-stage-bg,
#circularFocusImg{width:100%; height:100%; object-fit:cover; display:block;}
.circular-stage-bg{
  position:absolute;
  inset:0;
  opacity:.28;
  filter:saturate(1.15) contrast(1.05);
  transition:opacity .5s ease, transform .7s ease;
}
.circular-stage-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(6,14,28,.18), rgba(4,9,20,.82) 70%),
    linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.45));
}
.circular-stage-rings,
.circular-stage-rings::before,
.circular-stage-rings::after{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
}
.circular-stage-rings{width:450px; height:450px; border:1px dashed rgba(255,255,255,.12);}
.circular-stage-rings::before,
.circular-stage-rings::after{content:'';}
.circular-stage-rings::before{width:540px; height:540px; border:1px solid rgba(0,255,231,.1);}
.circular-stage-rings::after{width:320px; height:320px; border:1px solid rgba(255,255,255,.08);}
.circular-orbit{position:absolute; inset:0; z-index:3;}
.circular-node{
  position:absolute;
  width:110px;
  aspect-ratio:1;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(255,255,255,.3);
  box-shadow:0 18px 45px rgba(0,0,0,.42);
  background:#081224;
  transition:transform .55s cubic-bezier(.2,.8,.2,1), opacity .35s ease, border-color .35s ease, box-shadow .35s ease;
  cursor:pointer;
  transform:translate(-50%,-50%);
}
.circular-node img{width:100%; height:100%; object-fit:cover; display:block;}
.circular-node::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35));
}
.circular-node.is-active{
  transform:translate(-50%,-50%) scale(1.16);
  border-color:rgba(255,255,255,.9);
  box-shadow:0 0 0 1px rgba(255,255,255,.18), 0 0 36px rgba(255,255,255,.14), 0 24px 46px rgba(0,0,0,.48);
}
.circular-node.is-far{opacity:.42; transform:translate(-50%,-50%) scale(.9);}
.circular-stage-focus{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:min(370px,52vw);
  aspect-ratio:1;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.7);
  padding:0;
  overflow:hidden;
  background:#091122;
  box-shadow:0 0 0 10px rgba(255,255,255,.04),0 0 48px rgba(255,255,255,.16),0 32px 80px rgba(0,0,0,.42);
  z-index:4;
  cursor:pointer;
}
.circular-stage-focus::after{
  content:'ver imagen';
  position:absolute;
  inset:auto 0 1.25rem 0;
  text-align:center;
  font-family:var(--font-mono);
  font-size:.66rem;
  letter-spacing:.18em;
  color:rgba(255,255,255,.8);
  text-transform:uppercase;
}
.circular-stage-focus img{transition:transform .5s ease;}
.circular-stage-focus:hover img{transform:scale(1.08);}

/* Awajún refinado */
.aw-section-brief{
  max-width:1200px;
  margin:0 auto 1.4rem;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}
.aw-brief-card{padding:1.15rem 1.2rem;}
.aw-brief-card p{margin-top:.75rem; color:var(--text-muted); line-height:1.75; font-size:.88rem;}
.sacred-grid-label{margin:0 0 1rem;}
.sacred-cards-grid{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:1px;
}
.sacred-design-card{aspect-ratio:1/1.12;}
.sacred-circle-border{width:min(360px,92%);}

@media (max-width: 1080px){
  .portfolio-overview,
  .circular-gallery,
  .aw-section-brief{grid-template-columns:1fr;}
  .overview-metrics{grid-template-columns:repeat(3,1fr);}
  .circular-gallery-stage,.circular-stage-shell{min-height:620px;}
}

@media (max-width: 840px){
  .portfolio-purpose{grid-template-columns:1fr;}
  .overview-metrics{grid-template-columns:1fr 1fr 1fr;}
  .circular-gallery-panel{order:2;}
  .circular-gallery-stage{order:1;}
  .circular-gallery-stage,.circular-stage-shell{min-height:560px;}
  .circular-stage-focus{width:min(280px,56vw);}
  .circular-node{width:90px;}
  .circular-stage-rings{width:360px;height:360px;}
  .circular-stage-rings::before{width:430px;height:430px;}
  .circular-stage-rings::after{width:260px;height:260px;}
}

@media (max-width: 640px){
  .overview-metrics{grid-template-columns:1fr;}
  .circular-thumbs{grid-template-columns:repeat(2,1fr);}
  .circular-controls{flex-direction:column;}
  .circular-gallery-stage,.circular-stage-shell{min-height:500px;}
  .circular-stage-focus{width:min(220px,60vw);}
  .circular-node{width:74px;}
  .circular-stage-rings{width:270px;height:270px;}
  .circular-stage-rings::before{width:330px;height:330px;}
  .circular-stage-rings::after{width:185px;height:185px;}
  .aw-section-brief{grid-template-columns:1fr;}
}


/* ══════════════════════════════════════════
   AJUSTES NUEVOS — GEOMETRÍA SAGRADA / CONTACTO
══════════════════════════════════════════ */

/* HERO sagrado con órbita */
.sacred-circle-border::before{content:none;display:none;}
.sacred-hero-orbit{
  grid-template-columns:minmax(320px, 1fr) minmax(340px, 1fr);
  gap:2.5rem;
  padding:2.6rem 2.6rem 11.5rem;
  min-height:720px;
}
.sacred-main-disc-shell{position:relative;display:flex;flex-direction:column;align-items:center;gap:.9rem;width:min(420px,100%);margin-inline:auto;}
.sacred-disc-aura{position:absolute;inset:8% 10%;border-radius:50%;background:radial-gradient(circle,rgba(255,72,0,.18) 0%,rgba(204,10,10,.15) 40%,rgba(4,3,12,0) 72%);filter:blur(18px);transform:scale(1.12);pointer-events:none;}
.sacred-main-disc{
  width:min(390px,90vw);aspect-ratio:1;border:none;padding:0;cursor:pointer;display:grid;place-items:center;
  background:radial-gradient(circle at 50% 48%,rgba(247,165,50,.22),rgba(204,10,10,.18) 45%,rgba(7,2,8,.8) 72%);
  border-radius:50%;position:relative;overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,176,96,.38),0 0 24px rgba(255,86,0,.25),0 0 80px rgba(204,10,10,.22),inset 0 0 70px rgba(255,84,0,.16);
  transition:transform .35s ease, box-shadow .35s ease;
}
.sacred-main-disc:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 0 0 1px rgba(255,176,96,.58),0 0 30px rgba(255,86,0,.3),0 0 110px rgba(204,10,10,.26),inset 0 0 90px rgba(255,84,0,.22);}
.sacred-main-disc-core{width:79%;height:79%;border-radius:50%;overflow:hidden;position:relative;z-index:1;box-shadow:inset 0 0 0 1px rgba(255,220,180,.14);background:#140805;}
.sacred-main-disc-core iframe{width:160%;height:160%;border:none;transform:scale(.625);transform-origin:top left;filter:saturate(1.05) contrast(1.04) brightness(.92);pointer-events:none;background:#100605;}
.sacred-pattern-overlay{position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:screen;opacity:.68;animation:sacredPatternSpin 24s linear infinite;}
.sacred-pattern-overlay svg{width:100%;height:100%;display:block;filter:drop-shadow(0 0 10px rgba(255,84,0,.18));}
@keyframes sacredPatternSpin{to{transform:rotate(360deg);}}
.sacred-disc-caption{font-family:var(--font-mono);font-size:.63rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,213,180,.62);}
.sacred-hero-right{padding-right:1rem;}
.sacred-hero-right .sacred-big-num{font-size:clamp(4rem,8vw,6.6rem);margin-bottom:-1rem;}
.sacred-hero-right .sacred-hero-desc{max-width:60ch;}

.sacred-orbit-panel{
  position:absolute;right:1.8rem;bottom:1.8rem;width:min(380px,42vw);
  padding:1.2rem 1.1rem 1rem;border-radius:24px;
  background:linear-gradient(180deg,rgba(5,4,17,.88),rgba(9,4,14,.76));
  border:1px solid rgba(0,255,231,.12);
  box-shadow:0 25px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(204,10,10,.08);
  backdrop-filter:blur(10px);
}
.sacred-orbit-label{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(0,255,231,.74);text-align:center;margin-bottom:.8rem;}
.sacred-orbit-frame{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;}
.sacred-orbit-ring{position:absolute;border-radius:50%;border:1px dashed rgba(0,255,231,.16);pointer-events:none;}
.sacred-orbit-ring.ring-a{inset:10%;}
.sacred-orbit-ring.ring-b{inset:24%;border-color:rgba(204,10,10,.18);}
.sacred-orbit-core{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12rem;width:88px;height:88px;border-radius:50%;background:radial-gradient(circle,rgba(0,255,231,.16),rgba(5,16,24,.9));border:1px solid rgba(0,255,231,.28);box-shadow:0 0 20px rgba(0,255,231,.12);z-index:2;pointer-events:none;}
.orbit-core-title{font-family:var(--font-mono);font-size:.52rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(0,255,231,.62);}
#orbitCurrentNum{font-family:var(--font-display);font-size:1.8rem;color:var(--text-primary);}
.sacred-orbit{position:absolute;inset:0;animation:sacredOrbitSpin 34s linear infinite;}
.sacred-orbit-panel:hover .sacred-orbit,
.sacred-orbit-panel:hover .sacred-orbit-thumb-frame,
.sacred-orbit-panel:hover .sacred-orbit-thumb-index{animation-play-state:paused;}
@keyframes sacredOrbitSpin{to{transform:rotate(360deg);}}
@keyframes sacredOrbitCounterSpin{to{transform:rotate(-360deg);}}
.sacred-orbit-thumb{
  position:absolute;top:50%;left:50%;width:78px;height:78px;border:none;padding:0;background:none;cursor:pointer;
  transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-140px) rotate(calc(var(--angle) * -1));
}
.sacred-orbit-thumb-frame{
  display:block;width:100%;height:100%;border-radius:50%;overflow:hidden;position:relative;
  border:1.6px solid rgba(0,255,231,.22);background:#050910;box-shadow:0 0 0 1px rgba(255,255,255,.04) inset;
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;animation:sacredOrbitCounterSpin 34s linear infinite reverse;
}
.sacred-orbit-thumb:hover .sacred-orbit-thumb-frame{transform:scale(1.08);border-color:rgba(0,255,231,.56);box-shadow:0 0 18px rgba(0,255,231,.2);}
.sacred-orbit-thumb.active .sacred-orbit-thumb-frame{border-color:rgba(255,192,120,.82);box-shadow:0 0 0 2px rgba(255,94,0,.24),0 0 22px rgba(255,86,0,.2);}
.sacred-orbit-thumb iframe{width:230%;height:230%;border:none;transform:scale(.435);transform-origin:top left;filter:saturate(1.06) contrast(1.04) brightness(.74);pointer-events:none;background:#090712;}
.sacred-orbit-thumb.active iframe,.sacred-orbit-thumb:hover iframe{filter:saturate(1.08) contrast(1.08) brightness(.95);}
.sacred-orbit-thumb-index{
  position:absolute;right:-3px;bottom:-2px;min-width:26px;height:26px;padding:0 .4rem;border-radius:999px;display:flex;align-items:center;justify-content:center;
  background:rgba(4,10,24,.92);border:1px solid rgba(0,255,231,.28);font-family:var(--font-mono);font-size:.52rem;color:rgba(0,255,231,.82);
  animation:sacredOrbitCounterSpin 34s linear infinite reverse;
}
.sacred-orbit-thumb.active .sacred-orbit-thumb-index{border-color:rgba(255,192,120,.7);color:#ffe1b6;}
.sacred-orbit-hint{font-family:var(--font-cormorant);font-size:.95rem;line-height:1.5;color:rgba(200,185,165,.72);text-align:center;margin-top:.8rem;}

/* Contacto compacto dentro de tarjeta */
.contact-card-stage{max-width:980px;margin:0 auto;padding:0 1rem;}
.contact-blue-card{
  position:relative;overflow:hidden;border-radius:28px;padding:1.5rem;
  background:linear-gradient(145deg,rgba(2,14,36,.96),rgba(4,10,28,.9));
  border:1px solid rgba(0,255,231,.18);box-shadow:0 28px 80px rgba(0,0,0,.38),inset 0 0 0 1px rgba(0,255,231,.05);
}
.contact-blue-bg{position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(circle at 16% 20%,rgba(0,255,231,.12),transparent 26%),
  radial-gradient(circle at 85% 18%,rgba(0,128,255,.18),transparent 18%),
  radial-gradient(circle at 78% 85%,rgba(0,255,231,.09),transparent 14%),
  linear-gradient(180deg,rgba(255,255,255,.02),transparent 22%);
}
.contact-blue-bg::before{content:'';position:absolute;width:220px;height:220px;border-radius:50%;border:1px solid rgba(0,255,231,.16);right:-70px;top:-70px;box-shadow:0 0 0 34px rgba(0,255,231,.03),0 0 0 68px rgba(0,255,231,.02);}
.contact-blue-bg::after{content:'';position:absolute;width:110px;height:110px;border-radius:50%;border:1px solid rgba(0,255,231,.32);right:110px;bottom:36px;}
.contact-blue-header{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:0 0 1rem;border-bottom:1px solid rgba(0,255,231,.12);margin-bottom:1rem;}
.contact-micro-kicker{font-family:var(--font-mono);font-size:.6rem;letter-spacing:.22em;text-transform:uppercase;color:rgba(0,255,231,.7);margin-bottom:.55rem;}
.contact-blue-header h3{font-family:var(--font-display);font-size:clamp(1rem,2.4vw,1.55rem);line-height:1.15;color:var(--text-primary);margin-bottom:.45rem;max-width:24ch;}
.contact-intro-copy{font-size:.92rem;line-height:1.55;color:rgba(208,228,246,.78);max-width:58ch;}
.contact-status-pill{align-self:flex-start;padding:.55rem .85rem;border-radius:999px;background:rgba(0,255,231,.08);border:1px solid rgba(0,255,231,.2);font-family:var(--font-mono);font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(0,255,231,.8);white-space:nowrap;}
.contact-form-compact{position:relative;z-index:1;background:rgba(2,10,28,.42);border:1px solid rgba(0,255,231,.12);border-radius:20px;padding:1.1rem;backdrop-filter:blur(8px);}
.compact-note{margin-bottom:.9rem;font-size:.84rem;line-height:1.45;border-radius:14px;background:rgba(0,128,255,.08);border:1px solid rgba(0,255,231,.14);}
.contact-grid-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1rem;}
.contact-field-wide{grid-column:1 / -1;}
.compact-field{margin-bottom:0;}
.compact-field label{font-size:.68rem;letter-spacing:.18em;color:var(--text-primary);margin-bottom:.42rem;display:block;}
.compact-field input,.compact-field textarea{padding:.8rem .95rem;border-radius:12px;background:rgba(1,20,42,.76);border:1px solid rgba(0,255,231,.22);color:var(--text-primary);font-size:.93rem;transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;}
.compact-field input:focus,.compact-field textarea:focus{outline:none;border-color:rgba(0,255,231,.5);box-shadow:0 0 0 3px rgba(0,255,231,.08);transform:translateY(-1px);}
.field-hint-compact{font-family:var(--font-mono);font-size:.66rem;color:var(--text-muted);margin-top:.3rem;}
.contact-form-footer-compact{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;}
.contact-submit-btn{min-width:220px;padding:.82rem 1.2rem;font-size:.88rem;}
.contact-bottom-row{position:relative;z-index:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem;margin-top:1rem;}
.contact-chip{display:flex;align-items:center;gap:.72rem;padding:.78rem .85rem;border-radius:16px;background:rgba(1,12,30,.68);border:1px solid rgba(0,255,231,.12);min-height:74px;}
.contact-chip span{font-size:1.15rem;line-height:1;}
.contact-chip strong{display:block;font-size:.86rem;color:var(--text-primary);margin-bottom:.15rem;word-break:break-word;}
.contact-chip small{display:block;font-size:.68rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;}

@media (max-width: 1024px){
  .sacred-hero-orbit{grid-template-columns:1fr;padding-bottom:2.4rem;min-height:auto;}
  .sacred-hero-right{padding-right:0;}
  .sacred-orbit-panel{position:relative;right:auto;bottom:auto;width:100%;margin-top:.4rem;}
  .contact-bottom-row{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width: 768px){
  .sacred-main-disc{width:min(320px,84vw);} 
  .sacred-hero-orbit{padding:1.35rem 1.1rem 1.2rem;gap:1.5rem;}
  .sacred-orbit-thumb{width:66px;height:66px;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-118px) rotate(calc(var(--angle) * -1));}
  .sacred-orbit-core{width:74px;height:74px;}
  #orbitCurrentNum{font-size:1.4rem;}
  .sacred-orbit-label{font-size:.55rem;}
  .contact-blue-card{padding:1rem;}
  .contact-blue-header{flex-direction:column;}
  .contact-grid-compact{grid-template-columns:1fr;}
  .contact-form-footer-compact{flex-direction:column;align-items:stretch;}
  .contact-submit-btn{width:100%;min-width:0;}
  .contact-bottom-row{grid-template-columns:1fr 1fr;}
}

@media (max-width: 560px){
  .sacred-legend{grid-template-columns:1fr;}
  .contact-bottom-row{grid-template-columns:1fr;}
  .sacred-orbit-panel{padding:1rem .75rem;}
}


/* ══════════════════════════════════════════
   V3 · GEOMETRÍA SAGRADA ORDENADA
══════════════════════════════════════════ */
.sacred-reference-gallery{display:grid;grid-template-columns:minmax(290px,360px) minmax(0,1fr);gap:2rem;align-items:stretch;}
.sacred-gallery-info{display:flex;flex-direction:column;justify-content:center;gap:1rem;padding:1.4rem 0;}
.sacred-gallery-number-row{display:flex;align-items:flex-end;gap:1rem;}
.sacred-gallery-number{font-family:var(--font-display);font-size:clamp(3.2rem,7vw,5.4rem);line-height:.88;color:rgba(84,8,18,.92);}
.sacred-gallery-mini-title{font-family:var(--font-mono);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(0,255,231,.72);padding-bottom:.55rem;}
.sacred-gallery-actions{display:flex;flex-wrap:wrap;gap:.75rem;}
.sacred-gallery-stage-model{position:relative;min-height:560px;border-radius:36px;padding:2rem;overflow:hidden;border:1px solid rgba(0,255,231,.14);background:radial-gradient(circle at 18% 30%, rgba(204,10,10,.22), transparent 28%),radial-gradient(circle at 76% 62%, rgba(0,255,231,.09), transparent 24%),linear-gradient(135deg, rgba(17,4,18,.96), rgba(5,7,28,.98));box-shadow:0 32px 90px rgba(0,0,0,.36), inset 0 0 0 1px rgba(255,255,255,.03);}
.sacred-gallery-stage-model::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);background-size:120px 120px;opacity:.16;pointer-events:none;}
.sacred-gallery-stage-model::after{content:'';position:absolute;inset:14px;border-radius:28px;border:1px solid rgba(204,10,10,.12);pointer-events:none;}
.sacred-stage-grid{position:absolute;inset:0;background:radial-gradient(circle at 63% 46%, rgba(255,86,0,.12), transparent 18%),radial-gradient(circle at 36% 52%, rgba(0,255,231,.08), transparent 16%);pointer-events:none;}
.sacred-stage-copy{position:absolute;top:2rem;left:2rem;max-width:240px;z-index:2;}
.sacred-stage-kicker{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:rgba(0,255,231,.78);margin-bottom:.8rem;}
.sacred-stage-copy h4{font-family:var(--font-cinzel);font-size:clamp(1.3rem,2.5vw,2.1rem);line-height:1.15;color:#f2e8d5;margin-bottom:.45rem;}
.sacred-stage-copy p:last-child{font-family:var(--font-cormorant);font-size:1rem;line-height:1.5;color:rgba(220,210,196,.78);}
.sacred-stage-main-wrap{position:absolute;left:38%;top:50%;transform:translate(-50%,-44%);display:flex;flex-direction:column;align-items:center;gap:.85rem;z-index:2;}
.sacred-stage-main{width:min(330px,32vw);aspect-ratio:1;border:none;padding:0;cursor:pointer;display:grid;place-items:center;background:radial-gradient(circle at 50% 48%,rgba(247,165,50,.22),rgba(204,10,10,.18) 45%,rgba(7,2,8,.82) 72%);border-radius:50%;position:relative;overflow:hidden;box-shadow:0 0 0 1px rgba(255,176,96,.4),0 0 24px rgba(255,86,0,.22),0 0 80px rgba(204,10,10,.18),inset 0 0 70px rgba(255,84,0,.14);transition:transform .35s ease, box-shadow .35s ease;}
.sacred-stage-main:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 0 0 1px rgba(255,176,96,.58),0 0 30px rgba(255,86,0,.3),0 0 100px rgba(204,10,10,.24),inset 0 0 90px rgba(255,84,0,.2);}
.sacred-stage-main-core{width:79%;height:79%;border-radius:50%;overflow:hidden;position:relative;z-index:1;background:#140805;box-shadow:inset 0 0 0 1px rgba(255,220,180,.14);}
.sacred-stage-main-core iframe{width:160%;height:160%;border:none;transform:scale(.625);transform-origin:top left;filter:saturate(1.05) contrast(1.04) brightness(.92);pointer-events:none;background:#100605;}
.sacred-pattern-overlay{position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:screen;opacity:.68;animation:sacredPatternSpin 24s linear infinite;}
.sacred-pattern-overlay svg{width:100%;height:100%;display:block;filter:drop-shadow(0 0 10px rgba(255,84,0,.18));}
.sacred-disc-caption{font-family:var(--font-mono);font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,213,180,.62);text-align:center;}
.sacred-orbit-dock{position:absolute;right:1.4rem;bottom:1.4rem;width:min(330px,34vw);padding:1rem .9rem .9rem;border-radius:28px;background:linear-gradient(180deg,rgba(6,4,18,.82),rgba(6,5,15,.68));border:1px solid rgba(0,255,231,.12);box-shadow:0 18px 45px rgba(0,0,0,.28);z-index:2;}
.sacred-orbit-label{text-align:left;padding-left:.2rem;margin-bottom:.6rem;}
.sacred-orbit-frame{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;}
.sacred-orbit-ring{position:absolute;border-radius:50%;border:1px dashed rgba(0,255,231,.16);pointer-events:none;}
.sacred-orbit-ring.ring-a{inset:12%;}
.sacred-orbit-ring.ring-b{inset:26%;border-color:rgba(204,10,10,.18);}
.sacred-orbit-core{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12rem;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle,rgba(0,255,231,.16),rgba(5,16,24,.9));border:1px solid rgba(0,255,231,.28);box-shadow:0 0 20px rgba(0,255,231,.12);z-index:2;pointer-events:none;}
.orbit-core-title{font-family:var(--font-mono);font-size:.52rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(0,255,231,.62);}
#orbitCurrentNum{font-family:var(--font-display);font-size:1.8rem;color:var(--text-primary);}
.sacred-orbit{position:absolute;inset:0;animation:sacredOrbitSpin 34s linear infinite;}
.sacred-orbit-dock:hover .sacred-orbit,.sacred-orbit-dock:hover .sacred-orbit-thumb-frame,.sacred-orbit-dock:hover .sacred-orbit-thumb-index{animation-play-state:paused;}
.sacred-orbit-thumb{position:absolute;top:50%;left:50%;width:74px;height:74px;border:none;padding:0;background:none;cursor:pointer;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-122px) rotate(calc(var(--angle) * -1));}
.sacred-orbit-thumb-frame{display:block;width:100%;height:100%;border-radius:50%;overflow:hidden;position:relative;border:1.6px solid rgba(0,255,231,.22);background:#050910;box-shadow:0 0 0 1px rgba(255,255,255,.04) inset;transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;animation:sacredOrbitCounterSpin 34s linear infinite reverse;}
.sacred-orbit-thumb:hover .sacred-orbit-thumb-frame{transform:scale(1.08);border-color:rgba(0,255,231,.56);box-shadow:0 0 18px rgba(0,255,231,.2);}
.sacred-orbit-thumb.active .sacred-orbit-thumb-frame{border-color:rgba(255,192,120,.82);box-shadow:0 0 0 2px rgba(255,94,0,.24),0 0 22px rgba(255,86,0,.2);}
.sacred-orbit-thumb iframe{width:230%;height:230%;border:none;transform:scale(.435);transform-origin:top left;filter:saturate(1.06) contrast(1.04) brightness(.74);pointer-events:none;background:#090712;}
.sacred-orbit-thumb.active iframe,.sacred-orbit-thumb:hover iframe{filter:saturate(1.08) contrast(1.08) brightness(.95);}
.sacred-orbit-thumb-index{position:absolute;right:-3px;bottom:-2px;min-width:26px;height:26px;padding:0 .4rem;border-radius:999px;display:flex;align-items:center;justify-content:center;background:rgba(4,10,24,.92);border:1px solid rgba(0,255,231,.28);font-family:var(--font-mono);font-size:.52rem;color:rgba(0,255,231,.82);animation:sacredOrbitCounterSpin 34s linear infinite reverse;}
.sacred-orbit-thumb.active .sacred-orbit-thumb-index{border-color:rgba(255,192,120,.7);color:#ffe1b6;}
.sacred-orbit-hint{font-family:var(--font-cormorant);font-size:.92rem;line-height:1.45;color:rgba(200,185,165,.72);margin-top:.55rem;padding-left:.2rem;}
@keyframes sacredPatternSpin{to{transform:rotate(360deg);}}
@keyframes sacredOrbitSpin{to{transform:rotate(360deg);}}
@keyframes sacredOrbitCounterSpin{to{transform:rotate(-360deg);}}
@media (max-width: 1180px){.sacred-reference-gallery{grid-template-columns:1fr;}.sacred-gallery-info{padding-top:0;}.sacred-gallery-stage-model{min-height:620px;}.sacred-stage-main-wrap{left:34%;top:48%;}}
@media (max-width: 900px){.sacred-gallery-stage-model{min-height:680px;padding:1.4rem;}.sacred-stage-copy{position:relative;top:auto;left:auto;max-width:none;margin-bottom:1rem;}.sacred-stage-main-wrap{position:relative;left:auto;top:auto;transform:none;margin:1rem auto 2rem;}.sacred-stage-main{width:min(300px,74vw);}.sacred-orbit-dock{position:relative;right:auto;bottom:auto;width:100%;margin-top:.5rem;}}
@media (max-width: 640px){.sacred-gallery-number{font-size:3rem;}.sacred-gallery-stage-model{min-height:auto;}.sacred-stage-main{width:min(270px,82vw);}.sacred-orbit-thumb{width:64px;height:64px;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-106px) rotate(calc(var(--angle) * -1));}.sacred-orbit-core{width:76px;height:76px;}#orbitCurrentNum{font-size:1.45rem;}}


/* ===== Sacred gallery v4: carrusel 3D ordenado ===== */
.sacred-gallery-section{max-width:1320px;margin:0 auto;padding:0 1rem;}
.sacred-tech-showcase{position:relative;padding:2.2rem;border-radius:34px;overflow:hidden;border:1px solid rgba(0,255,231,.12);background:radial-gradient(circle at 22% 24%, rgba(204,10,10,.18), transparent 24%),radial-gradient(circle at 80% 78%, rgba(0,255,231,.08), transparent 22%),linear-gradient(135deg, rgba(13,2,10,.98), rgba(5,9,28,.98));box-shadow:0 28px 80px rgba(0,0,0,.36), inset 0 0 0 1px rgba(255,255,255,.03);}
.sacred-tech-showcase::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px);background-size:120px 120px;opacity:.13;pointer-events:none;}
.sacred-tech-showcase::after{content:'';position:absolute;inset:18px;border-radius:26px;border:1px solid rgba(204,10,10,.12);pointer-events:none;}
.sacred-tech-top{position:relative;z-index:1;display:grid;grid-template-columns:minmax(320px, 480px) minmax(320px, 1fr);gap:2.2rem;align-items:center;padding-bottom:2rem;border-bottom:1px solid rgba(204,10,10,.12);}
.sacred-tech-portal-col{display:flex;justify-content:center;align-items:center;}
.sacred-tech-portal-shell{display:flex;flex-direction:column;align-items:center;gap:.9rem;}
.sacred-tech-portal{width:min(420px, 72vw);aspect-ratio:1;border:none;padding:0;background:radial-gradient(circle at 50% 48%, rgba(255,198,109,.24), rgba(204,10,10,.16) 42%, rgba(4,5,16,.92) 70%);border-radius:50%;position:relative;overflow:hidden;display:grid;place-items:center;cursor:pointer;box-shadow:0 0 0 1px rgba(255,190,120,.46),0 0 26px rgba(255,92,0,.24),0 0 90px rgba(204,10,10,.18), inset 0 0 76px rgba(255,84,0,.12);transition:transform .35s ease, box-shadow .35s ease;}
.sacred-tech-portal:hover{transform:translateY(-4px) scale(1.015);box-shadow:0 0 0 1px rgba(255,190,120,.62),0 0 34px rgba(255,92,0,.28),0 0 110px rgba(204,10,10,.22), inset 0 0 90px rgba(255,84,0,.18);}
.sacred-tech-portal-glow{position:absolute;inset:-6%;border-radius:50%;background:radial-gradient(circle, rgba(255,60,0,.2), rgba(255,60,0,0) 62%);filter:blur(18px);pointer-events:none;}
.sacred-tech-portal-core{width:77%;height:77%;border-radius:50%;overflow:hidden;position:relative;z-index:1;background:#130806;box-shadow:inset 0 0 0 1px rgba(255,220,180,.12);}
.sacred-tech-portal-core iframe{width:170%;height:170%;border:none;transform:scale(.59);transform-origin:top left;filter:saturate(1.05) contrast(1.05) brightness(.94);pointer-events:none;background:#0e0705;}
.sacred-tech-overlay{position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:screen;opacity:.74;animation:sacredPatternSpin 24s linear infinite;}
.sacred-tech-overlay svg{width:100%;height:100%;display:block;filter:drop-shadow(0 0 10px rgba(255,84,0,.18));}
.sacred-tech-caption{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,213,180,.6);text-align:center;}
.sacred-tech-copy{display:flex;flex-direction:column;justify-content:center;gap:1rem;padding-right:.5rem;}
.sacred-tech-number-row{display:flex;align-items:flex-end;gap:1rem;}
.sacred-tech-number{font-family:var(--font-display);font-size:clamp(3.4rem,7vw,5.8rem);line-height:.88;color:rgba(84,8,18,.92);}
.sacred-tech-kicker{font-family:var(--font-mono);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(0,255,231,.76);padding-bottom:.72rem;}
.sacred-tech-title{font-family:var(--font-cinzel);font-size:clamp(1.8rem,4vw,3.2rem);line-height:1.08;color:#f3e7d3;max-width:12ch;}
.sacred-tech-quote{margin:0;font-family:var(--font-cormorant);font-size:1.2rem;line-height:1.55;color:rgba(255,231,210,.86);font-style:italic;max-width:44ch;}
.sacred-tech-desc{font-family:var(--font-cormorant);font-size:1.02rem;line-height:1.75;color:rgba(210,195,178,.78);max-width:58ch;}
.sacred-tech-tags{display:flex;flex-wrap:wrap;gap:.55rem;}
.sacred-tech-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:.2rem;}
.sacred-tech-carousel-block{position:relative;z-index:1;padding-top:1.8rem;}
.sacred-tech-carousel-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;}
.sacred-tech-carousel-label{font-family:var(--font-mono);font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;color:rgba(0,255,231,.72);}
.sacred-tech-carousel-hint{font-family:var(--font-cormorant);font-size:1rem;color:rgba(215,200,186,.72);}
.sacred-tech-carousel-scene{position:relative;min-height:250px;padding:1.2rem 0 .6rem;perspective:1600px;overflow:hidden;}
.sacred-tech-carousel-grid{position:absolute;inset:0;border-radius:22px;background:radial-gradient(circle at 50% 20%, rgba(204,10,10,.08), transparent 26%),linear-gradient(180deg, rgba(255,255,255,.03) 1px, transparent 1px);background-size:100% 100%, 100% 72px;opacity:.4;pointer-events:none;}
.sacred-tech-carousel{position:relative;height:220px;transform-style:preserve-3d;}
.sacred-tech-slide{--offset:0;--abs:0;position:absolute;left:50%;top:50%;width:220px;height:132px;border:none;padding:0;background:none;cursor:pointer;transform-style:preserve-3d;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 165px)) translateY(calc(var(--abs) * 12px)) translateZ(calc((3 - var(--abs)) * 18px)) rotateY(calc(var(--offset) * -24deg)) scale(calc(1 - (var(--abs) * .12)));opacity:calc(1 - (var(--abs) * .16));filter:saturate(calc(1 - (var(--abs) * .08)));z-index:calc(50 - (var(--abs) * 10));transition:transform .55s cubic-bezier(.22,.7,.16,1), opacity .4s ease, filter .4s ease;}
.sacred-tech-slide[hidden]{display:none;}
.sacred-tech-slide-screen{display:block;width:100%;height:100%;overflow:hidden;border-radius:26px;border:1px solid rgba(0,255,231,.18);background:#05070f;box-shadow:0 14px 34px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.03);}
.sacred-tech-slide-screen iframe{width:200%;height:200%;border:none;transform:scale(.5);transform-origin:top left;filter:brightness(.74) contrast(1.04) saturate(1.03);pointer-events:none;background:#06070e;}
.sacred-tech-slide-glow{position:absolute;inset:auto 18px 8px;height:24px;background:radial-gradient(circle, rgba(255,64,0,.32), rgba(255,64,0,0) 72%);filter:blur(14px);opacity:.55;pointer-events:none;}
.sacred-tech-slide-meta{position:absolute;left:14px;right:14px;bottom:12px;display:flex;align-items:flex-end;justify-content:space-between;gap:.6rem;pointer-events:none;}
.sacred-tech-slide-meta strong{font-family:var(--font-display);font-size:1.4rem;line-height:1;color:rgba(255,235,215,.92);}
.sacred-tech-slide-meta small{font-family:var(--font-mono);font-size:.5rem;line-height:1.35;letter-spacing:.14em;text-transform:uppercase;color:rgba(0,255,231,.76);max-width:13ch;text-align:right;}
.sacred-tech-slide.is-active .sacred-tech-slide-screen{border-color:rgba(255,196,128,.72);box-shadow:0 0 0 1px rgba(255,196,128,.28),0 24px 44px rgba(0,0,0,.36),0 0 26px rgba(255,92,0,.18);}
.sacred-tech-slide.is-active iframe{filter:brightness(.98) contrast(1.08) saturate(1.08);}
.sacred-tech-slide.is-active .sacred-tech-slide-glow{opacity:.82;}
.sacred-tech-slide.is-near .sacred-tech-slide-screen{border-color:rgba(0,255,231,.26);}
.sacred-tech-slide:hover{filter:saturate(1.05);}
@media (max-width: 1100px){.sacred-tech-top{grid-template-columns:1fr;gap:1.5rem;}.sacred-tech-copy{padding-right:0;}.sacred-tech-title{max-width:none;}.sacred-tech-carousel-head{flex-direction:column;align-items:flex-start;}.sacred-tech-portal{width:min(380px,78vw);} .sacred-tech-slide{width:200px;height:120px;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 140px)) translateY(calc(var(--abs) * 12px)) translateZ(calc((3 - var(--abs)) * 14px)) rotateY(calc(var(--offset) * -20deg)) scale(calc(1 - (var(--abs) * .12)));}}
@media (max-width: 760px){.sacred-tech-showcase{padding:1.25rem;}.sacred-tech-top{padding-bottom:1.25rem;}.sacred-tech-number{font-size:3rem;}.sacred-tech-kicker{padding-bottom:.4rem;}.sacred-tech-title{font-size:2rem;}.sacred-tech-quote{font-size:1.05rem;}.sacred-tech-desc{font-size:.95rem;}.sacred-tech-actions{flex-direction:column;align-items:stretch;}.sacred-tech-actions > *{width:100%;justify-content:center;}.sacred-tech-carousel-scene{min-height:190px;padding-top:.8rem;}.sacred-tech-carousel{height:170px;}.sacred-tech-slide{width:160px;height:96px;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 82px)) translateY(calc(var(--abs) * 8px)) rotateY(calc(var(--offset) * -14deg)) scale(calc(1 - (var(--abs) * .11)));}.sacred-tech-slide-meta strong{font-size:1.1rem;}.sacred-tech-slide-meta small{font-size:.44rem;}}


/* ===== Sacred gallery v5: foco limpio para modelos ===== */
.sacred-gallery-section{padding:0 .4rem;}
.sacred-tech-showcase{padding:1.8rem 1.8rem 2rem;border-radius:30px;}
.sacred-tech-top{grid-template-columns:minmax(0,1.35fr) minmax(260px,.72fr);gap:1.4rem;align-items:start;padding-bottom:1.4rem;}
.sacred-tech-portal-col{justify-content:flex-start;align-items:flex-start;}
.sacred-tech-portal-shell{width:100%;align-items:flex-start;gap:.8rem;}
.sacred-tech-portal{width:min(100%,680px);max-width:680px;margin-inline:auto 0;aspect-ratio:1/1;box-shadow:0 0 0 1px rgba(255,190,120,.34),0 0 22px rgba(255,92,0,.18),0 0 70px rgba(204,10,10,.14), inset 0 0 58px rgba(255,84,0,.1);}
.sacred-tech-portal-shell .sacred-tech-caption{width:100%;text-align:center;color:rgba(245,213,180,.54);}
.sacred-tech-portal-core{width:79%;height:79%;background:#0b0912;position:relative;}
.sacred-tech-copy{max-width:390px;justify-self:end;align-self:center;gap:.8rem;padding-right:0;padding-left:.4rem;}
.sacred-tech-number{font-size:clamp(2.9rem,5vw,4.8rem);}
.sacred-tech-kicker{padding-bottom:.45rem;}
.sacred-tech-title{font-size:clamp(1.7rem,3.2vw,2.7rem);max-width:10ch;}
.sacred-tech-quote{font-size:1.02rem;line-height:1.5;max-width:26ch;color:rgba(255,231,210,.82);}
.sacred-tech-desc{font-size:.95rem;line-height:1.68;max-width:34ch;color:rgba(210,195,178,.75);}
.sacred-tech-actions{gap:.65rem;}
.sacred-tech-actions .btn-sacred-hero{min-width:unset;}
.sacred-tech-carousel-block{padding-top:1.25rem;}
.sacred-tech-carousel-head{margin-bottom:.75rem;}
.sacred-tech-carousel-hint{font-size:.92rem;}
.sacred-tech-carousel-scene{min-height:300px;padding:1rem .8rem .5rem;}
.sacred-tech-carousel{height:258px;}
.sacred-tech-slide{width:258px;height:154px;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 175px)) translateY(calc(var(--abs) * 12px)) translateZ(calc((3 - var(--abs)) * 20px)) rotateY(calc(var(--offset) * -22deg)) scale(calc(1 - (var(--abs) * .12)));}
.sacred-tech-slide-screen{border-radius:28px;position:relative;overflow:hidden;background:linear-gradient(135deg,#05070f,#0a0712);}
.sacred-tech-slide-meta{bottom:10px;}

/* Ajuste automático: los iframes se escalan para mostrarse completos */
.sacred-tech-portal-core iframe,
.sacred-tech-slide-screen iframe,
.sacred-modal-frame iframe{position:absolute;left:50%;top:50%;width:100%;height:100%;border:none;transform:translate(-50%,-50%) scale(1);transform-origin:top left;background:#07070d;}
.sacred-tech-portal-core iframe,
.sacred-tech-slide-screen iframe{pointer-events:none;}
.sacred-tech-slide.is-active iframe{filter:brightness(.98) contrast(1.08) saturate(1.08);}

@media (max-width: 1100px){
  .sacred-tech-top{grid-template-columns:1fr;gap:1.2rem;}
  .sacred-tech-copy{max-width:none;justify-self:stretch;padding-left:0;}
  .sacred-tech-title,.sacred-tech-desc,.sacred-tech-quote{max-width:none;}
  .sacred-tech-portal{max-width:560px;margin:0 auto;}
}

@media (max-width: 760px){
  .sacred-tech-showcase{padding:1.1rem;}
  .sacred-tech-carousel-scene{min-height:220px;padding:.6rem 0 .2rem;}
  .sacred-tech-carousel{height:185px;}
  .sacred-tech-slide{width:170px;height:102px;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 92px)) translateY(calc(var(--abs) * 8px)) rotateY(calc(var(--offset) * -14deg)) scale(calc(1 - (var(--abs) * .11)));}
}


/* ===== Sacred gallery v6: visor limpio y texto compacto ===== */
.sacred-tech-showcase{padding:1.55rem 1.55rem 1.8rem;background:radial-gradient(circle at 16% 22%, rgba(204,10,10,.14), transparent 22%),linear-gradient(135deg, rgba(13,2,10,.985), rgba(5,9,28,.985));}
.sacred-tech-showcase::before{opacity:.06;background:linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);background-size:140px 140px;}
.sacred-tech-showcase::after{inset:14px;border-radius:24px;border-color:rgba(204,10,10,.1);}
.sacred-tech-top{grid-template-columns:minmax(0,1.7fr) minmax(250px,.5fr);gap:1rem;align-items:start;padding-bottom:1.05rem;}
.sacred-tech-portal-col,.sacred-tech-portal-shell{width:100%;}
.sacred-tech-portal-col{justify-content:flex-start;align-items:flex-start;}
.sacred-tech-portal-shell{gap:.55rem;align-items:flex-start;}
.sacred-tech-portal{width:min(100%,760px);max-width:760px;aspect-ratio:1/1;border-radius:30px;background:linear-gradient(180deg, rgba(10,6,14,.98), rgba(6,8,20,.99));box-shadow:0 0 0 1px rgba(255,190,120,.22),0 16px 42px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.03);overflow:hidden;transform:none !important;}
.sacred-tech-portal:hover{transform:none;box-shadow:0 0 0 1px rgba(255,190,120,.28),0 18px 46px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.03);}
.sacred-tech-portal-glow,.sacred-tech-overlay{display:none;}
.sacred-tech-portal-core{width:100%;height:100%;border-radius:inherit;background:#06070d;box-shadow:none;border:1px solid rgba(255,255,255,.04);}
.sacred-tech-portal-core iframe{filter:saturate(1.02) contrast(1.02) brightness(.99);}
.sacred-tech-caption{width:100%;text-align:left;padding-left:.2rem;font-size:.58rem;letter-spacing:.16em;color:rgba(245,213,180,.48);}
.sacred-tech-copy{max-width:320px;justify-self:end;align-self:start;gap:.65rem;padding:.35rem 0 0 .15rem;}
.sacred-tech-number{font-size:clamp(2.4rem,4.2vw,4.2rem);color:rgba(84,8,18,.82);}
.sacred-tech-kicker{padding-bottom:.3rem;font-size:.62rem;letter-spacing:.16em;}
.sacred-tech-title{font-size:clamp(1.45rem,2.7vw,2.35rem);max-width:9ch;line-height:1.05;}
.sacred-tech-quote{font-size:.96rem;line-height:1.42;max-width:24ch;color:rgba(255,231,210,.76);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.sacred-tech-desc{font-size:.9rem;line-height:1.58;max-width:31ch;color:rgba(210,195,178,.7);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.sacred-tech-tags{gap:.45rem;}
.sacred-tech-tags span{font-size:.62rem;padding:.36rem .7rem;}
.sacred-tech-actions{gap:.55rem;margin-top:.1rem;}
.sacred-tech-actions .circular-btn,.sacred-tech-actions .btn-sacred-hero{padding:.9rem 1rem;}
.sacred-tech-carousel-block{padding-top:.95rem;}
.sacred-tech-carousel-head{margin-bottom:.55rem;}
.sacred-tech-carousel-hint{font-size:.85rem;}
.sacred-tech-carousel-scene{min-height:272px;padding:.8rem .35rem .25rem;}
.sacred-tech-carousel{height:238px;}
.sacred-tech-slide{width:238px;height:142px;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 162px)) translateY(calc(var(--abs) * 10px)) translateZ(calc((3 - var(--abs)) * 18px)) rotateY(calc(var(--offset) * -19deg)) scale(calc(1 - (var(--abs) * .115)));}
.sacred-tech-slide-screen{border-radius:24px;}
.sacred-tech-slide-meta{left:12px;right:12px;bottom:10px;}
.sacred-tech-slide-meta strong{font-size:1.2rem;}
.sacred-tech-slide-meta small{font-size:.48rem;max-width:11ch;}
.sacred-tech-carousel-grid{opacity:.24;}

@media (max-width: 1180px){
  .sacred-tech-top{grid-template-columns:minmax(0,1.35fr) minmax(250px,.58fr);}
  .sacred-tech-portal{max-width:680px;}
}

@media (max-width: 1100px){
  .sacred-tech-top{grid-template-columns:1fr;gap:1rem;}
  .sacred-tech-copy{max-width:none;justify-self:stretch;padding-left:0;}
  .sacred-tech-title,.sacred-tech-desc,.sacred-tech-quote{max-width:none;}
  .sacred-tech-quote{-webkit-line-clamp:unset;}
  .sacred-tech-desc{-webkit-line-clamp:unset;}
}

@media (max-width: 760px){
  .sacred-tech-showcase{padding:1rem;}
  .sacred-tech-portal{border-radius:22px;}
  .sacred-tech-caption{text-align:center;padding-left:0;}
  .sacred-tech-number-row{gap:.7rem;}
  .sacred-tech-carousel-scene{min-height:214px;padding:.5rem 0 .1rem;}
  .sacred-tech-carousel{height:182px;}
  .sacred-tech-slide{width:166px;height:100px;transform:translate(-50%,-50%) translateX(calc(var(--offset) * 88px)) translateY(calc(var(--abs) * 8px)) rotateY(calc(var(--offset) * -14deg)) scale(calc(1 - (var(--abs) * .11)));}
}


/* ===== Sacred gallery v7: visor más grande, limpio y sin borde de scroll ===== */
.sacred-tech-top{
  grid-template-columns:minmax(0,2.15fr) minmax(220px,.42fr);
  gap:.8rem;
}
.sacred-tech-portal{
  width:min(100%,880px);
  max-width:880px;
  min-height:720px;
  aspect-ratio:1 / 1;
  border-radius:34px;
}
.sacred-tech-portal-core{
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:0;
}
.sacred-tech-portal-core iframe,
.sacred-tech-slide-screen iframe,
.sacred-modal-frame iframe{
  position:absolute;
  left:50%;
  top:50%;
  max-width:none;
  max-height:none;
  border:0 !important;
  outline:none !important;
  box-shadow:none !important;
  background:#07070d;
}
.sacred-tech-copy{
  max-width:280px;
  gap:.55rem;
  padding-top:.15rem;
}
.sacred-tech-title{max-width:8ch;font-size:clamp(1.3rem,2.45vw,2.1rem);}
.sacred-tech-quote{font-size:.92rem;line-height:1.34;max-width:22ch;}
.sacred-tech-desc{font-size:.86rem;line-height:1.5;max-width:28ch;}
.sacred-tech-tags span{font-size:.58rem;padding:.34rem .62rem;}
.sacred-tech-actions .circular-btn,
.sacred-tech-actions .btn-sacred-hero{padding:.82rem .92rem;font-size:.82rem;}
.sacred-tech-carousel-block{padding-top:.78rem;}

@media (max-width: 1280px){
  .sacred-tech-top{grid-template-columns:minmax(0,1.8fr) minmax(240px,.52fr);} 
  .sacred-tech-portal{width:min(100%,820px);min-height:660px;}
}
@media (max-width: 1100px){
  .sacred-tech-top{grid-template-columns:1fr;gap:1rem;}
  .sacred-tech-copy{max-width:none;justify-self:stretch;}
  .sacred-tech-title,.sacred-tech-quote,.sacred-tech-desc{max-width:none;}
  .sacred-tech-portal{max-width:760px;min-height:0;aspect-ratio:1 / 1;}
}
@media (max-width: 760px){
  .sacred-tech-portal{width:100%;aspect-ratio:1 / 1;min-height:0;border-radius:26px;}
}

/* ===== Sacred gallery v8: visor más amplio, interacción activa y ajuste completo ===== */
.sacred-tech-top{
  grid-template-columns:minmax(0,2.5fr) minmax(210px,.34fr);
  gap:1rem;
  align-items:stretch;
}
.sacred-tech-portal-col,
.sacred-tech-portal-shell{
  width:100%;
}
.sacred-tech-portal{
  width:100%;
  max-width:none;
  height:clamp(760px, 82vh, 1040px);
  min-height:760px;
  aspect-ratio:auto;
  border-radius:34px;
  cursor:default;
}
.sacred-tech-portal-core{
  position:relative;
  width:100%;
  height:100%;
}
.sacred-tech-portal-core iframe{
  pointer-events:auto;
}
.sacred-tech-copy{
  max-width:245px;
  justify-self:end;
  align-self:center;
}
.sacred-tech-title{
  max-width:7ch;
  font-size:clamp(1.22rem,2.2vw,1.92rem);
}
.sacred-tech-quote{
  max-width:21ch;
  font-size:.9rem;
}
.sacred-tech-desc{
  max-width:26ch;
  font-size:.84rem;
}
.sacred-tech-actions{
  align-items:flex-start;
}
.sacred-tech-actions .circular-btn,
.sacred-tech-actions .btn-sacred-hero{
  min-height:48px;
}
.sacred-modal-inner{
  max-width:min(1540px,96vw);
  max-height:95vh;
  grid-template-columns:minmax(0,1fr) 320px;
}
.sacred-modal-frame{
  position:relative;
  min-height:72vh;
  background:#07070d;
}
.sacred-modal-frame iframe{
  pointer-events:auto;
}

@media (max-width: 1280px){
  .sacred-tech-top{
    grid-template-columns:minmax(0,2.05fr) minmax(230px,.46fr);
  }
  .sacred-tech-portal{
    height:clamp(680px, 76vh, 920px);
    min-height:680px;
  }
}

@media (max-width: 1100px){
  .sacred-tech-top{
    grid-template-columns:1fr;
  }
  .sacred-tech-copy{
    max-width:none;
    justify-self:stretch;
    align-self:start;
  }
  .sacred-tech-title,
  .sacred-tech-quote,
  .sacred-tech-desc{
    max-width:none;
  }
  .sacred-tech-portal{
    height:clamp(560px, 72vh, 860px);
    min-height:560px;
  }
}

@media (max-width: 760px){
  .sacred-tech-portal{
    height:clamp(420px, 62vh, 680px);
    min-height:420px;
    border-radius:24px;
  }
  .sacred-modal-inner{
    grid-template-columns:1fr;
    max-height:94vh;
  }
  .sacred-modal-frame{
    min-height:50vh;
  }
}


/* ===== Galería académica 3D ===== */

.academic-gallery-3d{max-width:1320px;margin:0 auto;padding:0 1rem;}
.academic-gallery-3d-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.72fr);gap:1.35rem;align-items:stretch;margin-bottom:1.25rem;}
.academic-gallery-3d-current{position:relative;min-height:560px;border-radius:32px;overflow:hidden;background:linear-gradient(160deg,rgba(12,15,32,.98),rgba(8,8,16,.98));border:1px solid rgba(0,255,231,.14);box-shadow:0 26px 70px rgba(0,0,0,.34);}
.academic-gallery-3d-current-btn{position:absolute;inset:0;border:0;background:none;padding:0;cursor:pointer;text-align:left;}
.academic-gallery-3d-current img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.98) contrast(1.03) brightness(.92);transition:transform .8s ease,filter .35s ease;}
.academic-gallery-3d-current:hover img{transform:scale(1.03);filter:saturate(1.03) contrast(1.06) brightness(.98);}
.academic-gallery-3d-current::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,8,20,.06),rgba(5,7,15,.1) 40%,rgba(3,5,10,.88) 100%);pointer-events:none;}
.academic-gallery-3d-current-overlay{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:1.6rem 1.5rem 1.5rem;color:#f2e8d5;}
.academic-gallery-3d-current-kicker{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(0,255,231,.78);margin-bottom:.7rem;display:block;}
.academic-gallery-3d-current-overlay h3{font-family:var(--font-cinzel);font-size:clamp(1.55rem,3vw,2.5rem);line-height:1.04;color:#f5eddd;margin-bottom:.7rem;max-width:14ch;}
.academic-gallery-3d-current-overlay p{font-size:.96rem;line-height:1.72;color:rgba(218,209,194,.8);max-width:54ch;}
.academic-gallery-3d-current-badge{position:absolute;top:1.2rem;left:1.2rem;z-index:2;padding:.46rem .85rem;border-radius:999px;background:rgba(0,255,231,.08);border:1px solid rgba(0,255,231,.22);font-family:var(--font-mono);font-size:.63rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(0,255,231,.84);}

.academic-gallery-3d-meta{display:flex;flex-direction:column;justify-content:center;gap:.75rem;padding:1.15rem 1.05rem;border-radius:28px;background:linear-gradient(180deg,rgba(14,9,20,.64),rgba(8,10,22,.42));border:1px solid rgba(204,10,10,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);min-width:0;}
.academic-gallery-3d-kicker{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:rgba(0,255,231,.82);}
.academic-gallery-3d-counter{display:flex;align-items:baseline;gap:.35rem;font-family:var(--font-mono);color:rgba(204,10,10,.8);}
.academic-gallery-3d-counter span:first-child{font-size:2.1rem;line-height:1;color:rgba(204,10,10,.38);}
.academic-gallery-3d-counter span:not(:first-child){font-size:.9rem;letter-spacing:.18em;}
.academic-gallery-3d-meta h3{font-family:var(--font-cinzel);font-size:clamp(1.4rem,2.8vw,2.2rem);line-height:1.08;color:#f5eddd;margin:0;max-width:12ch;}
.academic-gallery-3d-meta p{font-size:.98rem;line-height:1.72;color:rgba(210,199,185,.8);margin:0;}
.academic-gallery-3d-chips{display:flex;flex-wrap:wrap;gap:.5rem;}
.academic-gallery-chip{padding:.45rem .8rem;border-radius:999px;border:1px solid rgba(204,10,10,.18);background:rgba(12,11,20,.56);font-family:var(--font-mono);font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(245,213,180,.72);}
.academic-gallery-3d-actions{display:flex;gap:.7rem;flex-wrap:wrap;padding-top:.1rem;}
.academic-gallery-3d-nav{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 1.08rem;border-radius:14px;border:1px solid rgba(0,255,231,.18);background:rgba(9,14,28,.66);font-family:var(--font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#c8eef0;cursor:pointer;transition:transform .25s ease,background .25s ease,border-color .25s ease;}
.academic-gallery-3d-nav:hover{transform:translateY(-2px);border-color:rgba(0,255,231,.34);background:rgba(13,20,38,.82);}
.academic-gallery-3d-note{font-family:var(--font-cormorant);font-size:1rem;color:rgba(198,184,164,.72);max-width:32ch;}


@media(max-width:1100px){
  .academic-gallery-3d-top{grid-template-columns:1fr;}
  .academic-gallery-3d-current{min-height:500px;}
  .academic-gallery-3d-meta{max-width:none;}
}
@media(max-width:720px){
  .academic-gallery-3d{padding:0 .7rem;}
  .academic-gallery-3d-current{min-height:420px;border-radius:24px;}
  .academic-gallery-3d-current-overlay{padding:1.2rem 1rem 1rem;}
  .academic-gallery-3d-meta{padding:1rem .95rem;border-radius:22px;}
  .academic-gallery-3d-actions{gap:.55rem;}
  .academic-gallery-3d-nav{flex:1 1 160px;}
  .academic-gallery-3d-swiper .swiper-slide{width:min(250px,82vw);height:300px;}
}
@media(max-width:520px){
  .academic-gallery-3d-current{min-height:360px;}
  .academic-gallery-3d-current-overlay h3{font-size:1.45rem;}
  .academic-gallery-3d-meta h3{font-size:1.5rem;}
  .academic-gallery-3d-swiper .swiper-slide{height:270px;}
}

/* ===== Sacred gallery v11: balance visor principal + panel derecho ===== */
.sacred-gallery-section{
  max-width: 1400px;
  padding: 0 .75rem;
}

.sacred-tech-showcase{
  padding: 1.6rem;
  border-radius: 32px;
}

.sacred-tech-top{
  grid-template-columns: minmax(0, 1.95fr) minmax(300px, .74fr);
  gap: 1.45rem;
  align-items: center;
  padding-bottom: .3rem;
  border-bottom: none;
}

.sacred-tech-portal-col,
.sacred-tech-portal-shell{
  min-width: 0;
}

.sacred-tech-portal{
  width: 100%;
  height: clamp(620px, 74vh, 900px);
  min-height: 620px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8,7,15,.995), rgba(5,7,18,.995));
  box-shadow: 0 0 0 1px rgba(255,190,120,.2), 0 20px 54px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.025);
}

.sacred-tech-portal-core{
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.sacred-tech-caption{
  padding-left: .2rem;
  font-size: .56rem;
  letter-spacing: .18em;
  color: rgba(245,213,180,.42);
}

.sacred-tech-copy{
  max-width: 340px;
  width: 100%;
  justify-self: end;
  align-self: center;
  padding: 1.1rem 1.05rem 1.05rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17,5,10,.66), rgba(9,5,16,.42));
  border: 1px solid rgba(204,10,10,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  gap: .65rem;
}

.sacred-tech-number-row{
  gap: .85rem;
  align-items: flex-end;
}

.sacred-tech-number{
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: .86;
}

.sacred-tech-kicker{
  font-size: .62rem;
  letter-spacing: .18em;
  padding-bottom: .4rem;
  color: rgba(0,255,231,.72);
}

.sacred-tech-title{
  max-width: 8ch;
  font-size: clamp(1.45rem, 2.55vw, 2.35rem);
  line-height: 1.08;
}

.sacred-tech-quote{
  margin-top: .05rem;
  font-size: .96rem;
  line-height: 1.45;
  max-width: 25ch;
  color: rgba(248,226,205,.82);
}

.sacred-tech-desc{
  font-size: .88rem;
  line-height: 1.62;
  max-width: 32ch;
  color: rgba(208,194,178,.72);
}

.sacred-tech-tags{
  gap: .45rem;
}

.sacred-tech-tags span{
  font-size: .56rem;
  padding: .34rem .62rem;
}

.sacred-tech-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.sacred-tech-actions .btn-sacred-hero{
  grid-column: 1 / -1;
}

.sacred-tech-actions .circular-btn,
.sacred-tech-actions .btn-sacred-hero{
  min-height: 46px;
  justify-content: center;
}

.sacred-tech-nav-meta{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .75rem;
  margin-top: .15rem;
}

.sacred-tech-counter{
  display: inline-flex;
  align-items: baseline;
  gap: .32rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,225,205,.78);
  white-space: nowrap;
}

.sacred-tech-counter span:first-child{
  color: var(--neon-cyan);
}

.sacred-tech-dots{
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}

.sacred-tech-dot{
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(0,255,231,.32);
  background: rgba(0,255,231,.08);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.sacred-tech-dot:hover{
  transform: scale(1.15);
  border-color: rgba(0,255,231,.62);
  background: rgba(0,255,231,.18);
}

.sacred-tech-dot.is-active{
  background: rgba(255,84,0,.72);
  border-color: rgba(255,194,122,.85);
  box-shadow: 0 0 0 2px rgba(255,84,0,.14), 0 0 12px rgba(255,84,0,.22);
}

@media (max-width: 1280px){
  .sacred-tech-top{
    grid-template-columns: minmax(0,1.72fr) minmax(290px,.78fr);
  }
  .sacred-tech-portal{
    height: clamp(560px, 68vh, 800px);
    min-height: 560px;
  }
}

@media (max-width: 1100px){
  .sacred-tech-top{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sacred-tech-copy{
    max-width: none;
    justify-self: stretch;
    align-self: start;
    padding: 1rem;
  }
  .sacred-tech-title,
  .sacred-tech-quote,
  .sacred-tech-desc{
    max-width: none;
  }
}

@media (max-width: 760px){
  .sacred-gallery-section{
    padding: 0 .35rem;
  }
  .sacred-tech-showcase{
    padding: 1rem;
  }
  .sacred-tech-portal{
    height: clamp(420px, 60vh, 640px);
    min-height: 420px;
    border-radius: 24px;
  }
  .sacred-tech-number-row{
    gap: .6rem;
  }
  .sacred-tech-actions{
    grid-template-columns: 1fr;
  }
  .sacred-tech-nav-meta{
    grid-template-columns: 1fr;
    gap: .55rem;
  }
}


/* ===== Sacred gallery v12: panel derecho más fino ===== */
.sacred-tech-top{
  grid-template-columns:minmax(560px,1.26fr) minmax(300px,.74fr);
  gap:1.6rem;
  align-items:center;
}
.sacred-tech-portal{
  width:min(100%,920px);
  height:clamp(580px, 70vh, 860px);
  min-height:580px;
  border-radius:32px;
}
.sacred-tech-panel{
  max-width:360px;
  justify-self:end;
  align-self:center;
  padding:1.05rem 1rem 1rem 1.15rem;
  gap:.75rem;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(8,10,22,.62), rgba(8,10,22,.28));
  border:1px solid rgba(0,255,231,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.sacred-tech-panel .aw-eyebrow{
  margin:0;
  font-size:.62rem;
  letter-spacing:.18em;
}
.sacred-tech-number-row{
  gap:.8rem;
  align-items:flex-end;
}
.sacred-tech-number{
  font-size:clamp(2.15rem,3.8vw,3.85rem);
  color:rgba(108,12,26,.72);
}
.sacred-tech-kicker{
  font-size:.6rem;
  letter-spacing:.18em;
  padding-bottom:.4rem;
}
.sacred-tech-title{
  max-width:9ch;
  font-size:clamp(1.32rem,2.15vw,2rem);
  line-height:1.06;
}
.sacred-tech-panel .aw-divider{
  margin:.05rem 0 .15rem;
  width:72px;
  opacity:.82;
}
.sacred-tech-quote{display:none;}
.sacred-tech-desc{
  margin:0;
  max-width:29ch;
  font-size:.9rem;
  line-height:1.56;
  color:rgba(223,210,196,.76);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.sacred-tech-tags{
  gap:.42rem;
}
.sacred-tech-tags span{
  font-size:.58rem;
  padding:.34rem .66rem;
}
.sacred-tech-actions{
  gap:.55rem;
  margin-top:.1rem;
}
.sacred-tech-actions .circular-btn,
.sacred-tech-actions .btn-sacred-hero{
  min-height:42px;
  padding:.74rem .9rem;
  font-size:.66rem;
  letter-spacing:.12em;
}
.sacred-tech-actions .btn-sacred-hero{
  width:100%;
}
.sacred-tech-nav-meta{
  gap:.6rem;
  margin-top:.05rem;
}
.sacred-tech-counter{
  font-size:.68rem;
}
.sacred-tech-dots{
  gap:.34rem;
}
.sacred-tech-dot{
  width:9px;
  height:9px;
}
@media (max-width: 1280px){
  .sacred-tech-top{
    grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);
    gap:1.2rem;
  }
  .sacred-tech-portal{
    height:clamp(540px, 66vh, 760px);
    min-height:540px;
  }
}
@media (max-width: 1100px){
  .sacred-tech-top{grid-template-columns:1fr;}
  .sacred-tech-panel{
    max-width:none;
    justify-self:stretch;
    padding:1rem;
  }
  .sacred-tech-title,
  .sacred-tech-desc{max-width:none;}
  .sacred-tech-desc{-webkit-line-clamp:unset;}
}
@media (max-width: 760px){
  .sacred-tech-portal{
    height:clamp(400px, 58vh, 620px);
    min-height:400px;
  }
  .sacred-tech-panel{padding:.9rem .85rem;}
  .sacred-tech-actions .btn-sacred-hero{width:100%;}
}

/* ===== Sacred gallery v13: tipografía y ritmo vertical del panel derecho ===== */
.sacred-tech-panel{
  display:grid;
  align-content:start;
  align-items:start;
  max-width:332px;
  padding:1rem 1rem .95rem 1.05rem;
  gap:.56rem;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(7,10,24,.74), rgba(7,10,24,.42));
  border:1px solid rgba(0,255,231,.085);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter:blur(8px);
}
.sacred-tech-panel .aw-eyebrow{
  margin:0;
  font-size:.56rem;
  line-height:1.35;
  letter-spacing:.17em;
  color:rgba(0,255,231,.66);
}
.sacred-tech-number-row{
  gap:.7rem;
  align-items:flex-end;
  margin-top:.02rem;
}
.sacred-tech-number{
  font-size:clamp(2rem,3.4vw,3.45rem);
  line-height:.82;
  color:rgba(118,14,28,.68);
}
.sacred-tech-kicker{
  max-width:14ch;
  padding-bottom:.26rem;
  font-size:.56rem;
  line-height:1.32;
  letter-spacing:.16em;
  color:rgba(0,255,231,.72);
}
.sacred-tech-title{
  margin:0;
  max-width:9ch;
  font-size:clamp(1.24rem,2vw,1.82rem);
  line-height:1.04;
  letter-spacing:.028em;
  text-wrap:balance;
}
.sacred-tech-panel .aw-divider{
  width:62px;
  margin:.08rem 0 .08rem;
  opacity:.72;
}
.sacred-tech-desc{
  max-width:30ch;
  margin:0;
  font-size:.83rem;
  line-height:1.5;
  color:rgba(223,210,196,.74);
  -webkit-line-clamp:3;
}
.sacred-tech-tags{
  gap:.38rem;
}
.sacred-tech-tags span{
  font-size:.54rem;
  line-height:1.15;
  padding:.34rem .62rem;
  border-radius:999px;
  color:rgba(244,188,162,.84);
}
.sacred-tech-actions{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.48rem;
  margin-top:.08rem;
}
.sacred-tech-actions .circular-btn,
.sacred-tech-actions .btn-sacred-hero{
  min-height:40px;
  padding:.72rem .82rem;
  font-size:.62rem;
  letter-spacing:.1em;
  border-radius:12px;
  justify-content:center;
}
.sacred-tech-actions .btn-sacred-hero{
  grid-column:1 / -1;
  width:100%;
}
.sacred-tech-nav-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.6rem;
  margin-top:.06rem;
}
.sacred-tech-counter{
  font-size:.62rem;
  letter-spacing:.14em;
  color:rgba(245,213,180,.72);
}
.sacred-tech-dots{
  gap:.3rem;
  justify-content:flex-end;
}
.sacred-tech-dot{
  width:8px;
  height:8px;
}

@media (max-width: 1100px){
  .sacred-tech-panel{
    max-width:none;
    padding:.95rem .95rem .9rem;
    gap:.6rem;
  }
  .sacred-tech-title,
  .sacred-tech-desc{
    max-width:none;
  }
}

@media (max-width: 760px){
  .sacred-tech-panel{
    padding:.88rem .82rem .84rem;
  }
  .sacred-tech-actions{
    grid-template-columns:1fr;
  }
  .sacred-tech-actions .btn-sacred-hero{
    grid-column:auto;
  }
}

/* ============================================================
   HERO REFINADO V14 — arranque más premium y jerárquico
============================================================ */
#inicio{
  isolation:isolate;
}
#inicio::before{
  content:'';
  position:absolute;
  inset:auto 0 0 0;
  height:180px;
  background:linear-gradient(180deg,transparent 0%,rgba(3,6,16,.88) 100%);
  z-index:0;
  pointer-events:none;
}
.hero-ambient{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.25;
  pointer-events:none;
  z-index:0;
}
.hero-ambient-left{
  width:320px;
  height:320px;
  left:-60px;
  top:120px;
  background:radial-gradient(circle,rgba(204,10,10,.45) 0%,rgba(204,10,10,0) 72%);
}
.hero-ambient-right{
  width:360px;
  height:360px;
  right:-40px;
  top:90px;
  background:radial-gradient(circle,rgba(0,255,231,.16) 0%,rgba(0,255,231,0) 70%);
}
.hero-content-premium{
  max-width:1280px;
  gap:4rem;
  align-items:stretch;
}
.hero-left{
  justify-content:center;
}
.hero-topline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.9rem;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(232,244,255,.66);
}
.hero-kicker::before{
  content:'';
  width:22px;
  height:1px;
  background:linear-gradient(90deg,var(--neon-cyan),transparent);
}
.hero-identity-card{
  position:relative;
  padding:1.2rem 1.3rem;
  border:1px solid rgba(0,255,231,.12);
  background:linear-gradient(180deg,rgba(6,12,27,.78) 0%,rgba(8,15,32,.38) 100%);
  border-radius:24px;
  overflow:hidden;
  backdrop-filter:blur(14px);
  box-shadow:0 22px 50px rgba(0,0,0,.28);
}
.hero-identity-card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,255,231,.08),transparent 38%,rgba(204,10,10,.08) 100%);
  pointer-events:none;
}
.hero-profile-premium{
  gap:1.15rem;
  align-items:center;
}
.hero-photo-frame{
  width:148px;
  height:148px;
}
.hero-photo{
  width:100%;
  height:100%;
}
.hero-info-premium{
  position:relative;
  z-index:1;
}
.hero-mini-label{
  display:block;
  margin-bottom:.55rem;
  font-family:var(--font-mono);
  font-size:.68rem;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:var(--lb-panel-accent, var(--neon-cyan));
}
.hero-info-premium h1{
  font-family:var(--font-cinzel);
  font-size:clamp(1.5rem,3vw,2.2rem);
  line-height:1.05;
  letter-spacing:.05em;
  margin-bottom:.75rem;
}
.hero-info-premium h1 span{
  background:none;
  -webkit-text-fill-color:initial;
  color:#f3ecdf;
}
.hero-info-premium p{
  max-width:48ch;
  color:rgba(232,244,255,.74);
  font-size:.92rem;
  line-height:1.75;
}
.hero-copy-block{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.hero-headline-premium{
  font-size:clamp(2.6rem,5.3vw,4.35rem);
  line-height:.98;
  letter-spacing:.02em;
  max-width:11ch;
}
.hero-desc-premium{
  max-width:56ch;
  font-size:1rem;
  color:rgba(196,213,232,.74);
}
.hero-metrics-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.9rem;
  max-width:720px;
}
.hero-metric-card{
  padding:1rem 1rem .95rem;
  border-radius:18px;
  border:1px solid rgba(0,255,231,.11);
  background:linear-gradient(180deg,rgba(255,255,255,.03) 0%,rgba(255,255,255,.01) 100%);
  min-height:96px;
}
.hero-metric-card strong{
  display:block;
  font-family:var(--font-display);
  font-size:1.6rem;
  letter-spacing:.08em;
  color:#f4ecdd;
  margin-bottom:.35rem;
}
.hero-metric-card span{
  display:block;
  font-family:var(--font-mono);
  font-size:.72rem;
  line-height:1.5;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(232,244,255,.64);
}
.hero-right{
  aspect-ratio:auto;
  min-height:620px;
}
.hero-stage{
  position:relative;
  width:100%;
  min-height:620px;
  padding:1.35rem;
  border-radius:32px;
  overflow:hidden;
  border:1px solid rgba(0,255,231,.14);
  background:
    linear-gradient(180deg,rgba(9,14,31,.88) 0%,rgba(8,12,24,.66) 100%),
    radial-gradient(circle at 24% 28%,rgba(204,10,10,.14) 0%,transparent 42%),
    radial-gradient(circle at 80% 18%,rgba(0,255,231,.08) 0%,transparent 35%);
  box-shadow:0 28px 80px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.02);
}
.hero-stage::before{
  content:'';
  position:absolute;
  inset:12px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.04);
  pointer-events:none;
}
.hero-stage-topline,
.hero-stage-footer{
  position:relative;
  z-index:2;
}
.hero-stage-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}
.hero-stage-tag,
.hero-stage-note,
.hero-stage-stat span{
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:.16em;
}
.hero-stage-tag{
  color:var(--lb-panel-accent, var(--neon-cyan));
  font-size:.68rem;
}
.hero-stage-note{
  color:rgba(244,236,221,.56);
  font-size:.62rem;
  text-align:right;
}
.hero-stage-visual{
  position:relative;
  min-height:430px;
  border-radius:24px;
  border:1px solid rgba(0,255,231,.1);
  background:
    linear-gradient(180deg,rgba(5,10,21,.7) 0%,rgba(6,9,18,.95) 100%),
    radial-gradient(circle at center,rgba(0,255,231,.05) 0%,transparent 52%);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-bottom:1rem;
}
.hero-stage-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(0,255,231,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,255,231,.05) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:radial-gradient(circle at center,black 30%,transparent 85%);
  pointer-events:none;
}
.hero-loader-card{
  position:relative;
  z-index:2;
  max-width:670px;
  padding:1.2rem;
  border-radius:28px;
  background:linear-gradient(180deg,rgba(3,6,16,.55) 0%,rgba(3,6,16,.15) 100%);
  border:1px solid rgba(255,255,255,.04);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.hero-stage-orb{
  position:absolute;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,255,231,.9) 0%,rgba(0,255,231,.12) 45%,rgba(0,255,231,0) 74%);
  box-shadow:0 0 25px rgba(0,255,231,.25);
  z-index:1;
  animation:hero-orbit-float 6s ease-in-out infinite;
}
.hero-stage-orb-a{
  width:18px;
  height:18px;
  top:72px;
  right:64px;
}
.hero-stage-orb-b{
  width:12px;
  height:12px;
  bottom:90px;
  left:42px;
  animation-delay:-2.4s;
}
@keyframes hero-orbit-float{
  0%,100%{transform:translateY(0);}50%{transform:translateY(-14px);}
}
.hero-stage-footer{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.75rem;
}
.hero-stage-stat{
  padding:.95rem 1rem;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.025);
}
.hero-stage-stat strong{
  display:block;
  margin-top:.35rem;
  color:#f3ecdf;
  font-family:var(--font-cinzel);
  font-size:1rem;
  line-height:1.3;
}
.hero-stage-stat span{
  font-size:.62rem;
  color:rgba(0,255,231,.82);
}

@media(max-width:1180px){
  .hero-content-premium{gap:2.6rem;}
  .hero-headline-premium{max-width:12ch;}
  .hero-right{min-height:560px;}
  .hero-stage{min-height:560px;}
  .hero-stage-visual{min-height:380px;}
  .hero-stage-footer{grid-template-columns:1fr;}
}
@media(max-width:768px){
  .hero-topline{gap:.65rem;}
  .hero-kicker{font-size:.64rem;}
  .hero-identity-card{padding:1rem;}
  .hero-profile-premium{align-items:flex-start;gap:1rem;}
  .hero-photo-frame{width:110px;height:110px;}
  .hero-info-premium h1{font-size:1.45rem;}
  .hero-headline-premium{font-size:clamp(2.15rem,10vw,3.1rem);max-width:none;}
  .hero-metrics-strip{grid-template-columns:1fr;max-width:none;}
  .hero-metric-card{min-height:auto;}
}
@media(max-width:560px){
  .hero-profile-premium{flex-direction:column;align-items:flex-start;}
  .hero-topline{align-items:flex-start;}
}


/* ===== GEOMETRÍA AWAJÚN · MUSEO 3D ===== */
.sacred-gallery-section{margin-top:1.2rem;}
.sacred-museum-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:1.4rem;align-items:stretch;}
.sacred-museum-stage{position:relative;padding:1.2rem;border-radius:34px;background:linear-gradient(180deg, rgba(9,11,28,.96), rgba(6,7,18,.98));border:1px solid rgba(0,255,231,.12);box-shadow:0 22px 70px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.03);overflow:hidden;}
.sacred-museum-stage::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 12% 14%, rgba(0,255,231,.08), transparent 18%),radial-gradient(circle at 82% 76%, rgba(204,10,10,.08), transparent 20%);pointer-events:none;}
.museum-room-shell{position:relative;z-index:1;border-radius:28px;overflow:hidden;min-height:640px;background:linear-gradient(180deg, #f5f0e5 0%, #ece3d3 26%, #e5d9c8 27%, #cdbda7 100%);box-shadow:inset 0 0 0 1px rgba(110,71,33,.15), 0 16px 44px rgba(0,0,0,.2);}
.museum-room{position:relative;height:100%;min-height:640px;perspective:1800px;transform-style:preserve-3d;overflow:hidden;background:linear-gradient(180deg, #f4eee2 0%, #efe4d3 28%, #dbc8ae 29%, #bfa585 100%);}
.museum-ceiling{position:absolute;left:50%;top:0;width:100%;height:19%;transform:translateX(-50%) perspective(1000px) rotateX(78deg);transform-origin:top center;background:linear-gradient(180deg,#faf6ef,#e6ddcf);opacity:.94;box-shadow:0 18px 28px rgba(0,0,0,.12);}
.museum-floor{position:absolute;left:50%;bottom:-22%;width:118%;height:44%;transform:translateX(-50%) perspective(1200px) rotateX(77deg);transform-origin:top center;background:linear-gradient(180deg,#9b7b57,#7a5b3d 52%,#5e442c 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18);}
.museum-floor::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg, rgba(58,34,18,.42) 0 2px, rgba(255,255,255,.02) 2px 74px);opacity:.3;}
.museum-wall{position:absolute;top:0;bottom:28%;background:linear-gradient(180deg,#f7f1e6,#ebdfcf);box-shadow:inset 0 0 0 1px rgba(98,67,39,.08);}
.museum-wall-center{left:27%;right:27%;border-left:1px solid rgba(118,82,46,.16);border-right:1px solid rgba(118,82,46,.16);}
.museum-wall-left{left:-13%;width:44%;transform:skewY(0deg) perspective(1200px) rotateY(24deg);transform-origin:right center;}
.museum-wall-right{right:-13%;width:44%;transform:perspective(1200px) rotateY(-24deg);transform-origin:left center;}
.museum-artwork{position:absolute;border:none;background:none;padding:0;cursor:pointer;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.22,.7,.16,1), filter .35s ease, opacity .35s ease;filter:drop-shadow(0 16px 30px rgba(0,0,0,.22));}
.museum-artwork:hover{filter:drop-shadow(0 22px 36px rgba(0,0,0,.28));}
.museum-art-frame{display:block;position:relative;width:100%;height:100%;padding:12px;background:linear-gradient(180deg,#20140d,#100a07);border:4px solid #8c6b47;border-radius:10px;box-shadow:0 0 0 1px rgba(255,234,204,.12), inset 0 0 0 1px rgba(255,255,255,.05);overflow:hidden;}
.museum-art-frame::before{content:'';position:absolute;inset:10px;border:1px solid rgba(255,236,217,.14);pointer-events:none;}
.museum-art-frame-main{padding:15px;border-width:5px;}
.museum-frame-iframe{width:100%;height:100%;border:none;background:#f4eee4;pointer-events:none;display:block;}
.museum-art-meta{position:absolute;left:18px;right:18px;bottom:-34px;display:flex;justify-content:space-between;align-items:center;gap:.5rem;color:#efe4d2;text-shadow:0 2px 10px rgba(0,0,0,.35);pointer-events:none;}
.museum-art-meta strong{font-family:var(--font-display);font-size:1.1rem;color:#ebdfcb;}
.museum-art-meta small{font-family:var(--font-mono);font-size:.5rem;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,248,240,.72);}
.museum-art-meta-main{bottom:-42px;}
.museum-art-meta-main strong{font-size:1.35rem;}
.museum-artwork-left-far{left:4%;top:18%;width:16%;aspect-ratio:16 / 10;height:auto;transform:perspective(1400px) rotateY(34deg) translateZ(-60px);opacity:.72;}
.museum-artwork-left-near{left:14%;top:20%;width:20%;aspect-ratio:16 / 10;height:auto;transform:perspective(1400px) rotateY(24deg) translateZ(-18px);opacity:.92;}
.museum-artwork-center{left:50%;top:50%;width:min(54vw,700px);aspect-ratio:16 / 10;height:auto;transform:translate(-50%,-54%) translateZ(40px);z-index:4;}
.museum-artwork-center .museum-art-frame{border-color:#b79062;box-shadow:0 0 0 1px rgba(255,239,214,.16), 0 28px 60px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.05);}
.museum-artwork-right-near{right:14%;top:20%;width:20%;aspect-ratio:16 / 10;height:auto;transform:perspective(1400px) rotateY(-24deg) translateZ(-18px);opacity:.92;}
.museum-artwork-right-far{right:4%;top:18%;width:16%;aspect-ratio:16 / 10;height:auto;transform:perspective(1400px) rotateY(-34deg) translateZ(-60px);opacity:.72;}
.museum-artwork.is-active{filter:drop-shadow(0 28px 46px rgba(0,0,0,.32));}
.museum-artwork.is-active .museum-art-frame{border-color:#d7b48a;}
.museum-hotspot{position:absolute;width:18px;height:18px;border-radius:50%;border:2px solid rgba(0,255,231,.85);box-shadow:0 0 18px rgba(0,255,231,.42);}
.museum-hotspot::before{content:'';position:absolute;inset:4px;border-radius:50%;background:#00ffe7;}
.museum-hotspot-left{left:22%;top:36%;}
.museum-hotspot-right{right:22%;top:46%;}
.museum-room-label{position:absolute;left:50%;bottom:5%;transform:translateX(-50%);font-family:var(--font-mono);font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:rgba(70,45,24,.7);background:rgba(255,247,233,.82);padding:.55rem .85rem;border-radius:999px;border:1px solid rgba(123,87,45,.18);box-shadow:0 8px 20px rgba(0,0,0,.1);}
.museum-scene-nav{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-top:4rem;}
.museum-dots-wrap{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;flex:1;}
.sacred-museum-panel{padding:1.3rem 1.15rem;border-radius:30px;background:linear-gradient(180deg, rgba(14,9,21,.96), rgba(7,8,18,.98));border:1px solid rgba(204,10,10,.12);box-shadow:0 18px 46px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.03);display:flex;flex-direction:column;justify-content:center;}
.sacred-museum-number-row{gap:.9rem;}
.sacred-museum-panel .sacred-tech-title{max-width:9ch;}
.sacred-museum-panel .sacred-tech-desc{max-width:30ch;}
.sacred-museum-actions{margin-top:.15rem;}
.sacred-museum-meta{align-items:flex-start;gap:.8rem;}
.museum-panel-note{margin:0;font-family:var(--font-cormorant);font-size:.96rem;line-height:1.55;color:rgba(220,205,188,.72);max-width:28ch;}
@media (max-width: 1180px){
  .sacred-museum-layout{grid-template-columns:1fr;}
  .sacred-museum-panel{order:-1;}
  .museum-room-shell,.museum-room{min-height:560px;}
  .museum-artwork-center{width:min(52vw,420px);height:min(56vh,430px);}
}
@media (max-width: 820px){
  .sacred-museum-stage{padding:.9rem;}
  .museum-room-shell,.museum-room{min-height:460px;}
  .museum-artwork-left-far,.museum-artwork-right-far{display:none;}
  .museum-artwork-left-near,.museum-artwork-right-near{width:22%;aspect-ratio:16 / 10;height:auto;top:22%;}
  .museum-artwork-center{width:min(72vw,430px);aspect-ratio:16 / 10;height:auto;}
  .museum-room-label{font-size:.55rem;letter-spacing:.18em;}
}
@media (max-width: 620px){
  .museum-room-shell,.museum-room{min-height:380px;}
  .museum-artwork-left-near,.museum-artwork-right-near{display:none;}
  .museum-wall-left,.museum-wall-right{display:none;}
  .museum-wall-center{left:0;right:0;}
  .museum-artwork-center{width:min(84vw,340px);aspect-ratio:16 / 10;height:auto;top:50%;transform:translate(-50%,-54%);}
  .museum-hotspot,.museum-room-label{display:none;}
  .museum-scene-nav{flex-direction:column;}
  .museum-dots-wrap{order:3;}
}


/* ===== Museo 3D refinado: arrastre, vista completa y apertura limpia ===== */
.museum-room-shell{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y pinch-zoom;}
.museum-room-shell.is-dragging,.museum-room.is-dragging{cursor:grabbing;}
.museum-artwork{will-change:transform, filter;}
.museum-art-frame{display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#1b120d,#08090f);}
.museum-frame-iframe{position:absolute;left:0;top:0;max-width:none;max-height:none;border:0 !important;outline:none !important;box-shadow:none !important;background:transparent;pointer-events:none;}
.museum-art-frame-main .museum-frame-iframe-main{background:transparent;}
.sacred-modal-frame{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#06070d;}
.sacred-modal-frame iframe{position:absolute;left:0;top:0;max-width:none;max-height:none;border:0 !important;outline:none !important;box-shadow:none !important;background:transparent;}
.museum-room.is-dragging .museum-artwork{transition:none;}
.museum-artwork-left-far,.museum-artwork-right-far,.museum-artwork-left-near,.museum-artwork-right-near{transform-origin:center center;}
@media (max-width: 760px){
  .museum-room-shell{touch-action:pan-y;}
}


/* ===== Sacred modal full-design fit patch ===== */
.sacred-modal-inner{
  width:min(1280px, 94vw);
  max-width:1280px;
  height:min(92vh, 920px);
  max-height:92vh;
  grid-template-columns:minmax(0,1.35fr) 360px;
}
.sacred-modal-frame{
  position:relative;
  min-height:0;
  height:100%;
  overflow:hidden;
  background:#06070d;
}
.sacred-modal-frame iframe{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  min-height:0;
  background:#06070d;
  border:0 !important;
  outline:none !important;
  box-shadow:none !important;
}
@media (max-width: 980px){
  .sacred-modal-inner{
    width:min(96vw, 980px);
    height:min(94vh, 940px);
    grid-template-columns:1fr;
  }
  .sacred-modal-panel{
    border-left:none;
    border-top:1px solid rgba(204,10,10,.15);
    max-height:34vh;
  }
}


/* ===== Sacred modal complete-fit + zoom ===== */
.sacred-modal-inner{
  width:min(1580px,98vw);
  max-width:1580px;
  height:min(96vh,1060px);
  max-height:96vh;
  grid-template-columns:minmax(0,2.05fr) 290px;
  border-radius:26px;
}
.sacred-modal-frame{
  background:#030409;
  position:relative;
}
.sacred-modal-viewer{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  padding:.7rem;
  background:
    radial-gradient(circle at center, rgba(18,24,34,.96) 0%, rgba(3,4,9,1) 68%),
    linear-gradient(180deg, rgba(0,255,231,.03), rgba(204,10,10,.03));
  display:flex;
  align-items:center;
  justify-content:center;
}
.sacred-modal-viewer::before{
  content:'';
  position:absolute;
  inset:.65rem;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.04);
  box-shadow:inset 0 0 0 1px rgba(0,255,231,.05);
  pointer-events:none;
}
.sacred-modal-frame iframe{
  position:absolute;
  left:0;
  top:0;
  min-height:0;
  background:transparent;
}
.sacred-modal-panel{
  padding:1.3rem 1.05rem;
}
.sacred-modal-desc{
  font-size:.94rem;
  line-height:1.82;
}
.sacred-modal-zoom{position:absolute;top:1rem;left:1rem;display:flex;gap:.45rem;z-index:3;}
.sacred-zoom-btn{border:1px solid rgba(0,255,231,.22);background:rgba(3,10,15,.7);color:#d9fff9;padding:.55rem .85rem;border-radius:999px;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.08em;cursor:pointer;backdrop-filter:blur(10px);transition:all .25s ease;}
.sacred-zoom-btn:hover{border-color:rgba(0,255,231,.55);background:rgba(0,255,231,.12);}
.sacred-zoom-readout{min-width:88px;}
.sacred-modal-hint{position:absolute;left:1rem;bottom:1rem;z-index:3;padding:.45rem .75rem;border-radius:999px;background:rgba(3,10,15,.7);border:1px solid rgba(204,10,10,.18);color:rgba(242,232,213,.72);font-family:var(--font-mono);font-size:.6rem;letter-spacing:.08em;backdrop-filter:blur(10px);}
@media (max-width: 1180px){
  .sacred-modal-inner{width:min(98vw,1360px);height:min(96vh,1040px);grid-template-columns:minmax(0,1.78fr) 280px;}
}
@media (max-width: 980px){
  .sacred-modal-inner{width:min(96vw,980px);height:min(95vh,1000px);grid-template-columns:1fr;}
  .sacred-modal-panel{max-height:30vh;}
  .sacred-modal-viewer{padding:.85rem;}
  .sacred-modal-viewer::before{inset:.8rem;}
}
@media (max-width: 640px){
  .sacred-modal-zoom{top:.7rem;left:.7rem;gap:.35rem;}
  .sacred-zoom-btn{padding:.5rem .72rem;font-size:.62rem;}
  .sacred-modal-hint{left:.7rem;bottom:.7rem;font-size:.56rem;padding:.4rem .6rem;}
}

/* ============================================================
   LOOKBACK-INSPIRED SACRED GALLERY
   Inspiración visual: rail editorial / archivo flotante
============================================================ */
.sacred-gallery-section{
  max-width: 1460px;
  padding: 0 .8rem;
}

.sacred-lookback-shell{
  --lb-shell-top:#fcfcfb;
  --lb-shell-bottom:#f3f2ee;
  --lb-stage-top:#fffdfa;
  --lb-stage-bottom:#eceae5;
  --lb-panel-from:#0d0f15;
  --lb-panel-to:#12141d;
  --lb-accent:#ba2d24;
  --lb-accent-soft:rgba(186,45,36,.14);
  --lb-panel-accent:var(--neon-cyan);
  --lb-ink:#111318;
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1.1rem 1.4rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 16%, rgba(0,0,0,.035), transparent 18%),
    radial-gradient(circle at 86% 24%, rgba(0,0,0,.03), transparent 18%),
    linear-gradient(180deg, var(--lb-shell-top, #fcfcfb) 0%, var(--lb-shell-bottom, #f3f2ee) 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 26px 70px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.04);
}
.sacred-lookback-shell::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 16%, rgba(0,0,0,.03) 100%);
  mix-blend-mode:screen;
}

.sacred-lookback-topbar,
.sacred-lookback-lockup,
.sacred-lookback-footer{
  position: relative;
  z-index: 2;
}

.sacred-lookback-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  font-family: var(--font-mono);
  color: rgba(18,20,28,.78);
  font-size: .74rem;
  letter-spacing: .02em;
  margin-bottom: .35rem;
}
.sacred-lookback-links{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
}
.sacred-lookback-links span{
  color: rgba(15,18,28,.76);
}
.sacred-lookback-track{
  margin:0;
  color: rgba(28,30,36,.74);
  text-align:right;
}

.sacred-lookback-lockup{
  display:grid;
  grid-template-columns:minmax(220px, 460px) minmax(220px, 340px);
  align-items:start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom: .6rem;
}
.sacred-lookback-title{
  margin:0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--lb-ink, #070709);
  text-transform: uppercase;
}
.sacred-lookback-metahead{
  display:grid;
  justify-items:end;
  align-content:start;
  gap:.65rem;
  padding-top: .25rem;
}
.sacred-lookback-metahead .aw-eyebrow{
  margin:0;
  color: rgba(8,10,18,.72);
  text-align:right;
}
.sacred-lookback-open{
  min-height: 44px;
  background:var(--lb-panel-from, #0c0d11);
  color:#fff7ea;
  border-color:var(--lb-panel-from, #0c0d11);
}
.sacred-lookback-open:hover{
  background:var(--lb-panel-to, #11131a);
  border-color:var(--lb-panel-to, #11131a);
}

.sacred-lookback-stage-wrap{
  position: relative;
  margin-top: .15rem;
}

.sacred-lookback-stage{
  position: relative;
  min-height: 620px;
  outline:none;
  touch-action:pan-y;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lb-stage-top, #ffffff) 88%, white 12%), color-mix(in srgb, var(--lb-stage-bottom, #eceae5) 94%, black 6%)),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.05));
  perspective: 2300px;
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.sacred-lookback-stage.is-dragging{
  cursor: grabbing;
}
.sacred-lookback-stage.is-live .lookback-awajun-card{
  will-change: transform, opacity, filter;
}
.sacred-lookback-stage.is-live .lookback-awajun-card-frame{
  transition: box-shadow .18s ease;
}
.sacred-lookback-stage::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at center, rgba(0,0,0,.03) 0%, transparent 48%);
  pointer-events:none;
}
.sacred-lookback-stage::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:36%;
  background:linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,.025) 40%, rgba(0,0,0,.055) 100%);
  pointer-events:none;
}

.sacred-lookback-ground{
  position:absolute;
  left:50%;
  bottom:10%;
  width:min(1120px, 86%);
  height:120px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,0,0,.16) 0%, rgba(0,0,0,.07) 28%, rgba(0,0,0,0) 72%);
  filter: blur(18px);
  pointer-events:none;
}

.sacred-lookback-rail{
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.lookback-awajun-card{
  position:absolute;
  cursor:pointer;
  left:50%;
  top:55%;
  width: clamp(210px, 18vw, 320px);
  aspect-ratio: 16 / 10;
  padding:0;
  border:none;
  background:transparent;
  transform-style:preserve-3d;
  transform-origin:center center;
  transition: box-shadow .28s ease;
  will-change: transform, opacity, filter;
}
.lookback-awajun-card.is-hidden{
  opacity:0;
  pointer-events:none;
}
.lookback-awajun-card:not(.is-hidden){
  pointer-events:auto;
}
.lookback-awajun-card::before{
  content:'';
  position:absolute;
  inset:auto 8% -11% 8%;
  height:18%;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,0,0,.22) 0%, rgba(0,0,0,.08) 38%, rgba(0,0,0,0) 74%);
  filter: blur(14px);
  transform: translateZ(-24px);
  opacity: .62;
  pointer-events:none;
}
.lookback-awajun-card-frame{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  isolation:isolate;
  border-radius: 4px;
  background:#ffffff;
  border: 1px solid color-mix(in srgb, var(--lb-accent, #ba2d24) 10%, rgba(8,10,18,.08));
  box-shadow: 0 20px 50px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08), 0 0 0 1px color-mix(in srgb, var(--lb-accent, #ba2d24) 10%, transparent);
}
.lookback-awajun-card.is-active .lookback-awajun-card-frame{
  box-shadow: 0 32px 80px rgba(0,0,0,.2), 0 10px 20px rgba(0,0,0,.1), 0 0 0 1px color-mix(in srgb, var(--lb-accent, #ba2d24) 26%, transparent), 0 0 34px color-mix(in srgb, var(--lb-accent-soft, rgba(186,45,36,.14)) 70%, transparent);
}
.lookback-awajun-media{
  position:absolute;
  inset:0;
  display:block;
}

.lookback-awajun-card-frame::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 24%, rgba(0,0,0,.03) 100%);
  pointer-events:none;
  z-index:2;
}
.lookback-awajun-iframe{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  border:0;
  background:#f5f0e6;
  pointer-events:none;
}
.lookback-awajun-meta{
  position:absolute;
  left:0;
  right:0;
  bottom:-2.3rem;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:.5rem;
  pointer-events:none;
  color:color-mix(in srgb, var(--lb-ink, #111318) 78%, rgba(14,17,25,.85));
}
.lookback-awajun-meta strong{
  font-family:var(--font-display);
  font-size:.92rem;
  color:var(--lb-ink, #111318);
}
.lookback-awajun-meta small{
  max-width:12ch;
  text-align:right;
  font-family:var(--font-mono);
  font-size:.52rem;
  line-height:1.45;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:color-mix(in srgb, var(--lb-ink, #111318) 46%, rgba(12,15,22,.56));
}

.lookback-awajun-card:hover:not(.is-active){
  filter:none !important;
}
.lookback-awajun-card:hover:not(.is-active) .lookback-awajun-card-frame{
  box-shadow: 0 24px 56px rgba(0,0,0,.18), 0 8px 16px rgba(0,0,0,.08);
}
.lookback-awajun-card.is-active .lookback-awajun-meta strong{
  color:var(--lb-ink, #050608);
}

.sacred-lookback-footer{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(290px, 360px);
  gap:1.3rem;
  align-items:start;
  margin-top:.65rem;
}
.sacred-lookback-copy{
  padding-left:.15rem;
}
.sacred-lookback-copy .sacred-tech-number{
  color:var(--lb-accent, rgba(189,20,20,.92));
}
.sacred-lookback-copy .sacred-tech-kicker{
  color:color-mix(in srgb, var(--lb-ink, #111318) 48%, rgba(21,22,28,.62));
}
.sacred-lookback-copy .sacred-tech-title{
  max-width: 13ch;
  color:var(--lb-ink, #080a0f);
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
}
.sacred-lookback-copy .aw-divider{
  background:linear-gradient(90deg, var(--lb-accent, rgba(190,24,24,.88)), color-mix(in srgb, var(--lb-accent, rgba(190,24,24,.88)) 0%, transparent));
  opacity:.9;
}
.sacred-lookback-copy .sacred-tech-desc{
  max-width:60ch;
  color:color-mix(in srgb, var(--lb-ink, #111318) 64%, rgba(22,24,32,.7));
  -webkit-line-clamp:unset;
}
.sacred-lookback-copy .sacred-tech-tags span{
  color:var(--lb-accent, rgba(115,22,20,.9));
  border:1px solid color-mix(in srgb, var(--lb-accent, rgba(115,22,20,.9)) 20%, transparent);
  background:color-mix(in srgb, var(--lb-accent-soft, rgba(186,45,36,.14)) 34%, rgba(255,255,255,.88));
}

.sacred-lookback-panel{
  display:grid;
  gap:.9rem;
  align-content:start;
  padding:1rem;
  border-radius:24px;
  background:linear-gradient(180deg, var(--lb-panel-from, #0d0f15) 0%, var(--lb-panel-to, #12141d) 100%);
  border:1px solid rgba(255,255,255,.06);
  box-shadow: 0 16px 32px rgba(0,0,0,.18);
}
.sacred-lookback-panel .sacred-tech-counter{
  color:rgba(245,235,220,.82);
}
.sacred-lookback-panel .sacred-tech-counter span:first-child{
  color:var(--lb-panel-accent, var(--neon-cyan));
}
.sacred-lookback-panel .museum-panel-note{
  color:rgba(226,214,197,.74);
  max-width:none;
  font-size:.92rem;
}
.sacred-lookback-buttons{
  display:grid;
  margin-top:.1rem;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:.6rem;
}
.sacred-lookback-buttons .circular-btn{
  justify-content:center;
}
.museum-dots-wrap{
  gap:.42rem;
}

@media (max-width: 1180px){
  .sacred-lookback-lockup,
  .sacred-lookback-footer{
    grid-template-columns:1fr;
  }
  .sacred-lookback-metahead{
    justify-items:start;
  }
  .sacred-lookback-metahead .aw-eyebrow{
    text-align:left;
  }
  .sacred-lookback-stage{
    min-height:580px;
  }
}

@media (max-width: 860px){
  .sacred-lookback-shell{
    padding: .9rem .9rem 1.15rem;
    border-radius:28px;
  }
  .sacred-lookback-title{
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  .sacred-lookback-stage{
    min-height: 500px;
  }
  .lookback-awajun-card{
    width: clamp(170px, 34vw, 250px);
    top: 54%;
  }
  .lookback-awajun-meta{
    bottom:-2rem;
  }
}

@media (max-width: 640px){
  .sacred-gallery-section{
    padding: 0 .35rem;
  }
  .sacred-lookback-topbar{
    gap:.5rem;
    font-size:.64rem;
  }
  .sacred-lookback-stage{
    min-height: 440px;
    border-radius:22px;
  }
  .lookback-awajun-card{
    width: clamp(160px, 62vw, 230px);
  }
  .lookback-awajun-meta small{
    display:none;
  }
  .sacred-lookback-buttons{
    grid-template-columns:1fr;
  }
}


.sacred-lookback-panel .museum-panel-note{
  min-height:3.2em;
}
.sacred-lookback-buttons.is-hidden{
  display:none;
}
#heroDots .sacred-tech-dot{
  cursor:default;
}
#heroDots .sacred-tech-dot:not(.is-active){
  opacity:.72;
}
.sacred-lookback-shell[data-theme="azul-rio"] .sacred-lookback-ground,
.sacred-lookback-shell[data-theme="cosmico"] .sacred-lookback-ground,
.sacred-lookback-shell[data-theme="cuantica"] .sacred-lookback-ground{
  background:radial-gradient(circle, color-mix(in srgb, var(--lb-accent) 22%, rgba(0,0,0,.14)) 0%, rgba(0,0,0,.08) 34%, rgba(0,0,0,0) 72%);
}


/* ══════════════════════════════════════════
   AWAJÚN IMMERSIVE HERO — PREMIUM
══════════════════════════════════════════ */

.awajun-immersive-hero{
  position:relative;
  width:min(1380px, calc(100% - 32px));
  min-height:100vh;
  margin:1.25rem auto 2.5rem;
  border-radius:34px;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,120,60,.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(0,255,231,.10), transparent 26%),
    linear-gradient(135deg, #070a12 0%, #0f1118 40%, #120b11 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 24px 90px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(255,255,255,.02);
  isolation:isolate;
}

.awajun-immersive-bg{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
}

.awajun-immersive-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1.06);
  filter:brightness(.28) contrast(1.06) saturate(.95);
  transition:transform .5s ease, filter .5s ease;
  will-change:transform, filter;
}

.awajun-immersive-noise{
  position:absolute;
  inset:0;
  z-index:2;
  opacity:.07;
  pointer-events:none;
  background-image:
    radial-gradient(rgba(255,255,255,.65) .4px, transparent .8px);
  background-size:10px 10px;
  mix-blend-mode:soft-light;
}

.awajun-immersive-gradient{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(8,10,16,.88) 0%, rgba(8,10,16,.64) 36%, rgba(8,10,16,.18) 66%, rgba(8,10,16,.76) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.25));
}

.awajun-immersive-inner{
  position:relative;
  z-index:4;
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(320px, 520px) minmax(360px, 1fr);
  gap:2.5rem;
  align-items:center;
  padding:clamp(1.3rem, 3vw, 3rem);
}

.awajun-immersive-copy{
  max-width:520px;
}

.awajun-immersive-kicker{
  margin:0 0 1rem;
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,228,199,.78);
}

.awajun-immersive-title{
  margin:0;
  font-size:clamp(2.4rem, 4.8vw, 5.2rem);
  line-height:.94;
  letter-spacing:-.045em;
  color:#fff8f0;
  max-width:10ch;
}

.awajun-immersive-title span{
  display:block;
  color:var(--awajun-accent, #ff9b54);
}

.awajun-immersive-desc{
  margin:1.25rem 0 0;
  max-width:48ch;
  font-size:1rem;
  line-height:1.8;
  color:rgba(255,242,228,.82);
}

.awajun-immersive-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin:1.45rem 0 1.55rem;
}

.awajun-immersive-meta span{
  padding:.72rem .95rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#fff0de;
  font-size:.82rem;
  letter-spacing:.04em;
  backdrop-filter:blur(8px);
}

.awajun-immersive-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
}

.awajun-immersive-hint{
  margin:1rem 0 0;
  max-width:48ch;
  color:rgba(255,237,219,.72);
  font-size:.88rem;
  line-height:1.7;
}

.awajun-immersive-preview{
  position:relative;
  display:grid;
  place-items:center;
  perspective:1400px;
  min-width:0;
  padding-inline:clamp(2.9rem, 4vw, 4.6rem);
  padding-bottom:6.6rem;
  overflow:visible;
}

.awajun-immersive-nav{
  position:absolute;
  top:50%;
  z-index:4;
  width:58px;
  height:58px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,10,16,.72);
  color:#fff4e8;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter:blur(12px);
  box-shadow:0 14px 34px rgba(0,0,0,.24);
  transition:transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.awajun-immersive-nav-prev{ left:0; transform:translateY(-50%); }
.awajun-immersive-nav-next{ right:0; transform:translateY(-50%); }

.awajun-immersive-nav span{
  font-size:1.2rem;
  line-height:1;
}

.awajun-immersive-nav:hover,
.awajun-immersive-nav:focus-visible{
  transform:translateY(calc(-50% - 3px)) scale(1.04);
  border-color:color-mix(in srgb, var(--awajun-accent, #ff9b54) 55%, white 45%);
  background:rgba(14,18,28,.88);
  box-shadow:0 18px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.06);
  outline:none;
}

.awajun-immersive-nav.is-pressed{
  transform:translateY(-50%) scale(.96);
}

.awajun-immersive-nav[disabled]{
  opacity:.45;
  cursor:default;
}

.awajun-immersive-preview-shell{
  position:relative;
  width:min(820px, 100%);
  aspect-ratio:var(--awajun-hero-ratio, 1 / 1.02);
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  box-shadow:
    0 28px 90px rgba(0,0,0,.36),
    inset 0 0 0 1px rgba(255,255,255,.03);
  transform:rotateY(-11deg) rotateX(5deg) scale(.9);
  transform-style:preserve-3d;
  transition:transform .45s ease, box-shadow .45s ease, border-color .45s ease, filter .3s ease;
  will-change:transform;
  backdrop-filter:blur(10px);
  cursor:pointer;
  padding:0;
}

.awajun-immersive-preview-shell iframe{
  width:100%;
  height:100%;
  border:none;
  background:#fff;
  pointer-events:none;
}

.awajun-immersive-preview-glow{
  position:absolute;
  inset:auto 12% -14% 12%;
  height:22%;
  border-radius:50%;
  background:radial-gradient(circle, color-mix(in srgb, var(--awajun-accent, #ff9b54) 46%, transparent) 0%, transparent 72%);
  filter:blur(28px);
  opacity:.36;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}

.awajun-immersive-preview-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  gap:.25rem;
  padding:1.2rem;
  background:linear-gradient(180deg, rgba(6,8,12,.04), rgba(6,8,12,.16) 38%, rgba(6,8,12,.68) 100%);
  color:#fff4e9;
  text-align:left;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;
}

.awajun-preview-overlay-label{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.35rem .65rem;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.awajun-immersive-preview-overlay strong{
  font-size:1.2rem;
  line-height:1.08;
}

.awajun-immersive-preview-overlay small{
  color:rgba(255,236,216,.76);
  font-size:.86rem;
}

.awajun-immersive-preview-shell:hover,
.awajun-immersive-preview-shell:focus-visible{
  border-color:color-mix(in srgb, var(--awajun-accent, #ff9b54) 42%, white 58%);
  box-shadow:0 34px 110px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.05);
  filter:brightness(1.02);
  outline:none;
}

.awajun-immersive-preview-shell:hover .awajun-immersive-preview-overlay,
.awajun-immersive-preview-shell:focus-visible .awajun-immersive-preview-overlay,
.awajun-immersive-preview-shell.is-hovered .awajun-immersive-preview-overlay{
  opacity:1;
  transform:translateY(0);
}

.awajun-immersive-preview-shell:hover .awajun-immersive-preview-glow,
.awajun-immersive-preview-shell:focus-visible .awajun-immersive-preview-glow,
.awajun-immersive-preview-shell.is-hovered .awajun-immersive-preview-glow{
  opacity:.62;
  transform:scale(1.05);
}

.awajun-immersive-floating-card{
  position:absolute;
  left:50%;
  bottom:-1.05rem;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:.85rem;
  width:min(92%, 520px);
  padding:.9rem 1rem;
  border-radius:20px;
  background:rgba(10,12,18,.84);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 32px rgba(0,0,0,.28);
  z-index:4;
  pointer-events:none;
}

.awajun-floating-num{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--awajun-accent, #ff9b54), rgba(255,255,255,.18));
  color:#fff;
  font-weight:700;
  font-size:1rem;
}

.awajun-immersive-floating-card strong{
  display:block;
  color:#fff5ea;
  font-size:.95rem;
  line-height:1.1;
}

.awajun-immersive-floating-card small{
  display:block;
  margin-top:.22rem;
  color:rgba(255,237,219,.72);
  font-size:.76rem;
  letter-spacing:.03em;
}

.awajun-immersive-progress{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:4px;
  background:rgba(255,255,255,.06);
  z-index:5;
}

.awajun-immersive-progress-bar{
  display:block;
  width:12%;
  height:100%;
  background:linear-gradient(90deg, var(--awajun-accent, #ff9b54), rgba(255,255,255,.82));
  box-shadow:0 0 18px rgba(255,160,90,.38);
  transition:width .4s ease, background .4s ease;
}

.awajun-immersive-hero.is-active .awajun-immersive-bg img{
  transform:scale(1.13);
  filter:brightness(.24) contrast(1.08) saturate(1);
}

.awajun-immersive-hero.is-active .awajun-immersive-preview-shell{
  transform:rotateY(-6deg) rotateX(2deg) scale(1);
  border-color:rgba(255,255,255,.18);
}

@media (max-width: 980px){
  .awajun-immersive-inner{
    grid-template-columns:1fr;
    align-content:center;
    gap:1.6rem;
  }

  .awajun-immersive-title{
    max-width:12ch;
  }

  .awajun-immersive-preview{
    padding-inline:2.8rem;
    padding-bottom:6.2rem;
  }

  .awajun-immersive-nav{
    width:50px;
    height:50px;
  }

  .awajun-immersive-preview-shell{
    transform:none;
    width:min(100%, 720px);
  }
}

@media (max-width: 640px){
  .awajun-immersive-hero{
    width:min(100% - 14px, 100%);
    border-radius:22px;
    min-height:auto;
  }

  .awajun-immersive-inner{
    min-height:auto;
    padding:1.15rem;
  }

  .awajun-immersive-preview{
    padding-inline:2.3rem;
    padding-bottom:5.9rem;
  }

  .awajun-immersive-nav{
    width:44px;
    height:44px;
  }

  .awajun-immersive-nav-prev{ left:.15rem; }
  .awajun-immersive-nav-next{ right:.15rem; }

  .awajun-immersive-floating-card{
    width:min(100%, 92%);
    bottom:-.35rem;
  }

  .awajun-immersive-floating-card strong{
    font-size:.88rem;
  }
}


/* ══════════════════════════════════════════
   AWAJÚN — ACCESO INTEGRADO AL MICROSITIO
══════════════════════════════════════════ */
.awajun-entry-wrap{
  max-width:1220px;
  margin:1.2rem auto 0;
  padding:0 1rem;
}
.awajun-entry-shell{
  display:grid;
  grid-template-columns:minmax(340px, 1.03fr) minmax(300px, .97fr);
  gap:2rem;
  align-items:center;
  padding:clamp(1.3rem, 3vw, 2.15rem);
  border-radius:30px;
  border:1px solid rgba(0,255,231,.12);
  background:
    radial-gradient(circle at 15% 18%, rgba(0,255,231,.09), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(106,13,173,.11), transparent 28%),
    linear-gradient(135deg, rgba(4,7,18,.98), rgba(8,10,18,.98));
  box-shadow:0 26px 80px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.03);
  overflow:hidden;
}
.awajun-entry-copy{max-width:640px;}
.awajun-entry-shell{
  --awajun-entry-display:'Montserrat', sans-serif;
  --awajun-entry-heading:'Cinzel', serif;
  --awajun-entry-body:'Inclusive Sans', sans-serif;
  --awajun-entry-kicker:'Alumni Sans Pinstripe', sans-serif;
  --awajun-entry-ui:'Montserrat', sans-serif;
}
.awajun-entry-kicker{
  margin:0 0 .9rem;
  font-family:var(--awajun-entry-kicker);
  font-size:.96rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
}
.awajun-entry-title{
  margin:0;
  font-family:var(--awajun-entry-display);
  font-size:clamp(2.25rem, 4.4vw, 3.9rem);
  font-weight:800;
  line-height:.92;
  letter-spacing:-.05em;
  color:#f7f3ef;
}
.awajun-entry-text{
  margin:1rem 0 0;
  max-width:58ch;
  font-family:var(--awajun-entry-body);
  font-size:1rem;
  line-height:1.85;
  color:rgba(255,244,232,.78);
}
.awajun-entry-points{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:.85rem;
  margin-top:1.45rem;
}
.awajun-entry-points article{
  padding:1rem .95rem;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.awajun-entry-points strong{
  display:block;
  font-family:var(--awajun-entry-heading);
  font-size:.9rem;
  line-height:1.24;
  color:#f4fbff;
  font-weight:600;
}
.awajun-entry-points span{
  display:block;
  margin-top:.38rem;
  font-family:var(--awajun-entry-body);
  font-size:.84rem;
  line-height:1.6;
  color:rgba(235,244,255,.68);
}
.awajun-entry-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
  margin-top:1.35rem;
}
.awajun-entry-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:1.25rem;
}
.awajun-entry-tags span{
  padding:.68rem .95rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.04);
  color:#e9faff;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.05em;
  font-family:var(--awajun-entry-ui);
  text-transform:uppercase;
}
.awajun-entry-preview{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.awajun-preview-card{
  width:min(100%, 520px);
  border-radius:28px 28px 0 0;
  border:1px solid rgba(255,255,255,.09);
  border-bottom:none;
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow:0 20px 60px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.03);
  overflow:hidden;
}
.awajun-preview-topbar{
  display:flex;
  align-items:center;
  gap:.55rem;
  padding:.9rem 1rem;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(2,6,18,.78);
}
.awajun-preview-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.18);
}
.awajun-preview-dot:first-child{background:#00ffe7;}
.awajun-preview-topbar p{
  margin:0 0 0 .2rem;
  font-family:var(--awajun-entry-kicker);
  font-size:.95rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(233,247,255,.74);
}
.awajun-preview-media{
  position:relative;
  margin:0;
  min-height:360px;
  background:rgba(255,255,255,.03);
}
.awajun-preview-media img{
  display:block;
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  filter:brightness(.74) contrast(1.02) saturate(.94);
}
/* ── Modelo 1 – tarjeta neon como miniatura ── */
.awajun-preview-media--modelo1{
  background:#000;
  padding:0;
  min-height:360px;
}
.modelo1-wrap{
  width:100%;
  height:360px;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.modelo1-frame{
  width:700px;
  height:460px;
  border:none;
  flex-shrink:0;
  transform:scale(0.72);
  transform-origin:center center;
  pointer-events:auto;
}
/* ── Info panel below the card ── */
.awajun-preview-info{
  width:min(100%, 520px);
  margin-top:0;
  border-radius:0 0 28px 28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-top:none;
}
.awajun-preview-info-badge{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:.85rem 1rem;
  background:rgba(8,12,22,.95);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.awajun-preview-float{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:.85rem 1rem;
  background:rgba(8,12,22,.95);
  border-bottom:1px solid rgba(255,255,255,.07);
}
}
.awajun-preview-index{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:50%;
  background:linear-gradient(135deg, #00d8ff, #198cff);
  color:#06111f;
  font-family:var(--awajun-entry-ui);
  font-weight:800;
  font-size:1rem;
}
.awajun-preview-float strong{
  display:block;
  color:#f7fbff;
  font-family:var(--awajun-entry-heading);
  font-size:.98rem;
}
.awajun-preview-float small{
  display:block;
  margin-top:.2rem;
  color:rgba(234,244,255,.74);
  font-family:var(--awajun-entry-body);
  font-size:.8rem;
  line-height:1.45;
}
.awajun-preview-footer{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:.75rem;
  padding:1rem;
  background:rgba(4,8,20,.94);
}
.awajun-preview-footer small{
  display:block;
  font-family:var(--awajun-entry-kicker);
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:rgba(210,225,255,.52);
}
.awajun-preview-footer strong{
  display:block;
  margin-top:.3rem;
  font-family:var(--awajun-entry-ui);
  color:#edf9ff;
  font-size:.9rem;
  font-weight:700;
  line-height:1.45;
}
@media (max-width: 960px){
  .awajun-entry-shell{
    grid-template-columns:1fr;
  }
  .awajun-entry-points{
    grid-template-columns:1fr;
  }
  .awajun-preview-card{
    width:min(100%, 680px);
  }
}
@media (max-width: 640px){
  .awajun-entry-wrap{padding:0 .7rem;}
  .awajun-entry-shell{
    gap:1.2rem;
    padding:1.05rem;
    border-radius:22px;
  }
  .awajun-entry-title{font-size:clamp(1.85rem, 11vw, 2.7rem);}
  .awajun-entry-text{font-size:.96rem;}
  .awajun-preview-media,
  .awajun-preview-media img{min-height:260px;}
  .awajun-preview-float{
    left:.75rem;
    right:.75rem;
    bottom:.75rem;
    padding:.75rem .85rem;
  }
  .awajun-preview-footer{
    grid-template-columns:1fr;
  }
}


/* ═══════════════════════════════════════════════════════
   FLIP CARD CONTACTO
   ═══════════════════════════════════════════════════════ */
.cflip-stage{
  max-width:900px;
  margin:0 auto;
  padding:0 1rem;
}
.cflip-hint{
  text-align:center;
  font-family:var(--font-mono);
  font-size:.75rem;
  letter-spacing:.18em;
  color:rgba(0,255,231,.38);
  margin-bottom:1.2rem;
  text-transform:uppercase;
}

/* ── FLIP WRAP ── */
.cflip-wrap{
  perspective:1400px;
  cursor:default;
}
.cflip-inner{
  position:relative;
  width:100%;
  transform-style:preserve-3d;
  transition:transform .85s cubic-bezier(.55,.055,.675,.19);
}
.cflip-wrap.flipped .cflip-inner{
  transform:rotateY(180deg);
  transition-timing-function:cubic-bezier(.215,.61,.355,1);
}

/* ── SHARED FACE ── */
.cflip-face{
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  border:1px solid rgba(0,255,231,.14);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 24px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.03);
  position:relative;
  background:linear-gradient(135deg,rgba(4,8,20,.97),rgba(8,12,26,.97));
}
/* Corner accents */
.cflip-face::before,.cflip-face::after{
  content:'';position:absolute;width:16px;height:16px;
  border-color:rgba(0,255,231,.3);border-style:solid;pointer-events:none;z-index:10;
}
.cflip-face::before{top:-1px;left:-1px;border-width:1.5px 0 0 1.5px;border-radius:4px 0 0 0;}
.cflip-face::after{bottom:-1px;right:-1px;border-width:0 1.5px 1.5px 0;border-radius:0 0 4px 0;}

/* ── FRONT ── */
.cflip-front{
  display:flex;
  flex-direction:row;
  align-items:stretch;
  min-height:480px;
}

/* Left: Mandala */
.cflip-visual{
  flex:0 0 260px;
  background:rgba(0,0,0,.45);
  border-right:1px solid rgba(0,255,231,.1);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:2rem 1.5rem;
  cursor:pointer;
  position:relative;
  gap:.8rem;
}
.cflip-visual svg{
  width:100%;max-width:200px;aspect-ratio:1;
  filter:drop-shadow(0 0 22px rgba(0,255,231,.18));
  overflow:visible;
}
@keyframes cflip-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.cflip-ring-group{transform-origin:150px 150px;animation:cflip-spin 80s linear infinite;}
.cflip-visual:hover .cflip-ring-group{animation-play-state:paused;}
.cflip-visual-hint{
  font-family:var(--font-mono);font-size:.62rem;letter-spacing:.18em;
  text-transform:uppercase;color:rgba(0,255,231,.35);text-align:center;
}

/* Ripple */
.cflip-ripple{
  position:absolute;border-radius:50%;pointer-events:none;
  transform:translate(-50%,-50%) scale(0);
  animation:cflip-rout 1.1s ease-out forwards;
}
@keyframes cflip-rout{
  0%{transform:translate(-50%,-50%) scale(0);opacity:.8}
  100%{transform:translate(-50%,-50%) scale(4);opacity:0}
}

/* Right: Form */
.cflip-form-side{
  flex:1;
  padding:2rem 2.2rem;
  display:flex;
  flex-direction:column;
  gap:.75rem;
  overflow-y:auto;
}
.cflip-eyebrow{
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.22em;
  text-transform:uppercase;color:rgba(0,255,231,.55);
}
.cflip-form-title{
  font-family:var(--font-display);font-size:1.5rem;font-weight:700;
  color:var(--text-primary);letter-spacing:.05em;
}
.cflip-rule{width:48px;height:1.5px;background:linear-gradient(90deg,var(--neon-cyan),transparent);}

/* Form fields */
.cflip-form{display:flex;flex-direction:column;gap:.65rem;flex:1;}
.cflip-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.6rem .9rem;
}
.cflip-field{display:flex;flex-direction:column;gap:.3rem;}
.cflip-field--wide{grid-column:1/-1;}
.cflip-field label{
  font-family:var(--font-mono);font-size:.65rem;letter-spacing:.1em;
  color:rgba(0,255,231,.65);text-transform:uppercase;
}
.req{color:var(--neon-pink,#ff2d78);}
.cflip-optional{color:var(--text-muted);font-size:.65rem;}
.cflip-field input,.cflip-field textarea{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(0,255,231,.18);
  border-radius:8px;
  padding:.55rem .8rem;
  color:var(--text-primary);
  font-family:var(--font-body);
  font-size:.85rem;
  transition:border-color .25s,box-shadow .25s;
  resize:vertical;
}
.cflip-field input:focus,.cflip-field textarea:focus{
  outline:none;
  border-color:rgba(0,255,231,.45);
  box-shadow:0 0 0 3px rgba(0,255,231,.08);
}
.cflip-hint-text{font-family:var(--font-mono);font-size:.62rem;color:var(--text-muted);}
.cflip-form-footer{
  display:flex;justify-content:space-between;align-items:center;
  gap:.75rem;flex-wrap:wrap;margin-top:.25rem;
}

/* ── BACK ── */
.cflip-back{
  position:absolute;
  inset:0;
  transform:rotateY(180deg);
  display:flex;
  flex-direction:row;
  align-items:stretch;
  min-height:480px;
}
.cflip-back-profile{
  flex:0 0 260px;
  background:rgba(0,0,0,.45);
  border-right:1px solid rgba(0,255,231,.1);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:2rem 1.4rem;gap:1.1rem;text-align:center;
}
.cflip-avatar-wrap{position:relative;width:150px;height:150px;}
.cflip-ring-deco{
  position:absolute;inset:-14px;
  width:calc(100% + 28px);height:calc(100% + 28px);
  pointer-events:none;
}
@keyframes cflip-deco-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.cflip-deco-ring-g{transform-origin:98px 98px;animation:cflip-deco-spin 30s linear infinite;}
.cflip-avatar-circle{
  width:150px;height:150px;border-radius:50%;overflow:hidden;
  border:3px solid rgba(0,10,30,.9);
  outline:1.5px solid rgba(0,255,231,.4);outline-offset:3px;
  background:rgba(4,8,20,.8);
  display:flex;align-items:center;justify-content:center;
  position:relative;z-index:1;
}
.cflip-avatar-circle img{width:100%;height:100%;object-fit:cover;display:block;}
.cflip-avatar-initials{
  font-family:var(--font-display);font-size:2.4rem;font-weight:700;
  color:rgba(0,255,231,.6);
}
.cflip-profile-name{
  font-family:var(--font-display);font-size:1rem;font-weight:700;
  color:var(--text-primary);line-height:1.3;
}
.cflip-profile-sub{
  font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;
  color:var(--text-muted);line-height:1.55;
}
.cflip-back-cta{
  font-family:var(--font-mono);font-size:.62rem;letter-spacing:.18em;
  text-transform:uppercase;color:rgba(0,255,231,.35);margin-top:.3rem;
}

/* Back info */
.cflip-back-info{
  flex:1;padding:2rem 2.2rem;display:flex;flex-direction:column;gap:.8rem;
}
.cflip-back-title{
  font-family:var(--font-display);font-size:1.4rem;font-weight:700;
  color:var(--text-primary);line-height:1.2;
}
.cflip-info-list{display:flex;flex-direction:column;gap:.55rem;flex:1;}
.cflip-info-item{display:flex;flex-direction:column;gap:.15rem;padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.05);}
.cflip-info-label{
  font-family:var(--font-mono);font-size:.62rem;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(0,255,231,.5);
}
.cflip-info-value{
  font-family:var(--font-body);font-size:.88rem;
  color:rgba(238,244,255,.75);
}
.cflip-visits{
  display:flex;gap:.65rem;flex-wrap:wrap;margin-top:.3rem;
}
.cflip-visit-chip{
  display:flex;align-items:center;gap:.5rem;
  padding:.45rem .75rem;border-radius:8px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.cflip-visit-chip strong{display:block;font-family:var(--font-display);font-size:.85rem;color:var(--text-primary);}
.cflip-visit-chip small{display:block;font-family:var(--font-mono);font-size:.6rem;letter-spacing:.06em;color:var(--text-muted);text-transform:uppercase;}

/* ── RESPONSIVE ── */
@media(max-width:680px){
  .cflip-front,.cflip-back{flex-direction:column;}
  .cflip-visual,.cflip-back-profile{
    flex:none;border-right:none;
    border-bottom:1px solid rgba(0,255,231,.1);
    padding:1.8rem;
  }
  .cflip-visual svg{max-width:160px;}
  .cflip-back{position:absolute;top:0;left:0;right:0;}
  .cflip-grid{grid-template-columns:1fr;}
  .cflip-form-side,.cflip-back-info{padding:1.5rem;}
}

/* ═══════════════════════════════════════════════════
   HERO GEOMETRÍA AWAJÚN
   ═══════════════════════════════════════════════════ */
.hero-geo-svg{
  position:relative;
  z-index:2;
  width:min(420px, 88%);
  height:auto;
  aspect-ratio:1;
  filter:drop-shadow(0 0 32px rgba(0,255,231,.12));
}
@keyframes hg-spin-outer { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes hg-spin-mid   { from{transform:rotate(0deg)} to{transform:rotate(-360deg)} }
@keyframes hg-orb-pulse  { 0%,100%{opacity:.7;transform:scale(1)} 50%{opacity:1;transform:scale(1.3)} }

.hg-ring-outer{ animation:hg-spin-outer 90s linear infinite; }
.hg-ring-mid  { animation:hg-spin-mid   60s linear infinite; }
.hg-orb       { animation:hg-orb-pulse 3.2s ease-in-out infinite; }
.hg-orb:nth-child(2){ animation-delay:.8s; }
.hg-orb:nth-child(3){ animation-delay:1.6s; }
.hg-orb:nth-child(4){ animation-delay:2.4s; }

/* Fondo geométrico suave detrás del hero completo */
#inicio{position:relative;}
.hero-geo-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}
.hero-geo-bg svg{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:min(900px,110vw);
  opacity:.045;
}
@keyframes hg-bg-spin { from{transform:translate(-50%,-50%) rotate(0deg)} to{transform:translate(-50%,-50%) rotate(360deg)} }
.hg-bg-inner{ animation:hg-bg-spin 200s linear infinite; }

/* ═══════════════════════════════════════════════════
   HERO CHIP PANEL (debajo de la geometría)
   ═══════════════════════════════════════════════════ */

/* Ajustar visual para acomodar ambos elementos */
.hero-stage-visual{
  flex-direction:column;
  justify-content:center;
  gap:0;
  min-height:480px;
  padding:1.5rem 1rem 1rem;
}
.hero-geo-svg{
  width:min(320px, 75%);
  flex-shrink:0;
}

/* Chip panel */
.hero-chip-panel{
  width:100%;
  padding:.65rem 1rem .5rem;
  border-top:1px solid rgba(0,255,231,.08);
  margin-top:.5rem;
}
.hero-chip-label{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-bottom:.5rem;
}
.hero-chip-dot{
  width:6px; height:6px; border-radius:50%;
  background:rgba(0,255,231,.7);
  box-shadow:0 0 8px rgba(0,255,231,.5);
  animation:hero-orbit-float 2.8s ease-in-out infinite;
}
.hero-chip-svg-wrap{
  width:100%;
  overflow:hidden;
  border-radius:10px;
  background:linear-gradient(180deg,rgba(4,9,22,.6),rgba(2,5,14,.8));
  border:1px solid rgba(0,255,231,.08);
}
.hero-chip-svg{
  width:100%;
  height:auto;
  display:block;
}

/* Colores de trazas — reutiliza los existentes si los hubiera,
   o define aquí para el chip */
.trace-bg{fill:none;stroke:rgba(255,255,255,.06);stroke-width:1.5;}
.trace-flow{fill:none;stroke-width:3;stroke-linecap:round;stroke-dasharray:60 400;}
.trace-flow.purple{stroke:rgba(180,80,255,.85);animation:trace-move 4.2s linear infinite;}
.trace-flow.blue  {stroke:rgba(0,180,255,.85);animation:trace-move 3.6s linear infinite .4s;}
.trace-flow.yellow{stroke:rgba(255,210,0,.85);animation:trace-move 4.8s linear infinite .8s;}
.trace-flow.green {stroke:rgba(0,255,140,.85);animation:trace-move 3.2s linear infinite 1.2s;}
.trace-flow.red   {stroke:rgba(255,60,80,.85);animation:trace-move 5s linear infinite 1.6s;}
@keyframes trace-move{to{stroke-dashoffset:-460;}}
