/* ============================================
   OHM — Minimal, 3D protagonista
   Inspiracion: 5Solidos (cincosolidos.com)
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-panel: #161616;

  --fg: #f4f4f2;
  --fg-muted: rgba(244, 244, 242, 0.55);
  --fg-faint: rgba(244, 244, 242, 0.32);

  --miel: #d4a574;
  --lima: #a8c970;

  --border: rgba(244, 244, 242, 0.08);
  --border-hover: rgba(244, 244, 242, 0.18);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swift: cubic-bezier(0.4, 0, 0.2, 1);

  --pad: clamp(20px, 2.6vw, 40px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

::selection {
  background: var(--lima);
  color: var(--bg);
}

button, a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

/* ============================================
   HEADER — minimalista, 5Solidos style
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 22px var(--pad);
  z-index: 20;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
  transition: opacity 0.3s var(--ease-swift);
}

.logo svg {
  width: 88px;
  height: auto;
  display: block;
}

.logo:hover {
  opacity: 0.7;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-swift);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.35s var(--ease-out);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 28px;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.3s var(--ease-swift);
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  transition: width 0.3s var(--ease-out);
}

.menu-toggle span:first-child {
  width: 22px;
}

.menu-toggle span:last-child {
  width: 14px;
}

.menu-toggle:hover span:last-child {
  width: 22px;
}

/* ============================================
   STAGE — visor fullscreen
   ============================================ */
.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #1a1b17 0%, #070707 85%);
}

#viewer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(7, 7, 7, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.4) 0%, transparent 14%, transparent 82%, rgba(7, 7, 7, 0.55) 100%);
}

/* ============================================
   CONTROLS — super sutiles, centro abajo
   ============================================ */
.controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5;
  animation: fade-in 1.2s var(--ease-out) 0.6s both;
}

.module-dots {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(10, 10, 10, 0.38);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--fg-muted);
  transition: all 0.3s var(--ease-swift);
}

.dot:hover {
  color: var(--fg);
}

.dot-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.dot.is-active {
  background: var(--fg);
  color: var(--bg);
}

.dot.is-active .dot-label {
  font-weight: 600;
}

.module-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: opacity 0.35s var(--ease-swift);
}

/* ============================================
   CTA GHOST — super discreto, bottom right
   ============================================ */
.cta-ghost {
  position: absolute;
  bottom: 44px;
  right: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
  z-index: 6;
  animation: fade-in 1.2s var(--ease-out) 0.9s both;
}

.cta-ghost:hover {
  border-color: var(--lima);
  background: rgba(168, 201, 112, 0.1);
  transform: translateY(-1px);
}

.cta-ghost-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 0 3px rgba(168, 201, 112, 0.2);
  animation: cta-pulse 2s ease-in-out infinite;
}

/* HD toggle (oculto - path tracing requiere three r164+) */
.hd-toggle {
  display: none;
  position: absolute;
  top: 90px;
  right: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  z-index: 6;
}

.hd-toggle:hover {
  border-color: var(--border-hover);
  color: var(--fg);
}

.hd-toggle.is-active {
  background: var(--miel);
  color: var(--bg);
  border-color: var(--miel);
}

.hd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-muted);
  transition: background 0.3s;
}

.hd-toggle.is-active .hd-dot {
  background: var(--bg);
  animation: cta-pulse 1.5s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(168, 201, 112, 0.2); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(168, 201, 112, 0); }
}

/* ============================================
   LOADING
   ============================================ */
.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  transition: opacity 0.4s var(--ease-swift);
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-bar {
  width: 80px;
  height: 1px;
  background: rgba(244, 244, 242, 0.08);
  overflow: hidden;
}

.loading-fill {
  width: 30%;
  height: 100%;
  background: var(--fg);
  animation: loading-slide 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes loading-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(340%); }
}

/* ============================================
   HOTSPOTS — 3D overlays
   ============================================ */
.hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(244, 244, 242, 0.1);
  border: 1px solid rgba(244, 244, 242, 0.7);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all 0.3s var(--ease-out);
  pointer-events: auto;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hotspot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 0 0 rgba(244, 244, 242, 0.35);
  animation: hotspot-pulse 2.4s var(--ease-out) infinite;
}

@keyframes hotspot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 244, 242, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(244, 244, 242, 0); }
}

.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.2);
  background: var(--fg);
  border-color: var(--fg);
}

.hotspot:hover::before {
  background: var(--bg);
}

/* ============================================
   SIDE PANEL
   ============================================ */
.panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 92vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-panel);
  border-left: 1px solid var(--border);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
  z-index: 30;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
}

.panel.is-open {
  transform: translateX(0);
}

.panel-inner {
  padding: 72px 40px 40px;
}

.panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-swift);
}

.panel-close:hover {
  border-color: var(--border-hover);
  color: var(--fg);
  transform: rotate(90deg);
}

.panel-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 500;
  margin-bottom: 18px;
}

.panel-title {
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.spec-row:first-child {
  padding-top: 0;
}

.spec-row .spec-k {
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.spec-row .spec-v {
  color: var(--fg);
  font-weight: 500;
  text-align: right;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .header {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .nav {
    display: none;
  }

  .logo svg {
    width: 72px;
  }

  .controls {
    bottom: 100px;
  }

  .dot {
    width: 34px;
    height: 34px;
  }

  .cta-ghost {
    bottom: 24px;
    right: 50%;
    transform: translateX(50%);
  }

  .cta-ghost:hover {
    transform: translateX(50%) translateY(-1px);
  }

  .panel {
    width: 100vw;
  }

  .panel-inner {
    padding: 72px 28px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   CATALOG MODAL — Canva embed (catalogo OHM)
   ============================================ */
.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
}

.catalog-modal.is-open {
  display: flex;
  animation: catalog-fade-in 0.28s var(--ease-out);
}

@keyframes catalog-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.catalog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.catalog-modal-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1280px, 100%);
  height: min(860px, 100%);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.catalog-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  gap: 12px;
}

.catalog-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.catalog-modal-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.catalog-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-out);
}

.catalog-action:hover {
  border-color: var(--lima);
  color: var(--lima);
}

.catalog-close {
  width: 34px;
  padding: 0;
  justify-content: center;
}

.catalog-viewer {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 20px clamp(56px, 6vw, 80px);
  overflow: hidden;
}

.catalog-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: pan-y;
}

.catalog-page {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  animation: catalog-page-in 0.28s var(--ease-out);
}

@keyframes catalog-page-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.catalog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244, 244, 242, 0.06);
  border: 1px solid var(--border);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-out);
  z-index: 2;
}

.catalog-nav:hover:not(:disabled) {
  background: rgba(168, 201, 112, 0.15);
  border-color: var(--lima);
  color: var(--lima);
}

.catalog-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.catalog-nav-prev { left: 10px; }
.catalog-nav-next { right: 10px; }

.catalog-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

@media (max-width: 640px) {
  .catalog-modal { padding: 0; }
  .catalog-modal-shell { border-radius: 0; height: 100%; width: 100%; }
  .catalog-modal-title { font-size: 17px; }
  .catalog-viewer { padding: 14px 8px 50px; }
  .catalog-nav { width: 38px; height: 38px; }
  .catalog-nav-prev { left: 6px; }
  .catalog-nav-next { right: 6px; }
}

/* ============================================
   CATALOG PAGE — Pagina dedicada /ohm/catalogo/
   ============================================ */
.catalog-page-body {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

.catalog-page-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}

.catalog-page-brand {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
  transition: opacity 0.3s var(--ease-swift);
}

.catalog-page-brand:hover { opacity: 0.7; }

.catalog-page-brand svg {
  width: 80px;
  height: auto;
  display: block;
}

.catalog-page-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-align: center;
  margin: 0;
}

.catalog-page-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.catalog-page-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 24px clamp(64px, 7vw, 96px);
  overflow: hidden;
  min-height: 0;
}

/* Boton flotante WhatsApp encima del visor */
.catalog-float-cta {
  position: fixed;
  bottom: clamp(16px, 2.5vh, 28px);
  right: clamp(16px, 2.5vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 14px;
  border: 1px solid var(--lima);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  z-index: 10;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(168, 201, 112, 0.5);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
  animation: catalog-float-in 0.5s var(--ease-out) 0.2s both;
}

.catalog-float-cta:hover {
  transform: translateY(-2px);
  background: rgba(168, 201, 112, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(168, 201, 112, 0.18);
}

@keyframes catalog-float-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.catalog-float-cta-icon {
  flex: 0 0 auto;
  color: var(--lima);
}

.catalog-float-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.catalog-float-cta-line {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg);
}

.catalog-float-cta-sub {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .catalog-page-header {
    padding: 12px 14px;
    gap: 10px;
  }
  .catalog-page-brand svg { width: 60px; }
  .catalog-page-title { font-size: 17px; }
  .catalog-page-stage { padding: 12px 8px 80px; }

  .catalog-float-cta {
    bottom: 14px;
    right: 50%;
    transform: translateX(50%);
    padding: 10px 16px 10px 12px;
    gap: 9px;
  }
  .catalog-float-cta:hover {
    transform: translateX(50%) translateY(-2px);
  }
  .catalog-float-cta-line { font-size: 12.5px; }
  .catalog-float-cta-sub { font-size: 9.5px; }
  .catalog-float-cta-icon { width: 16px; height: 16px; }
}

/* ============================================
   VIEW TOGGLE — 3D / Planta (junto a controls)
   ============================================ */
.view-toggle {
  display: inline-flex;
  margin-top: 4px;
  padding: 3px;
  background: rgba(10, 10, 10, 0.38);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}

.view-toggle-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  color: var(--fg-muted);
  transition: all 0.25s var(--ease-out);
}

