:root {
  --navy: #101b43;
  --navy-2: #172653;
  --blue: #3c6ea8;
  --blue-soft: #eaf1f9;
  --ink: #182039;
  --muted: #69738a;
  --paper: #ffffff;
  --surface: #f4f6fa;
  --line: rgba(16, 27, 67, .11);
  --success: #16845b;
  --shadow: 0 28px 80px rgba(7, 17, 49, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(60, 110, 168, .28), transparent 28rem),
    linear-gradient(160deg, #0b1434 0%, #182955 55%, #0c1737 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.icon { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--navy);
  background: #fff;
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: 100%;
  min-height: 100svh;
}

.digital-card {
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 76svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video { object-fit: cover; }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(5, 12, 34, .52) 0%, rgba(5, 12, 34, .08) 34%, rgba(5, 12, 34, .9) 100%),
    linear-gradient(110deg, rgba(21, 35, 79, .3), transparent 55%);
}
.hero-topbar,
.hero-content { position: relative; z-index: 2; }
.hero-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) 18px 0;
}
.main-logo {
  width: min(54vw, 218px);
  padding: 8px 11px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(4, 13, 40, .18);
  backdrop-filter: blur(12px);
}
.main-logo img { width: 100%; }
.video-actions { display: flex; gap: 8px; }
.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(6, 15, 42, .48);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.icon-button:focus-visible,
.quick-action:focus-visible,
.social-link:focus-visible,
.location-card:focus-visible,
.primary-cta:focus-visible,
.project-nav a:focus-visible,
.development-cta:focus-visible,
.mobile-dock a:focus-visible {
  outline: 3px solid rgba(104, 172, 255, .82);
  outline-offset: 3px;
}
.icon-volume { fill: currentColor; }
.icon-volume path:nth-child(n+2) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-button.has-sound .mute-line { display: none; }

.hero-content {
  padding: 68px 22px 36px;
}
.project-mark {
  width: fit-content;
  display: grid;
  gap: 1px;
  margin-bottom: 22px;
  padding: 11px 14px 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 14px;
  background: rgba(9, 20, 54, .42);
  backdrop-filter: blur(12px);
}
.project-mark__eyebrow,
.project-mark > span:last-child {
  font-size: .66rem;
  line-height: 1.1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}
.project-mark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  letter-spacing: .12em;
}
.hero-kicker,
.overline,
.section-label {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-kicker { color: rgba(255, 255, 255, .76); }
.hero h1 {
  max-width: 480px;
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 13vw, 4.7rem);
  line-height: .94;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-copy {
  max-width: 430px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .84);
  font-size: 1rem;
}
.primary-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  color: var(--navy);
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(6, 15, 42, .24);
  text-decoration: none;
  font-weight: 850;
}

.profile-panel {
  position: relative;
  z-index: 4;
  margin-top: -18px;
  padding: 26px 18px 32px;
  background: #fff;
  border-radius: 24px 24px 0 0;
}
.profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.overline,
.section-label { color: var(--blue); }
.profile-heading h2 {
  margin: 4px 0 2px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
}
.phone-line { margin: 0; color: var(--muted); font-size: .93rem; }
.phone-line a { text-decoration: none; }
.availability {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 7px 9px;
  color: var(--success);
  background: rgba(22, 132, 91, .08);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}
.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 132, 91, .12);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0 30px;
}
.quick-action {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: .7rem;
  font-weight: 800;
  cursor: pointer;
}
.action-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--blue-soft);
  border: 1px solid rgba(60, 110, 168, .10);
  border-radius: 16px;
}
.quick-action:active .action-icon { transform: scale(.96); }

.social-block { margin-bottom: 28px; }
.section-label { margin-bottom: 10px; }
.social-links {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.social-link {
  min-height: 64px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
}
.social-link + .social-link { border-top: 1px solid var(--line); }
.social-icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  color: #fff;
  fill: currentColor;
  background: var(--navy);
  border-radius: 12px;
}
.social-link span:nth-child(2) { min-width: 0; display: grid; }
.social-link strong { color: var(--navy); font-size: .9rem; }
.social-link small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.arrow { color: var(--blue); font-size: 1.6rem; line-height: 1; }

