@charset "UTF-8";
/* CSS Document */

:root {
  --primary: #ef4444;
  --primary-soft: #f97316;
  --bg: #020617;
  --bg-soft: #111827;
  --card: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #600000; /* rojo granate base */
  background: linear-gradient(to bottom, #8b0000, #600000);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #600000;
  background: linear-gradient(to bottom, #8b0000, #600000);
  color: var(--text);
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}


a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.85)
  );
  border-bottom: 1px solid rgba(248, 113, 113, 0.5);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  margin-right: 10px;
}

.brand-main {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 17px;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.nav-link {
  color: var(--muted);
}

.nav-link:hover {
  color: #fca5a5;
}

/* BOTONES */

.btn-primary {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fef2f2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 14px 32px rgba(185, 28, 28, 0.6);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 42px rgba(248, 113, 113, 0.7);
}

/* variantes */

.btn-call-now {
  font-size: 14px;
}

/* LAYOUT GENERAL */

main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 18px;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 34px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
  background: radial-gradient(
    circle at top left,
    rgba(127, 29, 29, 0.9),
    rgba(15, 23, 42, 0.98)
  );
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.85);
}

.hero-title {
  font-size: clamp(30px, 4.1vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-title span {
  background: linear-gradient(135deg, #fecaca, #f97316, #facc15);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 12px;
}

.hero-sub-secondary {
  max-width: 520px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.9);
}

/* CARRUSEL + BOTÓN LLAMAR */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carousel {
  position: relative;
  width: 440px;
  border-radius: 24px;
  background: #020617;
  padding: 0;
  border: 1px solid rgba(248, 113, 113, 0.7);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.carousel-arrow:hover {
  background: #b91c1c;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow--prev {
  left: 8px;
}

.carousel-arrow--next {
  right: 8px;
}

.carousel-dots {
  position: absolute;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.carousel-dot.active {
  background: #f97316;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.9);
}

/* Botón Llamar debajo del carrusel */

.call-now-wrapper {
  margin-top: 4px;
  text-align: center;
}

/* SECCIONES */

.section-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 16px;
}

/* FEATURES */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8);
  font-size: 13px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111827;
  border: 1px solid rgba(248, 113, 113, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

/* PASOS */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.step {
  background: #020617;
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #7f1d1d;
  border: 1px solid rgba(248, 113, 113, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fecaca;
  margin-bottom: 6px;
}

/* CTA */

.cta {
  margin-top: 12px;
  background: radial-gradient(
    circle at top left,
    rgba(127, 29, 29, 0.9),
    rgba(15, 23, 42, 0.98)
  );
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid rgba(248, 113, 113, 0.7);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.cta p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pwa-help {
  font-size: 12px;
  color: var(--muted);
}

/* FOOTER */

footer {
  margin-top: 30px;
  background: #020617;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.92),
    rgba(0, 0, 0, 0.9)
  );
  color: #fef2f2;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 14px;
  max-width: 94%;
  width: auto;
  text-align: center;
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 99999;
}

.cookie-btn {
  margin-left: 14px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #ef4444, #7f1d1d);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  transition: all 0.2s ease;
}

.cookie-btn:hover {
  filter: brightness(1.15);
}

/* MODAL LLAMADAS */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.modal-backdrop.active {
  display: flex;
}

.modal {
  background: radial-gradient(
    circle at top left,
    rgba(127, 29, 29, 0.95),
    rgba(15, 23, 42, 0.98)
  );
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  border: 1px solid rgba(248, 113, 113, 0.7);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.modal-btn {
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  border-radius: 14px;
}

.modal-btn-main {
  font-size: 14px;
}

.modal-btn-sub {
  font-size: 11px;
  opacity: 0.85;
}

.modal-btn-premium {
  background: linear-gradient(135deg, #f97316, #facc15);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.6);
}

.modal-btn-voz {
  opacity: 0.9;
}

.modal-warning {
  font-size: 12px;
  color: #fecaca;
  margin-top: 6px;
}

/* Cerrar modal */

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: #fef2f2;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    margin-bottom: 10px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 14px;
  }

  .nav-link {
    display: none;
  }

  .section {
    padding-inline: 14px;
  }

  .features,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel {
    width: 366px;
  }

  .modal {
    max-width: 100%;
  }
}

