/* ─── IRIS360 — estilos específicos ─── */
/* Complementa css/inmobiliaria.css, no lo reemplaza */
:root {
  --iris-acento: #0a84ff;
}
/* ── QUÉ INCLUYE ── */
.incluye-section {
  position: relative; z-index: 1;
  padding: 80px 48px 60px;
  border-bottom: 1px solid var(--gris-300);
}

.incluye-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  margin-top: 48px;
  border: 1px solid var(--gris-300);
}

.incluye-card {
  padding: 40px 32px;
  border-right: 1px solid var(--gris-300);
  transition: background 0.3s;
}

.incluye-card:last-child { border-right: none; }

.incluye-card:hover {
  background: rgba(0, 200, 150, 0.03);
}

.incluye-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: var(--gris-300); line-height: 1;
  margin-bottom: 20px;
}

.incluye-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
  color: var(--blanco); margin-bottom: 12px;
  line-height: 1.3;
}

.incluye-card p {
  font-size: 0.85rem; font-weight: 300;
  line-height: 1.8; color: var(--gris-500);
}

/* ── DEMO ── */
.demo-section {
  position: relative; z-index: 1;
  padding: 80px 48px 60px;
}

.demo-desc {
  font-size: 0.92rem; font-weight: 300;
  line-height: 1.8; color: var(--gris-500);
  max-width: 560px; margin-bottom: 48px;
}

.demo-placeholder {
  border: 1px solid var(--gris-300);
  background: var(--gris-100);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 48px;
}

.demo-icon {
  color: var(--gris-400);
  margin-bottom: 8px;
}

.demo-tag {
  font-size: 0.68rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gris-400);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .incluye-section { padding: 60px 24px 40px; }
  .demo-section    { padding: 60px 24px 40px; }
  .incluye-grid    { grid-template-columns: 1fr 1fr; }
  .incluye-card    { border-right: none; border-bottom: 1px solid var(--gris-300); }
  .incluye-card:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .incluye-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   IRIS360 — ÁREA CLIENTE (login + visor)
   ============================================================ */

.cliente-section {
  position: relative; z-index: 1;
  padding: 80px 48px 100px;
}

/* ── LOGIN CARD ── */
.login-wrapper {
  display: flex;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--gris-300);
  background: var(--gris-100);
  padding: 56px 48px;
}

.login-icon {
  color: var(--gris-400);
  margin-bottom: 24px;
}

.login-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gris-500);
  line-height: 1.6;
  margin-bottom: 36px;
}

.login-field {
  margin-bottom: 20px;
  text-align: left;
}

.login-field label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gris-400);
  margin-bottom: 8px;
}

.login-field input {
  width: 100%;
  padding: 13px 14px;
  background: var(--negro);
  border: 1px solid var(--gris-300);
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  cursor: text;
  transition: border-color 0.3s;
}

.login-field input:focus {
  outline: none;
  border-color: var(--plata);
}

.login-field input::placeholder { color: var(--gris-400); }

.login-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 32px;
  background: var(--blanco);
  color: var(--negro);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-expo);
}
.login-submit:hover:not(:disabled) { background: var(--plata); transform: translateY(-2px); }
.login-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.login-msg {
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.6;
  min-height: 1.2em;
}
.login-msg.error   { color: #ff6b6b; }
.login-msg.success { color: var(--plata); }

.login-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gris-300);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--gris-400);
  line-height: 1.7;
}

/* ── VISOR / PANEL CLIENTE (post-login) ── */
.cliente-panel { display: none; }
.cliente-panel.activo { display: block; }

.cliente-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--gris-300);
}

.cliente-info {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--gris-500);
}
.cliente-info strong {
  color: var(--blanco);
  font-weight: 500;
}

.btn-logout {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gris-400);
  background: none;
  border: 1px solid var(--gris-300);
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.btn-logout:hover { color: var(--plata-viva); border-color: var(--plata); }

#visor-iris360 { display: none; }

.visor-placeholder {
  text-align: center;
  padding: 48px;
  color: var(--gris-400);
}
.visor-placeholder p {
  margin-top: 16px;
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cliente-section { padding: 60px 24px 60px; }
  .login-card { padding: 40px 28px; }
}

/* ============================================================
   IRIS360 — VISOR PANTALLA COMPLETA + MAPA/SIDEBAR FLOTANTES
   ============================================================ */

