/* ============================================================
 * MODEL 11 — AURORA GLASS
 * Glassmorphism + auroras animadas + Dynamic Island glass
 * Uses elite-primitives.css as base (loaded by index.php)
 * ============================================================ */

body.model-11 {
  background: var(--immo-bg, #0a0716);
  color: var(--immo-ink, #E8E4F3);
  font-family: var(--font-body);
  overflow-x: hidden;
}
body.model-11 h1, body.model-11 h2, body.model-11 h3,
body.model-11 h4, body.model-11 h5, body.model-11 h6 {
  font-family: var(--font-heading);
  color: var(--immo-on-primary, #FFFFFF);
  letter-spacing: -0.02em;
}

/* Mesh/aurora bg fijo detrás de todo */
body.model-11::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(var(--immo-primary-rgb), .35), transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(6, 182, 212, .30), transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(236, 72, 153, .28), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(59, 130, 246, .25), transparent 55%),
    var(--immo-bg, #0a0716);
  filter: blur(80px) saturate(150%);
  animation: aurora-flow 28s ease-in-out infinite alternate;
  will-change: transform;
}
body.model-11::after {
  content: '';
  position: fixed; inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}

/* ============ DYNAMIC ISLAND variante Aurora ============ */
.model-11 .nav-aurora {
  /* Hereda de .dyn-island-base (position: fixed) */
  background: linear-gradient(135deg,
    rgba(20, 15, 40, 0.65),
    rgba(30, 15, 50, 0.55));
  border: 1px solid rgba(255,255,255,0.14);
}
.model-11 .nav-aurora::before {
  content: '';
  position: absolute; inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--immo-primary), var(--immo-secondary), var(--immo-accent), var(--immo-primary));
  background-size: 300% 300%;
  animation: aurora-border 8s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
@keyframes aurora-border {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Default navbar BS hidden — usamos la island */
.model-11 .navbar-immo { display: none !important; }

/* ============ HERO ============ */
.model-11 .aurora-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 1.5rem 6rem;
  text-align: center;
  overflow: hidden;
}
.model-11 .aurora-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.model-11 .aurora-hero__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--immo-text-muted, #C8BFE3);
  margin-bottom: 1.75rem;
}
.model-11 .aurora-hero__kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--immo-secondary);
  box-shadow: 0 0 12px var(--immo-secondary);
  animation: di-pulse 2s ease-in-out infinite;
}
.model-11 .aurora-hero__title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1;
  font-weight: 700;
  margin: 0 0 1.5rem;
}
.model-11 .aurora-hero__title .grad {
  background: linear-gradient(100deg, var(--immo-primary) 0%, var(--immo-secondary) 50%, var(--immo-accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: chrome-shimmer 8s linear infinite;
}
.model-11 .aurora-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--immo-text-muted, #B9B1D6);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.model-11 .aurora-hero__search {
  display: flex; gap: .5rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.model-11 .aurora-hero__search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--immo-on-primary, #fff);
  padding: .8rem 1.2rem;
  font-size: 1rem;
}
.model-11 .aurora-hero__search input::placeholder { color: rgba(255,255,255,.5); }
.model-11 .aurora-hero__search button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--immo-primary), var(--immo-secondary));
  color: var(--immo-on-primary, #fff);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.model-11 .aurora-hero__search button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(var(--immo-primary-rgb),.5);
}
/* Smart search inside the hero: same glass pill as the old free-text box */
.model-11 .aurora-hero__smart {
  /* Above the CTA buttons below, so the suggestions list is never covered */
  position: relative;
  z-index: 20;
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: left;
}
.model-11 .aurora-hero__smart .gvm-smart { margin: 0; }
.model-11 .aurora-hero__smart .gvm-smart-row {
  gap: .5rem;
  padding: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.model-11 .aurora-hero__smart .gvm-smart .gvm-smart-row .gvm-smart-input.form-control {
  height: 48px;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: #fff;
  box-shadow: none;
}
.model-11 .aurora-hero__smart .gvm-smart .gvm-smart-row .gvm-smart-input.form-control::placeholder {
  color: rgba(255,255,255,.6);
}
.model-11 .aurora-hero__smart .gvm-smart-ico { left: 1.5rem; top: 50%; color: #fff; opacity: .8; }
.model-11 .aurora-hero__smart .gvm-smart .gvm-smart-row .gvm-smart-btn {
  min-height: 48px;
  padding: 0 1.4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--immo-primary), var(--immo-secondary));
  color: var(--immo-on-primary-auto, var(--immo-on-primary, #fff));
}
.model-11 .aurora-hero__smart .gvm-smart-list { top: 66px; }
.model-11 .aurora-hero__smart .gvm-smart-chips { justify-content: center; }
.model-11 .aurora-hero__smart .gvm-chip-ask-t,
.model-11 .aurora-hero__smart .gvm-chip-note,
.model-11 .aurora-hero__smart .gvm-smart-hint { color: #fff; }

.model-11 .aurora-hero__ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* Orbs decorativos flotantes */
.model-11 .aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .6;
  pointer-events: none;
  animation: orb-float 18s ease-in-out infinite alternate;
}
.model-11 .aurora-orb--1 { width: 320px; height: 320px; background: var(--immo-primary); top: 10%; left: 8%; }
.model-11 .aurora-orb--2 { width: 260px; height: 260px; background: var(--immo-secondary); top: 55%; right: 10%; animation-delay: -6s; }
.model-11 .aurora-orb--3 { width: 200px; height: 200px; background: var(--immo-accent); bottom: 15%; left: 40%; animation-delay: -12s; }
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.1); }
}

