/* =====================================================================
   HubTows · Home de producto destacado
   Colores de marca: azul #0c82ff, azul marino #222831
   ===================================================================== */

:root {
  --blue: #0c82ff;
  --blue-d: #0a6ad0;
  --navy: #222831;
  --ink: #1b2128;
  --muted: #5b6670;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 35, 60, .10);
  --shadow-sm: 0 4px 14px rgba(20, 35, 60, .08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.brand { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; display: block; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.lang-wrap { margin-left: 18px; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 12px; font-weight: 700; color: var(--navy);
  background: #fff; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(12,130,255,.35); }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(120deg, rgba(27,33,40,.94) 0%, rgba(27,33,40,.72) 45%, rgba(12,130,255,.55) 100%),
    url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1600&q=80");
  background-size: cover; background-position: center;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  padding: 84px 22px 92px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: #9fd0ff; margin: 0 0 14px; }
.hero-copy h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; margin: 0 0 18px; font-weight: 800; letter-spacing: -.5px; }
.hero-copy .lead { font-size: 18px; color: #dde6f0; margin: 0 0 30px; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { display: flex; justify-content: center; }
.product-card {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 3;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, #2b3340, #11151b);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.product-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-placeholder {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 24px;
  background:
    radial-gradient(130% 80% at 50% 0%, rgba(12,130,255,.28), transparent 62%),
    linear-gradient(155deg, #20262f, #0a0d11);
}
.product-card.is-empty .product-placeholder { display: flex; }
.teaser-badge {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 15px; border-radius: 999px; margin-bottom: 4px;
}
.teaser-art { width: 124px; height: 100px; margin: 4px 0; filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); }
.teaser-title { color: #eef3f9; font-size: 19px; font-weight: 800; letter-spacing: -.2px; }
.teaser-text { color: #9aa6b3; font-size: 13.5px; font-weight: 500; max-width: 24em; line-height: 1.5; }

/* ---------- Sections ---------- */
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.4px; margin: 0 0 8px; color: var(--navy); text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin: 0 auto 34px; max-width: 40em; }

.features { padding: 76px 0; }
.features .section-title { margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature, .auto-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border: 1px solid #e2ebf6; border-radius: var(--radius);
  padding: 30px 24px; box-shadow: 0 6px 20px rgba(20,35,60,.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.feature:hover, .auto-card:hover {
  transform: translateY(-5px); box-shadow: 0 16px 38px rgba(12,130,255,.16); border-color: #bcd8fb;
}
.feature-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(150deg, #0c82ff, #0a5bd0); color: #fff;
  box-shadow: 0 8px 18px rgba(12,130,255,.32);
}
.feature h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature h3::after, .auto-card h3::after {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 3px;
  background: var(--blue); margin-top: 12px;
}

/* ---------- Automotive grade ---------- */
.auto { padding: 76px 0; background: var(--bg-soft); }
.auto .section-lead { margin-bottom: 38px; }
.auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.auto-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.auto-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.auto-card .chips { margin-top: 4px; }
.aec-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 88px; margin-bottom: 18px; }
.aec-img { max-width: 150px; max-height: 88px; width: auto; height: auto; display: block; }
.aec-fallback { display: none; align-items: center; justify-content: center; }
.aec-logo { width: 152px; height: auto; display: block; }

/* ---------- Models ---------- */
.models { padding: 76px 0; }
.model-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 820px; margin: 36px auto 0; }
.model-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.model-group h3 { margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; font-weight: 700; color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 15px; }
.chip.xl { background: rgba(12,130,255,.08); border-color: #c9defc; color: var(--blue-d); }

/* ---------- Manuals ---------- */
.docs { padding: 76px 0; }
.doc-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 14px; }
.doc {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  color: var(--navy); transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.doc:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9defc; }
.doc-icon { font-size: 26px; }
.doc-text { display: flex; flex-direction: column; flex: 1; }
.doc-title { font-weight: 700; font-size: 16px; }
.doc-sub { font-size: 13px; color: var(--muted); }
.doc-arrow { color: var(--blue); font-size: 20px; font-weight: 700; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), #0c1b30); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cta-band p { margin: 0; color: #c3cfdd; }

/* ---------- Footer ---------- */
.site-footer { background: #11151b; color: #9aa6b3; padding: 34px 0; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; text-align: center; }
.footer-logo { height: 46px; width: auto; opacity: .9; filter: brightness(0) invert(1); }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer a { color: #cfe0f5; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-grid { grid-template-columns: 1fr; }
  .model-groups { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 64px 22px 72px; }
  .hero-media { order: -1; }
  .product-card { max-width: 360px; }
}
@media (max-width: 620px) {
  .main-nav { display: none; }
  .feature-grid, .spec-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