.property-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.property-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.property-card h3 {
  margin: 3px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}
.property-tag {
  padding: 6px 9px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
}
.property-card > p {
  margin: 15px 0 18px;
  color: var(--muted);
  font-size: .93rem;
}
.amenity-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.amenity-chips span {
  padding: 7px 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750;
}


.developments-section {
  margin: 0 -2px 28px;
  scroll-margin-top: 18px;
}
.developments-heading {
  margin-bottom: 14px;
}
.developments-heading h3 {
  margin: 3px 0 6px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 8vw, 2.35rem);
  line-height: 1.05;
}
.developments-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}
.project-nav {
  display: flex;
  gap: 8px;
  margin: 0 -18px 18px;
  padding: 2px 18px 7px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.project-nav::-webkit-scrollbar { display: none; }
.project-nav a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 9px 12px;
  color: var(--navy);
  background: var(--blue-soft);
  border: 1px solid rgba(60, 110, 168, .13);
  border-radius: 999px;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 850;
}
.development-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(16, 27, 67, .08);
  scroll-margin-top: 18px;
}
.development-card + .development-card { margin-top: 20px; }
.development-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--blue));
}
.development-media::after {
  content: "Espacio para imagen";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, .84);
  background: rgba(7, 17, 49, .56);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.development-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.development-media--photo::after { display: none; }
.development-media--photo img { object-position: center center; }

.development-body { padding: 20px 18px 21px; }
.development-eyebrow {
  margin: 0 0 3px;
  color: var(--blue);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.development-body h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 7vw, 2rem);
  line-height: 1.08;
}
.development-body h5 {
  margin: 18px 0 9px;
  color: var(--navy);
  font-size: .88rem;
}
.development-body > p:not(.development-eyebrow):not(.development-slogan) {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.62;
}
.amenities-list {
  display: grid;
  gap: 8px;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
}
.amenities-list li {
  position: relative;
  padding: 10px 11px 10px 34px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .83rem;
  line-height: 1.4;
}
.amenities-list li::before {
  content: "✓";
  position: absolute;
  top: 9px;
  left: 11px;
  color: var(--blue);
  font-weight: 900;
}
.amenities-list--icons li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 4px;
  padding-left: 11px;
}
.amenities-list--icons li::before { display: none; }
.amenities-list--icons span { line-height: 1.25; }
.development-slogan {
  margin: 18px 0 15px;
  padding: 15px;
  color: var(--navy);
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.42;
}
.development-cta {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 850;
}
.development-cta:active { transform: scale(.99); }

.location-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
}
.location-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 14px;
}
.location-card > span:nth-child(2) { display: grid; gap: 3px; }
.location-card strong { color: var(--navy); }
.location-card small { color: var(--muted); line-height: 1.35; }

.closing-message {
  margin-top: 20px;
  padding: 18px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 18px;
}
.closing-message p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.card-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 20px calc(94px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, .62);
  background: var(--navy);
}
.card-footer img {
  width: 200px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 12px;
}
.card-footer p { margin: 0; font-size: .78rem; }

.mobile-dock {
  position: fixed;
  z-index: 100;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 8px;
  width: auto;
  max-width: 496px;
  margin-inline: auto;
  padding: 8px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(7, 17, 49, .24);
  backdrop-filter: blur(16px);
}
.mobile-dock a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
  border-radius: 13px;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 850;
}
.mobile-dock .dock-primary { color: #fff; background: var(--navy); }

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 11px 15px;
  color: #fff;
  background: rgba(8, 18, 48, .94);
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .22s ease, transform .22s ease;
  font-size: .82rem;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 620px) {
  .page-shell { padding: 28px 18px 110px; }
  .digital-card {
    max-width: 520px;
    min-height: auto;
    margin-inline: auto;
    border-radius: 30px;
    box-shadow: var(--shadow);
  }
  .hero { min-height: 720px; }
  .profile-panel { padding-inline: 26px; }
  .project-nav { margin-inline: -26px; padding-inline: 26px; }
  .development-body { padding: 24px; }
  .card-footer { padding-bottom: 34px; }
}

