/* ================================================================
   Urbifrax Landing — Professional CSS
   Color principal: Naranja (#FF7A00)
   Font: Inter
   ================================================================ */

/* --- Reset & Variables --- */
:root {
  --orange: #FF7A00;
  --orange-light: #FF9500;
  --orange-dark: #E56A00;
  --dark: #1a1a1a;
  --dark-2: #2D2926;
  --dark-3: #3a3531;
  --text: #333;
  --text-soft: #666;
  --text-muted: #999;
  --cream: #f7f2ec;
  --cream-2: #efe7dd;
  --white: #ffffff;
  --border: #e8ecf0;
  --border-warm: #ddd3c8;
  --shadow: 0 20px 60px rgba(0,0,0,.10);
  --shadow-sm: 0 10px 30px rgba(0,0,0,.08);
  --shadow-orange: 0 10px 28px rgba(255,122,0,.30);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --maxw: 1240px;
  --brand-h: 104px;
  --hdr-h: calc(var(--brand-h) + 12px);
  --hdr-pad: 34px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(37,211,102,.45); }
  50% { transform: scale(1.15); box-shadow: 0 8px 28px rgba(37,211,102,.7); }
}
@keyframes heroSlide {
  0%, 30% { opacity: 1; }
  33%, 97% { opacity: 0; }
  100% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  will-change: opacity, transform;
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible,
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ================================================================
   POPUP PROMO
   ================================================================ */
.promo-popup {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.65);
  z-index: 999999;
  padding: 16px;
}
.promo-popup.is-open { display: flex; }
.promo-popup__card {
  position: relative;
  width: min(720px, 95vw);
  max-height: 90vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.promo-popup__img {
  display: block; width: 100%; height: auto;
  max-height: 90vh; object-fit: contain;
}
.promo-popup__close {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.5); border: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff; font-size: 28px; font-weight: 900;
  cursor: pointer; line-height: 1;
  transition: background .2s;
}
.promo-popup__close:hover { background: rgba(0,0,0,.8); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: relative;
  height: var(--hdr-h);
  z-index: 100;
  display: flex; align-items: center;
  background: transparent;
}
.nav-wrap {
  position: relative; z-index: 101;
  width: 100%;
  padding: 6px var(--hdr-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav social";
  align-items: center;
  gap: 14px;
}
.brand { grid-area: brand; }
.brand img {
  height: var(--brand-h); width: auto;
  object-fit: contain; display: block;
}

/* Nav Links */
.main-nav {
  grid-area: nav;
  display: flex; gap: 20px;
  align-items: center; justify-content: center;
  font-weight: 700; flex-wrap: nowrap;
}
.main-nav > a {
  color: #fff; text-decoration: none;
  font-size: 15px; padding: 8px 0;
  position: relative; transition: opacity .2s;
}
.main-nav > a::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .25s ease;
}
.main-nav > a:hover::after { transform: scaleX(1); }
.main-nav > a:hover { opacity: .9; }

