/* =========================================================
   GPSubicar.club — Landing Page Styles
   Paleta: Amarillo #FFD600, Negro #111111, Blanco #FFFFFF
   Fuente: Poppins — Mobile-first
   ========================================================= */

:root {
  --amarillo: #FFD600;
  --amarillo-dark: #F9A825;
  --amarillo-light: #FFF9C4;
  --negro: #111111;
  --negro-soft: #222222;
  --gris: #444444;
  --gris-soft: #666666;
  --gris-bg: #F7F7F7;
  --white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.14);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.22);
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gris);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============== HEADER / NAV =============== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(17,17,17,0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,214,0,0.18);
  transition: var(--transition);
}
.header.scrolled {
  padding: 8px 0;
  background: rgba(17,17,17,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--white); font-size: 18px; }
.nav-logo img { height: 44px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.nav-logo span b { color: var(--amarillo); }
.nav-menu { display: none; list-style: none; gap: 32px; }
.nav-menu a { font-weight: 500; color: rgba(255,255,255,0.85); position: relative; transition: color var(--transition); }
.nav-menu a:hover { color: var(--amarillo); }
.nav-menu a::after { content: ""; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--amarillo); transition: width var(--transition); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amarillo); color: var(--negro);
  padding: 10px 18px; border-radius: 50px;
  font-weight: 700; font-size: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,214,0,0.5); }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--amarillo); border-radius: 3px; transition: var(--transition); }
.nav-mobile {
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(17,17,17,0.98); backdrop-filter: blur(18px);
  padding: 20px; transform: translateY(-120%);
  transition: transform 0.4s ease; border-bottom: 2px solid var(--amarillo);
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nav-mobile a { display: block; padding: 10px 0; font-weight: 500; color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,214,0,0.1); }

/* =============== HERO SLIDESHOW (FADE) =============== */
.hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; background: var(--negro); }
#hero-canvas { display: none; }

.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
  transition: transform 11s ease-out;
}
.hero-slide.active img { transform: scale(1.0); }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.45) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center; padding: 130px 0 90px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,214,0,0.15); border: 1px solid rgba(255,214,0,0.5);
  color: var(--amarillo); padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
  backdrop-filter: blur(10px); letter-spacing: 0.5px;
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--amarillo);
  border-radius: 50%; box-shadow: 0 0 0 0 rgba(255,214,0,0.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(255,214,0,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,214,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,214,0,0); }
}

.hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.02em; color: var(--white); }
.hero h1 .accent { color: var(--amarillo); text-shadow: 0 0 40px rgba(255,214,0,0.4); }
.hero p.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.88); margin-bottom: 32px; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--amarillo); color: var(--negro); box-shadow: 0 10px 30px rgba(255,214,0,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,214,0,0.6); background: var(--amarillo-dark); }
.btn-outline { background: rgba(255,255,255,0.10); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); backdrop-filter: blur(10px); }
.btn-outline:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); }
.hero-mini { display: flex; gap: 24px; flex-wrap: wrap; color: rgba(255,255,255,0.78); font-size: 14px; }
.hero-mini span { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual { display: none; }

/* Controles carrusel */
.carousel-controls {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; align-items: center; gap: 10px;
}
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.4s ease; }
.carousel-dot.active { background: var(--amarillo); width: 30px; border-radius: 10px; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,214,0,0.9); color: var(--negro); border: none;
  width: 46px; height: 46px; border-radius: 50%; font-size: 22px;
  cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.carousel-btn:hover { background: var(--amarillo); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

/* =============== STATS =============== */
.stats { padding: 70px 0; background: var(--negro); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-card {
  background: var(--negro-soft); padding: 30px 20px; border-radius: var(--radius-lg);
  text-align: center; border: 1px solid rgba(255,214,0,0.15);
  transition: transform var(--transition), border-color var(--transition);
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--amarillo); }
.stat-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: var(--amarillo); color: var(--negro); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.stat-number { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--amarillo); letter-spacing: -0.02em; line-height: 1; }
.stat-label { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.65); font-weight: 500; }

/* =============== Section headers =============== */
.section { padding: 90px 0; }
.section-gray { background: var(--gris-bg); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-eyebrow {
  display: inline-block; color: var(--negro); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
  background: var(--amarillo); padding: 5px 14px; border-radius: 50px;
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--negro); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; max-width: 820px; margin: 0 auto 14px; }
.section-head p { color: var(--gris-soft); max-width: 640px; margin: 0 auto; font-size: 16px; }

/* =============== Productos — cards 3D =============== */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.product-card {
  position: relative; padding: 32px 26px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1.5px solid rgba(0,0,0,0.07); box-shadow: var(--shadow-sm);
  transform-style: preserve-3d; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.product-card::before {
  content: ""; position: absolute; top: 0; right: 0; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,214,0,0.14), transparent 70%);
  border-radius: 50%; transform: translate(30%,-30%);
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--amarillo); }
.product-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--negro); color: var(--amarillo); display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 20px; transform: translateZ(30px); }
.product-card h3 { color: var(--negro); font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.product-card p { color: var(--gris-soft); font-size: 14.5px; }
.product-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--amarillo-dark); font-weight: 700; font-size: 14px; }

