/* ===================================
   FREIMANAUTOS — LANDING POLARIZADOS
   Paleta: Azul oscuro + blanco + rojo
   =================================== */

:root {
  --blue:       #1840CC;
  --blue-dark:  #0A1230;
  --blue-light: #4D88FF;
  --red:        #CC2020;
  --white:      #FFFFFF;
  --gray-light: #F4F6FB;
  --gray:       #8899BB;
  --dark:       #08090F;
  --text:       #C8D4EE;
  --text-dim:   #6677AA;
  --font-title: 'Teko', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --font-cond:  'Barlow Condensed', sans-serif;
}

/* ─── RESET ─────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ─── BOTONES ───────────────────── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 15px 32px;
  border-radius: 4px;
  transition: transform .15s, box-shadow .15s;
  animation: pulse 2.5s infinite;
}
.btn-wa:hover { transform: translateY(-2px); }
.btn-wa svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--blue); color: #fff; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.3); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,.6); }
}

/* ─── NAV ───────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(8,9,15,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24,64,204,.3);
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
}
.nav-brand { font-family: var(--font-cond); font-weight: 700; font-size: 18px; color: #fff; }
.nav-sub   { font-size: 10px; color: var(--text-dim); letter-spacing: 1px; }
.nav-cta {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 10px 22px;
  border-radius: 4px;
  transition: background .2s;
}
.nav-cta:hover { background: #2255EE; }

/* ─── HERO ──────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 32px 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #040710 0%, #0a1535 50%, #040710 100%);
  z-index: 0;
}
/* Coloca aquí tu imagen de fondo del hero si tienes una:
.hero-bg {
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
} */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,7,16,.95) 40%, rgba(4,7,16,.5) 100%);
  z-index: 1;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue-light); }