@media (max-width: 365px) {
  .availability { display: none; }
  .hero-content { padding-inline: 18px; }
  .profile-panel { padding-inline: 14px; }
  .quick-actions { gap: 3px; }
  .action-icon { width: 44px; height: 44px; }
  .main-logo { width: 58vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Logos secundarios debajo del video */
.secondary-logos {
  position: relative;
  z-index: 4;
  margin-top: -18px;
  padding: 25px 18px 20px;
  background: #fff;
  border-radius: 24px 24px 0 0;
}
.secondary-logos__heading { margin-bottom: 13px; }
.secondary-logos__heading .section-label { margin-bottom: 3px; }
.secondary-logos__heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 7vw, 2.15rem);
  line-height: 1.08;
}
.secondary-logos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.secondary-logo-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 27, 67, .06);
}
.secondary-logo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}
.secondary-logo-card span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 7px 8px;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}
.secondary-logo-card:active { transform: scale(.985); }
.secondary-logo-card:focus-visible,
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.form-submit:focus-visible,
.qr-link:focus-visible {
  outline: 3px solid rgba(104, 172, 255, .82);
  outline-offset: 3px;
}

/* El bloque de logos ocupa ahora el solapamiento del hero */
.profile-panel {
  margin-top: 0;
  padding-top: 12px;
  border-radius: 0;
}

/* Formulario de contacto */
.contact-section {
  margin-top: 24px;
  padding: 21px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  scroll-margin-top: 18px;
}
.contact-heading { margin-bottom: 17px; }
.contact-heading .section-label { margin-bottom: 3px; }
.contact-heading h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 7vw, 2.1rem);
  line-height: 1.08;
}
.contact-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.contact-form { display: grid; gap: 14px; }
.form-grid { display: grid; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field label {
  color: var(--navy);
  font-size: .77rem;
  font-weight: 850;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 27, 67, .16);
  border-radius: 13px;
  font: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #929aad; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(60, 110, 168, .11);
}
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-submit {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(16, 27, 67, .18);
  font: inherit;
  font-size: .9rem;
  font-weight: 850;
  cursor: pointer;
}
.form-submit:disabled { opacity: .68; cursor: wait; }
.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
  text-align: center;
}
.form-note a { color: var(--blue); overflow-wrap: anywhere; }

/* Código QR al final */
.qr-section {
  width: 100%;
  max-width: 330px;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 21px 18px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 16px 38px rgba(3, 10, 33, .22);
}
.qr-section .section-label { margin: 0; }
.qr-section h2 {
  margin: 0 0 3px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.05;
  text-align: center;
}
.qr-link {
  width: min(72vw, 230px);
  display: block;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.qr-link img { width: 100%; aspect-ratio: 1 / 1; }
.qr-section > p:last-child {
  max-width: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .76rem;
  overflow-wrap: anywhere;
  text-align: center;
}

@media (min-width: 480px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 620px) {
  .secondary-logos { padding-inline: 26px; }
  .profile-panel { padding-top: 16px; }
  .secondary-logos__grid { gap: 12px; }
  .contact-section { padding: 24px; }
}


/* Mapa de ubicación antes del código QR */
.map-section {
  margin-top: 24px;
  padding: 21px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(16, 27, 67, .08);
  scroll-margin-top: 18px;
}
.map-heading .section-label { margin-bottom: 3px; }
.map-heading h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 7vw, 2.1rem);
  line-height: 1.08;
}
.map-heading > p:last-child {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}
.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.map-directions {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 13px;
  padding: 12px 15px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 850;
}
.map-directions .icon { flex: 0 0 auto; }
.map-directions:focus-visible {
  outline: 3px solid rgba(104, 172, 255, .82);
  outline-offset: 3px;
}

@media (min-width: 620px) {
  .map-section { padding: 24px; }
  .map-frame { aspect-ratio: 16 / 10; }
}

/* Carrusel fotográfico de Residencial Dream Diamante */
.development-carousel {
  isolation: isolate;
  touch-action: pan-y;
}
.development-carousel .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.development-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s ease, visibility .42s ease;
}
.development-carousel .carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.development-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(7, 17, 49, .64);
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(7, 17, 49, .24);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  cursor: pointer;
}
.carousel-button span {
  margin-top: -3px;
  font-size: 2rem;
  line-height: 1;
}
.carousel-button--prev { left: 10px; }
.carousel-button--next { right: 10px; }
.carousel-button:focus-visible,
.carousel-dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.carousel-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(7, 17, 49, .34);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(7, 17, 49, .24);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dot.is-active {
  width: 24px;
  background: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .development-carousel .carousel-slide { transition: none; }
}