/* ============ PROPERTY CARD Aurora ============ */
.model-11 .property-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--immo-radius, 20px);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.9,.3,1.2), border-color .3s, box-shadow .4s;
  position: relative;
}
.model-11 .property-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--immo-primary-rgb),.15), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.model-11 .property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--immo-primary-rgb),.4);
  box-shadow: 0 30px 80px rgba(var(--immo-primary-rgb),.25);
}
.model-11 .property-card:hover::before { opacity: 1; }
/* theme.css fixes the image at 220px tall; with aspect-ratio that made it narrower than the card */
.model-11 .property-card .card-img-container { aspect-ratio: 4/3; overflow: hidden; width: 100%; height: auto; }
.model-11 .property-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.9,.3,1.2);
}
.model-11 .property-card:hover img { transform: scale(1.08); }
.model-11 .property-card .card-body { padding: 1.5rem; color: var(--immo-ink, #E8E4F3); }
/* Badge and price flow in the card body (theme.css positions them absolutely, and the
   tilt-3d transform on .card-body made them land on top of the title) */
.model-11 .property-card .property-badge,
.model-11 .property-card .property-price {
  position: static;
  top: auto; right: auto; bottom: auto; left: auto;
}
.model-11 .property-card .property-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--immo-primary), var(--immo-secondary));
  color: var(--immo-on-primary, #fff);
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .6rem;
}
.model-11 .property-card .property-price {
  display: table; /* own line, but only as wide as the price */
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--immo-on-primary, #fff);
  margin-bottom: .4rem;
}
.model-11 .property-card .card-title {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--immo-on-primary, #fff);
}
.model-11 .property-card .property-location {
  color: var(--immo-text-muted, #a79bc4);
  font-size: .88rem;
  margin-bottom: .8rem;
}
.model-11 .property-card .property-features {
  display: flex; gap: .9rem;
  font-size: .82rem;
  color: var(--immo-text-muted, #B9B1D6);
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.model-11 .property-card .fav-btn {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
  color: var(--immo-on-primary, #fff);
  z-index: 2;
  transition: background .25s, transform .25s;
}
.model-11 .property-card .fav-btn:hover { background: rgba(236,72,153,.6); transform: scale(1.1); }

/* ============ Section titles ============ */
.model-11 section { position: relative; z-index: 1; }
.model-11 section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: 3rem;
}
.model-11 .destacados-section,
.model-11 .contacto-section,
.model-11 .servicios-section,
.model-11 .quienes-somos-section,
.model-11 .testimonios-section,
.model-11 .equipo-section,
.model-11 .faq-section {
  padding: 6rem 1.5rem;
  color: var(--immo-ink, #E8E4F3);
}

/* Inputs glass en toda la página */
.model-11 input[type="text"],
.model-11 input[type="email"],
.model-11 input[type="tel"],
.model-11 select,
.model-11 textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--immo-on-primary, #fff);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}
.model-11 input:focus, .model-11 select:focus, .model-11 textarea:focus {
  border-color: var(--immo-primary);
  box-shadow: 0 0 0 3px rgba(var(--immo-primary-rgb),.25);
  outline: none;
}

/* Footer */
.model-11 footer {
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--immo-text-muted, #B9B1D6);
}
.model-11 footer a { color: var(--immo-ink, #E8E4F3); }

/* Scrollbar */
.model-11::-webkit-scrollbar { width: 10px; }
.model-11::-webkit-scrollbar-track { background: var(--immo-bg, #0a0716); }
.model-11::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--immo-primary), var(--immo-secondary));
  border-radius: 999px;
}

/* ============================================================
 * AURORA GLASS — Navbar upgrade + visual power boost
 * ============================================================ */

/* Pill más impactante: glow pulsante + partículas */
.model-11 .nav-aurora {
  box-shadow:
    0 0 40px rgba(var(--immo-primary-rgb),.4),
    0 0 80px rgba(var(--immo-primary-rgb),.15),
    inset 0 1px 0 rgba(255,255,255,.15);
}
.model-11 .nav-aurora:hover {
  box-shadow:
    0 0 60px rgba(var(--immo-primary-rgb),.6),
    0 0 120px rgba(6,182,212,.25);
}

/* Partículas flotantes en el hero */
.model-11 .aurora-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1px),
    radial-gradient(circle, rgba(var(--immo-primary-rgb),.6) 1px, transparent 1px),
    radial-gradient(circle, rgba(6,182,212,.5) 1px, transparent 1px);
  background-size: 120px 120px, 180px 180px, 240px 240px;
  background-position: 0 0, 40px 60px, 80px 20px;
  animation: particle-drift 40s linear infinite;
  pointer-events: none;
  opacity: .35;
  z-index: 1;
}
@keyframes particle-drift {
  0%   { background-position: 0 0, 40px 60px, 80px 20px; }
  100% { background-position: 120px 120px, 160px 180px, 200px 140px; }
}

/* Cards: holographic shimmer en hover */
.model-11 .property-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from var(--holo-angle, 0deg),
    rgba(var(--immo-primary-rgb),0) 0deg,
    rgba(6,182,212,.25) 60deg,
    rgba(236,72,153,.2) 120deg,
    rgba(var(--immo-primary-rgb),0) 180deg
  );
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  mix-blend-mode: screen;
}
.model-11 .property-card:hover::after { opacity: 1; }

/* Section dividers aurora */
.model-11 .destacados-section::before,
.model-11 .servicios-section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--immo-primary-rgb),.6), rgba(6,182,212,.6), transparent);
  margin-bottom: 4rem;
}

/* Stats badges en hero */
.model-11 .aurora-hero__badges {
  display: flex; gap: 1.2rem; justify-content: center;
  flex-wrap: wrap; margin-top: 2.5rem;
}
.model-11 .aurora-badge {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: .9rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  min-width: 90px;
}
.model-11 .aurora-badge strong {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--immo-primary), var(--immo-secondary));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.model-11 .aurora-badge span { font-size: .72rem; color: var(--immo-text-muted, #a79bc4); margin-top: .3rem; }