.hero-h1 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-h1 .l1 { display: block; font-size: clamp(36px, 5vw, 66px); color: #fff; }
.hero-h1 .l2 { display: block; font-size: clamp(50px, 7vw, 92px); color: var(--blue); }
.hero-h1 .l3 { display: block; font-size: clamp(26px, 3.5vw, 46px); color: var(--text); }
.hero-desc {
  font-size: 17px;
  color: var(--text);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-desc strong { color: #fff; }
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-dim);
}
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
/* Stats side */
.hero-stats { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
  background: rgba(24,64,204,.08);
  border: 1px solid rgba(24,64,204,.25);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
}
.stat-num {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat-label { font-size: 14px; color: var(--text); margin-top: 4px; line-height: 1.4; }
.stat-sub   { font-size: 12px; color: var(--text-dim); margin-top: 3px; }

/* ─── SECCIÓN GENÉRICA ──────────── */
.section { padding: 70px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.s-eye {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.s-eye::before { content: ''; width: 22px; height: 2px; background: var(--blue-light); }
.s-eye.red { color: var(--red); }
.s-eye.red::before { background: var(--red); }
.s-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}
.s-sub {
  font-size: 16px;
  color: var(--text);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ─── GALERÍA DE FOTOS ──────────── */
/* Añade aquí tus fotos reales del taller.
   La carpeta img/ debe estar en el mismo nivel que index.html */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 10px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(24,64,204,.2);
  background: #0d1428; /* fondo mientras no hay foto */
}
.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(4,7,16,.85), transparent);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: .5px;
  text-transform: uppercase;
}
/* Placeholder cuando no hay imagen */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: .35;
}
.gallery-placeholder .ph-icon { font-size: 32px; }
.gallery-placeholder .ph-text {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

/* ─── MIEDOS / PAIN POINTS ──────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pain-card {
  background: #0d1020;
  border: 1px solid rgba(200,30,30,.15);
  border-top: 3px solid var(--red);
  border-radius: 8px;
  padding: 24px 20px;
  transition: transform .2s;
}
.pain-card:hover { transform: translateY(-4px); }
.pain-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.pain-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.pain-text { font-size: 14px; color: var(--text); line-height: 1.6; }
.pain-stat {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--red);
  font-size: 12px;
  letter-spacing: .5px;
}

/* ─── PRODUCTOS ─────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.product-card {
  background: #0d1020;
  border: 1px solid rgba(24,64,204,.2);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(24,64,204,.15);
}
.product-card.featured { border-color: var(--blue); }
.product-img {
  height: 180px;
  position: relative;
  background: #060d20; /* fondo mientras no hay foto */
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
}
.product-body { padding: 22px; }
.product-name {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 4px;
}
.product-tag {
  font-family: var(--font-cond);
  font-size: 12px;
  color: var(--blue-light);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-feats { list-style: none; margin-bottom: 18px; }
.product-feats li {
  font-size: 13px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  gap: 7px;
}
.product-feats li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.product-price-from { font-size: 11px; color: var(--text-dim); display: block; margin-bottom: 2px; }
.product-price {
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.product-price .iva { font-size: 13px; color: var(--text-dim); font-weight: 400; font-family: var(--font-body); }
.product-sub { font-size: 12px; color: var(--text-dim); margin-bottom: 18px; margin-top: 3px; }
.product-btn {
  display: block;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 12px;
  border-radius: 4px;
  transition: background .2s;
}
.product-btn:hover { background: #2255EE; }

/* ─── GARANTÍA ──────────────────── */
.guarantee-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.guarantee-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.guarantee-item {
  background: rgba(24,64,204,.08);
  border: 1px solid rgba(24,64,204,.2);
  border-radius: 8px;
  padding: 18px;
}
.guarantee-item .g-icon { font-size: 24px; margin-bottom: 8px; display: block; }
.guarantee-item .g-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 5px;
}
.guarantee-item .g-text { font-size: 13px; color: var(--text); line-height: 1.5; }
.guarantee-badge {
  text-align: center;
  background: rgba(24,64,204,.1);
  border: 2px solid var(--blue);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.guarantee-badge .badge-num {
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.guarantee-badge .badge-text {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
}

/* ─── CTA FINAL ─────────────────── */
.cta-section {
  background: var(--blue-dark);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(24,64,204,.35) 0%, transparent 70%);
}
.cta-section > * { position: relative; z-index: 2; }
.cta-pre  { font-size: 17px; color: rgba(255,255,255,.65); max-width: 640px; margin: 0 auto 18px; line-height: 1.7; }
.cta-pre strong { color: #fff; }
.cta-title {
  font-family: var(--font-title);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.cta-sub  { font-size: 16px; color: rgba(255,255,255,.55); margin-bottom: 30px; }
.cta-number {
  font-family: var(--font-title);
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  display: block;
  margin: 20px 0 6px;
}
.cta-address { font-size: 14px; color: rgba(255,255,255,.5); }

/* ─── MOBILE FLOAT ──────────────── */
.float-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--blue);
  padding: 12px 20px;
  text-align: center;
}
.float-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}
.float-cta-sub { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ─── FOOTER ────────────────────── */
footer {
  background: #05060C;
  border-top: 1px solid rgba(24,64,204,.2);
  padding: 36px 32px;
  text-align: center;
}
.footer-brand { font-family: var(--font-title); font-size: 30px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.footer-tag   { font-size: 11px; color: var(--text-dim); letter-spacing: 2px; margin-bottom: 14px; }
.footer-info  { font-size: 13px; color: var(--text-dim); line-height: 1.9; }
.footer-info a { color: var(--blue-light); }
.footer-copy  { font-size: 12px; color: #2a3050; margin-top: 10px; }

/* ─── RESPONSIVE ────────────────── */
@media (max-width: 960px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-stats       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pain-grid        { grid-template-columns: 1fr 1fr; }
  .products-grid    { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .guarantee-wrap   { grid-template-columns: 1fr; }
  .guarantee-badge  { margin: 0 auto 28px; }
  .gallery-grid     { grid-template-columns: 1fr 1fr; }
  .float-cta        { display: block; }
  body              { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  .pain-grid        { grid-template-columns: 1fr; }
  .guarantee-items  { grid-template-columns: 1fr; }
  .gallery-grid     { grid-template-columns: 1fr; }
  .hero-stats       { grid-template-columns: 1fr; }
}