#visor-iris360.visor-activo {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #000;
  display: block;
  min-height: 0;
  border: none;
}

.proyectos-hint {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gris-400);
  margin-bottom: 20px;
}

.proyectos-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.proyecto-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s var(--ease-expo), box-shadow 0.3s;
}
.proyecto-card:hover {
  border-color: var(--plata);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.proyecto-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--blanco);
  margin-bottom: 8px;
}
.proyecto-card span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gris-400);
}

.visor-viewer-full {
  width: 100%;
  height: 100%;
}

.visor-close {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 20;
  background: rgba(30, 30, 30, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: 999px;
  color: #FFFFFF;
  padding: 10px 20px 10px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.visor-close:hover { background: rgba(30, 30, 30, 0.75); }

.visor-top-bar {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}

.visor-top-nombre {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blanco);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.visor-info-logo {
  max-height: 30px;
  max-width: 30px;
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--iris-acento);
  background: #fff;
  padding: 1px;
}

.visor-panel-flotante {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 210px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 4px;
  padding-top: 36px;
  transition: width 0.3s ease;
}

.visor-panel-flotante.colapsado {
  width: 44px;
  padding-bottom: 8px;
  gap: 0;
}
.visor-panel-flotante.colapsado .visor-mapa,
.visor-panel-flotante.colapsado .visor-sidebar {
  display: none;
}

.visor-panel-toggle {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 30;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--blanco);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}
.visor-panel-toggle:hover { background: rgba(255, 255, 255, 0.25); }

.visor-mapa {
  width: 100%;
  height: 170px;
}

.visor-sidebar {
  max-height: 280px;
  overflow-y: auto;
}
.visor-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.visor-sidebar-item img,
.sidebar-item-noimg {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}
.visor-sidebar-item span {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}
.visor-sidebar-item:hover { background: rgba(255, 255, 255, 0.06); }
.visor-sidebar-item.activo {
  background: rgba(10, 132, 255, 0.12);
  border-left-color: var(--iris-acento);
}
.visor-sidebar-item.activo span { color: var(--iris-acento); font-weight: 500; }
.visor-sidebar-item.activo::after {
  content: '›';
  margin-left: auto;
  color: var(--iris-acento);
  font-size: 1.1rem;
}
.visor-sidebar-item:last-child { border-bottom: none; }
.visor-sidebar-item:hover { color: var(--blanco); background: rgba(255,255,255,0.06); }
.visor-sidebar-item.activo { color: var(--plata-viva); background: rgba(255,255,255,0.1); }

/* Header y footer ocultos mientras el visor 360 está en pantalla completa */
body.visor-360-activo .header { display: none; }
body.visor-360-activo footer { display: none; }

@media (max-width: 640px) {
  .visor-panel-flotante { width: 200px; top: 12px; right: 12px; }
  .visor-close { top: 12px; left: 12px; padding: 9px 14px; }
  .visor-mapa { height: 130px; }
}





.visor-info-card {
  position: absolute;
  top: 80px;
  left: 24px;
  z-index: 20;
  width: 380px;
  max-width: calc(100vw - 48px);
}

.visor-info-top {
  margin-bottom: 14px;
}

.visor-info-logo {
  max-height: 34px;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.visor-info-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.2;
  color: #FFFFFFFF;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.visor-info-card p {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.visor-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 30, 30, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  color: #FFFFFF;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}
.visor-video-btn::before {
  content: '▶';
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--iris-acento);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.visor-video-btn:hover { background: rgba(30, 30, 30, 0.75); }
/* ── Hotspots de navegación con imagen + etiqueta ── */
.hotspot-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.hotspot-link:hover { transform: translateY(-3px); }

.hotspot-link span {
  position: relative;
  background: rgba(20, 20, 20, 0.85);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  margin-bottom: 10px;
}
.hotspot-link span::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(20, 20, 20, 0.85) transparent transparent transparent;
}

.hotspot-link img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* ── Modal de video ── */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

#video-modal-frame, #video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-cerrar {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  .visor-info-card { width: calc(100vw - 48px); top: 12px; left: 12px; padding: 16px 18px; }
  .hotspot-link img { width: 48px; height: 48px; }
}

.visor-top-bar {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
}

.visor-top-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--blanco);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
}