/* ============================================================================
   TORRE 360 · MANIZALES — ESTILOS 100% FIELES A TORRE360.CO
   Tipografía autoalojada exacta (Poppins woff2 de torre360.co) + paleta exacta
   ============================================================================ */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrldz8z1jlfc-k.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrldz8z1xlfq.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-pxieyp8kv8jhgfvrjjnecmne.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-pxieyp8kv8jhgfvrjjfecg.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrlgt9z1jlfc-k.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrlgt9z1xlfq.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrlej6z1jlfc-k.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrlej6z1xlfq.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrlcz7z1jlfc-k.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-pxibyp8kv8jhgfvrlcz7z1xlfq.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg-ivory: #fbf9f3;
  --bg-white: #ffffff;
  --bg-dark: #1d1d1b;
  --primary: #0b6289;
  --primary-hover: #084d6c;
  --btn-form: #066aab;
  --btn-form-hover: #05558a;
  --ink: #000000;
  --slate: #3a3a3a;
  --muted: #5f5f5f;
  --border: #e5e1d7;
  --wa: #25d366;
  --wa-hover: #1ebe5d;
  --ig: #d8084f;
  --fb: #3b5998;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--bg-ivory);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- INSIGNIA DISCRETA DEV (abajo a la izquierda, solo fuera de torre360.co) ---- */
.dev-ribbon {
  display: none;
  position: fixed;
  left: 14px;
  bottom: 18px;
  z-index: 100;
  background: rgba(17, 24, 39, 0.88);
  color: #f3f4f6;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, 0.45);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.dev-ribbon.visible { display: inline-flex; align-items: center; gap: 6px; }
.dev-ribbon strong { color: #86efac; }

/* ---- BOTONES EXACTOS TORRE 360 ---- */
.t360-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  border: 0;
  background: var(--primary);
  color: #ffffff;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.t360-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.t360-btn-block { width: 100%; }
.t360-btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 9px 26px;
  border-radius: 8px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.t360-btn-outline-white:hover { background: rgba(255, 255, 255, 0.14); }
.t360-btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 4px;
  border: 0;
  background: var(--btn-form);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.t360-btn-form:hover { background: var(--btn-form-hover); }

/* ============================================================================
   SECCIÓN 1: HERO CON HEADER TRANSPARENTE SUPERPUESTO (EXACTO A TORRE360.CO)
   ============================================================================ */
.hero-t360 {
  position: relative;
  min-height: clamp(560px, 54vw, 774px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #16181a;
  background-size: cover;
  background-position: center 26%;
  color: #ffffff;
  padding: 26px clamp(18px, 2.8vw, 40px) 46px;
}
.hero-t360::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.47);
  z-index: 1;
}
.hero-topbar, .hero-bottom { position: relative; z-index: 2; }

.hero-topbar {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
}
.hero-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.hero-logo img {
  height: 46px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.hero-topbar nav { min-width: 0; }

.hero-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-nav a {
  font-size: clamp(15px, 1.55vw, 24px);
  font-weight: 400;
  color: #ffffff;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.hero-nav a:hover { opacity: 0.78; }

.hero-bottom {
  width: 100%;
  max-width: 1180px;
  margin: auto auto 0;
  text-align: center;
  padding-top: 80px;
}
.hero-bottom h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.28vw, 47px);
  font-weight: 600;
  line-height: 1.18;
  color: #ffffff;
}
.hero-bottom h2 {
  margin: 0;
  font-size: clamp(16px, 1.74vw, 25px);
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
}

/* Header oscuro para páginas secundarias (Sobre nosotros, Planos, Blog, Contacto) */
.subpage-header {
  background: var(--bg-dark);
  padding: 18px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.subpage-header .hero-nav a { font-size: 16px; }
.subpage-header .t360-btn-outline-white { font-size: 15px; padding: 8px 18px; }

/* Menú móvil hamburguesa animado con panel lateral deslizable y backdrop blur */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.88);
  border-color: rgba(255, 255, 255, 0.65);
}
.menu-toggle:active {
  transform: scale(0.94);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, width 0.28s ease;
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.38s ease;
}
.mobile-drawer.open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 17, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}
.mobile-drawer-panel {
  position: relative;
  z-index: 2;
  width: min(360px, 88vw);
  height: 100%;
  background: rgba(25, 26, 25, 0.97);
  color: #ffffff;
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.42);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-panel {
  transform: translate3d(0, 0, 0);
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-drawer-head img { height: 36px; width: auto; }
.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}
.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-drawer ul li {
  opacity: 0;
  transform: translate3d(18px, 0, 0);
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-drawer.open ul li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.mobile-drawer.open ul li:nth-child(1) { transition-delay: 0.06s; }
.mobile-drawer.open ul li:nth-child(2) { transition-delay: 0.11s; }
.mobile-drawer.open ul li:nth-child(3) { transition-delay: 0.16s; }
.mobile-drawer.open ul li:nth-child(4) { transition-delay: 0.21s; }
.mobile-drawer ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, padding-left 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-drawer ul a:hover {
  color: #ffffff;
  padding-left: 16px;
}
.mobile-drawer-foot {
  padding-top: 22px;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.32s ease 0.22s, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}
.mobile-drawer.open .mobile-drawer-foot {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ============================================================================
   SECCIÓN 2: SPLIT 50/50 FULL-BLEED (TEXTO #FBF9F3 + VIDEO AL RAS DERECHO)
   ============================================================================ */
.split-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--bg-ivory);
  width: 100%;
}
.split-intro-text {
  padding: 6% 6% 6% 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.split-intro-text h2 {
  margin: 0 0 22px;
  font-size: clamp(23px, 2.15vw, 31px);
  font-weight: 600;
  line-height: 1.38;
  color: #000000;
}
.split-intro-text p {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.38vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  color: #000000;
}
.split-intro-media {
  position: relative;
  width: 100%;
  aspect-ratio: 993 / 800;
  background: #141517;
  transition: aspect-ratio 0.28s ease;
}
.split-intro-media.is-video-active {
  aspect-ratio: 16 / 9;
}
.split-intro-media.is-portrait,
.split-intro-media.is-portrait.is-video-active {
  aspect-ratio: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 3.6vw, 48px) clamp(20px, 3vw, 44px);
}
.split-intro-media.is-portrait .video-cover {
  width: min(355px, 100%);
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(20, 22, 26, 0.18);
}

/* Reproductor de video con portada exacta sin barras negras + video sin recorte */
.video-cover {
  position: relative;
  width: 100%;
  height: 100%;
  background: #141517;
  overflow: hidden;
  cursor: pointer;
}
.video-cover-poster {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.32s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.video-cover:hover .video-cover-poster { transform: scale(1.018); }
.video-cover-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, opacity 0.28s ease;
  padding: 0;
}
.video-cover:hover .video-cover-play {
  transform: translate(-50%, -50%) scale(1.07);
  background: rgba(0, 0, 0, 0.38);
}
.video-cover.is-loading .video-cover-play {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  animation: t360Spin 0.75s linear infinite;
}
.video-cover.is-loading .video-cover-play svg { opacity: 0.35; }
@keyframes t360Spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.video-cover-play svg {
  width: 30px;
  height: 30px;
  fill: rgba(255, 255, 255, 0.92);
  margin-left: 4px;
}
.video-cover video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.video-cover.is-playing video {
  z-index: 4;
  opacity: 1;
}
.video-cover.is-playing .video-cover-poster,
.video-cover.is-playing .video-cover-play {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================================
   SECCIÓN 3: ZONAS COMUNES (CARRUSEL GRANDE CON FLECHAS NEGRAS)
   ============================================================================ */
.zonas-section {
  background: var(--bg-ivory);
  padding: 62px 0 36px;
}
.t360-heading {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  color: #000000;
}
.t360-subheading {
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(21px, 2.08vw, 30px);
  font-weight: 600;
  color: #000000;
}

.t360-carousel {
  position: relative;
  width: 94%;
  max-width: 1354px;
  margin: 0 auto;
  overflow: hidden;
  background: #1d1d1b;
}
.t360-carousel-track {
  display: flex;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  height: 100%;
}
.t360-slide {
  min-width: 100%;
  height: clamp(250px, 41vw, 590px);
  cursor: pointer;
  overflow: hidden;
}
.t360-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.t360-slide:hover img { transform: scale(1.015); }
.t360-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 64px;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 40px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
  transition: transform 0.15s ease, opacity 0.2s;
}
.t360-arrow:hover { transform: translateY(-50%) scale(1.12); }
.t360-arrow.prev { left: 10px; }
.t360-arrow.next { right: 10px; }

/* ============================================================================
   SECCIÓN 4: TIPOS DE APARTAMENTOS (3 COLUMNAS EXACTAS + LÍNEA DIVISORIA 1PX)
   ============================================================================ */
.aptos-section {
  background: var(--bg-ivory);
  padding: 50px 0 64px;
}
.aptos-mode-head {
  width: 94%;
  max-width: 1360px;
  margin: 0 auto 38px;
  display: flex;
  justify-content: center;
}
.aptos-mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #ffffff;
  border: 1px solid #ddd8ce;
  border-radius: 4px;
  padding: 4px;
  gap: 4px;
  max-width: 100%;
}
.aptos-mode-btn {
  border: 0;
  background: transparent;
  color: #3a3a3a;
  font-family: "Poppins", sans-serif;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 500;
  padding: 11px clamp(16px, 2.6vw, 34px);
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.aptos-mode-btn:hover {
  color: #000000;
  background: var(--bg-ivory);
}
.aptos-mode-btn.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}
.aptos-tab-panel[hidden] { display: none; }
.aptos-tab-panel.is-active {
  animation: t360TabFade 0.24s ease;
}
@keyframes t360TabFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.apto-block {
  width: 96%;
  max-width: 1385px;
  margin: 0 auto 70px;
}
.apto-block:last-child { margin-bottom: 24px; }

