/* ══════════════════════════════════════════
   NAYAMA – seguridad.css  (tema claro 2026)
   ══════════════════════════════════════════ */

/* ── COOKIE BANNER ── */
#nayama-cookie-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 9998;
  backdrop-filter: blur(3px); animation: ncFadeIn .25s ease;
}
#nayama-cookie-overlay.nc-visible { display: block; }
#nayama-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9999; padding: 0 5vw 24px;
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.22,.85,.36,1);
}
#nayama-cookie-banner.nc-visible { transform: translateY(0); }
.nc-card {
  max-width: 960px; margin: 0 auto; background: #fff;
  border: 1px solid rgba(0,0,0,.1); border-radius: 20px; padding: 28px 32px;
  box-shadow: 0 -4px 60px rgba(0,0,0,.12);
}
.nc-row-top { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.nc-icon { width: 40px; height: 40px; flex-shrink: 0; background: rgba(0,102,255,0.08); border: 1px solid rgba(0,102,255,.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.nc-text { flex: 1; min-width: 220px; }
.nc-text h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #0d0d0d; }
.nc-text p { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: #5a6880; line-height: 1.6; }
.nc-text a { color: #0066ff; text-decoration: underline; }
.nc-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.nc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 500; cursor: pointer; border: none; transition: opacity .2s, transform .15s; }
.nc-btn:hover { transform: translateY(-1px); opacity: .92; }
.nc-btn-accept { background: #0066ff; color: #fff; }
.nc-btn-reject { background: transparent; color: #5a6880; border: 1px solid rgba(0,0,0,0.15); }
.nc-btn-config { background: transparent; color: #5a6880; border: 1px solid rgba(0,0,0,0.15); }
.nc-btn-save { background: #0066ff; color: #fff; flex: 1; justify-content: center; }
.nc-prefs { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; opacity: 0; }
.nc-prefs.nc-open { max-height: 600px; opacity: 1; }
.nc-prefs-inner { border-top: 1px solid rgba(0,0,0,.08); margin-top: 20px; padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.nc-cat { background: #f5f7fa; border: 1px solid rgba(0,0,0,.07); border-radius: 14px; padding: 16px 20px; display: flex; align-items: flex-start; gap: 16px; }
.nc-cat-info { flex: 1; }
.nc-cat-info strong { display: block; font-family: 'Syne', sans-serif; font-size: 0.9rem; color: #0d0d0d; margin-bottom: 4px; }
.nc-cat-info span { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; color: #5a6880; line-height: 1.5; }
.nc-badge-req { font-size: 0.72rem; color: #0066ff; background: rgba(0,102,255,0.06); border: 1px solid rgba(0,102,255,.2); border-radius: 100px; padding: 2px 10px; flex-shrink: 0; align-self: center; white-space: nowrap; }
.nc-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; align-self: center; }
.nc-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.nc-toggle-track { position: absolute; inset: 0; background: rgba(0,0,0,.12); border-radius: 100px; cursor: pointer; transition: background .25s; }
.nc-toggle input:checked + .nc-toggle-track { background: #0066ff; }
.nc-toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .25s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.nc-toggle input:checked + .nc-toggle-track::after { transform: translateX(20px); }
.nc-prefs-foot { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
@keyframes ncFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── VARIABLES ── */
:root {
  --sky: #0066ff;
  --sky-dark: #0052cc;
  --mint: #00b2a9;
  --dark: #ffffff;
  --dark2: #f5f7fa;
  --dark3: #eaf0fb;
  --border: rgba(0,0,0,0.1);
  --text: #0d0d0d;
  --muted: #5a6880;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--dark); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 10px; }
.nav-logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 12px var(--sky); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--sky); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border-radius: 100px; background: var(--sky); color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: background .2s, transform .15s; border: none; cursor: pointer; }
.nav-cta:hover { background: var(--sky-dark); transform: translateY(-1px); }
.nav-mobile-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }
.nav-drawer { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(255,255,255,0.99); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 99; overflow: hidden; max-height: 0; transition: max-height 0.38s ease, opacity 0.3s ease; opacity: 0; }
.nav-drawer.open { max-height: 400px; opacity: 1; }
.nav-drawer ul { list-style: none; padding: 1rem 5vw 0.5rem; }
.nav-drawer ul li a { display: block; padding: 0.8rem 0; color: var(--muted); text-decoration: none; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--border); transition: color .2s; }
.nav-drawer ul li:last-child a { border-bottom: none; }
.nav-drawer ul li a:hover { color: var(--text); }
.drawer-cta { display: block; margin: 1rem 5vw 1.2rem; padding: 12px 20px; background: var(--sky); color: #fff; text-align: center; border-radius: 100px; font-weight: 500; text-decoration: none; transition: background .2s; }
.drawer-cta:hover { background: var(--sky-dark); }

/* ── HERO ── */
#hero-seguridad {
  padding: 120px 5vw 72px;
  text-align: center;
  position: relative; overflow: hidden;
  background: var(--dark);
}
#hero-seguridad::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,102,255,0.07) 0%, transparent 70%);
}
#hero-seguridad::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
}
.hero-badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(0,102,255,0.06); border: 1px solid rgba(0,102,255,0.25);
  color: var(--sky); font-size: 0.78rem; font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: .04em;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.hero-h1 {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 1rem;
}
.hero-h1 em { font-style: normal; color: var(--sky); }
.hero-sub {
  position: relative; z-index: 1;
  color: var(--muted); font-size: 1.05rem;
  max-width: 600px; margin: 0 auto 3rem;
}

/* ── PILARES GRID ── */
.grid-pilares {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 900px; margin: 0 auto;
}
.card-pilar {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 24px; text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.card-pilar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--mint));
  opacity: 0; transition: opacity .3s;
}
.card-pilar:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,102,255,0.1); border-color: rgba(0,102,255,0.25); }
.card-pilar:hover::before { opacity: 1; }
.icon-container {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,102,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.icon-container img { width: 32px; height: 32px; object-fit: contain; }
.card-pilar h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.card-pilar p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* ── SECTION DETALLES ── */
.seccion-detalles { padding: 80px 5vw; background: var(--dark2); }
.container-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; max-width: 1000px; margin: 0 auto;
}
.detalle-texto h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.25rem; line-height: 1.1;
}
.detalle-texto p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.detalle-texto p:last-child { margin-bottom: 0; }

/* ── KIT DE PRECIO ── */
.card-precio-kit {
  background: #fff; border: 1px solid rgba(0,102,255,0.2);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,102,255,0.1);
}
.kit-header {
  background: linear-gradient(135deg, #0066ff, #0052cc);
  padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.kit-header h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; }
.kit-header span { font-size: 0.8rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.kit-body { padding: 28px; }
.kit-precio { display: flex; align-items: baseline; gap: 6px; margin-bottom: 1.5rem; }
.monto {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0066ff, #00b2a9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.periodo { font-size: 1rem; color: var(--muted); font-weight: 500; }
.kit-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.5rem; }
.kit-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--muted); line-height: 1.5;
}
.kit-features li::before {
  content: '✓'; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,178,169,0.12); color: var(--mint);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ── SECCIÓN CONTACTO LOCAL ── */
.seccion-contacto-local {
  padding: 80px 5vw; text-align: center;
  background: var(--dark);
}
.seccion-contacto-local h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.seccion-contacto-local p {
  color: var(--muted); font-size: 1rem; line-height: 1.75;
  max-width: 680px; margin: 0 auto 2rem;
}
.seccion-contacto-local strong { color: var(--text); }

/* ── FOOTER ── */
footer { background: #0066ff; border-top: 1px solid rgba(255,255,255,0.15); padding: 48px 5vw 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-top: .75rem; max-width: 280px; line-height: 1.6; }
.footer-col h5 { color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 1rem; font-size: 0.85rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.legal-links { display: flex; gap: 1.5rem; }
.legal-links a { color: rgba(255,255,255,0.7); font-size: 0.8rem; text-decoration: none; transition: color .2s; }
.legal-links a:hover { color: #fff; }

/* ── WA FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-btn { display: block; }
  .nav-drawer { display: block; }
  .grid-pilares { grid-template-columns: 1fr; max-width: 480px; }
  .container-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  #hero-seguridad { padding: 88px 4vw 48px; }
}
@media (max-width: 480px) {
  nav { padding: 0 4vw; height: 60px; }
  .hero-h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .seccion-detalles, .seccion-contacto-local { padding: 56px 4vw; }
  footer { padding: 40px 4vw 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal-links { flex-wrap: wrap; gap: 12px; }
}