.view-toggle-opt.is-active {
  background: var(--fg);
  color: var(--bg);
}

/* ============================================
   PLAN VIEW — overlay con planta arquitectonica
   ============================================ */
.plan-view {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at 50% 55%, #1a1b17 0%, #050505 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px clamp(24px, 6vw, 80px) 140px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.stage.plan-mode .plan-view {
  opacity: 1;
  pointer-events: auto;
}

.stage.plan-mode #viewer,
.stage.plan-mode .vignette {
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.plan-view-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-view-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.plan-view-empty {
  color: var(--fg-muted);
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.plan-view-empty strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  color: var(--fg);
  font-weight: 400;
}

.plan-view-note {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 520px);
  padding: 10px 18px;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  z-index: 4;
}

/* ============================================
   SPECS PANEL — slide-in derecha
   ============================================ */
.specs-panel {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: stretch;
  z-index: 7;
  animation: fade-in 1.2s var(--ease-out) 1.2s both;
}

.specs-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 36px;
  padding: 16px 0;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--fg-muted);
  transition: all 0.25s var(--ease-out);
}

.specs-toggle:hover {
  color: var(--fg);
  background: rgba(10, 10, 10, 0.7);
}

.specs-toggle-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.specs-toggle-arrow {
  transition: transform 0.3s var(--ease-out);
}

.specs-panel.is-open .specs-toggle-arrow {
  transform: rotate(180deg);
}

.specs-body {
  width: 0;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: width 0.35s var(--ease-out);
}

.specs-panel.is-open .specs-body {
  width: 280px;
  padding: 28px 26px;
  border-left: 1px solid var(--border);
}

.specs-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin: 0 0 4px;
  white-space: nowrap;
}

.specs-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lima);
  margin: 0 0 22px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 18px;
  white-space: nowrap;
}

.spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}

.spec dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.spec dd {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.specs-note {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-faint);
  font-style: italic;
  margin: 0;
}

@media (max-width: 720px) {
  .specs-panel {
    top: auto;
    bottom: 130px;
    right: 0;
    transform: none;
  }
  .specs-panel.is-open .specs-body {
    width: min(80vw, 280px);
    padding: 22px 20px;
  }
}

/* ============================================
   ABOUT MODAL — Manifiesto OHM (Nosotros)
   ============================================ */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
}

.about-modal.is-open {
  display: flex;
  animation: about-fade-in 0.32s var(--ease-out);
}

@keyframes about-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.about-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-modal-shell {
  position: relative;
  width: min(760px, 100%);
  max-height: min(900px, 92vh);
  overflow-y: auto;
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 64px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: about-rise 0.45s var(--ease-out);
}

@keyframes about-rise {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.about-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.25s var(--ease-out);
  z-index: 2;
}

.about-close:hover {
  color: var(--fg);
  border-color: var(--lima);
  background: rgba(168, 201, 112, 0.08);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lima);
  margin: 0 0 4px;
}

.about-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--fg);
  margin: 0;
}

.about-subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 4px 0 0;
}

.about-divider {
  width: 48px;
  height: 1px;
  background: var(--lima);
  margin: 28px 0 16px;
  opacity: 0.6;
}

.about-paragraph {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin: 0;
}

.about-paragraph em {
  font-style: italic;
  color: var(--lima);
}

.about-highlight {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--fg);
  display: inline;
}

.about-highlight-soft {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--miel);
  font-style: italic;
}

@media (max-width: 640px) {
  .about-modal { padding: 0; }
  .about-modal-shell {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 64px 24px 48px;
  }
  .about-title { font-size: 56px; }
  .about-paragraph { font-size: 17px; }
}

/* CTA Conversemos (WhatsApp) — al final del manifiesto Nosotros */
.about-cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  padding: 14px 28px 14px 22px;
  border: 1px solid var(--lima);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(168, 201, 112, 0);
}

.about-cta:hover {
  background: rgba(168, 201, 112, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(168, 201, 112, 0.15);
}

.about-cta-icon {
  flex: 0 0 auto;
  color: var(--lima);
}

.about-cta-text {
  display: inline-block;
}

@media (max-width: 640px) {
  .about-cta {
    margin-top: 28px;
    padding: 12px 22px 12px 18px;
    font-size: 13px;
  }
  .about-cta-icon { width: 16px; height: 16px; }
}
