/* ==========================================================================
   NextProp - Global Styles
   Aldea Hortus · Bahía de Banderas, Nayarit
   ========================================================================== */

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
  /* Colors */
  --bg: #0A0A08;
  --surface: #141410;
  --surface-2: #1E1E18;
  --gold: #C9A84C;
  --gold-dim: #8A6F2E;
  --cream: #F5F0E8;
  --muted: #7A7A70;
  --moss: #4A5240;
  --border: #2A2A24;
  --ocean: #1A3A4A;

  /* Typography */
  --font-d: 'Cormorant Garamond', serif;
  --font-ui: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Sizing */
  --radius: 4px;
  --radius-lg: 12px;

  /* Effects */
  --gold-glow: 0 0 32px rgba(201,168,76,0.2);
  --transition: all 0.25s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  * { cursor: none !important; }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-d);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

p { color: var(--cream); opacity: 0.9; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--cream); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: #D4B65C;
  box-shadow: var(--gold-glow);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-secondary:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10,10,8,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-content {
  display: flex;
  flex-direction: column;
}

.nav-logo-text {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--cream);
}

.nav-logo-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--cream);
  opacity: 0.8;
  position: relative;
  padding-bottom: 4px;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  opacity: 1;
  color: var(--cream);
}

.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* Mega Menu */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: var(--transition);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  gap: 2rem;
}

.mega-menu-column {
  min-width: 280px;
}

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

.nav-item-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.mega-menu-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mega-menu-list {
  list-style: none;
  margin-bottom: 1rem;
}

.mega-menu-list li {
  margin-bottom: 0.5rem;
}

.mega-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: var(--cream);
  opacity: 0.8;
  font-size: 0.9rem;
}

.mega-menu-list a:hover {
  background: var(--surface-2);
  opacity: 1;
}

.mega-menu-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
}

.mega-menu-cta {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.85rem;
}

.mega-menu-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  padding: 5rem 1.5rem 2rem;
  transition: var(--transition);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  color: var(--cream);
  font-size: 1.1rem;
}

.mobile-accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.1rem;
  font-family: var(--font-ui);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-accordion-content.active {
  max-height: 300px;
}

.mobile-accordion-list {
  list-style: none;
  padding: 0 0 1rem 1rem;
}

.mobile-accordion-list a {
  display: block;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.mobile-accordion-list a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  padding: 1rem 0;
  margin-top: 80px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.breadcrumb-list a {
  color: var(--muted);
}

.breadcrumb-list a:hover {
  color: var(--gold);
}

.breadcrumb-list span {
  color: var(--muted);
}

.breadcrumb-list li:last-child {
  color: var(--cream);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(26,58,74,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(20,20,16,0.9) 0%, var(--bg) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(26,58,74,0.3);
  border: 1px solid var(--ocean);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--cream);
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold) 50%, var(--cream) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease infinite;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: none;
    color: var(--cream);
  }
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero variant for subpages */
.hero--subpage {
  min-height: 60vh;
  align-items: flex-end;
  padding: 0;
}

.hero--subpage::before {
  display: none;
}

.hero--subpage .hero-content {
  padding: 4rem 0;
}

.hero--subpage .hero-badge {
  background: var(--surface);
  border-color: var(--border);
  margin-bottom: 1rem;
}

.hero--subpage .hero-subtitle {
  margin-bottom: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}

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

.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%);
}

.hero-img[data-placeholder="true"]::before {
  content: attr(data-placeholder-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted);
  font-size: 1rem;
  z-index: 1;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  opacity: 0;
  transform: translateY(30px);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.stat-number {
  font-family: var(--font-d);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

/* ==========================================================================
   Fade Up Animation
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Prototype Cards
   ========================================================================== */
.prototypes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.prototype-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.prototype-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-5px);
}

.prototype-card-img {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
}

.prototype-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prototype-card-img[data-placeholder="true"]::after {
  content: 'Fotografía del prototipo';
  position: absolute;
  color: var(--muted);
  font-size: 0.85rem;
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--cream);
}

.card-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(74,130,74,0.2);
  border: 1px solid #4A824A;
  border-radius: var(--radius);
  font-size: 0.7rem;
  color: #7BC67B;
}

.card-status.premium {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
  color: var(--gold);
}

.prototype-card-body {
  padding: 1.5rem;
}

.prototype-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.prototype-specs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.prototype-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.prototype-cotos {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.prototype-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
}

.prototype-cta:hover {
  gap: 0.75rem;
}

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

/* ==========================================================================
   Why Section (Features Grid)
   ========================================================================== */