/* =========================================================
   EFECTOS VISUALES PREMIUM — sin librerías externas
   ========================================================= */
:root {
  --gold: #d9b56d;
  --glow-blue: rgba(91, 154, 226, .35);
  --ease-premium: cubic-bezier(.2, .75, .2, 1);
}

body {
  position: relative;
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .22;
  pointer-events: none;
  animation: ambientDrift 18s ease-in-out infinite alternate;
}
body::before {
  top: -18rem;
  left: -20rem;
  background: #6ca8ef;
}
body::after {
  right: -23rem;
  bottom: -21rem;
  background: #294b9b;
  animation-delay: -7s;
}

.scroll-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #7fb9ff, #fff, var(--gold));
  box-shadow: 0 0 14px rgba(127, 185, 255, .75);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.digital-card {
  position: relative;
  isolation: isolate;
}
.digital-card::before {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: inherit;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -30%;
  background: conic-gradient(from 120deg at 55% 45%, transparent 0 35%, rgba(131, 188, 255, .13) 43%, transparent 52% 100%);
  animation: heroLightSweep 16s linear infinite;
  pointer-events: none;
}
.hero-video {
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.045);
  animation: heroCinematic 16s var(--ease-premium) infinite alternate;
  will-change: transform;
}
.hero-shade {
  z-index: 1;
  animation: shadeBreathe 8s ease-in-out infinite alternate;
}
.hero-ambient {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 13px rgba(255, 255, 255, .85);
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}
.hero-particle--1 { left: 10%; top: 34%; animation-delay: -1s; }
.hero-particle--2 { left: 26%; top: 22%; width: 3px; height: 3px; animation-delay: -5s; }
.hero-particle--3 { right: 17%; top: 32%; animation-delay: -3s; }
.hero-particle--4 { right: 30%; top: 55%; width: 4px; height: 4px; animation-delay: -6s; }
.hero-particle--5 { left: 14%; bottom: 24%; width: 3px; height: 3px; animation-delay: -4s; }
.hero-particle--6 { right: 8%; bottom: 19%; animation-delay: -2s; }
.hero-particle--7 { left: 54%; top: 17%; width: 3px; height: 3px; animation-delay: -7s; }

.main-logo {
  transform-origin: top left;
  animation: logoFloat 5.5s ease-in-out infinite;
}
.icon-button,
.primary-cta,
.development-cta,
.form-submit,
.map-directions,
.mobile-dock a,
.quick-action,
.secondary-logo-card,
.social-link,
.location-card,
.qr-link,
.project-nav a {
  position: relative;
  overflow: hidden;
  transition:
    transform .32s var(--ease-premium),
    box-shadow .32s var(--ease-premium),
    border-color .32s ease,
    background-color .32s ease,
    color .32s ease;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
}
body.is-ready .hero-content > * {
  animation: heroContentIn .75s var(--ease-premium) forwards;
}
body.is-ready .hero-content > :nth-child(1) { animation-delay: .16s; }
body.is-ready .hero-content > :nth-child(2) { animation-delay: .27s; }
body.is-ready .hero-content > :nth-child(3) { animation-delay: .36s; }
body.is-ready .hero-content > :nth-child(4) { animation-delay: .46s; }
body.is-ready .hero-content > :nth-child(5) { animation-delay: .57s; }

.project-mark {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 34px rgba(4, 12, 35, .18);
}
.hero h1 {
  text-shadow: 0 5px 26px rgba(2, 9, 28, .5);
}
.primary-cta {
  background: linear-gradient(115deg, #fff 0 45%, #eaf4ff 53%, #fff 62% 100%);
  background-size: 240% 100%;
  animation: ctaShimmer 5s ease-in-out infinite;
}
.primary-cta::after,
.form-submit::after,
.development-cta::after,
.map-directions::after,
.mobile-dock .dock-primary::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: rotate(18deg);
  animation: buttonLight 5.8s ease-in-out infinite;
  pointer-events: none;
}