.nav-ctas {
  display: inline-flex; align-items: center;
  gap: 8px; margin-left: 8px;
  flex-shrink: 0;
}
.btn-pill {
  background: var(--orange); color: #fff;
  font-weight: 700; border-radius: 50px;
  padding: 9px 18px !important; font-size: 13px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
  display: inline-flex; align-items: center;
  flex-shrink: 0;
}
.btn-pill:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* Social */
.social {
  grid-area: social;
  display: flex; gap: 14px;
  align-items: center; justify-self: end;
}
.social img, .social svg {
  width: 34px; height: 34px; display: block;
  transition: transform .2s, opacity .2s;
}
.social svg { fill: #fff; }
.social img:hover, .social svg:hover { opacity: .8; transform: translateY(-2px); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  cursor: pointer; padding: 0;
  flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }
.nav-toggle__bar {
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed; left: 0; right: 0;
  top: var(--hdr-h);
  background: rgba(8,8,8,.97);
  border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(-12px);
  opacity: 0; visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s;
  z-index: 999;
  backdrop-filter: saturate(110%) blur(8px);
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px 20px 20px;
  display: grid; gap: 6px;
}
.mobile-nav a {
  color: #fff; text-decoration: none;
  padding: 14px 0; font-weight: 700; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-cta {
  background: var(--orange) !important;
  border-radius: 999px !important; padding: 14px !important;
  display: flex; align-items: center; justify-content: center;
  border: 0; text-align: center;
  transition: background .2s;
}
.mobile-cta:hover { background: var(--orange-dark) !important; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh; width: 100%;
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--hdr-h));
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
.hero-bg.active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}
.hero-inner {
  width: 100%; max-width: var(--maxw);
  padding: calc(var(--hdr-h) + 80px) 20px 40px;
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
  text-align: center;
  position: relative; z-index: 2; color: #fff;
}
.title {
  margin: 0; line-height: 1.08; font-weight: 900;
  font-size: clamp(2rem, 4.5vw + .8rem, 4.2rem);
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.title .white { color: #fff; }
.title .orange { color: var(--orange); }
.subtitle {
  margin: 0; max-width: min(60ch, 90%);
  color: #f3f4f6; opacity: .92;
  font-size: clamp(1rem, 1.5vw + .5rem, 1.2rem);
  line-height: 1.6;
}
.actions {
  display: flex; gap: 14px;
  flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 800; font-size: 15px;
  text-decoration: none; cursor: pointer;
  min-height: 48px; border: 2px solid transparent;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--orange); color: #fff;
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark); border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255,122,0,.45);
}
.btn-outline {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ================================================================
   PROYECTOS
   ================================================================ */
.projects {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; padding: 16px;
  background: var(--white);
}
.projects-head {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 0 22px;
}
.projects-head h2 {
  margin: 0; font-weight: 900;
  letter-spacing: .01em; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw + .5rem, 2.6rem);
  color: var(--dark); position: relative;
}
.projects-head h2::after {
  content: ""; position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -10px; width: 72px; height: 4px;
  border-radius: 2px; background: var(--orange);
}

.tile {
  position: relative; display: block;
  height: calc(100dvh - 32px);
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: #fff; text-decoration: none;
  box-shadow: 0 0 15px rgba(0,0,0,.2);
  transition: transform .35s ease, box-shadow .35s ease;
  contain: layout paint style;
}
.tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .6s ease;
  z-index: 0;
}
.tile.loaded::before { opacity: 1; }
.tile-preload {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: var(--radius); pointer-events: none;
  box-shadow: inset 0 0 15px rgba(0,0,0,.2);
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 80px rgba(0,0,0,.4), 0 12px 36px rgba(0,0,0,.3);
}
.tile:hover .tile-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5));
}
.tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.tile-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.08) 40%, rgba(0,0,0,.35) 100%);
}
.tile-content {
  position: relative; z-index: 2; height: 100%;
  display: grid; place-items: center; padding: 24px;
}
.tile-logo {
  max-width: min(60%, 420px); width: 100%; height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.45));
  transition: transform .35s ease, filter .35s ease;
}
.band {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 46px;
  display: flex; align-items: center; padding: 0 18px;
  background: var(--orange); color: #fff;
  font-weight: 800; font-size: 14px;
  letter-spacing: .03em; z-index: 3;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
  transition: filter .3s;
}
.tile:hover .band { filter: brightness(1.08); }

/* YouTube Modal */
.yt-modal[hidden] { display: none; }
.yt-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.yt-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.yt-dialog {
  position: relative; width: min(1000px, 92vw);
  aspect-ratio: 16/9; background: #000;
  border-radius: var(--radius); overflow: hidden; z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.yt-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: #fff; color: #111; font-size: 22px;
  font-weight: 700; opacity: .9; transition: opacity .2s;
}
.yt-close:hover { opacity: 1; }
.yt-frame-wrap, .yt-frame-wrap iframe { width: 100%; height: 100%; display: block; }

/* ================================================================
   MAPAS INTERACTIVOS
   ================================================================ */