.why-section {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 2rem;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 500;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section {
  background: var(--surface);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item[data-placeholder="true"]::after {
  content: 'Imagen del desarrollo';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.gallery-cta {
  text-align: center;
  margin-top: 2rem;
}

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

/* Gallery with Tabs */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 0.75rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-tab:hover {
  border-color: var(--gold-dim);
}

.gallery-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.gallery-content {
  display: none;
}

.gallery-content.active {
  display: block;
}

/* Gallery grid 2 columns for prototype pages */
.gallery-section .gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section {
  margin-top: 3rem;
}

.video-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.video-block {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-block video,
.video-block iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.video-placeholder svg {
  width: 60px;
  height: 60px;
  fill: var(--gold);
  opacity: 0.5;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--cream);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--bg);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Specs Section
   ========================================================================== */
.specs-section {
  padding: 6rem 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.specs-features h2 {
  margin-bottom: 2rem;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-icon {
  font-size: 1.3rem;
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(201,168,76,0.08) 100%);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  color: var(--gold);
  transition: var(--transition);
}

.specs-list li:hover .specs-icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.2) 100%);
  border-color: var(--gold-dim);
  transform: scale(1.05);
}

/* Specs Content Standalone (sin tabla de precios) */
.specs-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.specs-content h2 {
  margin-bottom: 1rem;
}

.specs-content > p {
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.specs-content .specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: left;
}

.specs-content .specs-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.specs-content .specs-list li:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .specs-content .specs-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Price Table
   ========================================================================== */
.price-table-wrapper h2 {
  margin-bottom: 1.5rem;
}

.table-responsive {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  background: var(--surface);
  font-weight: 500;
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-table td {
  color: var(--cream);
  opacity: 0.9;
}

.price-table tbody tr:hover {
  background: var(--surface);
}

.price-table .highlight {
  background: rgba(201,168,76,0.1);
}

.price-table .highlight td {
  color: var(--gold);
  font-weight: 500;
}

.price-table .price-cell {
  font-family: var(--font-mono);
  font-weight: 500;
}

.price-table .best-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.price-note {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Variant Cards (Tulipan)
   ========================================================================== */
.variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.variant-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.variant-card:hover {
  border-color: var(--gold-dim);
}

.variant-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,168,76,0.1) 100%);
}

.variant-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.variant-card.featured .variant-badge {
  background: var(--gold);
  color: var(--bg);
}

.variant-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.variant-specs {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.variant-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

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

/* ==========================================================================
   Ideal For Section
   ========================================================================== */
.ideal-section {
  background: var(--surface);
}

.ideal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.ideal-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.ideal-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ideal-item p {
  font-size: 1rem;
  color: var(--cream);
}

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

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 6rem 0;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: var(--surface);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  transition: var(--transition);
}

.faq-question.active span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--muted);
}

/* ==========================================================================
   Lead Form
   ========================================================================== */
.lead-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
}

.lead-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.lead-form-container h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--cream);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .lead-form-container {
    padding: 2rem 1.5rem;
  }
}

/* Price Request Form (Inline) */
.price-request-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.price-request-form h3 {
  margin-bottom: 1rem;
}

.price-request-form p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.price-form-row {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.price-form-row input {
  flex: 1;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 1rem;
}

.price-form-row input:focus {
  outline: none;
  border-color: var(--gold);
}

@media (max-width: 600px) {
  .price-form-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   Price Request Section (Bugambilia)
   ========================================================================== */
.price-request {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,168,76,0.03) 100%);
}

.price-form-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.price-form-container h2 {
  font-family: var(--font-d);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--cream);
}

.price-form-container > p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.price-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.price-form input {
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 1rem;
  transition: var(--transition);
}

.price-form input::placeholder {
  color: var(--muted);
}

.price-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.price-form .btn {
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.price-form-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 576px) {
  .price-form-container {
    padding: 2rem 1.5rem;
  }

  .price-form-container h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-methods {
  display: grid;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact-method:hover {
  border-color: var(--gold-dim);
}

.contact-method-icon {
  font-size: 1.5rem;
}

.contact-method-content h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-method-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-method-content a {
  color: var(--gold);
}

/* Map Section */
.map-section {
  background: var(--surface);
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted);
}

.map-placeholder svg {
  width: 60px;
  height: 60px;
  fill: var(--gold);
  opacity: 0.5;
}

.map-section h3 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   About Page (Nosotros)
   ========================================================================== */
.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about-intro h1 {
  margin-bottom: 1.5rem;
}

.about-intro p {
  font-size: 1.15rem;
  color: var(--muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-5px);
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.pillar-card h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

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

.mission-section {
  background: var(--surface);
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  margin-bottom: 1.5rem;
}

.mission-content p {
  font-size: 1.15rem;
  color: var(--cream);
  opacity: 0.9;
}

/* ==========================================================================
   Financing Section (Nosotros)
   ========================================================================== */
.financing-section {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,168,76,0.03) 100%);
}

.financing-content {
  max-width: 1000px;
  margin: 0 auto;
}

.financing-highlight {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(201,168,76,0.08) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
}

.financing-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.financing-highlight h3 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.financing-highlight p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.financing-highlight strong {
  color: var(--cream);
}

.financing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.financing-item {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.financing-item:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}

.financing-item-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.financing-item h4 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.financing-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.financing-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-lg);
}

