/* Descarga directa de la app para Android (app-android.html). */
.ad-hero { position: relative; overflow: hidden; padding: 56px 0 64px; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(61, 220, 132, .25), transparent 45%), linear-gradient(135deg, #0d1f38 0%, #10233f 55%, #12304d 100%); }
.ad-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.ad-volver { display: inline-block; margin-bottom: 18px; color: #9fb0cf; font-size: 14px; font-weight: 600; text-decoration: none; }
.ad-volver:hover { color: #fff; }
.ad-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; background: rgba(61, 220, 132, .15); color: #8ff0b6; font-size: 13px; font-weight: 800; }
.ad-badge-punto { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: adPulso 1.8s ease-out infinite; }
@keyframes adPulso { 80%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
.ad-hero h1 { margin: 16px 0 14px; font-size: 44px; line-height: 1.1; letter-spacing: -1px; color: #fff; }
.ad-hero h1 span { color: #3ddc84; }
.ad-lead { margin: 0 0 26px; max-width: 560px; font-size: 17px; line-height: 1.6; color: #c5d2ea; }
.ad-lead strong { color: #fff; }
.ad-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ad-descargar { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 20px; border-radius: 16px; background: #3ddc84; color: #06351b; text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(61, 220, 132, .9); transition: transform .15s ease, background .15s ease; }
.ad-descargar:hover { background: #5be69a; transform: translateY(-2px); }
.ad-descargar svg { width: 30px; height: 30px; flex-shrink: 0; }
.ad-descargar span { display: flex; flex-direction: column; line-height: 1.2; }
.ad-descargar b { font-size: 18px; }
.ad-descargar small { font-size: 13px; font-weight: 600; opacity: .8; }
.ad-pasos-link { color: #dbe6fb; font-weight: 700; text-decoration: none; }
.ad-pasos-link:hover { color: #fff; }
.ad-nota { margin: 22px 0 0; font-size: 14px; color: #9fb0cf; }
.ad-nota a { color: #fff; }
.ad-confianza { padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.ad-escudo { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(61, 220, 132, .16); color: #3ddc84; }
.ad-escudo svg { width: 30px; height: 30px; }
.ad-confianza h2 { margin: 14px 0 12px; font-size: 22px; color: #fff; }
.ad-confianza ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ad-confianza li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: #c5d2ea; }
.ad-confianza li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #3ddc84; font-weight: 900; }
.ad-confianza li b { color: #fff; }
.ad-ficha { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-ficha div { padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .18); }
.ad-ficha dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9fb0cf; }
.ad-ficha dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }

.ad-pasos { padding: 70px 0; }
.ad-sub { max-width: 640px; margin: 8px auto 36px; color: var(--muted); }
.ad-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.ad-paso { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; padding: 28px 32px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); box-shadow: 0 14px 30px -26px rgba(16, 35, 63, .5); }
.ad-paso:nth-child(even) { grid-template-columns: 300px 1fr; }
.ad-paso:nth-child(even) .ad-paso-texto { order: 2; }
.ad-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 900; font-size: 18px; }
.ad-paso h3 { margin: 12px 0 8px; font-size: 21px; color: var(--navy); }
.ad-paso p { margin: 0 0 10px; color: var(--navy-soft); line-height: 1.6; }
.ad-tranqui { padding: 10px 14px; border-radius: 12px; background: #eefbf3; color: #17603a !important; font-size: 14px; }

/* Pantallas de móvil dibujadas (no son capturas: cambian según la marca). */
.mock { justify-self: center; width: 250px; padding: 10px; border-radius: 34px; background: #0a1526; box-shadow: 0 0 0 2px #24344f, 0 24px 44px -22px rgba(0, 0, 0, .6); }
.mock-pantalla { position: relative; height: 420px; border-radius: 26px; overflow: hidden; background: #f1f3f6; font-family: Roboto, system-ui, sans-serif; color: #1f1f1f; }
.mock-barra { padding: 14px 16px; background: #fff; font-size: 13px; font-weight: 600; color: #444; border-bottom: 1px solid #e3e3e3; }
.mock-dialogo { position: absolute; left: 14px; right: 14px; top: 34%; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); }
.mock-t { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.mock-s { margin: 0; font-size: 12.5px; color: #5f6368; line-height: 1.4; }
.mock-botones { display: flex; justify-content: flex-end; gap: 14px; margin-top: 16px; font-size: 13px; font-weight: 700; color: #1a73e8; }
.mock-ok { padding: 6px 10px; border-radius: 16px; background: #e8f0fe; }
.mock-pulso { animation: mockPulso 1.6s ease-in-out infinite; }
@keyframes mockPulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, .45); } 50% { box-shadow: 0 0 0 7px rgba(26, 115, 232, 0); } }
.mock-archivo { display: flex; align-items: center; gap: 12px; margin: 16px; padding: 12px; border-radius: 14px; background: #fff; }
.mock-icono-apk { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #3ddc84; color: #06351b; font-size: 11px; font-weight: 900; }
.mock-archivo span:last-child { display: flex; flex-direction: column; font-size: 13px; }
.mock-archivo small { color: #5f6368; }
.mock-toast { position: absolute; left: 14px; right: 14px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: #303134; color: #fff; font-size: 13px; }
.mock-toast .mock-ok { color: #8ab4f8; background: rgba(138, 180, 248, .15); font-weight: 700; }
.mock-ajuste { margin: 16px; padding: 14px; border-radius: 16px; background: #fff; }
.mock-app { display: block; margin-bottom: 12px; font-weight: 700; font-size: 14px; }
.mock-fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.mock-switch { position: relative; flex-shrink: 0; width: 40px; height: 22px; border-radius: 22px; background: #1a73e8; }
.mock-switch::after { content: ''; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.mock-app-cab { display: flex; align-items: center; gap: 10px; padding: 26px 18px 0; font-size: 15px; }
.mock-app-cab img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 4px; }
.mock-protect { position: absolute; left: 14px; right: 14px; bottom: 22px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 12px; color: #5f6368; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); }
.mock-protect b { color: #1f1f1f; }
.mock-protect span { display: block; margin-top: 4px; font-weight: 700; color: #1a73e8; }

.ad-faq { padding-top: 10px; }
.ad-final { text-align: center; }
.ad-final h2 { color: #fff; }
.ad-final .ad-descargar { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) { .ad-badge-punto, .mock-pulso { animation: none; } }
@media (max-width: 900px) {
  .ad-hero-grid { grid-template-columns: 1fr; }
  .ad-hero h1 { font-size: 34px; }
  .ad-paso, .ad-paso:nth-child(even) { grid-template-columns: 1fr; padding: 22px; }
  .ad-paso:nth-child(even) .ad-paso-texto { order: 0; }
}
@media (max-width: 480px) {
  .ad-descargar { width: 100%; justify-content: center; }
  .ad-ficha { grid-template-columns: 1fr; }
}

/* Botón «Descargar para Android» en app-conductores.html */
.btn-android { display: inline-flex; align-items: center; gap: 10px; background: #3ddc84; color: #06351b; font-weight: 800; border: 0; }
.btn-android:hover { background: #5be69a; color: #06351b; }
.btn-android svg { width: 22px; height: 22px; }

/* Botón con subtítulo («Abrir la app de conductores» · «Versión web»). */
.btn-con-sub { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.2; }
.btn-con-sub small { font-size: 12px; font-weight: 600; opacity: .7; letter-spacing: .02em; }
/* Los botones de esa fila, con la misma altura que el que lleva subtítulo. */
.hero-ctas:has(.btn-con-sub) { align-items: stretch; }
.hero-ctas:has(.btn-con-sub) > .btn { display: inline-flex; align-items: center; justify-content: center; }

/* ===== Descargar la app de las tiendas (app-conductores.html#instalar) ===== */
.in-sec { padding: 72px 0; background: linear-gradient(180deg, #eef2fb 0%, var(--bg) 100%); }
/* El menú «Instalar la app» lleva aquí: el título justo bajo la cabecera (69 px). */
#instalar { scroll-margin-top: 12px; }
.in-sub { max-width: 660px; margin: 10px auto 28px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.in-sub b { color: var(--navy); }
.in-accion { margin-top: 30px; text-align: center; }
.in-accion .btn { padding: 16px 30px; font-size: 17px; }
.in-tiendas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.in-tiendas .btn { display: inline-flex; align-items: center; gap: 10px; }
.in-tiendas .btn svg { width: 22px; height: 22px; flex: none; }
.in-tranqui { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.in-tranqui b { color: var(--navy); }
@media (max-width: 820px) { .in-accion .btn { width: 100%; justify-content: center; } }