.secondary-logos,
.profile-panel {
  background:
    radial-gradient(circle at 95% 0, rgba(91, 154, 226, .09), transparent 12rem),
    #fff;
}
.secondary-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #78b5f6);
  box-shadow: 0 5px 16px rgba(60, 110, 168, .3);
  transform: translateX(-50%);
}
.secondary-logo-card {
  background: linear-gradient(145deg, #fff, #f4f7fb);
  box-shadow: 0 10px 24px rgba(16, 27, 67, .07);
}
.secondary-logo-card::after,
.development-card::after,
.contact-section::after,
.map-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(102, 168, 244, .16), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.secondary-logo-card img {
  transition: transform .55s var(--ease-premium), filter .4s ease;
}
.secondary-logo-card span {
  position: relative;
  z-index: 1;
}

.profile-heading h2,
.secondary-logos__heading h2,
.developments-heading h3,
.contact-heading h3,
.map-heading h2,
.qr-section h2 {
  text-shadow: 0 7px 22px rgba(16, 27, 67, .08);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-label::after {
  content: "";
  width: 27px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.availability i {
  animation: statusPulse 2.2s ease-out infinite;
}

.action-icon {
  box-shadow: inset 0 1px 0 #fff, 0 9px 20px rgba(36, 76, 128, .08);
  transition: transform .32s var(--ease-premium), box-shadow .32s ease, background .32s ease;
}
.social-links {
  box-shadow: 0 12px 30px rgba(16, 27, 67, .07);
}
.social-link {
  background: linear-gradient(90deg, #fff, #fbfcff);
}
.social-icon {
  transition: transform .4s var(--ease-premium), box-shadow .35s ease;
  box-shadow: 0 8px 18px rgba(16, 27, 67, .15);
}

.project-nav {
  position: sticky;
  z-index: 12;
  top: 8px;
  border-radius: 999px;
}
.project-nav a {
  backdrop-filter: blur(12px);
  box-shadow: 0 7px 17px rgba(16, 27, 67, .06);
}
.project-nav a.is-current {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(16, 27, 67, .22);
}

.development-card,
.contact-section,
.map-section {
  position: relative;
  isolation: isolate;
  box-shadow: 0 18px 48px rgba(16, 27, 67, .1);
}
.development-card {
  transform: translateZ(0);
}
.development-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
  pointer-events: none;
}
.development-media img {
  transform: scale(1.015);
  transition: transform 1.05s var(--ease-premium), filter .55s ease;
  will-change: transform;
}
.development-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(5, 14, 40, .2));
  pointer-events: none;
}
.development-eyebrow {
  position: relative;
  width: fit-content;
}
.development-eyebrow::after {
  content: "";
  position: absolute;
  right: -38px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.amenities-list li {
  transition: transform .28s var(--ease-premium), box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.development-slogan {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, var(--blue-soft), #f8fbff, var(--blue-soft));
  background-size: 220% 100%;
  animation: sloganGlow 7s ease-in-out infinite;
}
.development-slogan::after {
  content: "❯";
  position: absolute;
  right: 12px;
  bottom: 4px;
  color: rgba(60, 110, 168, .14);
  font-size: 2.2rem;
}
.development-cta,
.map-directions,
.form-submit {
  background-size: 170% 170%;
  box-shadow: 0 14px 28px rgba(16, 27, 67, .2);
}

.development-carousel .carousel-slide.is-active img {
  animation: carouselKenBurns 6.2s ease-out both;
}
.carousel-button {
  transition: transform .25s var(--ease-premium), background .25s ease, box-shadow .25s ease;
}
.carousel-dot {
  transition: width .28s var(--ease-premium), background .28s ease, transform .28s ease;
}
.carousel-dot.is-active {
  transform: scaleY(1.12);
}

.location-card,
.contact-section,
.map-section {
  background:
    radial-gradient(circle at 100% 0, rgba(92, 154, 225, .08), transparent 14rem),
    #fff;
}
.location-icon {
  animation: locationBob 3.2s ease-in-out infinite;
  box-shadow: 0 10px 22px rgba(60, 110, 168, .25);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease-premium), background .25s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(60, 110, 168, .11), 0 12px 25px rgba(16, 27, 67, .08);
}
.form-submit .icon {
  transition: transform .35s var(--ease-premium);
}

.map-frame {
  box-shadow: 0 15px 32px rgba(16, 27, 67, .11);
  transition: transform .4s var(--ease-premium), box-shadow .4s ease;
}
.closing-message {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(16, 27, 67, .2);
}
.closing-message::before {
  content: "";
  position: absolute;
  inset: -100% -40%;
  background: conic-gradient(from 90deg, transparent, rgba(255,255,255,.15), transparent 28%);
  animation: closingGlow 9s linear infinite;
}
.closing-message p { position: relative; z-index: 1; }

.card-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(89, 145, 213, .25), transparent 20rem),
    var(--navy);
}
.card-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: 340px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  transform: translateX(-50%);
}
.card-footer > * { position: relative; z-index: 1; }
.qr-section {
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 22px 52px rgba(3, 10, 33, .28);
}
.qr-link {
  box-shadow: 0 12px 28px rgba(16, 27, 67, .12);
}
.qr-link::before,
.qr-link::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(60, 110, 168, .25);
  border-radius: 20px;
  animation: qrPulse 3s ease-out infinite;
  pointer-events: none;
}
.qr-link::after { animation-delay: 1.5s; }