.financing-cta p {
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

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

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

  .financing-highlight {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--cream);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   WhatsApp Button
   ========================================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  animation: pulse 2s infinite;
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37,211,102,0.6);
  }
}

/* ==========================================================================
   Development Info Section (Aldea Hortus)
   ========================================================================== */
.dev-info {
  padding: 4rem 0;
  background: var(--surface);
}

.dev-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

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

.dev-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.dev-info-item:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}

.dev-info-icon {
  min-width: 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(201,168,76,0.1) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.dev-info-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  transition: var(--transition);
}

.dev-info-item:hover .dev-info-icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.25) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.2);
}

.dev-info-item:hover .dev-info-icon svg {
  stroke: var(--cream);
  transform: scale(1.1);
}

.dev-info-content h4 {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dev-info-content p {
  font-size: 1rem;
  color: var(--cream);
}

/* ==========================================================================
   Map Section Extended
   ========================================================================== */
.map-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .map-container {
    grid-template-columns: 1fr;
  }
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}

.map-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.map-distances {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.map-distances h3 {
  font-family: var(--font-d);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.distance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.distance-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  transition: var(--transition);
}

.distance-list li:hover {
  background: var(--surface-2);
}

.distance-icon {
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(201,168,76,0.08) 100%);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.distance-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  transition: var(--transition);
}

.distance-list li:hover .distance-icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.2) 100%);
  border-color: var(--gold-dim);
  transform: scale(1.05);
}

.distance-list li:hover .distance-icon svg {
  stroke: var(--cream);
}

.distance-info h4 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.distance-info p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Prototypes Section
   ========================================================================== */
.prototypes-section {
  padding: 6rem 0;
}

.prototypes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.prototype-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.prototype-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-5px);
  box-shadow: var(--gold-glow);
}

.prototype-card-img {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.prototype-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prototype-card-img[data-placeholder="true"] {
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
}

.prototype-card-img[data-placeholder="true"]::after {
  content: 'Imagen del prototipo';
  color: var(--muted);
  font-size: 0.9rem;
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
}

.card-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  background: var(--moss);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.card-status.premium {
  background: var(--gold);
  color: var(--bg);
}

.prototype-card-body {
  padding: 1.5rem;
}

.prototype-card-body h3 {
  font-family: var(--font-d);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.prototype-specs {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.prototype-specs-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.prototype-specs-list li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--cream);
  border-bottom: 1px solid var(--border);
}

.prototype-specs-list li:last-child {
  border-bottom: none;
}

.prototype-price {
  font-family: var(--font-d);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.prototype-cotos {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.prototype-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
}

.prototype-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ==========================================================================
   Ideal Section
   ========================================================================== */
.ideal-section {
  padding: 6rem 0;
  background: var(--surface);
}

.ideal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.ideal-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.ideal-item:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}

.ideal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--gold);
}

.ideal-item p {
  color: var(--cream);
  font-size: 1rem;
}

/* ==========================================================================
   Premium Visual Enhancements
   ========================================================================== */

/* Subtle glow effect for gold accents */
.hero-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(201,168,76,0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Enhanced section headers */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Card hover glow effects */
.prototype-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition);
}

.prototype-card:hover::before {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
}

/* Enhanced dev-info items */
.dev-info-item {
  position: relative;
  overflow: hidden;
}

.dev-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201,168,76,0) 0%, rgba(201,168,76,0.03) 100%);
  opacity: 0;
  transition: var(--transition);
}

.dev-info-item:hover::before {
  opacity: 1;
}

/* Map section enhancements */
.map-embed-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--border) 50%, var(--gold-dim) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* Enhanced map distances card */
.map-distances {
  position: relative;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(20,20,16,0.95) 100%);
}

.map-distances h3 {
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* Smooth scroll indicator */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Button enhancements */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Gallery hover effects */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

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

/* Footer brand glow */
.footer-brand h3 {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation link hover line */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

/* ==========================================================================
   Google Translate Widget
   ========================================================================== */
.nav-translate {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

#google_translate_element {
  display: flex;
  align-items: center;
}

/* Style the Google Translate dropdown to match our theme */
.goog-te-gadget {
  font-family: var(--font-ui) !important;
  font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.goog-te-gadget .goog-te-combo:hover,
.goog-te-gadget .goog-te-combo:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.15);
}

.goog-te-gadget .goog-te-combo option {
  background: var(--surface);
  color: var(--cream);
  padding: 0.5rem;
}

/* Hide Google Translate branding */
.goog-te-gadget > span {
  display: none !important;
}

.goog-te-gadget img {
  display: none !important;
}

/* Hide the Google Translate banner */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Translate icon before dropdown on desktop */
.nav-translate::before {
  content: '🌐';
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-translate {
    display: none;
  }
}

/* Mobile Translate - Show in fixed position on mobile */
.mobile-translate-fixed {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-translate-fixed {
    display: flex;
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    z-index: 899;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

  .mobile-translate-fixed::before {
    content: '🌐';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
  }
}
