@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #00c0f0;      /* Celeste cian brillante de acento */
  --brand-2: #4c007a;    /* Morado BBL profundo corporativo */
  --accent: #00c0f0;     /* Coherencia con el celeste cian corporativo */
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 14px 35px rgba(76, 0, 122, 0.08);
  --shadow-soft: 0 8px 20px rgba(76, 0, 122, 0.04);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
}

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

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 100px; /* offset for sticky header only */
}

body {
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: 
    radial-gradient(1200px 600px at 15% -10%, rgba(76, 0, 122, 0.07), transparent 70%),
    radial-gradient(1000px 500px at 85% 5%, rgba(0, 192, 240, 0.05), transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Elements */
.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
}

.section {
  padding: 80px 0;
}

.section.tight {
  padding: 40px 0;
}

.section-title {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-title h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  color: #111827;
  letter-spacing: -0.02em;
}

.section-title p {
  color: var(--muted);
  max-width: 65ch;
  font-size: 16px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 75px;
  width: auto;
  border-radius: 0; /* Override default img radius */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a, .nav-dropdown-btn {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav-links a:hover, .nav-dropdown-btn:hover {
  background: rgba(76, 0, 122, 0.06);
  color: var(--brand-2);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  padding: 8px;
  z-index: 110;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #4b5563;
}

.dropdown-menu a:hover {
  background: rgba(76, 0, 122, 0.04);
  color: var(--brand-2);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(2, 6, 23, 0.04);
}

.btn:hover {
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-soft);
  background: white;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand-2) 0%, #2f004c 100%);
  border-color: #2f004c;
  color: white;
  box-shadow: 0 4px 12px rgba(76, 0, 122, 0.25);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #62009d 0%, #210036 100%);
  box-shadow: 0 6px 16px rgba(76, 0, 122, 0.35);
}

.btn-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
}

.btn-burger:hover {
  background: rgba(0, 192, 240, 0.08);
}

@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .btn-burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .nav-cta .btn {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero-card {
    min-height: 460px !important;
  }
  .hero-badge-price {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }
  .hero h1 {
    margin-bottom: 12px !important;
  }
  .hero p {
    margin-bottom: 20px !important;
  }
}

/* Mobile Menu Drawer */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: white;
  z-index: 200;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-nav a {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.drawer-nav a:hover {
  color: var(--brand-2);
  padding-left: 8px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  padding: 30px 0;
}

.hero-card {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 600px;
  background: #0f172a;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.55) 50%,
    rgba(15, 23, 42, 0.4) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 700px;
}

@media (max-width: 640px) {
  .hero-content {
    padding: 32px;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(0, 192, 240, 0.25);
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-badge-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Projects Grid / Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(76, 0, 122, 0.2);
}

.card.pad {
  padding: 24px;
}

.card-img-container {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.card:hover .card-img-container img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-2);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #111827;
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #4b5563;
}

.card-meta-row svg {
  color: var(--brand-2);
}

.card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-2);
  margin-top: 8px;
}

/* Horizontal Scroll for Videos */
.hscroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(400px, 1fr);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hscroll::-webkit-scrollbar {
  height: 6px;
}

.hscroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 999px;
}

.hscroll::-webkit-scrollbar-thumb {
  background: rgba(0, 192, 240, 0.25);
  border-radius: 999px;
}

.hscroll::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

.hscroll > * {
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .hscroll {
    grid-auto-columns: minmax(280px, 1fr);
    gap: 16px;
  }
}

.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Features Grid */
.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm);
}