.mobile-dock {
  animation: dockIn .75s .8s var(--ease-premium) both;
  box-shadow: 0 22px 58px rgba(7, 17, 49, .28);
}
.mobile-dock .dock-primary {
  animation: dockPulse 3.4s ease-in-out infinite;
}
.toast.show {
  animation: toastPop .36s var(--ease-premium);
}

/* Aparición suave al hacer scroll */
.js .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.985);
  transition: opacity .72s var(--ease-premium), transform .72s var(--ease-premium);
  will-change: opacity, transform;
}
.js .reveal-on-scroll.reveal-from-left { transform: translate3d(-24px, 12px, 0) scale(.99); }
.js .reveal-on-scroll.reveal-from-right { transform: translate3d(24px, 12px, 0) scale(.99); }
.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.js .amenities-list.is-visible li {
  animation: amenityIn .5s var(--ease-premium) both;
  animation-delay: calc(var(--item-index, 0) * 45ms);
}

.fx-ripple-wave {
  position: absolute;
  z-index: 8;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleWave .62s ease-out forwards;
}
.primary-cta .fx-ripple-wave,
.secondary-logo-card .fx-ripple-wave,
.quick-action .fx-ripple-wave,
.social-link .fx-ripple-wave,
.location-card .fx-ripple-wave,
.qr-link .fx-ripple-wave,
.project-nav a .fx-ripple-wave {
  background: rgba(60, 110, 168, .18);
}

@media (hover: hover) and (pointer: fine) {
  .primary-cta:hover,
  .development-cta:hover,
  .form-submit:hover,
  .map-directions:hover,
  .mobile-dock a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(16, 27, 67, .25);
  }
  .primary-cta:hover { box-shadow: 0 18px 36px rgba(4, 13, 40, .3), 0 0 0 5px rgba(255,255,255,.12); }
  .icon-button:hover { transform: translateY(-2px) scale(1.04); background: rgba(6, 15, 42, .7); }
  .quick-action:hover .action-icon {
    transform: translateY(-5px) rotate(-2deg);
    background: #fff;
    box-shadow: 0 15px 28px rgba(36, 76, 128, .14);
  }
  .secondary-logo-card:hover {
    transform: translateY(-7px) rotateX(1deg);
    border-color: rgba(60, 110, 168, .3);
    box-shadow: 0 20px 40px rgba(16, 27, 67, .14);
  }
  .secondary-logo-card:hover::after,
  .development-card:hover::after,
  .contact-section:hover::after,
  .map-section:hover::after { opacity: 1; }
  .secondary-logo-card:hover img { transform: scale(1.055); filter: saturate(1.08); }
  .social-link:hover { transform: translateX(4px); background: var(--blue-soft); }
  .social-link:hover .social-icon { transform: rotate(-6deg) scale(1.08); box-shadow: 0 13px 24px rgba(16,27,67,.22); }
  .project-nav a:hover { transform: translateY(-2px); border-color: rgba(60, 110, 168, .28); }
  .development-card:hover { transform: translateY(-5px); box-shadow: 0 25px 58px rgba(16, 27, 67, .16); }
  .development-card:hover .development-media img { transform: scale(1.075); filter: saturate(1.06) contrast(1.02); }
  .amenities-list li:hover {
    transform: translateX(4px);
    background: #fff;
    border-color: rgba(60, 110, 168, .24);
    box-shadow: 0 9px 20px rgba(16, 27, 67, .07);
  }
  .location-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16, 27, 67, .12); }
  .form-submit:hover .icon { transform: translate(4px, -3px) rotate(-8deg); }
  .map-frame:hover { transform: translateY(-3px); box-shadow: 0 22px 42px rgba(16, 27, 67, .16); }
  .qr-link:hover { transform: translateY(-4px) rotate(.5deg); box-shadow: 0 18px 38px rgba(16,27,67,.18); }
  .carousel-button:hover { transform: translateY(-50%) scale(1.08); background: rgba(7, 17, 49, .82); }
}