/* =============== Why Us =============== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.why-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-image img { width: 100%; height: auto; transition: transform 1.2s ease; }
.why-image:hover img { transform: scale(1.05); }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-check { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--amarillo); color: var(--negro); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.why-item h4 { color: var(--negro); font-size: 1.05rem; margin-bottom: 4px; font-weight: 700; }
.why-item p { color: var(--gris-soft); font-size: 14.5px; }

/* =============== Cobertura =============== */
.cobertura-intro { background: var(--negro); color: rgba(255,255,255,0.88); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 36px; border-left: 4px solid var(--amarillo); font-size: 15px; }
.cobertura-intro strong { color: var(--amarillo); }
.dep-search { display: flex; margin-bottom: 24px; position: relative; }
.dep-search input { width: 100%; padding: 14px 18px 14px 46px; border: 1.5px solid rgba(0,0,0,0.15); border-radius: 50px; font-family: inherit; font-size: 15px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); background: #fff; }
.dep-search input:focus { border-color: var(--amarillo-dark); box-shadow: 0 0 0 4px rgba(255,214,0,0.15); }
.dep-search::before { content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat center/contain; pointer-events: none; }
.dep-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.dep { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.07); overflow: hidden; transition: box-shadow var(--transition), border-color var(--transition); }
.dep.open { box-shadow: var(--shadow-md); border-color: var(--amarillo); }
.dep-head { width: 100%; padding: 18px 20px; background: transparent; border: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; text-align: left; font-family: inherit; }
.dep-head .dep-title { font-weight: 700; color: var(--negro); font-size: 1rem; display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.dep-head .dep-title .dep-flag { width: 8px; height: 8px; border-radius: 50%; background: var(--amarillo); flex-shrink: 0; }
.dep-head .arrow { width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.07); color: var(--negro); display: flex; align-items: center; justify-content: center; transition: transform var(--transition), background var(--transition); flex-shrink: 0; }
.dep.open .dep-head .arrow { transform: rotate(180deg); background: var(--amarillo); color: var(--negro); }
.dep-body { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.dep-body-inner { padding: 4px 20px 22px; color: var(--gris-soft); font-size: 14.5px; line-height: 1.75; }
.dep-body-inner strong { color: var(--negro); font-weight: 700; }

/* =============== Testimonios =============== */
.testi-wrap { position: relative; max-width: 800px; margin: 0 auto; }
.testi-track { display: flex; transition: transform 0.7s cubic-bezier(0.25,1,0.5,1); }
.testi-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.testi-slide { flex: 0 0 100%; padding: 40px 30px; background: var(--negro); border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-md); border: 1px solid rgba(255,214,0,0.2); }
.testi-stars { color: var(--amarillo); font-size: 20px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text { font-size: 1.05rem; color: rgba(255,255,255,0.88); font-style: italic; margin-bottom: 24px; line-height: 1.7; }
.testi-author { font-weight: 700; color: var(--amarillo); }
.testi-city { color: rgba(255,255,255,0.55); font-size: 14px; }
.testi-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(0,0,0,0.2); cursor: pointer; transition: all var(--transition); }
.testi-dot.active { background: var(--amarillo); width: 30px; border-radius: 10px; }

/* =============== FAQ =============== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1.5px solid rgba(0,0,0,0.08); transition: border-color var(--transition); }
.faq.open { border-color: var(--amarillo); }
.faq-head { width: 100%; padding: 18px 20px; background: transparent; border: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-family: inherit; font-weight: 600; color: var(--negro); font-size: 15.5px; text-align: left; }
.faq-head .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--gris-bg); color: var(--negro); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: transform var(--transition), background var(--transition); }
.faq.open .plus { transform: rotate(45deg); background: var(--amarillo); color: var(--negro); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-body-inner { padding: 0 20px 20px; color: var(--gris-soft); font-size: 14.5px; line-height: 1.7; }

/* =============== CTA FINAL =============== */
.cta-final { padding: 90px 0; background: var(--negro); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-final::before, .cta-final::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,0,0.12), transparent 70%); pointer-events: none; }
.cta-final::before { top: -100px; left: -100px; }
.cta-final::after { bottom: -100px; right: -100px; }
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; color: var(--amarillo); }
.cta-final p { color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto 34px; }
.cta-contact { display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; }
.cta-big-wa { display: inline-flex; align-items: center; gap: 14px; padding: 18px 34px; background: #25d366; color: #fff; border-radius: 50px; font-size: 17px; font-weight: 700; box-shadow: 0 15px 40px rgba(37,211,102,0.5); transition: transform var(--transition), box-shadow var(--transition); }
.cta-big-wa:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 50px rgba(37,211,102,0.65); }
.cta-meta { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-top: 20px; font-size: 14.5px; color: rgba(255,255,255,0.82); }
.cta-meta a { color: var(--amarillo); text-decoration: underline; }

/* =============== Footer =============== */
.footer { background: #0a0a0a; color: rgba(255,255,255,0.65); padding: 50px 0 30px; font-size: 14px; border-top: 3px solid var(--amarillo); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 50px; width: auto; }
.footer-brand b { color: var(--amarillo); font-size: 18px; display: block; }
.footer-brand span { font-size: 13px; }
.footer h5 { color: var(--amarillo); font-size: 14px; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a:hover { color: var(--amarillo); }
.footer-seo { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 20px; padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* =============== WhatsApp flotante =============== */
.float-wa { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37,211,102,0.5); transition: transform var(--transition); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2s infinite; }
.float-wa svg { width: 30px; height: 30px; }
.float-wa:hover { transform: scale(1.1); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }

/* =============== Scroll reveal =============== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* =============== Gallery mini =============== */
.gallery { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
.gallery img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: transform 0.6s ease; }
.gallery figure { overflow: hidden; border-radius: var(--radius-lg); }
.gallery figure:hover img { transform: scale(1.04); }

/* =============== Responsive =============== */
@media (min-width: 560px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .dep-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .hero-inner { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-contact { flex-direction: row; }
}
@media (min-width: 1024px) {
  .nav-menu { display: flex; }
  .nav-toggle { display: none; }
  .dep-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

.text-center { text-align: center; }
