/* =========================================================
   KOMITACHI – LANDING CCTV EMPRESARIAL
   Psicología aplicada:
   - Confianza / Seguridad: oscuro + neutros
   - Acción clara: verde WhatsApp
   - Calidez sin estrés: crema (no amarillo fuerte)
   - Lectura fácil + jerarquía visual
   ========================================================= */

/* =====================
   VARIABLES DE COLOR
   ===================== */
:root {
  --ink: #0F172A;
  --muted: #6B7280;

  --bg-white: #FFFFFF;
  --bg-gray: #F3F4F6;
  --bg-warm: #FFF7ED; /* reemplaza amarillo ansioso */

  --dark-overlay-1: rgba(0,0,0,0.86);
  --dark-overlay-2: rgba(0,0,0,0.62);
  --dark-overlay-3: rgba(0,0,0,0.24);

  --wa-1: #16A34A;
  --wa-2: #22C55E;
  --wa-hover: #15803D;

  --border-soft: rgba(15,23,42,0.12);
}

/* =====================
   BASE
   ===================== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-white);
}

header img { max-height: 32px; }

a { text-decoration: none; }

/* =====================
   SECCIONES
   ===================== */
.section-white {
  background: var(--bg-white);
  padding: 5rem 0;
}

.section-gray {
  background: var(--bg-gray);
  padding: 5rem 0;
}

.section-yellow {
  background: var(--bg-warm);
  padding: 5rem 0;
}

/* =====================
   HERO
   ===================== */
.hero-fullscreen {
  min-height: 92vh;
  padding-bottom: 5vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-fullscreen .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--dark-overlay-1) 0%,
    var(--dark-overlay-2) 55%,
    var(--dark-overlay-3) 100%
  );
}

.hero-content {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-lead {
  color: rgba(255,255,255,0.92);
  max-width: 44ch;
}

/* =====================
   TAG / BADGE
   ===================== */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
}

/* =====================
   TRUST PILLS
   ===================== */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-item {
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  color: #fff;
}

/* =====================
   CHECKLISTS
   ===================== */
.checklist,
.mini-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  margin-bottom: 0.75rem;
}

.mini-list {
  color: #14532d;
  font-weight: 700;
}

.mini-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.mini-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--wa-2);
  font-weight: 900;
}

/* =====================
   CTA BUTTONS
   ===================== */
.btn-primary-cta {
  background: linear-gradient(135deg, var(--wa-1), var(--wa-2));
  border: none;
  color: #fff;
  font-size: 1.15rem;
  padding: 16px 34px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(34,197,94,0.35);
  filter: saturate(1.05);
  color: #fff;
}

.btn-secondary-cta {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.92);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  transition: background .2s ease, transform .2s ease;
}

.btn-secondary-cta:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
  color: #fff;
}

.cta-btn {
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
}

.cta-btn-outline {
  font-size: 1.05rem;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 800;
}

/* =====================
   SCROLL CUE
   ===================== */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.scroll-cue:hover {
  transform: translateX(-50%) translateY(-2px);
  background: rgba(0,0,0,0.35);
}

.scroll-cue::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
  transform: rotate(45deg);
  animation: scrollBounce 1.4s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.9; }
  50% { transform: rotate(45deg) translate(0,6px); opacity: 0.7; }
}

/* =====================
   CARDS / DIAGNÓSTICO
   ===================== */
.soft-card {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.badge-soft {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(22,163,74,0.10);
  color: #166534;
  border: 1px solid rgba(22,163,74,0.22);
}

.note {
  background: rgba(22,163,74,0.06);
  border: 1px solid rgba(22,163,74,0.18);
  padding: 12px 14px;
  border-radius: 12px;
}

/* =====================
   STICKY WHATSAPP
   ===================== */
.sticky-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--wa-1), var(--wa-2));
  color: #fff;
  box-shadow: 0 12px 34px rgba(22,163,74,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sticky-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(22,163,74,0.30);
  color: #fff;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #111;
  color: #ccc;
  padding: 3rem 0;
}

footer a {
  color: #ccc;
}

footer a:hover {
  text-decoration: underline;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .hero-fullscreen {
    min-height: 88vh;
    background-position: center right;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-fullscreen h1 {
    font-size: 2rem;
  }

  .hero-fullscreen p {
    font-size: 1rem;
  }

  .scroll-cue {
    bottom: 12px;
    width: 40px;
    height: 40px;
  }

  .sticky-wa {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
}
