/* ====== RESET SENCILLO ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #000 100%);
  color: #e5e7eb;
}

/* ====== UTILIDADES ====== */
.am-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.am-section {
  padding: 5rem 0;
}

.am-section-alt {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 55%);
}

.am-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.am-section-subtitle {
  max-width: 560px;
  color: #9ca3af;
  margin-bottom: 2rem;
}

/* ====== HEADER / NAV ====== */
.am-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: linear-gradient(to right, rgba(15,23,42,0.94), rgba(8,47,73,0.94));
  border-bottom: 1px solid rgba(148,163,184,0.28);
}

.am-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.am-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.am-logo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(56,189,248,0.9);
}

.am-brand-title {
  font-weight: 700;
  color: #f9fafb;
}

.am-brand-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.am-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.am-nav a {
  text-decoration: none;
  color: #cbd5f5;
  transition: color .2s ease, transform .2s ease;
}

.am-nav a:hover {
  color: #38bdf8;
  transform: translateY(-1px);
}

.am-nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.4);
  background: radial-gradient(circle at top, rgba(56,189,248,0.2), rgba(15,23,42,0.9));
}

/* Mobile nav */
.am-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: transparent;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}

.am-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* ====== HERO ====== */
.am-hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  background-image: radial-gradient(circle at top left, rgba(59,130,246,0.45), transparent 50%),
                    radial-gradient(circle at bottom right, rgba(8,47,73,0.8), #020617 65%);
}

.am-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/hero-auxmoto-night.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}

.am-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15,23,42,0.3), rgba(2,6,23,0.96));
  pointer-events: none;
}

.am-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 3.5rem;
  align-items: center;
  z-index: 1;
}

.am-hero-left {
  z-index: 1;
}

.am-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(56,189,248,0.5);
  margin-bottom: 1rem;
}

.am-hero-badge img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.am-hero-badge span {
  font-size: 0.75rem;
  color: #e0f2fe;
}

.am-hero h1 {
  font-size: clamp(2.25rem, 3vw + 1rem, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.am-gradient-text {
  background: linear-gradient(120deg,#38bdf8,#a5f3fc);
  -webkit-background-clip: text;
  color: transparent;
}

.am-hero-text {
  max-width: 520px;
  color: #cbd5f5;
  margin-bottom: 1.75rem;
}

.am-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}

.am-btn-primary {
  background: linear-gradient(135deg,#0ea5e9,#22d3ee);
  color: #0b1120;
  box-shadow: 0 18px 45px rgba(8,47,73,0.75);
}

.am-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(8,47,73,0.95);
}

.am-btn-ghost {
  background: rgba(15,23,42,0.7);
  border-color: rgba(148,163,184,0.6);
  color: #e5e7eb;
}

.am-btn-ghost:hover {
  border-color: #38bdf8;
  color: #e0f2fe;
}

.am-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.75rem;
}

.am-metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.am-metric-label {
  color: #9ca3af;
}

.am-hero-footnote {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: #6b7280;
}

/* Hero phone */
.am-hero-right {
  display: flex;
  justify-content: center;
}

.am-phone-mockup {
  position: relative;
  width: 260px;
  padding: 0.8rem;
  border-radius: 32px;
  background: radial-gradient(circle at top,#020617,#020617 45%,#001125 100%);
  border: 1px solid rgba(148,163,184,0.6);
  box-shadow: 0 22px 60px rgba(15,23,42,0.9);
}

.am-phone-mockup img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.am-phone-card {
  position: absolute;
  left: -40px;
  bottom: 20px;
  width: 210px;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(56,189,248,0.6);
  box-shadow: 0 18px 45px rgba(8,47,73,0.9);
  font-size: 0.8rem;
}

.am-phone-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.am-phone-row span {
  color: #9ca3af;
}

/* ====== STEPS ====== */
.am-steps-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.5rem;
}

.am-step-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.12), rgba(15,23,42,0.9));
  border-radius: 1.25rem;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.7);
}

.am-step-number {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(56,189,248,0.7);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.am-step-card h3 {
  margin-bottom: 0.5rem;
}

.am-step-card p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.am-step-card img {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
  max-height: 170px;
}

/* ====== SERVICIOS ====== */
.am-services-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.5rem;
}

.am-service-card {
  background: radial-gradient(circle at top, rgba(56,189,248,0.12), rgba(15,23,42,0.96));
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 22px 60px rgba(15,23,42,0.8);
}

.am-service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.am-service-body {
  padding: 1.2rem;
}