.feature-box:hover {
  background: white;
  border-color: rgba(0, 192, 240, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 192, 240, 0.1);
  border: 1px solid rgba(0, 192, 240, 0.15);
  color: var(--brand-2);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111827;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.feature-content p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* Maps & VR Iframes */
.frame-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.frame-wrapper iframe {
  width: 100%;
  display: block;
  border: 0;
}

/* Interactive Map Specific */
.interactive-map-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.interactive-map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-google-shield {
  position: absolute;
  top: 25px;
  left: 90px;
  width: 130px;
  height: 20px;
  background: #2E312F;
  z-index: 10;
}

/* Gallery Grid & Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  background: white;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(76, 0, 122, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Contact Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-wrapper {
  position: relative;
  z-index: 10;
  width: min(900px, calc(100% - 32px));
  max-height: 90vh;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95) translateY(15px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.open .modal-wrapper {
  transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
  .modal-wrapper {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
}

.modal-sidebar {
  background: linear-gradient(135deg, var(--brand-2) 0%, #1c002e 100%);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.modal-sidebar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: radial-gradient(circle at bottom right, rgba(0, 192, 240, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.modal-sidebar h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-sidebar p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.modal-body {
  padding: 40px;
  position: relative;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 640px) {
  .modal-sidebar, .modal-body {
    padding: 30px 24px;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.05);
  border: none;
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s ease;
  z-index: 20;
}

.modal-close:hover {
  background: var(--brand-2);
  color: white;
  transform: rotate(90deg) scale(1.05);
}

/* Floating Elements */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  z-index: 150;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-floating:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-floating svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Timeline/Guides style (Invierte page) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(76, 0, 122, 0.2);
  top: 0;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 24px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-2);
  border: 4px solid white;
  box-shadow: var(--shadow-soft);
  top: 30px;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.timeline-number {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 16px 16px 16px 48px;
  }
  .timeline-dot {
    left: 10px !important;
  }
}

/* Filters & Search */
.filter-bar {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: end;
}

@media (max-width: 768px) {
  .filter-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
}

.filter-group input, .filter-group select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: white;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.filter-group input:focus, .filter-group select:focus {
  border-color: var(--brand-2);
}

/* Footer style */
footer.section {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-info p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 16px 0;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
}

.footer-col ul a:hover {
  color: var(--brand-2);
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ==========================================================================
   MODERNIZATION & PREMIUM AESTHETICS (GLASSMORPHISM, SIMULATOR, ANIMATIONS)
   ========================================================================== */

/* Variables */
:root {
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glow-brand: 0 8px 30px rgba(0, 192, 240, 0.12);
  --glow-brand-2: 0 8px 30px rgba(76, 0, 122, 0.08);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-2) 0%, #009cb0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.glass-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(76, 0, 122, 0.15);
}

/* Hero Stats Container */
.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-stat-card {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-stat-card .number {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
}

.hero-stat-card .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Simulator/Calculator Styles */
.simulator-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

@media (max-width: 768px) {
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.simulator-inputs {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.simulator-results {
  background: linear-gradient(135deg, var(--brand-2) 0%, #220038 100%);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.simulator-results::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 192, 240, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.simulator-inputs h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-2);
}

.range-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.range-val {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-2);
}

/* Custom Range Slider Styling */
.range-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  outline: none;
  transition: background 0.3s;
}

.range-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-2);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(76, 0, 122, 0.3);
  transition: transform 0.1s, background-color 0.2s;
}

.range-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--brand);
}

.result-card-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  font-weight: 600;
  margin-bottom: 24px;
  z-index: 2;
  position: relative;
}

.results-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
  position: relative;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

.result-item:last-child {
  border: 0;
  padding-bottom: 0;
}

.result-item span {
  font-size: 13px;
  opacity: 0.8;
}

.result-item .value {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: white;
}

.result-item .value.accented {
  color: var(--brand);
}

.results-cta {
  z-index: 2;
  position: relative;
  margin-top: 30px;
}

@media (max-width: 640px) {
  .simulator-inputs, .simulator-results {
    padding: 24px;
  }
}

/* Accordion FAQs Styles */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item:hover {
  border-color: rgba(76, 0, 122, 0.15);
  box-shadow: var(--shadow);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-2);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  color: var(--brand);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
  padding: 0 24px 24px 24px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid rgba(15, 23, 42, 0.04);
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fix text contrast in dark sections */
section[style*="rgba(20, 24, 40"] .section-title h2 {
  color: #ffffff !important;
}