@media (min-width: 620px) {
  .digital-card {
    box-shadow: 0 38px 110px rgba(2, 8, 26, .42), 0 0 0 1px rgba(255,255,255,.08);
  }
  .page-shell { perspective: 1400px; }
}

@keyframes ambientDrift {
  to { transform: translate3d(5rem, 3rem, 0) scale(1.12); }
}
@keyframes heroLightSweep { to { transform: rotate(360deg); } }
@keyframes heroCinematic {
  0% { transform: translate3d(-1%, var(--hero-shift, 0px), 0) scale(1.045); }
  100% { transform: translate3d(1%, var(--hero-shift, 0px), 0) scale(1.09); }
}
@keyframes shadeBreathe { to { opacity: .88; } }
@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translate3d(0, 18px, 0) scale(.5); }
  30%, 70% { opacity: .8; }
  50% { transform: translate3d(8px, -24px, 0) scale(1.15); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-4px) rotate(-.4deg); }
}
@keyframes heroContentIn { to { opacity: 1; transform: translateY(0); } }
@keyframes ctaShimmer {
  0%, 70%, 100% { background-position: 100% 0; }
  82% { background-position: 0 0; }
}
@keyframes buttonLight {
  0%, 68% { left: -70%; }
  85%, 100% { left: 135%; }
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(22,132,91,.35); }
  75%, 100% { box-shadow: 0 0 0 9px rgba(22,132,91,0); }
}
@keyframes sloganGlow {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 100% 0; }
}
@keyframes carouselKenBurns {
  from { transform: scale(1.015); }
  to { transform: scale(1.085); }
}
@keyframes locationBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes closingGlow { to { transform: rotate(360deg); } }
@keyframes qrPulse {
  0% { opacity: .65; transform: scale(.96); }
  80%, 100% { opacity: 0; transform: scale(1.08); }
}
@keyframes dockIn {
  from { opacity: 0; transform: translateY(35px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dockPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(60,110,168,0); }
  50% { box-shadow: 0 0 0 5px rgba(60,110,168,.11); }
}
@keyframes toastPop {
  0% { transform: translate(-50%, 10px) scale(.92); }
  100% { transform: translate(-50%, 0) scale(1); }
}
@keyframes amenityIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes rippleWave {
  to { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero::before,
  .hero-video,
  .hero-shade,
  .hero-particle,
  .main-logo,
  .primary-cta,
  .availability i,
  .development-slogan,
  .development-carousel .carousel-slide.is-active img,
  .location-icon,
  .closing-message::before,
  .qr-link::before,
  .qr-link::after,
  .mobile-dock,
  .mobile-dock .dock-primary,
  .primary-cta::after,
  .form-submit::after,
  .development-cta::after,
  .map-directions::after,
  .mobile-dock .dock-primary::after {
    animation: none !important;
  }
  .hero-content > * { opacity: 1; transform: none; }
  .js .reveal-on-scroll { opacity: 1; transform: none; }
}
