/* =====================================================
   AutoSense — página de presentación · Direcciones Isacar
   ===================================================== */
:root {
  --as-bg:      #060d1a;
  --as-navy:    #0a1628;
  --as-mid:     #12233f;
  --as-accent:  #2f7bff;
  --as-accent2: #00c4a0;
  --as-text:    #e2e8f0;
  --as-muted:   #94a3b8;
}

.as-hero {
  background: linear-gradient(125deg, #060d1a 0%, #0d1f3c 50%, #12306a 100%);
  color: var(--as-text);
  padding: 120px 0 70px;
  overflow: hidden;
}
.as-hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.as-badge {
  display: inline-block; padding: 6px 14px; border-radius: 99px;
  background: rgba(47,123,255,.15); border: 1px solid rgba(47,123,255,.5);
  color: #9cc1ff; font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 18px;
}
.as-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.1; margin: 0 0 18px; color: #fff; }
.as-hero h1 em { font-style: normal; color: var(--as-accent); }
.as-lead { font-size: 1.1rem; line-height: 1.6; color: var(--as-muted); max-width: 52ch; margin: 0 0 28px; }
.as-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.as-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.as-btn:hover { transform: translateY(-2px); }
.as-btn--primary { background: var(--as-accent); color: #fff; box-shadow: 0 8px 24px rgba(47,123,255,.35); }
.as-btn--primary:hover { background: #4a8fff; }
.as-btn--outline { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.as-btn--outline:hover { border-color: #fff; }
.as-btn--big { padding: 18px 36px; font-size: 1.1rem; }
.as-hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.as-hero__chips li { padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--as-muted); font-size: .88rem; }
.as-hero__chips i { margin-right: 6px; color: var(--as-accent); }
.as-hero__shot img {
  width: 100%; height: auto; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.55);
}

.as-section { padding: 80px 0; background: #fff; color: #1b2438; }
.as-section--dark { background: var(--as-bg); color: var(--as-text); }
.as-h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 10px; }
.as-section .as-h2 { color: #1b2438; }
.as-section--dark .as-h2 { color: #fff; }
.as-sub { text-align: center; color: var(--as-muted); max-width: 60ch; margin: 0 auto 44px; }

.as-grid { display: grid; gap: 22px; }
.as-grid--4 { grid-template-columns: repeat(4, 1fr); }
.as-grid--3 { grid-template-columns: repeat(3, 1fr); }
.as-card {
  background: #f3f6fb; border: 1px solid #e1e8f3; border-radius: 14px; padding: 26px 22px;
}
.as-card i { font-size: 1.8rem; color: var(--as-accent); margin-bottom: 14px; display: block; }
.as-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.as-card p { margin: 0; color: #54627c; line-height: 1.55; font-size: .96rem; }
.as-card--light { background: var(--as-navy); border-color: rgba(255,255,255,.1); }
.as-card--light h3 { color: #fff; }
.as-card--light p { color: var(--as-muted); }
.as-card--light strong { color: #fff; }

.as-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin: 0 0 70px; }
.as-feature--rev .as-feature__text { order: 2; }
.as-feature h3 { font-size: 1.6rem; margin: 10px 0 14px; color: #fff; }
.as-feature p { color: var(--as-muted); line-height: 1.65; }
.as-feature strong { color: #fff; }
.as-step {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--as-accent); color: #fff; font-weight: 800;
}
.as-feature__img { margin: 0; }
.as-feature__img img {
  width: 100%; height: auto; border-radius: 12px; display: block;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.as-feature__img--tall img { max-height: 520px; width: auto; max-width: 100%; margin: 0 auto; background: #fff; }
.as-feature__img--phone img { max-width: 320px; margin: 0 auto; }

.as-shot { margin: 0; text-align: center; }
.as-shot img {
  width: 100%; height: 260px; object-fit: contain; background: #0a1628; border-radius: 12px;
  border: 1px solid #1b2c4a; padding: 10px;
}
.as-shot figcaption { margin-top: 10px; font-weight: 600; color: #3a4a66; }

.as-cta { text-align: center; margin-top: 46px; }
.as-cta p { margin-top: 16px; color: var(--as-muted); }
.as-cta a:not(.as-btn) { color: #9cc1ff; }

.as-faq { max-width: 780px; }
.as-faq details { border-bottom: 1px solid #e1e8f3; padding: 16px 4px; }
.as-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.as-faq details p { margin: 12px 0 0; color: #54627c; line-height: 1.6; }

@media (max-width: 960px) {
  .as-hero { padding-top: 100px; }
  .as-hero__inner, .as-feature { grid-template-columns: 1fr; gap: 28px; }
  .as-feature--rev .as-feature__text { order: 0; }
  .as-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .as-grid--3 { grid-template-columns: 1fr; }
  .as-section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .as-grid--4 { grid-template-columns: 1fr; }
  .as-btn { width: 100%; justify-content: center; }
}