.am-service-body h3 {
  margin-bottom: 0.4rem;
}

.am-service-body p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.am-service-body ul {
  font-size: 0.85rem;
  color: #e5e7eb;
  list-style: none;
}

.am-service-body li::before {
  content: "• ";
  color: #38bdf8;
}

.am-note {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.am-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
  margin-top: 0.25rem;
}

/* ====== SEGURIDAD ====== */
.am-security-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 2.5rem;
  align-items: center;
}

.am-security-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  font-size: 0.9rem;
}

.am-security-list li strong {
  display: block;
  margin-bottom: 0.2rem;
}

.am-security-list span {
  color: #9ca3af;
}

.am-security-visual {
  position: relative;
}

.am-security-visual img {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(56,189,248,0.4);
  box-shadow: 0 24px 70px rgba(15,23,42,0.9);
  object-fit: cover;
}

.am-security-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 0.4rem;
}

.am-pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(56,189,248,0.7);
}

.am-pill-outline {
  background: rgba(15,23,42,0.8);
  border-color: rgba(148,163,184,0.7);
}

/* ====== RIDERS ====== */
.am-riders-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 2rem;
  align-items: center;
}

.am-riders-list {
  list-style: none;
  font-size: 0.9rem;
  color: #e5e7eb;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.am-riders-list li::before {
  content: "✓ ";
  color: #22c55e;
}

.am-riders-visual {
  position: relative;
}

.am-riders-visual img {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(56,189,248,0.4);
  box-shadow: 0 24px 70px rgba(15,23,42,0.9);
  object-fit: cover;
}

.am-riders-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(15,23,42,0.92);
  border-radius: 1rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(56,189,248,0.7);
  font-size: 0.8rem;
  max-width: 220px;
}

/* ====== DESCARGA APP ====== */
.am-download-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 2rem;
}

.am-download-card {
  background: radial-gradient(circle at top, rgba(56,189,248,0.14), rgba(15,23,42,0.96));
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 24px 70px rgba(15,23,42,0.9);
}

.am-download-row {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.am-download-qr img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
}

.am-download-qr span {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: #9ca3af;
}

.am-download-links {
  display: grid;
  gap: 0.5rem;
}

.am-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  font-size: 0.8rem;
  cursor: pointer;
}

.am-store-icon {
  font-size: 1.1rem;
}

.am-store-text small {
  display: block;
  font-size: 0.65rem;
  color: #9ca3af;
}

.am-download-mockup img {
  width: 100%;
  max-width: 260px;
  margin-top: 0.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(148,163,184,0.7);
}

/* ====== FAQ ====== */
.am-faq {
  max-width: 720px;
}

.am-faq details {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.6);
}

.am-faq summary {
  cursor: pointer;
  list-style: none;
}

.am-faq summary::-webkit-details-marker {
  display: none;
}

.am-faq summary::after {
  content: "+";
  float: right;
  color: #9ca3af;
}

.am-faq details[open] summary::after {
  content: "–";
}

.am-faq p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ====== FOOTER ====== */
.am-footer {
  border-top: 1px solid rgba(31,41,55,0.9);
  background: radial-gradient(circle at top, rgba(15,23,42,1), #020617 60%);
  padding: 1.75rem 0;
}

.am-footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.am-logo-small {
  width: 32px;
  height: 32px;
  margin-bottom: 0.4rem;
}

.am-footer-brand p {
  margin-bottom: 0.75rem;
}

.am-footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.am-footer-links a {
  text-decoration: none;
  color: #9ca3af;
  font-size: 0.8rem;
}

.am-footer-links a:hover {
  color: #38bdf8;
}

/* ====== ANIMACIONES SCROLL ====== */
.am-observe {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

.am-observe.am-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
  .am-hero-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 2.5rem;
  }

  .am-hero-right {
    order: -1;
  }

  .am-steps-grid,
  .am-services-grid,
  .am-security-grid,
  .am-riders-grid,
  .am-download-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .am-download-row {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .am-header-inner {
    padding-inline: 1rem;
  }

  .am-nav {
    position: absolute;
    inset-inline: 0;
    top: 54px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(15,23,42,0.98);
    padding: 0.75rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(51,65,85,0.8);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
  }

  .am-nav-open .am-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .am-nav-toggle {
    display: inline-flex;
  }

  .am-hero {
    padding-top: 4.5rem;
  }
}

@media (max-width: 480px) {
  .am-section {
    padding: 3.5rem 0;
  }

  .am-download-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .am-hero-metrics {
    gap: 0.75rem;
  }
}