section[style*="rgba(20, 24, 40"] .section-title p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Adjust footer logo size */
.footer-info img {
  height: 64px !important;
}

/* Dark Mode Overrides */
.dark-mode {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode [style*="var(--brand-2)"],
.dark-mode [style*="color: var(--brand-2)"] {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}

.dark-mode body {
  background: 
    radial-gradient(1200px 600px at 15% -10%, rgba(124, 58, 237, 0.08), transparent 70%),
    radial-gradient(1000px 500px at 85% 5%, rgba(0, 192, 240, 0.06), transparent 60%),
    var(--bg);
}

.dark-mode header {
  background: rgba(15, 23, 42, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .nav-links a, .dark-mode .nav-dropdown-btn {
  color: #d1d5db;
}

.dark-mode .nav-links a:hover, .dark-mode .nav-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.dark-mode .dropdown-menu {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dark-mode .dropdown-menu a {
  color: #d1d5db;
}

.dark-mode .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.dark-mode .card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .card:hover {
  border-color: rgba(0, 192, 240, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .card-body h3 {
  color: #ffffff;
}

.dark-mode .card-meta-row {
  color: #94a3b8;
}

.dark-mode .card-meta-row svg {
  color: var(--brand);
}

.dark-mode .card-price {
  color: var(--brand);
}

.dark-mode .section-title h2 {
  color: #ffffff;
}

.dark-mode .drawer {
  background: #0f172a;
}

.dark-mode .drawer-nav a {
  color: #e5e7eb;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .drawer-nav a:hover {
  color: var(--brand);
}

.dark-mode .filter-bar {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .filter-group label {
  color: #cbd5e1;
}

.dark-mode .filter-group input, .dark-mode .filter-group select {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.dark-mode .filter-group input:focus, .dark-mode .filter-group select:focus {
  border-color: var(--brand);
}

.dark-mode footer.section {
  background: rgba(15, 23, 42, 0.6);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .footer-col h4 {
  color: #ffffff;
}

.dark-mode .footer-col ul a:hover {
  color: var(--brand);
}

.dark-mode .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .timeline::before {
  background: rgba(255, 255, 255, 0.1);
}

.dark-mode .timeline-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .timeline-number {
  color: var(--brand);
  opacity: 0.2;
}

.dark-mode .theme-toggle-btn {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.dark-mode .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .modal-wrapper {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .modal-body {
  background: #1e293b;
}

.dark-mode .modal-close {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.dark-mode .modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dark-mode .feature-box {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .feature-box:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(0, 192, 240, 0.2);
}

.dark-mode .feature-content h3 {
  color: #ffffff;
}

.dark-mode .feature-icon {
  background: rgba(0, 192, 240, 0.1);
  border-color: rgba(0, 192, 240, 0.2);
}

.dark-mode .simulator-grid {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .simulator-inputs h3 {
  color: #ffffff;
}

.dark-mode .range-header {
  color: #cbd5e1;
}

.dark-mode .range-val {
  color: var(--brand);
}

.dark-mode .range-group input[type="range"] {
  background: #334155;
}

.dark-mode .range-group input[type="range"]::-webkit-slider-thumb {
  background: var(--brand);
}

.dark-mode .accordion-item {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .accordion-item:hover {
  border-color: rgba(0, 192, 240, 0.3);
}

.dark-mode .accordion-header {
  color: #ffffff;
}

.dark-mode .accordion-icon {
  color: #ffffff;
}

.dark-mode .accordion-content-inner {
  border-top-color: rgba(255, 255, 255, 0.04);
}

/* HIGH-CONTRAST DARK MODE CORRECTIONS */

/* 1. Fix standard buttons background & text in dark mode */
.dark-mode .btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.dark-mode .btn.primary {
  background: linear-gradient(135deg, var(--brand-2) 0%, #2f004c 100%) !important;
  border-color: #2f004c !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(76, 0, 122, 0.25) !important;
}

.dark-mode .btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.dark-mode .btn.primary:hover {
  background: linear-gradient(135deg, #62009d 0%, #210036 100%) !important;
}

/* 2. Force all headings to be readable (white) in dark mode */
.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode h4, 
.dark-mode h5, 
.dark-mode h6 {
  color: #ffffff !important;
}

/* 3. Fix inline styled brand-2 links (purple link text is unreadable on dark background) */
.dark-mode a[style*="var(--brand-2)"],
.dark-mode a[style*="color: var(--brand-2)"] {
  color: var(--brand) !important;
}

/* 4. Dropdown menus and links */
.dark-mode .dropdown-menu {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .dropdown-menu a {
  color: #cbd5e1 !important;
}

.dark-mode .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

/* 5. Filter bar selects and inputs */
.dark-mode .filter-bar {
  background: rgba(30, 41, 59, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .filter-group input, 
.dark-mode .filter-group select {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .filter-group option {
  background: #1e293b;
  color: #ffffff;
}

/* 6. Form embed elements if styles propagate */
.dark-mode .hs-form-frame input,
.dark-mode .hs-form-frame select,
.dark-mode .hs-form-frame textarea {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   PREMIUM DETAILED PAGES (STICKY SUBNAV, ASYMMETRIC GALLERY, PRICING CARD)
   ========================================================================== */

/* Sticky Sub-navigation */
.sticky-subnav {
  position: relative; /* Changed from sticky to normal to prevent it from following scroll */
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  z-index: 10;
  transition: all 0.3s ease;
}

.sticky-subnav nav {
  display: flex;
  gap: 28px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for clean visual */
}

.sticky-subnav nav::-webkit-scrollbar {
  display: none;
}

.sticky-subnav a {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.sticky-subnav a:hover {
  color: var(--brand-2);
  border-bottom-color: var(--brand-2);
}

.dark-mode .sticky-subnav {
  background: rgba(15, 23, 42, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.04);
}

.dark-mode .sticky-subnav a {
  color: #cbd5e1;
}

.dark-mode .sticky-subnav a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Premium Pricing Box */
.pricing-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(76, 0, 122, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin: 32px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.pricing-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(0, 192, 240, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.pricing-col {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.price-old {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 4px;
}

.price-current {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-2);
  line-height: 1;
}

.pricing-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 8px;
}

.discount-tag {
  background: #ef4444;
  color: white;
  font-weight: 800;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  transform: rotate(3deg);
  display: inline-block;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 192, 240, 0.1);
  border: 1px solid rgba(0, 192, 240, 0.2);
  color: #007ca0;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
}

.dark-mode .pricing-box {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .price-current {
  color: var(--brand);
}

.dark-mode .pricing-badge {
  background: rgba(0, 192, 240, 0.15);
  color: var(--brand);
}

/* Asymmetric Premium Gallery */
.gallery-asymmetric {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 12px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .gallery-asymmetric {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
}

.gallery-asymmetric .gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  background: white;
  cursor: pointer;
}

.gallery-asymmetric .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.gallery-asymmetric .gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-asymmetric .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(76, 0, 122, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
}

.gallery-asymmetric .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-asymmetric .item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-asymmetric .item-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.gallery-asymmetric .item-5 .gallery-overlay {
  background: rgba(15, 23, 42, 0.65);
  opacity: 1;
}

/* Scrollspy active styling */
.sticky-subnav a.active {
  color: var(--brand-2) !important;
  border-bottom-color: var(--brand-2) !important;
}

.dark-mode .sticky-subnav a.active {
  color: var(--brand) !important;
  border-bottom-color: var(--brand) !important;
}

/* =========================================================================
   DETAIL PAGE V2 — FLOATING SIDEBAR, LIGHTBOX NAV, FINANCE, EXECUTIVES
   ========================================================================= */

/* Floating Sidebar CTA */
.floating-sidebar {
  position: sticky;
  top: 120px;
  background: var(--brand-2);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: white;
  box-shadow: 0 20px 40px rgba(76, 0, 122, 0.25);
  overflow: hidden;
}

.floating-sidebar::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 192, 240, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.floating-sidebar h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: white !important;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-sidebar p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 20px;
}

.floating-sidebar .btn {
  width: 100%;
  background: white !important;
  color: var(--brand-2) !important;
  border: none !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.floating-sidebar .btn:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-1px);
}

.floating-sidebar .sidebar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.floating-sidebar .sidebar-phone a {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

/* Detail Page 2-Column Layout */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .floating-sidebar {
    position: static;
  }
}

/* Lightbox V2 with Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.2s ease;
  z-index: 310;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  z-index: 310;
}

/* Finance Simulator V2 */
.finance-simulator {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.dark-mode .finance-simulator {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.finance-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .finance-controls {
    grid-template-columns: 1fr;
  }
}

.dark-mode .finance-controls {
  background: rgba(15, 23, 42, 0.3);
  border-color: rgba(255, 255, 255, 0.06);
}

.finance-controls label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.finance-controls select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: white;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.dark-mode .finance-controls select {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Payment Comparison Cards */
.payment-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .payment-cards {
    grid-template-columns: 1fr;
  }
}

.payment-card {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid;
}

.payment-card.cash {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.payment-card.credit {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.dark-mode .payment-card.cash {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.15);
}

.dark-mode .payment-card.credit {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.15);
}

.payment-card-type {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.payment-card.cash .payment-card-type { color: #059669; }
.payment-card.credit .payment-card-type { color: #2563eb; }

.payment-card-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.payment-card-price {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.payment-card.cash .payment-card-price { color: #059669; }
.payment-card.credit .payment-card-price { color: #2563eb; }

.dark-mode .payment-card.cash .payment-card-price { color: #34d399; }
.dark-mode .payment-card.credit .payment-card-price { color: #60a5fa; }

.payment-card-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.payment-card-installment {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.payment-card-installment strong {
  color: #2563eb;
  font-weight: 700;
}

.dark-mode .payment-card-installment strong {
  color: #60a5fa;
}

/* Lot Info Card */
.lot-info-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .lot-info-card {
    grid-template-columns: 1fr;
  }
}

.lot-info-box {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.dark-mode .lot-info-box {
  background: rgba(30, 41, 59, 0.4);
  border-color: rgba(255, 255, 255, 0.06);
}

.lot-info-box h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.lot-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.lot-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lot-stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

/* Discount Banner */
.discount-banner {
  background: rgba(76, 0, 122, 0.05);
  border: 1px solid rgba(76, 0, 122, 0.15);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.dark-mode .discount-banner {
  background: rgba(76, 0, 122, 0.12);
  border-color: rgba(0, 192, 240, 0.15);
}

/* Tour Virtual Section */
.tour-virtual-frame {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .tour-virtual-frame {
    height: 350px;
  }
}

/* Sales Executives */
.executives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.executive-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.executive-card:hover {
  border-color: rgba(0, 192, 240, 0.2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.dark-mode .executive-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.executive-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.executive-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.executive-info p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.executive-actions {
  display: flex;
  gap: 8px;
}

.executive-actions a {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}

/* Description Project */
.project-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.project-description p {
  margin-bottom: 16px;
}

/* Characteristics Checklist */
.characteristics-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.char-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 192, 240, 0.04);
  border: 1px solid rgba(0, 192, 240, 0.1);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.dark-mode .char-item {
  background: rgba(0, 192, 240, 0.06);
  border-color: rgba(0, 192, 240, 0.12);
}

.char-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
}

/* Mobile Bottom CTA Bar (replaces floating sidebar on mobile) */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-2);
  padding: 12px 20px;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .mobile-bottom-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }
}

.mobile-bottom-cta .mobile-price {
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.mobile-bottom-cta .mobile-price small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}



