/* Panorapp — CSS compartido entre páginas de servicio (activaciones, fotografía, video, recorridos) — ver auditoría T4 */

/* ===== Fuentes locales, mismo origen (/fonts/) ===== */
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/public-sans-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/public-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/public-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/public-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/public-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/fraunces-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/fraunces-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/fraunces-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/fraunces-latin-600-normal.woff2') format('woff2'); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--yellow); color: var(--black); padding: 0.8rem 1.4rem; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.skip-link:focus { left: 0; }


/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: #0c0c0c;
  color: #eeebe4;
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

:root {
  --black:  #0c0c0c;
  --dark:   #141414;
  --dark2:  #1c1c1c;
  --dark3:  #242424;
  --light:  #eeebe4;
  --muted:  #8a887f;
  --faint:  #2e2e2c;
  --yellow: #e5d62a;
  --ylow:   rgba(229,214,42,0.15);
  --glass-bg:   var(--dark2);
  --glass-bg2:  var(--dark3);
  --glass-brd:  rgba(255,255,255,0.14);
  --glass-hi:   rgba(255,255,255,0.10);
}

/* Gradientes en capa fija + grano cinematográfico (mismo look del home) */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 680px at 72% -4%, #17171b 0%, rgba(12,12,12,0) 58%),
    radial-gradient(900px 600px at 0% 40%, #131316 0%, rgba(12,12,12,0) 55%),
    #0c0c0c;
}
/* ---- Grano cinematografico sutil ---- */
body::after{
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ============ UTILITIES ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 7rem 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--yellow); }
.fade .eyebrow::before { width: 0; transition: width 0.7s ease 0.45s; }
.fade.show .eyebrow::before { width: 24px; }

.fade { opacity: 0; transform: translateY(64px) scale(0.97); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.22,0.61,0.36,1); }
.fade.show { opacity: 1; transform: translateY(0) scale(1); }
.fade-d1 { transition-delay: 0.1s; }
.fade-d2 { transition-delay: 0.2s; }
.fade-d3 { transition-delay: 0.3s; }
.fade-d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .fade { transform: none; filter: none; transition: opacity 0.6s ease; }
}

/* Reveal de titulares por palabras */
.wreveal .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wreveal .w > span {
  display: inline-block;
  transform: translateY(125%) rotate(5deg);
  transform-origin: 0 100%;
  transition: transform 1.15s cubic-bezier(0.22,0.61,0.36,1);
  transition-delay: calc(var(--wi, 0) * 90ms);
  will-change: transform;
}
.wreveal.shown .w > span { transform: translateY(0) rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .wreveal .w > span { transform: none; transition: none; } }

/* Foco visible solo con teclado */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Barra de progreso de scroll */
#scrollProgress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  z-index: 940; pointer-events: none;
}

/* ============ NAV ============ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2.5rem;
  transition: background 0.4s, padding 0.3s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.solid {
  background: var(--black);
  padding: 1rem 2.5rem;
  border-color: var(--glass-brd);
}
.nav-logo { display: block; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  position: relative;
  font-size: 13px; font-weight: 400; color: var(--muted);
  letter-spacing: 0.04em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--light); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-btn {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--yellow); color: var(--black);
  padding: 0.6rem 1.4rem; transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-btn:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(229,214,42,0.45); }
.hamburger {
  position: relative;
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; width: 32px;
}
.hamburger::before { content: ''; position: absolute; inset: -11px; }
.hamburger span { display: block; height: 1.5px; background: var(--light); transition: transform 0.3s, opacity 0.2s; }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
#mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--black);
  z-index: 800; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--muted); transition: color 0.2s; }
#mobile-menu a:hover { color: var(--light); }
#mobile-menu .mob-cta {
  font-family: 'Public Sans', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--yellow); color: var(--black);
  padding: 0.8rem 2rem; margin-top: 1rem;
}

/* ============ CLIENTES ============ */
.clientes { background: var(--black); padding: 3.25rem 0; border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint); }
.clientes-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.75rem; }
.clientes-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3.25rem; }
.cliente { font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; color: var(--muted); opacity: 0.8; white-space: nowrap; transition: color 0.3s, opacity 0.3s; cursor: default; }
.cliente:hover { color: var(--light); opacity: 1; }