.apto-row {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) 1px minmax(0, 1fr) minmax(195px, 0.62fr);
  gap: clamp(16px, 1.6vw, 24px);
  align-items: start;
}
.apto-video-box {
  width: 100%;
  aspect-ratio: 1053 / 774;
  background: #141517;
  align-self: center;
  transition: aspect-ratio 0.28s ease;
}
.apto-video-box.is-video-active {
  aspect-ratio: 16 / 9;
}
.apto-row.no-video {
  grid-template-columns: minmax(0, 1.45fr) 1px minmax(240px, 0.85fr);
  max-width: 1060px;
  margin: 0 auto;
  align-items: center;
}
.apto-type-nav {
  width: 96%;
  max-width: 1360px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e1d7;
}
.apto-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.apto-type-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid #ddd8ce;
  background: #ffffff;
  color: #1d1d1b;
  font-family: "Poppins", sans-serif;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.apto-type-btn strong { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.apto-type-btn span { font-size: 11.5px; font-weight: 300; color: #5f5f5f; line-height: 1.2; }
.apto-type-btn:hover { border-color: var(--primary); }
.apto-type-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.apto-type-btn.active span { color: rgba(255, 255, 255, 0.88); }
.apto-type-arrows {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.apto-block[hidden] { display: none; }
.apto-block.is-active { animation: t360TabFade 0.22s ease; }
.apto-divider {
  width: 1px;
  background: #1d1d1b;
  align-self: stretch;
  min-height: 410px;
}
.apto-plan-box {
  width: 100%;
  cursor: pointer;
}
.apto-plan-box img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  margin: 0 auto;
}
.apto-specs-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 2px;
}
.apto-spec-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.apto-spec-line img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.apto-spec-line span {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.1px;
  line-height: 1.2;
}
.apto-specs-col .t360-btn { margin-top: 8px; }

/* ============================================================================
   SECCIÓN 4B: DISPONIBILIDAD INTERACTIVA (3D POR PISO + PLANTA 2D + PANEL LATERAL)
   Simple, minimalista y 100% coherente con torre360.co (#FBF9F3, #FFFFFF, #0B6289)
   ============================================================================ */
.availability-section {
  background: var(--bg-ivory);
  padding: 46px 0 72px;
}
.av-header {
  width: 92%;
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}
.av-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: #5f5f5f;
}
.av-kicker strong { font-weight: 600; color: var(--primary); }
.av-header .t360-heading { margin-bottom: 12px; }
.av-subtitle {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(15px, 1.3vw, 18.5px);
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.55;
}

.av-shell {
  width: 94%;
  max-width: 1360px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ddd8ce;
  border-radius: 4px;
  overflow: hidden;
}

/* Barra superior simple: disponibles hoy + leyenda minimalista */
.av-simple-bar {
  background: var(--bg-ivory);
  border-bottom: 1px solid #e5e1d7;
  padding: 13px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}
.av-quick-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.av-quick-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #3a3a3a;
  white-space: nowrap;
  flex-shrink: 0;
}
.av-quick-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.av-quick-scroll::-webkit-scrollbar { display: none; }
.av-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 4px;
  border: 1px solid #d9d3c6;
  background: #ffffff;
  color: #1d1d1b;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.av-quick-btn strong { font-weight: 600; }
