
/* ── Carrusel de lanzamientos: una historia por vez, con control del usuario. */
.launch-carousel { position: relative; max-width: 1040px; margin: 0 auto 24px; }
.launch-carousel-viewport { overflow: hidden; border-radius: 16px; }
.launch-carousel-track { display: flex; align-items: stretch; transition: transform 420ms cubic-bezier(.22,1,.36,1); }
.launch-carousel-slide { flex: 0 0 100%; min-width: 100%; margin: 0 !important; }
.launch-carousel-controls { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; }
.launch-carousel-controls > button { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); cursor: pointer; }
.launch-carousel-controls > button:hover { background: var(--accent-dim); color: var(--text-1); }
.launch-carousel-dots { display: flex; align-items: center; gap: 7px; padding: 0 3px; }
.launch-carousel-dots button { width: 44px; height: 44px; position: relative; border: 0; padding: 0; background: transparent; cursor: pointer; }
.launch-carousel-dots button::after { content: ''; position: absolute; inset: 17px 13px; border-radius: 99px; background: var(--border-mid); transition: inset 160ms ease, background-color 160ms ease; }
.launch-carousel-dots button[aria-current="true"]::after { inset-inline: 8px; background: var(--accent); }

.domain-home-banner {
  --domain-mint: #4fe6ad;
  position: relative;
  display: grid;
  min-height: 350px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  align-items: center;
  gap: 34px;
  padding: 36px 42px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(128deg, #1f0046 0%, #3c0c75 56%, #112d35 100%);
  box-shadow: 0 18px 54px rgba(31,0,70,.22);
}
.domain-home-copy { position: relative; z-index: 2; min-width: 0; }
.domain-home-copy h2 { max-width: 660px; margin: 0 0 15px; color: #fff; font-size: clamp(2.25rem,4.8vw,3.75rem); font-weight: 850; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.domain-home-copy > p { max-width: 600px; margin: 0; color: #d8c9ec; font-size: .92rem; line-height: 1.6; }
.domain-home-action { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 0 21px; border-radius: 12px; color: #1a0a30; background: var(--domain-mint); box-shadow: 0 10px 28px rgba(4,10,8,.3); font-size: .86rem; font-weight: 850; text-decoration: none; transition: transform 160ms ease-out, background-color 160ms ease-out; }
.domain-home-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform 160ms ease-out; }
.domain-home-action:hover { background: #72efc2; transform: translateY(-2px); }
.domain-home-action:hover svg { transform: translateX(3px); }
.domain-home-action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.domain-home-proof { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 21px; color: #c3b4d8; font-size: .69rem; font-weight: 700; }
.domain-home-proof span { display: inline-flex; align-items: center; gap: 6px; }
.domain-home-proof i { width: 5px; height: 5px; border-radius: 50%; background: var(--domain-mint); }
.domain-home-visual { position: relative; z-index: 2; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(12,5,34,.6); box-shadow: 0 22px 48px rgba(6,2,18,.28); transform: rotate(1.4deg); }
.domain-home-search { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 10px 13px; border-radius: 10px; background: #fff; color: #24103d; font-size: .82rem; font-weight: 800; }
.domain-home-search span { color: #087552; font-size: .66rem; }
.domain-home-result { margin-top: 10px; padding: 15px; border-radius: 12px; background: rgba(255,255,255,.08); }
.domain-home-result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.domain-home-result-head strong { overflow-wrap: anywhere; font-size: 1.05rem; }
.domain-home-result-head span { color: var(--domain-mint); font-size: .68rem; font-weight: 800; }
.domain-home-service { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 8px; margin-top: 12px; color: #d8c9ec; font-size: .7rem; }
.domain-home-service i { width: 7px; height: 7px; border-radius: 50%; background: var(--domain-mint); box-shadow: 0 0 0 4px rgba(79,230,173,.12); }
.domain-home-service b { color: #fff; font-size: .68rem; overflow-wrap: anywhere; }

/* ── Lanzamiento Android: señal rápida, nativa y verificable ──────── */
.android-home-shell { container: android-home / inline-size; }

.android-home-banner {
  --android-green: #3ddc84;
  position: relative;
  display: grid;
  min-height: 350px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  align-items: center;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto 24px;
  padding: 36px 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(132deg, #0b0920 0%, #190d3d 54%, #25115a 100%);
  box-shadow: 0 18px 54px rgba(26, 9, 66, .22);
}

.android-home-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  animation: android-home-copy-in 420ms cubic-bezier(.16, 1, .3, 1) both;
}

.android-home-copy h2 {
  max-width: 650px;
  margin: 0 0 15px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.android-home-copy > p {
  max-width: 590px;
  margin: 0;
  color: #c8b8e8;
  font-size: .92rem;
  line-height: 1.6;
}

.android-home-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0 21px;
  border-radius: 12px;
  color: #064d34;
  background: var(--android-green);
  box-shadow: 0 10px 28px rgba(4, 10, 8, .3);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.android-home-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform 160ms ease-out; }
.android-home-action:hover { background: #27e19d; transform: translateY(-2px); }
.android-home-action:hover svg { transform: translateX(3px); }
.android-home-action:active { transform: translateY(0) scale(.98); }
.android-home-action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.android-home-proof { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 21px; color: #aaa0c7; font-size: .69rem; font-weight: 700; }
.android-home-proof span { display: inline-flex; align-items: center; gap: 6px; }
.android-home-proof i { width: 5px; height: 5px; border-radius: 50%; background: var(--android-green); }

.android-home-visual { position: relative; z-index: 2; min-width: 0; height: 310px; }

.android-home-platform {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.android-home-platform-mark {
  display: grid;
  width: min(100%, 240px);
  justify-items: center;
  gap: 8px;
  animation: android-home-platform-in 520ms 80ms cubic-bezier(.16, 1, .3, 1) both;
}

.android-home-robot-mark {
  display: block;
  width: 220px;
  height: auto;
}

.android-home-wordmark-row {
  display: flex;
  width: 220px;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.android-home-wordmark {
  display: block;
  width: 170px;
  height: auto;
}

.android-home-wordmark-row span {
  flex: 0 0 auto;
  color: var(--android-green);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}

.android-home-attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  max-width: 340px;
  margin: 0 auto;
  color: #d8d0ea;
  font-size: .54rem;
  line-height: 1.3;
  text-align: center;
}

@keyframes android-home-copy-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes android-home-platform-in { from { opacity: .35; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }

@container android-home (max-width: 760px) {
  .android-home-banner { grid-template-columns: minmax(0, 1fr) 230px; min-height: 330px; padding: 32px; }
  .android-home-copy h2 { font-size: clamp(2rem, 5.4vw, 2.8rem); }
  .android-home-platform-mark { width: min(100%, 210px); }
  .android-home-robot-mark { width: 190px; }
  .android-home-wordmark-row { width: 190px; }
  .android-home-wordmark { width: 148px; }
}

@media (max-width: 700px) {
  .domain-home-banner { display: block; min-height: 0; padding: 23px 20px; }
  .domain-home-copy h2 { font-size: clamp(1.85rem,8vw,2.35rem); }
  .domain-home-copy > p { font-size: .86rem; }
  .domain-home-action { min-height: 48px; margin-top: 19px; }
  .domain-home-proof { display: none; }
  .domain-home-visual { margin-top: 22px; padding: 13px; transform: none; }
  .domain-home-result { padding: 12px; }
  .android-home-banner { display: block; min-height: 0; padding: 23px 20px 0; border-radius: 16px; }
  .android-home-copy { max-width: none; }
  .android-home-copy h2 { max-width: 520px; font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .android-home-copy > p { max-width: 520px; font-size: .86rem; }
  .android-home-action { min-height: 48px; margin-top: 19px; }
  .android-home-proof { display: none; }
  .android-home-visual { height: 184px; margin-top: 8px; }
  .android-home-platform { align-items: start; padding-top: 4px; }
  .android-home-platform-mark { width: min(100%, 176px); gap: 6px; }
  .android-home-robot-mark { width: 156px; }
  .android-home-wordmark-row { width: 162px; gap: 7px; }
  .android-home-wordmark { width: 126px; }
  .android-home-wordmark-row span { font-size: .64rem; }
  .android-home-attribution { max-width: 310px; font-size: .5rem; line-height: 1.25; }
}

@media (max-width: 390px) {
  .domain-home-banner { padding-right: 16px; padding-left: 16px; }
  .domain-home-copy h2 { font-size: 1.78rem; }
  .domain-home-copy > p { font-size: .8rem; line-height: 1.5; }
  .domain-home-action { width: 100%; padding: 0 14px; }
  .domain-home-service { grid-template-columns: 8px minmax(0,1fr); }
  .domain-home-service b { grid-column: 2; }
  .android-home-banner { padding-right: 16px; padding-left: 16px; }
  .android-home-copy h2 { font-size: 1.78rem; }
  .android-home-copy > p { font-size: .8rem; line-height: 1.5; }
  .android-home-action { width: 100%; padding: 0 14px; }
  .android-home-visual { height: 172px; }
  .android-home-platform-mark { width: min(100%, 160px); }
  .android-home-robot-mark { width: 144px; }
  .android-home-wordmark-row { width: 150px; }
  .android-home-wordmark { width: 116px; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-carousel-track { transition: none; }
  .launch-carousel-dots button::after { transition: none; }
  .domain-home-action,
  .domain-home-action svg { transition: none; }
  .android-home-copy,
  .android-home-platform-mark { animation: none !important; }
  .android-home-action,
  .android-home-action svg { transition: none; }
}

/* Entrada de compra: orientación, búsqueda y comparación en una sola zona. */
.dir-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 12px 32px;
  align-items: center;
  padding: 8px 0 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.dir-hero-title {
  max-width: 24ch;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
}
.dir-hero-sub { margin: 10px 0 0; color: var(--text-2); font-size: .88rem; }
.dir-hero-search { display: flex; gap: 8px; min-width: 0; }
.dir-search-field { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
.dir-search-field > svg { position: absolute; left: 14px; color: var(--text-3); pointer-events: none; }
.dir-search-field input {
  width: 100%; min-width: 0; min-height: 48px; padding: 12px 12px 12px 44px;
  border: 1px solid var(--border-mid); border-radius: 10px; font: inherit; font-size: .9rem;
}
.dir-compare-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  grid-column: 2; justify-self: start; color: var(--accent-text); font-size: .82rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.dir-compare-link svg { flex-shrink: 0; }
.dir-page .launch-carousel { margin-block: 32px; }
@media (max-width: 900px) {
  .dir-footer-cta > p,
  .dir-footer-cta > a[href="/vender"] { display: none; }
}
@media (max-width: 760px) {
  .dir-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 4px 0 20px; }
  .dir-hero-title { max-width: 28ch; font-size: 1.5rem; }
  .dir-compare-link { grid-column: 1; }
  .dir-search-field input { font-size: 1rem; }
  .dir-hero-search .ui-btn { padding-inline: 14px; }
}

/* Cada mercado se reconoce de un vistazo; las imágenes acompañan el destino. */
.dir-page .ceg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dir-page .ceg-card { flex-direction: row; align-items: center; min-height: 112px; padding: 12px; gap: 12px; }
.dir-page .ceg-visual { width: 80px; height: 80px; border: 0; border-radius: 8px; }
.dir-page .ceg-media { box-shadow: none; border-width: 1px; border-radius: 6px; }
.dir-page .ceg-copy { min-height: 0; padding: 0 20px 0 0; background: transparent; }
.dir-page .ceg-copy small { color: var(--text-2); font-size: .76rem; }
.dir-page .ceg-copy i { top: 0; right: 0; width: 18px; height: 18px; background: transparent; }
@media (max-width: 980px) {
  .dir-page .ceg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dir-page .ceg-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dir-page .ceg-card { min-height: 92px; padding: 10px 12px; }
  .dir-page .ceg-visual { width: 64px; height: 64px; }
  .dir-page .ceg-copy strong { font-size: .9rem; }
  .dir-page .ceg-copy small { font-size: .8rem; }
}