/* ============ BENEFICIOS ============ */
#beneficios { background: var(--dark); }
.benef-top { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.15;
}
.h2 em {
  font-style: normal;
  background: var(--yellow);
  color: var(--black);
  padding: 0.02em 0.3em;
  line-height: 1.3;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.h2 .hl { font-style: normal; background: var(--yellow); color: var(--black); padding: 0.02em 0.3em; line-height: 1.3; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sec-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.85; }
.benef-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.benef-card {
  border: 1px solid var(--glass-brd); border-radius: 16px;
  background: var(--glass-bg);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 22px 44px -30px rgba(0,0,0,0.85);
  padding: 2.5rem 1.75rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.benef-card:hover { background: var(--glass-bg2); border-color: rgba(229,214,42,0.4); transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(0,0,0,0.75); }
.benef-icon { width: 44px; height: 44px; border: 1px solid var(--glass-brd); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--yellow); margin-bottom: 1.25rem; }
.benef-icon svg { width: 20px; height: 20px; }
.benef-text { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }

/* ============ INCLUYE / DIFERENCIALES ============ */
#incluye { background: var(--dark); }
.incluye-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.check-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.check-row { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.check-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--yellow); margin-top: 3px; }
.check-row strong { color: var(--light); font-weight: 500; }
.dif-box {
  border: 1px solid rgba(229,214,42,0.3); border-radius: 18px;
  background: var(--ylow);
  padding: 2rem;
  margin-top: 2rem;
}
.dif-box-title { font-family: 'Fraunces', serif; font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--light); }
.dif-box-text { font-size: 0.88rem; color: var(--light); opacity: 0.85; line-height: 1.75; }

/* ============ PROCESO ============ */
#proceso { background: var(--black); }
.proceso-list { display: flex; flex-direction: column; margin-top: 3rem; }
.proceso-step {
  display: grid; grid-template-columns: 72px 1fr; gap: 2rem;
  padding: 2.5rem 0; border-bottom: 1px solid var(--faint);
  border-radius: 14px; transition: background 0.3s;
}
.proceso-step:first-child { border-top: 1px solid var(--faint); }
.proceso-step:hover { background: var(--glass-bg); }
.proceso-marker { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.proceso-marker::after {
  content: ''; position: absolute; top: 56px; bottom: -2.5rem; left: 50%;
  width: 1px; background: linear-gradient(to bottom, var(--faint), transparent 90%);
  transform: translateX(-50%);
}
.proceso-marker::before {
  content: ''; position: absolute; top: 56px; bottom: -2.5rem; left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--yellow), rgba(229,214,42,0.3));
  transform: translateX(-50%) scaleY(0); transform-origin: top;
  transition: transform 1s cubic-bezier(0.22,0.61,0.36,1) 0.2s;
  z-index: 0;
}
.proceso-step.active .proceso-marker::before { transform: translateX(-50%) scaleY(1); }
.proceso-step:last-child .proceso-marker::before,
.proceso-step:last-child .proceso-marker::after { display: none; }
.proceso-icon {
  width: 44px; height: 44px; border: 1px solid var(--glass-brd); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: var(--glass-bg);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: border-color 0.5s, color 0.5s, transform 0.5s, box-shadow 0.5s;
  z-index: 1;
}
.proceso-icon svg { width: 19px; height: 19px; }
.proceso-step.active .proceso-icon {
  border-color: var(--yellow); color: var(--yellow);
  transform: scale(1.22);
  box-shadow: 0 0 34px rgba(229,214,42,0.45);
}
.proceso-num {
  font-family: 'Public Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1;
  transition: color 0.3s;
}
.proceso-step.active .proceso-num { color: var(--yellow); }
.proceso-body { opacity: 0.22; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,0.61,0.36,1); }
.proceso-step.active .proceso-body { opacity: 1; transform: translateY(0); }
.proceso-title { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 400; margin-bottom: 0.6rem; }
.proceso-text { font-size: 0.88rem; color: var(--muted); line-height: 1.8; max-width: 72ch; }
@media (prefers-reduced-motion: reduce) {
  .proceso-marker::before { transition: none; }
  .proceso-body { opacity: 1; transform: none; transition: none; }
}

/* ============ FOOTER ============ */
#footer { background: var(--dark); border-top: 1px solid var(--faint); padding: 3rem 0 2rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom a { position: relative; display: inline-block; color: var(--muted); transition: color 0.2s; }
.footer-bottom a::before { content: ''; position: absolute; inset: -12px -8px; }
.footer-bottom a:hover { color: var(--yellow); }
.footer-servicios { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.25rem; padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--faint); font-size: 12px; }
.footer-servicios a { position: relative; display: inline-block; color: var(--muted); transition: color 0.2s; }
.footer-servicios a::before { content: ''; position: absolute; inset: -12px -8px; }
.footer-servicios a:hover { color: var(--yellow); }

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 890;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,0.35); }
.wa-float svg { width: 30px; height: 30px; }