.av-quick-btn span { font-weight: 300; color: #5f5f5f; }
.av-quick-btn:hover { border-color: var(--primary); }
.av-quick-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.av-quick-btn.active span { color: rgba(255, 255, 255, 0.9); }

.fp-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #5f5f5f;
  flex-shrink: 0;
}
.fp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fp-sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.fp-sw.sw-disp { background: var(--primary); }
.fp-sw.sw-res { background: #cdc6ba; border: 1px solid #968c7d; }
.fp-sw.sw-vend { background: #c5c9cf; border: 1px solid #8a9099; }

/* Grid principal 2 columnas: 1. Fachada 3D (izq) | 2. Planta 2D del piso (der) */
.t360-exp-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.38fr);
  align-items: stretch;
}
.t360-tower-col {
  padding: 22px 24px 24px;
  border-right: 1px solid #e5e1d7;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.t360-plan-col {
  padding: 22px 28px 26px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.t360-col-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}
.t360-col-head > div { min-width: 0; flex: 1; }
.t360-step-num {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.t360-col-head strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #000000;
  line-height: 1.25;
}
.t360-col-sub {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: #5f5f5f;
  margin-top: 1px;
  line-height: 20px;
  height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-head-avail { font-weight: 600; color: var(--primary); }

/* ---- COLUMNA 1: ALZADO ARQUITECTÓNICO 2D INTERACTIVO DE TORRE 360 ---- */
.t360-elev-wrap {
  margin-top: 14px;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e5e1d7;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}
.t360-elev-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  font-family: "Poppins", sans-serif;
}
.el-grid-axis { stroke: rgba(160, 154, 142, 0.28); stroke-width: 1; stroke-dasharray: 3 3; }
.el-axis-div { stroke: #d8d3c8; stroke-width: 1; }
.el-wing-title { font-size: 11px; font-weight: 700; letter-spacing: 0.9px; fill: #1d1d1b; }
.el-wing-sub { font-size: 8.8px; font-weight: 400; fill: #6b6760; }
.el-roof-slab { fill: #2b3036; }
.el-roof-crown { fill: #525962; }
.el-core-cap { fill: #3c434b; }
.el-building-shell { fill: #f1eee7; stroke: #cfc9bc; stroke-width: 1.2; }
.el-terrace-line { stroke: #0b6289; stroke-width: 2; stroke-linecap: round; opacity: 0.6; }
.el-core-seg { fill: #dad5cb; }
.el-social-cell { fill: #ece8df; stroke: #cbc4b6; stroke-width: 1; stroke-dasharray: 2.5 2; }
.el-social-lbl { font-size: 7.4px; font-weight: 700; letter-spacing: 0.45px; fill: #3f3d38; pointer-events: none; }
.el-social-sub { font-size: 6.4px; font-weight: 400; letter-spacing: 0.2px; fill: #6b665d; pointer-events: none; }
.el-podium-title { font-size: 8.2px; font-weight: 600; letter-spacing: 0.65px; fill: #3a3834; }
.el-lobby-lbl { font-size: 7.5px; font-weight: 600; letter-spacing: 0.65px; fill: #ffffff; }
.el-ground-caption { font-size: 8.5px; font-weight: 600; letter-spacing: 1px; fill: #7c776e; }

.el-floor-row { cursor: pointer; outline: none; }
.el-row-hit { fill: transparent; stroke: transparent; stroke-width: 1.5; transition: fill 0.16s ease, stroke 0.16s ease; }
.el-row-accent { fill: transparent; transition: fill 0.16s ease; }
.el-lvl-pill { fill: #f4f1ea; stroke: #dcd6ca; stroke-width: 1; transition: fill 0.16s ease, stroke 0.16s ease; }
.el-lvl-txt { font-size: 9.8px; font-weight: 600; fill: #4a4843; pointer-events: none; transition: fill 0.16s ease; }

.el-unit { stroke-width: 1; transition: fill 0.16s ease, stroke 0.16s ease, filter 0.16s ease; }
.el-unit.is-vend { fill: #e4e1da; stroke: #cac4b8; }
.el-unit.is-res { fill: #ded7c9; stroke: #beb5a3; }
.el-unit.is-disp { fill: #0b6289; stroke: #074b69; }
.el-unit-num { font-size: 8.8px; font-weight: 600; pointer-events: none; }
.el-unit-num.is-vend { fill: #7b776e; font-weight: 500; }
.el-unit-num.is-res { fill: #695e4c; font-weight: 500; }
.el-unit-num.is-disp { fill: #ffffff; font-weight: 700; }

.el-disp-pill { fill: rgba(11, 98, 137, 0.12); stroke: rgba(11, 98, 137, 0.35); stroke-width: 1; transition: fill 0.16s ease; }
.el-disp-txt { font-size: 8.6px; font-weight: 600; fill: #0b6289; pointer-events: none; transition: fill 0.16s ease; }
.el-sold-dot { fill: #c6c0b4; }

/* Hover y selección súper claros sin salto vertical */
.el-floor-row.has-disp .el-lvl-pill { fill: #ffffff; stroke: rgba(11, 98, 137, 0.45); }
.el-floor-row.has-disp .el-lvl-txt { fill: #0b6289; }
.el-floor-row:hover .el-row-hit,
.el-floor-row:focus-visible .el-row-hit { fill: rgba(29, 29, 27, 0.045); stroke: rgba(29, 29, 27, 0.25); }
.el-floor-row.has-disp:hover .el-row-hit { fill: rgba(11, 98, 137, 0.065); stroke: rgba(11, 98, 137, 0.35); }
.el-floor-row:hover .el-unit.is-disp { fill: #084d6c; }

.el-floor-row.is-selected .el-row-hit { fill: rgba(29, 29, 27, 0.07); stroke: #1d1d1b; stroke-width: 1.6; }
.el-floor-row.is-selected .el-row-accent { fill: #1d1d1b; }
.el-floor-row.is-selected .el-lvl-pill { fill: #1d1d1b; stroke: #1d1d1b; }
.el-floor-row.is-selected .el-lvl-txt { fill: #ffffff; }
.el-floor-row.has-disp.is-selected .el-row-hit { fill: rgba(11, 98, 137, 0.09); stroke: #0b6289; stroke-width: 1.75; }
.el-floor-row.has-disp.is-selected .el-row-accent { fill: #0b6289; }
.el-floor-row.has-disp.is-selected .el-lvl-pill { fill: #0b6289; stroke: #0b6289; }
.el-floor-row.has-disp.is-selected .el-disp-pill { fill: #0b6289; stroke: #0b6289; }
.el-floor-row.has-disp.is-selected .el-disp-txt { fill: #ffffff; }

/* ---- COLUMNA 2: PLANTA 2D DEL PISO SELECCIONADO ---- */
.t360-plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e1d7;
}
.fp-head-nav { display: inline-flex; gap: 6px; flex-shrink: 0; }
.fp-step-btn {
  border: 1px solid #d9d3c6;
  background: #ffffff;
  color: #1d1d1b;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.fp-step-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.fp-step-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.fp-towers-guide {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  text-align: center;
  padding: 11px 0 4px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #5f5f5f;
}
.fp-guide-sep { height: 14px; background: #d9d3c6; }

.fp-board {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 674;
  background: #ffffff;
  margin: 4px 0 12px;
  overflow: hidden;
}
.fp-plan-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.fp-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.fp-unit-poly {
  cursor: pointer;
  transition: fill 0.18s ease, stroke 0.18s ease;
}
.fp-unit-poly.st-disp {
  fill: rgba(11, 98, 137, 0.3);
  stroke: #0b6289;
  stroke-width: 2.5;
}
.fp-unit-poly.st-disp:hover,
.fp-unit-poly.st-disp.is-selected {
  fill: rgba(11, 98, 137, 0.44);
  stroke: #084d6c;
  stroke-width: 3.4;
}
.fp-unit-poly.st-res {
  fill: rgba(154, 146, 132, 0.28);
  stroke: #8a8070;
  stroke-width: 1.9;
}
.fp-unit-poly.st-res:hover,
.fp-unit-poly.st-res.is-selected {
  fill: rgba(154, 146, 132, 0.4);
  stroke: #5f5547;
  stroke-width: 2.8;
}
.fp-unit-poly.st-vend {
  fill: rgba(126, 132, 140, 0.28);
  stroke: #757b84;
  stroke-width: 1.8;
}
.fp-unit-poly.st-vend:hover,
.fp-unit-poly.st-vend.is-selected {
  fill: rgba(126, 132, 140, 0.4);
  stroke: #1d1d1b;
  stroke-width: 2.8;
}

.fp-tags-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.fp-unit-tag {
  position: absolute;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 5px 9px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: "Poppins", sans-serif;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fp-unit-tag strong { font-size: 12.5px; font-weight: 600; }
.fp-unit-tag span { font-size: 9.5px; font-weight: 400; }
.fp-unit-tag:hover { transform: translate(-50%, -50%) scale(1.06); z-index: 5; }
.fp-unit-tag.st-disp { background: var(--primary); border-color: #084d6c; color: #ffffff; }
.fp-unit-tag.st-disp span { color: rgba(255, 255, 255, 0.92); }
.fp-unit-tag.st-res { background: rgba(251, 249, 243, 0.95); border-color: #c2b192; color: #5e4e34; }
.fp-unit-tag.st-vend { background: rgba(255, 255, 255, 0.92); border-color: #d6d2c8; color: #5f5f5f; }
.fp-unit-tag.is-selected { outline: 2px solid #000000; outline-offset: 2px; z-index: 6; }

/* Tarjetas limpias de las unidades del piso debajo del plano 2D */
.t360-floor-cards {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e5e1d7;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  min-height: 134px;
  gap: 8px;
}
.t360-floor-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t360-floor-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t360-fcard {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #e5e1d7;
  background: var(--bg-ivory);
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.t360-fcard:hover { border-color: var(--primary); background: #ffffff; }
.t360-fcard.st-disp {
  background: #ffffff;
  border-color: rgba(11, 98, 137, 0.45);
}
.t360-fcard.st-disp .t360-fc-price { color: var(--primary); font-weight: 600; }
.t360-fcard.is-selected {
  border-color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
  background: #ffffff;
}
.t360-fc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.t360-fc-top strong { font-size: 13.5px; font-weight: 600; color: #000000; white-space: nowrap; }
.t360-fc-price { font-size: 12px; font-weight: 500; color: #6b6760; white-space: nowrap; }
.t360-fc-sub { font-size: 11.5px; font-weight: 300; color: #5f5f5f; }

.fp-back-tower { display: none; }
/* ---- MODAL CENTRADO AL FRENTE (DESCRIPCIÓN COMPLETA AL HACER CLIC) ---- */
.av-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.24s ease;
}
.av-drawer-root.open {
  pointer-events: auto;
  visibility: visible;
}
.av-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 27, 0.48);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.av-drawer-root.open .av-drawer-backdrop { opacity: 1; }

.av-drawer-panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: min(90vh, 860px);
  background: #ffffff;
  border: 1px solid #ddd8ce;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.av-drawer-root.open .av-drawer-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.av-drawer-body {
  padding: 24px 26px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}
.av-drawer-body > * {
  flex-shrink: 0;
}
.av-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e1d7;
}
.av-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid #ddd8ce;
  background: #ffffff;
  color: #1d1d1b;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.av-drawer-close:hover { border-color: #000000; background: var(--bg-ivory); }

.av-ins-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; }
.av-status-lbl { font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }
.av-status-lbl.st-disp { color: var(--primary); }
.av-status-lbl.st-res { color: #7c6640; }
.av-status-lbl.st-vend { color: #7a766e; }
.av-meta-dot { color: #b5b0a5; }
.av-tower-lbl { font-weight: 400; color: #3a3a3a; }

.av-share-btn {
  border: 0;
  background: transparent;
  color: #5f5f5f;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.av-share-btn:hover { color: #000000; }

.av-ins-title-row { display: flex; flex-direction: column; gap: 10px; }
.av-ins-title-row h3 { margin: 0 0 3px; font-size: 26px; font-weight: 600; line-height: 1.2; color: #000000; }
.av-ins-title-row p { margin: 0; font-size: 13.5px; font-weight: 300; color: #5f5f5f; }
.av-ins-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 13px;
  background: var(--bg-ivory);
  border-left: 3px solid var(--primary);
}
.av-ins-price strong { font-size: 20px; font-weight: 600; color: var(--primary); line-height: 1.2; }
.av-ins-price span { font-size: 12px; font-weight: 300; color: #5f5f5f; }

.av-ins-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e5e1d7;
  gap: 4px;
}
.av-ins-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  padding: 8px 4px 9px;
  font-size: 12.5px;
  font-weight: 400;
  color: #5f5f5f;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.av-ins-tabs button:hover { color: #000000; }
.av-ins-tabs button.active { color: #000000; font-weight: 600; border-bottom-color: var(--primary); }

.av-ins-stage {
  display: block;
  width: 100%;
  min-height: 0;
}
.av-plan-preview {
  background: #ffffff;
  border: 1px solid #e5e1d7;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
}
.av-plan-preview img { width: 100%; height: 224px; object-fit: contain; margin: 0 auto; }
.av-plan-zoom-hint { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--primary); }

.av-video-card {
  width: 100%;
  background: var(--bg-ivory);
  border: 1px solid #e5e1d7;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.av-video-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 270px;
  background: #0f1216;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.av-video-frame video {
  width: 100%;
  height: 100%;
  max-height: 270px;
  object-fit: contain;
  display: block;
  background: #0f1216;
}
.av-video-caption {
  font-size: 12px;
  font-weight: 500;
  color: #4a4a4a;
  text-align: center;
  line-height: 1.3;
}

.av-view-card {
  background: var(--bg-ivory);
  border: 1px solid #e5e1d7;
  border-radius: 4px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.av-compass-visual { display: flex; align-items: center; gap: 16px; }
.av-compass-visual svg { width: 88px; height: 88px; flex-shrink: 0; }
.av-vc-kicker { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--primary); font-weight: 600; }
.av-compass-visual strong { display: block; font-size: 15px; font-weight: 600; color: #000000; margin: 2px 0 4px; }
.av-compass-visual p { margin: 0; font-size: 12.5px; font-weight: 300; color: #3a3a3a; }
.av-alt-head { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; color: #3a3a3a; }
.av-alt-track { height: 6px; background: #e5e1d7; border-radius: 3px; overflow: hidden; }
.av-alt-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.35s ease; }

.av-sim-card {
  background: var(--bg-ivory);
  border: 1px solid #e5e1d7;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.av-sim-controls { display: flex; flex-direction: column; gap: 10px; }
.av-sim-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #3a3a3a; }
.av-sim-row input[type="range"] { width: 130px; accent-color: var(--primary); }
.av-sim-pills { display: inline-flex; gap: 4px; }
.av-sim-pills button {
  border: 1px solid #d5cfc1;
  background: #ffffff;
  color: #1d1d1b;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
}
.av-sim-pills button.active { background: var(--primary); border-color: var(--primary); color: #ffffff; }
.av-sim-results {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid #e5e1d7;
  font-size: 12.5px;
}
.av-sim-results > div { display: flex; justify-content: space-between; gap: 8px; color: #3a3a3a; }
.av-sim-highlight {
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: 4px;
  background: #1d1d1b;
  color: #ffffff !important;
}
.av-sim-highlight strong { color: #ffffff; }
.av-sim-note { font-size: 11px; font-weight: 300; color: #6b6760; line-height: 1.35; }

.av-ins-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.av-sp-box { background: var(--bg-ivory); border: 1px solid #e5e1d7; border-radius: 4px; padding: 10px 12px; }
.av-sp-box.is-accent { background: rgba(11, 98, 137, 0.06); border-color: rgba(11, 98, 137, 0.3); }
.av-sp-box span { display: block; font-size: 11px; font-weight: 300; color: #5f5f5f; }
.av-sp-box strong { display: block; font-size: 14px; font-weight: 600; color: #000000; }
.av-sp-box.is-accent strong { color: var(--primary); }

.av-ins-actions { margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
.av-wa-cta {
  background: #1a9c4d;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  gap: 9px;
}
.av-wa-cta:hover { background: #14823f; }
.av-wa-cta svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.av-btn-secondary {
  width: 100%;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #1d1d1b;
  background: transparent;
  color: #1d1d1b;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
}
.av-btn-secondary:hover { background: #1d1d1b; color: #ffffff; }

@media (max-width: 1024px) {
  .t360-exp-grid { grid-template-columns: minmax(0, 1fr); }
  .t360-tower-col { border-right: 0; border-bottom: 1px solid #e5e1d7; padding: 20px 18px 22px; }
  .t360-elev-wrap { max-width: 440px; }
  .t360-plan-col { padding: 20px 18px 24px; scroll-margin-top: 12px; }
  .t360-tower-col { scroll-margin-top: 12px; }
  .fp-back-tower { display: inline-flex; align-items: center; }
}
@media (max-width: 640px) {
  .dev-ribbon { top: 8px; left: 8px; bottom: auto; font-size: 9.5px; padding: 3px 8px; }
  .av-simple-bar { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .av-quick-wrap { flex: none; flex-direction: column; align-items: flex-start; gap: 7px; width: 100%; }
  .av-quick-scroll { width: 100%; }
  .t360-tower-col, .t360-plan-col { padding: 16px 14px 18px; }
  .t360-elev-wrap { max-width: 100%; }
  .fp-towers-guide { font-size: 10px; }
  .fp-unit-tag { padding: 3px 6px; }
  .fp-unit-tag strong { font-size: 10.5px; }
  .fp-unit-tag span { display: none; }
  .t360-floor-cards, .t360-floor-cards.cols-3, .t360-floor-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-drawer-body { padding: 20px 18px 24px; }
  .av-ins-title-row h3 { font-size: 22px; }
  .av-ins-tabs button { font-size: 11.5px; padding: 8px 2px 9px; }
}

/* ============================================================================
   SECCIÓN 5 Y 8: BANNERS DE FORMULARIO SOBRE FOTO OSCURA (LÍNEAS BLANCAS)
   ============================================================================ */
.exclusividad-strip {
  background: var(--bg-ivory);
  padding: 20px 24px 36px;
  text-align: center;
}
.exclusividad-strip h2 {
  margin: 0;
  font-size: clamp(20px, 1.74vw, 25px);
  font-weight: 500;
  color: #000000;
}

.form-banner {
  position: relative;
  width: 100%;
  min-height: 530px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #ffffff;
}
.form-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}
.form-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.form-banner-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(23px, 2.15vw, 31px);
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
}
.form-banner-copy p {
  margin: 0;
  font-size: clamp(15px, 1.38vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

/* Formulario minimalista transparente con línea inferior blanca (EXACTO a torre360.co) */
.line-form { display: flex; flex-direction: column; gap: 20px; }
.line-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.line-input, .line-textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  padding: 10px 4px 10px 10px;
  outline: none;
  border-radius: 0;
}
.line-input::placeholder, .line-textarea::placeholder {
  color: rgba(255, 255, 255, 0.88);
}
.line-input:focus, .line-textarea:focus {
  border-bottom-color: #ffffff;
}
.line-textarea {
  min-height: 108px;
  resize: vertical;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
.form-status {
  font-size: 13.5px;
  font-weight: 500;
  min-height: 18px;
}
.form-status.ok { color: #86efac; }
.form-status.err { color: #fca5a5; }

/* ---- SECCIÓN 8: AGENDADOR EDITORIAL INTEGRADO SOBRE FOTO AÉREA (ESTÉTICA TORRE 360) ---- */
.sched-banner::before {
  background: rgba(0, 0, 0, 0.56);
}
.sched-banner-inner {
  max-width: 1200px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 4.5vw, 68px);
}
.sched-panel {
  min-width: 0;
  max-width: 100%;
}
.sched-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.sched-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.sched-mod-tabs {
  display: inline-flex;
  gap: 18px;
}
.sched-mod-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -11px;
  padding: 4px 2px 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.sched-mod-tab:hover { color: #ffffff; }
.sched-mod-tab.active {
  color: #ffffff;
  font-weight: 600;
  border-bottom-color: #ffffff;
}
.sched-date-note {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
}

.sched-step {
  min-width: 0;
  max-width: 100%;
}
.sched-days-strip {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.sched-days-strip::-webkit-scrollbar { display: none; }
.sched-day-btn {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.sched-day-btn .sd-tag { font-size: 10.5px; font-weight: 400; color: rgba(255, 255, 255, 0.78); }
.sched-day-btn .sd-num { font-size: 17px; font-weight: 600; line-height: 1.15; }
.sched-day-btn .sd-mo { font-size: 10.5px; font-weight: 300; color: rgba(255, 255, 255, 0.78); }
.sched-day-btn:hover:not(:disabled) {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}
.sched-day-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #1d1d1b;
}
.sched-day-btn.active .sd-tag,
.sched-day-btn.active .sd-mo { color: #5f5f5f; }
.sched-day-btn.is-full { opacity: 0.35; cursor: not-allowed; }

.sched-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.sched-slot-btn {
  padding: 9px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.sched-slot-btn:hover:not(:disabled) {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}
.sched-slot-btn.active {
  background: var(--btn-form);
  border-color: var(--btn-form);
  color: #ffffff;
  font-weight: 600;
}
.sched-slot-btn.is-taken {
  opacity: 0.32;
  text-decoration: line-through;
  cursor: not-allowed;
}

.sched-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding-top: 4px;
}
.sched-submit-btn {
  padding: 11px 28px;
  font-size: 15px;
  font-weight: 500;
}
.sched-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.sched-picked-summary {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}

/* Confirmación limpia en la misma estética sobre la foto */
.sched-confirm {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #ffffff;
}
.sched-confirm h3 { margin: 0; font-size: 26px; font-weight: 600; color: #ffffff; }
.sched-confirm-lead { margin: 0; font-size: 15px; font-weight: 300; color: rgba(255, 255, 255, 0.9); }
.sched-summary-box {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sched-summary-box > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
}
.sched-summary-box span { color: rgba(255, 255, 255, 0.72); font-weight: 300; flex-shrink: 0; }
.sched-summary-box strong { color: #ffffff; font-weight: 500; text-align: right; }
.sched-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}
.sched-reset-link {
  align-self: flex-start;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sched-reset-link:hover { color: #ffffff; }

/* Columna derecha: tipografía limpia original + botón delineado WhatsApp */
.sched-aside {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.sched-aside-actions {
  padding-top: 4px;
}
.sched-wa-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 4px;
  border: 1.5px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.sched-wa-outline:hover {
  background: #ffffff;
  color: #1d1d1b;
}
.sched-wa-outline svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}
.sched-aside-meta {
  margin: 0;
  font-size: 13px !important;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72) !important;
}

/* ============================================================================
   SECCIÓN 6: UBICACIÓN + MAPA 3D MODERNO (CERRO DE ORO, MANIZALES)
   ============================================================================ */
.map-section {
  background: var(--bg-ivory);
  padding: 58px 0 22px;
}
.map-header {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 26px;
}
.map-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0 0 6px;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  color: #000000;
}
.map-title svg { width: 27px; height: 27px; fill: var(--primary); flex-shrink: 0; }
.map-subtitle {
  margin: 0;
  font-size: clamp(13.5px, 1.15vw, 15.5px);
  font-weight: 300;
  color: #4a4a4a;
}

.map3d-shell {
  width: 94%;
  max-width: 1360px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ddd8ce;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
.map3d-stage {
  position: relative;
  width: 100%;
  background: #e8eef4;
}
.map3d-canvas {
  width: 100%;
  height: clamp(460px, 48vw, 600px);
  display: block;
}
.map-full-iframe {
  width: 100%;
  height: clamp(460px, 48vw, 600px);
  border: 0;
  display: block;
}

/* Barra superior flotante glassmorphism */
.map3d-controls {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.map3d-left-stack {
  position: relative;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.map3d-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.map3d-seg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(15, 23, 36, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}
.map3d-ctrl-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.map3d-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.map3d-ctrl-btn.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(11, 98, 137, 0.45);
}

/* Menú desplegable compacto de sectores relevantes */
.map3d-poi-menu {
  position: relative;
  pointer-events: auto;
}
.map3d-poi-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #0f172a;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}
.map3d-poi-trigger:hover {
  background: #ffffff;
  border-color: var(--primary);
}
.map3d-poi-pin {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  flex-shrink: 0;
}
.map3d-poi-trigger-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.map3d-poi-trigger-txt small {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #64748b;
}
.map3d-poi-trigger-txt strong {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
}
.map3d-poi-chev {
  width: 18px;
  height: 18px;
  fill: #475569;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.map3d-poi-menu.is-open .map3d-poi-chev {
  transform: rotate(180deg);
}

.map3d-poi-dropdown {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  min-width: 248px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -8px, 0) scale(0.97);
  transform-origin: top left;
  transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s ease;
  z-index: 20;
}
.map3d-poi-menu.is-open .map3d-poi-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}
.map3d-poi-item {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 11px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-family: "Poppins", sans-serif;
  color: #0f172a;
  transition: background 0.15s ease, color 0.15s ease;
}
.map3d-poi-item strong { font-size: 12.5px; font-weight: 500; }
.map3d-poi-item span {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.map3d-poi-item:hover { background: #f1f5f9; }
.map3d-poi-item.active {
  background: rgba(11, 98, 137, 0.1);
  color: var(--primary);
}
.map3d-poi-item.active strong { font-weight: 600; color: var(--primary); }
.map3d-poi-item.active span {
  background: var(--primary);
  color: #ffffff;
}

.map3d-hint {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 5;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 36, 0.72);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 400;
  pointer-events: none;
}

/* Pin arquitectónico minimalista: solo logo Torre 360 + puntero limpio sobre la cima */
.t360-map-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.t360-mp-badge-logo {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 34, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(10, 20, 34, 0.42), 0 2px 6px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.t360-mp-badge-logo img {
  height: 20px;
  width: auto;
  display: block;
}
.t360-mp-tip {
  width: 10px;
  height: 10px;
  background: rgba(15, 23, 34, 0.94);
  border-right: 1.5px solid rgba(255, 255, 255, 0.92);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.92);
  transform: rotate(45deg);
  margin-top: -6px;
  position: relative;
  z-index: 2;
}
.t360-mp-needle {
  width: 2px;
  height: 14px;
  background: linear-gradient(to bottom, #ffffff, #0b6289);
  margin-top: 1px;
  border-radius: 1px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.t360-mp-anchor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #0b6289;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  margin-top: -2px;
}

.t360-poi-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(15, 23, 36, 0.84);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px 4px 7px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.24);
  transition: transform 0.16s ease, background 0.16s ease;
}
.t360-poi-dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  display: inline-block;
}
.t360-poi-dot:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Barra inferior: Botones con íconos y estilo auténtico de Google Maps, Waze y Apple Maps */
.map3d-bar {
  padding: 16px 22px;
  background: #ffffff;
  border-top: 1px solid #e5e1d7;
}
.map3d-apps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.map3d-apps-label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: #475569;
}
.map3d-apps-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.map3d-brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.map3d-brand-btn .brand-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}
.map3d-brand-btn:hover {
  transform: translateY(-2px);
}

/* Google Maps — estilo limpio Google Material con pin 4 colores */
.map3d-brand-btn.is-gmaps {
  background: #ffffff;
  color: #1f1f1f;
  border-color: #dadce0;
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.1);
}
.map3d-brand-btn.is-gmaps:hover {
  border-color: #4285f4;
  background: #f8fbff;
  box-shadow: 0 6px 16px rgba(66, 133, 244, 0.22);
}

/* Waze — estilo oficial cian Waze #33CCFF */
.map3d-brand-btn.is-waze {
  background: #33ccff;
  color: #0b1c26;
  border-color: #1fb8eb;
  box-shadow: 0 2px 8px rgba(51, 204, 255, 0.32);
}
.map3d-brand-btn.is-waze:hover {
  background: #1ec4fc;
  box-shadow: 0 6px 18px rgba(51, 204, 255, 0.45);
}

/* Apple Maps — estilo oficial Apple oscuro #1D1D1F con ícono multicolor */
.map3d-brand-btn.is-apple {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(29, 29, 31, 0.22);
}
.map3d-brand-btn.is-apple:hover {
  background: #2f2f33;
  box-shadow: 0 6px 18px rgba(29, 29, 31, 0.32);
}

/* Copiar dirección — discreto elegante */
.map3d-brand-btn.is-copy {
  background: var(--bg-ivory);
  color: #334155;
  border-color: #d8d3c8;
  font-weight: 500;
}
.map3d-brand-btn.is-copy .brand-ico { width: 16px; height: 16px; }
.map3d-brand-btn.is-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.map3d-brand-btn.is-copied {
  border-color: #1a9c4d;
  color: #1a9c4d;
  background: rgba(26, 156, 77, 0.08);
}

.maplibregl-ctrl-attrib {
  font-size: 10px !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

/* ============================================================================
   SECCIÓN 7: CLIENTES SATISFECHOS (VIDEO IZQUIERDA + CARRUSEL FOTOS DERECHA)
   ============================================================================ */
.clients-section {
  background: var(--bg-ivory);
  padding: 72px 0 82px;
}
.clients-intro {
  max-width: 1120px;
  margin: 0 auto 44px;
  padding: 0 24px;
  text-align: center;
}
.clients-intro h2 {
  margin: 0 0 38px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  color: #000000;
}
.clients-intro h3 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.08vw, 30px);
  font-weight: 600;
  color: #000000;
}
.clients-intro p {
  margin: 0 auto;
  max-width: 1080px;
  font-size: clamp(15px, 1.38vw, 20px);
  font-weight: 300;
  color: #000000;
  line-height: 1.55;
}
.clients-media-grid {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.client-video-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.client-carousel {
  width: 100%;
  height: clamp(360px, 36vw, 520px);
  margin: 0;
}
.client-carousel .t360-slide { height: clamp(360px, 36vw, 520px); }

/* ============================================================================
   SECCIÓN 9: FOOTER OSCURO #1D1D1B (4 COLUMNAS + REDES DE COLORES EXACTAS)
   ============================================================================ */
.site-footer {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 64px 0 22px;
}
.footer-grid {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr 1.25fr;
  gap: 36px;
  align-items: start;
}
.footer-brand { text-align: center; }
.footer-brand img { height: 60px; width: auto; max-width: none; margin: 0 auto 14px; }
.footer-brand p {
  margin: 0 auto;
  max-width: 240px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
}
.footer-col h4 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  font-weight: 300;
}
.footer-col a:hover { text-decoration: underline; }
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.social-sq {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.15s ease, opacity 0.2s;
}
.social-sq:hover { transform: translateY(-2px); opacity: 0.9; }
.social-sq.ig { background: var(--ig); }
.social-sq.fb { background: var(--fb); }
.social-sq.wa { background: var(--wa); }
.social-sq svg { width: 22px; height: 22px; fill: currentColor; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.footer-contact-list svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  flex-shrink: 0;
  margin-top: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 20px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

/* ---- BOTÓN FLOTANTE REDONDO WHATSAPP (EXACTO A TORRE360.CO) ---- */
.wa-float-circle {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  border: 3px solid #ffffff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, background 0.2s;
}
.wa-float-circle:hover { transform: scale(1.07); background: var(--wa-hover); }
.wa-float-circle svg { width: 30px; height: 30px; fill: currentColor; }

/* ---- LIGHTBOX CON TRANSICIÓN SUAVE ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(10, 12, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.open img { transform: scale(1); }

/* ---- REVELADO SUAVE AL HACER SCROLL (60 FPS GPU, conserva 100% el estilo visual) ---- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .t360-carousel-track, .video-cover-poster, .t360-slide img { transition: none; }
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

/* ============================================================================
   ESTILOS DE PÁGINAS SECUNDARIAS (SOBRE NOSOTROS, PLANOS, INVERSIÓN, BLOG, CONTACTO)
   ============================================================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.page-hero {
  position: relative;
  padding: 72px 0 60px;
  background-color: #16181a;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; line-height: 1.2; }
.page-hero p { margin: 0; max-width: 720px; color: rgba(255, 255, 255, 0.9); font-size: 16.5px; font-weight: 300; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, 0.78); margin-bottom: 12px; }
.breadcrumb a:hover { text-decoration: underline; }

.prose-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  max-width: 920px;
  margin: 0 auto;
}
.prose-card h2 { margin: 26px 0 12px; font-size: 24px; font-weight: 600; }
.prose-card h3 { margin: 20px 0 8px; font-size: 19px; font-weight: 600; color: var(--primary); }
.prose-card p { margin: 0 0 15px; color: var(--slate); font-weight: 300; font-size: 16px; }
.prose-card img { margin: 22px auto; border-radius: 4px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #fbf9f3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: 12px; font-weight: 600; color: var(--primary); margin-bottom: 6px; text-transform: uppercase; }
.card-body h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.card-body p { margin: 0 0 16px; color: var(--slate); font-size: 14px; font-weight: 300; flex: 1; }
.card-link { font-size: 14px; font-weight: 600; color: var(--primary); }

.renders-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.render-card { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; background: #1d1d1b; }
.render-card img { width: 100%; height: 100%; object-fit: cover; }

.sub-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.sub-form-card { background: #1d1d1b; color: #ffffff; padding: 36px; border-radius: 8px; }
.sub-form-card h3 { margin: 0 0 8px; font-size: 24px; font-weight: 600; }
.sub-form-card p { margin: 0 0 22px; font-size: 14.5px; font-weight: 300; color: rgba(255, 255, 255, 0.85); }

/* ============================================================================
   RESPONSIVE (LAPTOP, TABLET Y MÓVIL VERIFICADOS EN TODAS LAS RESOLUCIONES)
   ============================================================================ */
@media (max-width: 1360px) {
  .hero-logo img { height: 42px; }
  .hero-topbar .t360-btn-outline-white { font-size: clamp(15px, 1.45vw, 19px); padding: 8px 18px; }
  .hero-nav { gap: clamp(16px, 2vw, 30px); }
  .hero-nav a { font-size: clamp(15px, 1.42vw, 19px); }
}

@media (max-width: 1100px) {
  .subpage-header .hero-nav { display: none; }
  .subpage-header .menu-toggle { display: inline-flex; }
}

@media (max-width: 1024px) {
  .hero-t360 { min-height: 566px; padding: 20px 22px 34px; }
  .hero-logo img { height: 44px; }
  .hero-nav { display: none; }
  .menu-toggle { display: inline-flex; flex-shrink: 0; }
  .hero-topbar .t360-btn-outline-white { font-size: 16px; padding: 8px 16px; }
  .split-intro { grid-template-columns: 1fr; }
  .split-intro-media { min-height: 0; aspect-ratio: 993 / 800; }
  .split-intro-media.is-video-active { aspect-ratio: 16 / 9; }
  .split-intro-media.is-portrait,
  .split-intro-media.is-portrait.is-video-active { aspect-ratio: auto; padding: 6px 20px 38px; }
  .split-intro-media.is-portrait .video-cover { width: min(330px, 88vw); }
  .apto-row, .apto-row.no-video { grid-template-columns: 1fr; gap: 24px; }
  .apto-divider { width: 100%; height: 1px; min-height: 1px; }
  .apto-specs-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
  .apto-specs-col .t360-btn { grid-column: 1 / -1; }
  .form-banner-inner, .sched-banner-inner, .clients-media-grid, .sub-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sched-aside { order: -1; gap: 14px; }
  .client-video-box { height: auto; aspect-ratio: 1 / 1; max-width: 440px; }
  .client-carousel, .client-carousel .t360-slide { height: 420px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid, .renders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero-t360 { min-height: 513px; padding: 16px 16px 28px; }
  .hero-logo img { height: 38px; }
  .hero-topbar .t360-btn-outline-white { font-size: 14px; padding: 7px 14px; }
  .split-intro-text { padding: 34px 20px; text-align: center; align-items: center; }
  .apto-type-nav { flex-direction: column; align-items: stretch; gap: 10px; }
  .apto-type-pills { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .apto-type-pills::-webkit-scrollbar { display: none; }
  .apto-type-btn { flex-shrink: 0; padding: 7px 12px; }
  .apto-type-arrows { justify-content: space-between; }
  .line-form-row, .footer-grid, .cards-grid, .renders-grid { grid-template-columns: 1fr; }
  .footer-col h4, .footer-col ul { text-align: center; align-items: center; }
  .footer-contact-list li { justify-content: center; }
  .client-video-box { height: auto; aspect-ratio: 1 / 1; max-width: 360px; }
  .client-carousel, .client-carousel .t360-slide { height: 340px; }
  .map3d-shell { width: 96%; border-radius: 10px; }
  .map3d-canvas, .map-full-iframe { height: 420px; }
  .map3d-controls { top: 10px; left: 10px; right: 10px; gap: 7px; }
  .map3d-ctrl-btn { font-size: 11px; padding: 5px 8px; }
  .map3d-poi-trigger { padding: 6px 10px 6px 8px; }
  .map3d-poi-trigger-txt strong { font-size: 12px; }
  .map3d-poi-dropdown { min-width: 224px; }
  .map3d-hint { display: none; }
  .map3d-bar { padding: 14px 14px 16px; }
  .map3d-apps { flex-direction: column; align-items: stretch; gap: 10px; }
  .map3d-apps-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .map3d-brand-btn { font-size: 12px; padding: 9px 10px; gap: 7px; }
  .map3d-brand-btn .brand-ico { width: 18px; height: 18px; }
  .form-banner-inner, .sched-banner-inner { padding: 42px 18px 56px; }
  .sched-banner::before { background: rgba(8, 10, 14, 0.68); }
  .sched-aside { align-items: stretch; gap: 12px; }
  .sched-aside h2 { margin-bottom: 4px; font-size: 24px; line-height: 1.25; }
  .sched-aside p { font-size: 14.5px; line-height: 1.55; }
  .sched-aside-actions { width: 100%; padding-top: 6px; }
  .sched-wa-outline { width: 100%; min-height: 46px; padding: 11px 18px; font-size: 14.5px; }
  .sched-aside-meta { font-size: 12.5px !important; line-height: 1.45; }
  .sched-panel {
    background: rgba(14, 17, 22, 0.64);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 18px 16px 20px;
  }
  .sched-form { gap: 15px; }
  .sched-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .sched-mod-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 4px;
    padding: 3px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .sched-mod-tab {
    margin-bottom: 0;
    padding: 9px 8px;
    border-bottom: 0;
    border-radius: 4px;
    font-size: 13.5px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
  }
  .sched-mod-tab.active {
    background: #ffffff;
    color: #1d1d1b;
    font-weight: 600;
  }
  .sched-date-note {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.2px;
  }
  .sched-day-btn { min-width: 60px; padding: 8px 8px; }
  .sched-slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .sched-slot-btn { padding: 10px 4px; font-size: 12.5px; }
  .sched-form .line-form-row { gap: 12px; }
  .sched-form .line-input { font-size: 15px; padding: 9px 4px 9px 2px; }
  .sched-submit-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
    padding-top: 6px;
  }
  .sched-submit-btn { width: 100%; min-height: 46px; font-size: 15px; font-weight: 600; }
  .sched-picked-summary {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
  }
  .sched-confirm { padding: 4px 0; }
  .sched-confirm-actions { flex-direction: column; }
  .sched-confirm-actions > a { width: 100%; }
  .sched-summary-box > div { flex-direction: column; gap: 2px; }
  .sched-summary-box strong { text-align: left; }
  .prose-card, .sub-form-card { padding: 24px 18px; }
}

@media (max-width: 380px) {
  .hero-t360 { padding: 14px 12px 26px; }
  .hero-logo img { height: 34px; }
  .hero-topbar { gap: 8px; }
  .hero-topbar .t360-btn-outline-white { font-size: 13px; padding: 7px 11px; }
  .menu-toggle { width: 40px; height: 40px; }
}