.urbi-maps {
  padding: 64px 18px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  font-family: var(--font);
}
.maps-shell { width: min(1320px, 100%); margin: 0 auto; }
.maps-header { text-align: center; max-width: 980px; margin: 0 auto 40px; }
.maps-title {
  margin: 0; color: var(--dark-2);
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.05; font-weight: 900;
  letter-spacing: -.03em;
}
.maps-title .accent { color: var(--orange); }
.maps-description {
  margin: 18px auto 0; max-width: 850px;
  color: var(--text-soft); font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.7; font-weight: 500;
}
.maps-card {
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.maps-toolbar {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  padding: 28px 30px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.toolbar-copy h3 {
  margin: 0; color: #fff;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 800; letter-spacing: -.02em;
}
.toolbar-copy p {
  margin: 8px 0 0; color: rgba(255,255,255,.75);
  font-size: 15px; line-height: 1.5;
}
.switch-buttons {
  display: inline-flex; align-items: center;
  gap: 8px; flex-wrap: wrap;
  background: #fff; padding: 8px;
  border-radius: 999px;
}
.switch-buttons button {
  appearance: none; border: none;
  border-radius: 999px; min-width: 200px;
  padding: 14px 20px; background: transparent;
  color: var(--dark-2); font-size: 13px;
  font-weight: 900; letter-spacing: .03em;
  cursor: pointer; white-space: nowrap;
  transition: all .25s ease;
}
.switch-buttons button:hover { background: #f4eee8; transform: translateY(-1px); }
.switch-buttons button.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; box-shadow: var(--shadow-orange);
}
.maps-stage { padding: 28px; background: #fbf8f4; }
.project-head {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 18px;
}
.project-badge {
  display: inline-flex; align-items: center;
  gap: 10px; min-height: 44px;
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #fff6eb, #fff0d8);
  border: 1px solid #f1d3b0;
  color: var(--dark-2); font-size: 12px;
  font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase;
}
.project-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #FFB20F;
  box-shadow: 0 0 0 6px rgba(255,178,15,.18);
}
.project-note { color: #736b64; font-size: 14px; font-weight: 600; }
.map-frame {
  width: 100%; background: #fff;
  border: 1px solid #e3dbd2;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden; padding: 16px;
}
.map-panel { display: none; border-radius: 18px; background: #fff; }
.map-panel.active { display: block; }
.map-panel-inner { width: 100%; background: #fff; border-radius: 18px; }
.map-static-image { display: block; width: 100%; height: auto; }

/* ================================================================
   PRECIOS
   ================================================================ */
.anchor-precios {
  display: block; height: 0;
  scroll-margin-top: var(--hdr-h);
}
.pricing-showcase {
  padding: 64px 18px;
  background:
    radial-gradient(circle at top right, rgba(255,178,15,.08), transparent 24%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.pricing-shell { width: min(1320px, 100%); margin: 0 auto; }
.pricing-header { max-width: 980px; margin: 0 auto 36px; text-align: center; }
.pricing-title {
  margin: 0; font-size: clamp(28px, 4vw, 58px);
  line-height: 1.05; letter-spacing: -.03em;
  font-weight: 900; color: var(--dark-2);
}
.pricing-title .accent { color: var(--orange); }
.pricing-description {
  margin: 16px auto 0; max-width: 850px;
  color: var(--text-soft); font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.7; font-weight: 500;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow); overflow: hidden;
}
.pricing-topbar {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  padding: 26px 28px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.pricing-topbar-copy h3 {
  margin: 0; color: #fff;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 800; letter-spacing: -.02em;
}
.pricing-topbar-copy p {
  margin: 8px 0 0; color: rgba(255,255,255,.75);
  font-size: 15px; line-height: 1.5;
}
.project-tabs, .plan-tabs {
  display: flex; align-items: center;
  gap: 8px; flex-wrap: wrap;
}
.project-tabs {
  background: #fff; padding: 8px;
  border-radius: 999px;
}
.project-btn, .plan-btn {
  appearance: none; border: none;
  cursor: pointer; font-family: inherit;
  transition: all .25s ease;
}
.project-btn {
  min-width: 160px; padding: 14px 18px;
  border-radius: 999px; background: transparent;
  color: var(--dark-2); font-size: 13px;
  font-weight: 900; letter-spacing: .03em;
  white-space: nowrap;
}
.project-btn:hover { background: #f5efe8; transform: translateY(-1px); }
.project-btn.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; box-shadow: var(--shadow-orange);
}
.pricing-body { padding: 26px; background: #fbf8f4; }
.selection-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.selection-badge {
  display: inline-flex; align-items: center;
  gap: 10px; min-height: 44px;
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #fff6eb, #fff1dc);
  border: 1px solid #efd3b3;
  color: var(--dark-2); font-size: 12px;
  font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase;
}
.selection-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #FFB20F;
  box-shadow: 0 0 0 6px rgba(255,178,15,.18);
}
.plan-tabs {
  padding: 4px; background: #efe8df;
  border-radius: 999px;
}
.plan-btn {
  padding: 12px 18px; border-radius: 999px;
  background: transparent; color: var(--dark-2);
  font-size: 13px; font-weight: 900;
  letter-spacing: .03em; min-width: 130px;
}
.plan-btn:hover { background: #e7ded4; }
.plan-btn.active {
  background: var(--dark-2); color: #fff;
  box-shadow: 0 8px 20px rgba(45,41,38,.15);
}
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(400px, 1.35fr);
  gap: 20px; align-items: stretch;
}
.info-panel {
  background: linear-gradient(180deg, #fff, #fcf8f3);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.mini-label {
  display: inline-flex; align-items: center;
  min-height: 34px; padding: 7px 14px;
  border-radius: 999px; background: var(--dark-2);
  color: #fff; font-size: 11px;
  font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.info-title {
  margin: 0; color: var(--dark-2);
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.05; font-weight: 900;
  letter-spacing: -.03em;
}
.info-title .accent { color: var(--orange); }
.info-desc {
  margin: 16px 0 0;
  color: var(--text-soft); font-size: 16px;
  line-height: 1.7; font-weight: 500;
}
.info-metrics {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 24px;
}
.metric-card {
  border-radius: 18px; padding: 18px;
  border: 1px solid #eadfd4; background: #fff;
  transition: border-color .2s;
}
.metric-card:hover { border-color: rgba(255,122,0,.2); }
.metric-label {
  display: block; color: #7a736c;
  font-size: 11px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 8px;
}
.metric-value {
  display: block; color: var(--dark-2);
  font-size: clamp(22px, 1.8vw, 32px);
  line-height: 1.1; font-weight: 900;
  letter-spacing: -.03em;
}
.metric-value.highlight { color: var(--orange); }
.method-chip {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 22px; min-height: 44px;
  padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; font-size: 12px;
  font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-orange);
}
.visual-panel {
  background: #fff; border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden; min-height: 680px;
  position: relative;
}
.visual-stage {
  position: relative; width: 100%; height: 100%;
  min-height: 680px;
  background: linear-gradient(160deg, #fffaf4, #fff 35%, #fff7ec);
}
.visual-item {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .32s ease, transform .32s ease, visibility .32s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.visual-item.active {
  opacity: 1; visibility: visible;
  pointer-events: auto; transform: none;
}
.visual-item img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.visual-brand {
  position: absolute; top: 28px; left: 50%;
  width: min(220px, 45%); height: auto;
  transform: translateX(-50%);
  object-fit: contain; z-index: 2;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
  pointer-events: none;
}
.floating-tag {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  display: inline-flex; align-items: center;
  min-height: 38px; padding: 8px 16px;
  border-radius: 999px;
  background: rgba(45,41,38,.9);
  color: #fff; font-size: 11px;
  font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase;
}

/* ================================================================
   BENEFICIOS
   ================================================================ */
.benefits-band {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  display: grid; grid-template-columns: repeat(6, 1fr);
  align-items: center; justify-items: center;
  gap: 24px; padding: 48px 20px;
}
.benefit {
  text-decoration: none;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.benefit img {
  width: 52px; height: 52px; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform .3s ease;
}
.benefit span {
  font-weight: 700; font-size: 15px;
  line-height: 1.3; text-align: center;
  color: #fff; transition: color .2s;
}
.benefit.visible { opacity: 1; transform: none; }
.benefit:hover { transform: translateY(-4px) scale(1.08); }
.benefit:hover img { transform: scale(1.1); }

/* ================================================================
   COMPARADOR
   ================================================================ */
.compare2 {
  position: relative; width: 100%;
  height: 100svh; overflow: hidden;
  background: #000;
  --handle: 44px; --divider: 2px;
}
@supports (height: 100dvh) { .compare2 { height: 100dvh; } }
.compare2.cmp2-bleed-safe {
  width: 100vw; max-width: 100vw;
  left: 50%; margin-left: -50vw;
  overflow-x: clip;
}
.cmp2-wrap { position: absolute; inset: 0; }
.cmp2-layer { position: absolute; inset: 0; }
.cmp2-layer img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.cmp2-overlay { clip-path: inset(0 50% 0 0); }
.cmp2-divider {
  position: absolute; inset: 0 auto 0 50%;
  width: var(--divider);
  background: rgba(255,255,255,.95);
  z-index: 9; pointer-events: none;
  transform: translateX(calc(-1 * var(--divider) / 2));
}
.cmp2-handle {
  position: absolute; top: 50%; left: 50%;
  width: var(--handle); height: var(--handle);
  margin-left: calc(-1 * var(--handle) / 2);
  margin-top: calc(-1 * var(--handle) / 2);
  border-radius: 999px; background: rgba(255,255,255,.92);
  border: 2px solid rgba(0,0,0,.3);
  display: grid; place-items: center;
  z-index: 10; cursor: ew-resize;
  user-select: none; touch-action: none;
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.cmp2-handle::before, .cmp2-handle::after {
  content: ""; width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.cmp2-handle::before { border-right: 8px solid #444; margin-right: 6px; }
.cmp2-handle::after { border-left: 8px solid #444; margin-left: 6px; }

/* ================================================================
   RESERVA
   ================================================================ */
.urb-reserva {
  padding: 80px 20px;
  background: linear-gradient(160deg, #fff 0%, #fff6ee 55%, #fff 100%);
  position: relative; overflow: hidden;
}
.urb-reserva::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,122,0,.04);
  pointer-events: none;
}
.urb-reserva__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.urb-reserva__eyebrow {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 20px;
}
.urb-reserva__title {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 900; line-height: 1.08;
  color: var(--dark); margin: 0 0 18px;
  letter-spacing: -.02em;
}
.urb-reserva__title span { color: var(--orange); }
.urb-reserva__desc {
  color: var(--text-soft); font-size: 17px;
  line-height: 1.7; margin: 0 0 30px;
}
.urb-reserva__bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.urb-reserva__bullets li {
  display: flex; align-items: flex-start;
  gap: 14px; font-size: 16px;
  color: var(--text); line-height: 1.5;
}
.urb-check {
  flex-shrink: 0; width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
  box-shadow: var(--shadow-orange);
}
.urb-reserva__card {
  background: #fff; border-radius: 24px;
  padding: 44px;
  box-shadow: 0 24px 70px rgba(0,0,0,.08), 0 2px 8px rgba(255,122,0,.05);
  border: 1px solid rgba(255,122,0,.08);
}
.urb-reserva__card-title {
  font-size: 22px; font-weight: 800;
  color: var(--dark); margin: 0 0 6px;
}
.urb-reserva__card-sub {
  font-size: 13px; color: var(--text-muted);
  margin: 0 0 26px;
}
.urb-reserva__form { display: flex; flex-direction: column; gap: 14px; }
.urb-reserva__input {
  width: 100%; padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px; font-family: inherit;
  color: var(--dark); background: #fafbfc;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.urb-reserva__input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,0,.1);
  background: #fff;
}
.urb-reserva__legal { font-size: 12px; color: #aaa; margin: 0; line-height: 1.5; }
.urb-reserva__btn {
  width: 100%; padding: 17px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; border: none;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 800;
  letter-spacing: .06em; cursor: pointer;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-orange);
}
.urb-reserva__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255,122,0,.45);
}
.urb-reserva__success { text-align: center; padding: 24px 0; }
.urb-reserva__success-icon {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 900;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-orange);
}
.urb-reserva__success h3 {
  font-size: 24px; font-weight: 800;
  color: var(--dark); margin: 0 0 12px;
}
.urb-reserva__success p { color: var(--text-soft); font-size: 16px; line-height: 1.65; margin: 0; }

/* ================================================================
   NUESTRA FAMILIA
   ================================================================ */
.urb-familia {
  padding: 70px 20px 72px; text-align: center;
  background: #fff;
}
.urb-familia__eyebrow {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 16px;
}
.urb-familia__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900; color: var(--dark);
  margin: 0 0 14px; letter-spacing: -.02em;
}
.urb-familia__img-wrap { max-width: 1100px; margin: 0 auto; }
.urb-familia__img {
  width: 100%; height: auto; display: block;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

/* ================================================================
   FAQ
   ================================================================ */
.urb-faq { background: #fafafa; padding: 80px 20px; }
.urb-faq__inner { max-width: 820px; margin: 0 auto; }
.urb-faq__header { text-align: center; margin-bottom: 50px; }
.urb-faq__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900; color: var(--dark);
  margin: 0 0 14px; letter-spacing: -.02em;
}
.urb-faq__title span { color: var(--orange); }
.urb-faq__subtitle { color: var(--text-soft); font-size: 17px; line-height: 1.6; margin: 0; }
.urb-faq__list { display: flex; flex-direction: column; gap: 10px; }
.urb-faq__item {
  background: #fff;
  border: 1.5px solid #eaeaea;
  border-radius: 16px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.urb-faq__item:hover { border-color: rgba(255,122,0,.2); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.urb-faq__item[open] { border-color: rgba(255,122,0,.3); box-shadow: 0 8px 32px rgba(255,122,0,.08); }
.urb-faq__q {
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer;
  list-style: none; font-weight: 700;
  font-size: 16px; color: var(--dark);
  user-select: none; transition: color .2s;
}
.urb-faq__q::-webkit-details-marker { display: none; }
.urb-faq__q::marker { display: none; }
.urb-faq__item[open] .urb-faq__q { color: var(--orange); }
.urb-faq__icon {
  flex-shrink: 0; width: 30px; height: 30px;
  border-radius: 50%; border: 1.5px solid #ddd;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: background .25s, border-color .25s, transform .3s;
}
.urb-faq__icon::before, .urb-faq__icon::after {
  content: ''; position: absolute;
  background: #999; border-radius: 2px;
  transition: background .25s, opacity .25s;
}
.urb-faq__icon::before { width: 13px; height: 2px; }
.urb-faq__icon::after { width: 2px; height: 13px; }
.urb-faq__item[open] .urb-faq__icon {
  background: var(--orange); border-color: var(--orange);
  transform: rotate(45deg);
}
.urb-faq__item[open] .urb-faq__icon::before,
.urb-faq__item[open] .urb-faq__icon::after { background: #fff; }
.urb-faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.urb-faq__item[open] .urb-faq__a { grid-template-rows: 1fr; }
.urb-faq__a > * { overflow: hidden; }
.urb-faq__a p { margin: 0 0 20px; padding: 0 22px; color: var(--text-soft); font-size: 15px; line-height: 1.75; }
.urb-faq__a ul { margin: 0 0 20px; padding: 0 22px 0 42px; color: var(--text-soft); font-size: 15px; line-height: 1.75; }

/* ================================================================
   FOOTER
   ================================================================ */
.uf-footer {
  background: #111; color: #fff;
}
.uf-footer__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 20px 32px;
  display: flex; flex-direction: column; gap: 28px;
}
.uf-footer__top {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; align-items: flex-start;
}
.uf-col {
  text-align: center;
  display: flex; flex-direction: column; gap: 10px;
}
.uf-logo {
  width: 180px; max-width: 100%;
  margin: 0 auto 8px; display: block;
}
.uf-footer .uf-title {
  font-size: 22px; margin-bottom: 8px;
  font-weight: 700; color: #fff;
}
.uf-item, .uf-col p {
  font-size: 15px; line-height: 1.5;
  color: rgba(255,255,255,.8);
  text-decoration: none; display: inline-block;
  margin: 2px 0; transition: color .2s;
}
.uf-item:hover { color: var(--orange); }
.uf-block { margin-bottom: 8px; }
.uf-block strong { color: #fff; }
.uf-claim img {
  width: 160px; max-width: 100%;
  display: block; margin: 0 auto 8px;
}
.uf-follow { margin-top: 6px; font-size: 14px; opacity: .8; }
.uf-social {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 10px;
}
.uf-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  transition: all .25s;
}
.uf-social a:hover {
  transform: translateY(-2px);
  background: var(--orange);
  border-color: var(--orange);
}
.uf-social svg { width: 16px; height: 16px; fill: currentColor; }
.uf-footer__middle {
  text-align: center; font-size: 13px;
  padding: 16px 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6); line-height: 1.6;
}
.uf-footer__bottom {
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
  font-size: 13px; flex-wrap: wrap;
  color: rgba(255,255,255,.5);
}
.uf-dev a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.uf-dev a:hover { color: var(--orange); }

/* ================================================================
   WHATSAPP FLOAT
   ================================================================ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; width: 60px; height: 60px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  animation: pulse 1.8s ease-in-out infinite;
}
.whatsapp-float:hover {
  animation-play-state: paused;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}
.whatsapp-float svg { display: block; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1120px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .visual-panel, .visual-stage { min-height: 560px; }
  .project-tabs { width: 100%; }
  .project-btn { flex: 1 1 calc(33% - 8px); min-width: unset; }
}

@media (max-width: 1200px) {
  .main-nav { gap: 16px; }
  .main-nav > a { font-size: 14px; }
  .btn-pill { padding: 8px 14px !important; font-size: 12.5px; }
  .nav-ctas { gap: 6px; }
}

@media (max-width: 1024px) {
  :root { --brand-h: 92px; }
  .projects { grid-template-columns: repeat(2, 1fr); min-height: auto; }
  .tile { height: 68vh; }
  .benefits-band { grid-template-columns: repeat(3, 1fr); }
  .uf-footer__top { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 12px; }
  .main-nav > a { font-size: 13.5px; }
  .btn-pill { padding: 7px 11px !important; font-size: 12px; }
  .nav-ctas { gap: 5px; }
  .social { gap: 10px; }
  .social img, .social svg { width: 28px; height: 28px; }
}

@media (max-width: 900px) {
  :root { --brand-h: 88px; }
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    grid-area: toggle; justify-self: end;
  }
  .nav-wrap {
    grid-template-columns: auto auto auto;
    grid-template-areas: "brand social toggle";
    padding: 6px 18px; gap: 10px;
  }
  .urb-reserva__inner { grid-template-columns: 1fr; gap: 40px; }
  .urb-reserva { padding: 60px 20px; }
  .urb-reserva__card { padding: 32px 26px; }
  .compare2 { --handle: 40px; }
  .maps-toolbar { flex-direction: column; align-items: flex-start; }
  .switch-buttons { width: 100%; }
  .switch-buttons button { flex: 1 1 calc(50% - 8px); min-width: unset; }
}

@media (max-width: 768px) {
  .urbi-maps { padding: 40px 12px; }
  .maps-toolbar { padding: 20px 18px; }
  .maps-stage { padding: 18px; }
  .switch-buttons { border-radius: 20px; }
  .switch-buttons button { width: 100%; flex: 1 1 100%; }
  .map-frame { padding: 10px; }
  .pricing-showcase { padding: 40px 12px; }
  .pricing-topbar { padding: 20px 16px; flex-direction: column; align-items: flex-start; }
  .pricing-body { padding: 16px; }
  .selection-bar { flex-direction: column; align-items: flex-start; }
  .project-tabs, .plan-tabs { width: 100%; border-radius: 20px; }
  .project-btn, .plan-btn { width: 100%; flex: 1 1 100%; min-width: unset; }
  .info-panel { padding: 20px; }
  .info-metrics { grid-template-columns: 1fr; }
  .visual-panel, .visual-stage { min-height: 420px; }
}

@media (max-width: 700px) {
  .compare2 { height: 66vh; --handle: 36px; --divider: 3px; }
  @supports (height: 100dvh) { .compare2 { height: 66dvh; } }
  .cmp2-layer img { object-fit: contain; background: #000; }
}

@media (max-width: 640px) {
  :root { --brand-h: 82px; }
  .projects { grid-template-columns: 1fr; }
  .tile { height: 54vh; }
  .social { gap: 18px; }
  .social img, .social svg { width: 32px; height: 32px; }
  .benefits-band { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 28px 12px; }
  .benefit img { width: 44px; height: 44px; }
  .benefit span { font-size: 14px; }
  .urb-familia { padding: 48px 16px; }
  .urb-familia__img { border-radius: var(--radius); }
  .urb-faq { padding: 60px 16px; }
  .urb-faq__q { padding: 16px 18px; font-size: 15px; }
  .urb-faq__a p, .urb-faq__a ul { padding-left: 18px; }
  .urb-faq__a ul { padding-left: 34px; }
  .uf-footer__top { grid-template-columns: 1fr; }
  .uf-footer__bottom { justify-content: center; text-align: center; }
  .uf-copy, .uf-dev { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .urb-reserva__card { padding: 28px 20px; }
}

@media (max-width: 420px) {
  :root { --brand-h: 78px; }
  .title { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .compare2 { height: 60vh; }
  @supports (height: 100dvh) { .compare2 { height: 60dvh; } }
}

/* ================================================================
   IMAGE MAP BUILDER PLUGIN (legacy support)
   ================================================================ */
.isimb-6310-hover-content { transform: scale(0); transition: all .5s; position: absolute; z-index: 9999; }
.isimb-6310-main-image { width: 100% !important; height: auto !important; display: block; }
.isimb-6310-main-svg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.isimb-6310-annotation-box-wrapper,
.isimb-6310-builder-box,
.isimb-6310-annotation-box-inner { width: 100% !important; height: auto !important; max-width: 100%; position: relative; }
