/*
Theme Name: CyberGuard Pro V2.1
Theme URI: https://alenmetaverso.com
Author: ChatGPT
Description: Tema corporativo para venta de equipos y servicios de seguridad informática + Google Workspace (Perú). Incluye WhatsApp flotante y botones funcionales.
Version: 2.1.0
License: GPLv2 or later
Text Domain: cyberguard-pro
*/

:root{
  --cgp-blue:#0A1F44;
  --cgp-green:#00C853;
  --cgp-gray:#F4F6F8;
  --cgp-text:#111827;
  --cgp-muted:#6B7280;
  --cgp-white:#ffffff;
  --cgp-radius:14px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--cgp-text);
  background:var(--cgp-white);
}
a{color:inherit}
.container{width:min(1140px, calc(100% - 32px));margin-inline:auto;}
.btn{display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;text-decoration:none;font-weight:700;border:1px solid transparent;}
.btn-primary{background:var(--cgp-green);color:#061b0f;}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.35);color:var(--cgp-white);}
.btn-dark{background:var(--cgp-blue);color:var(--cgp-white);}
.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(0,200,83,.10);color:#0b6a33;font-weight:700;font-size:13px;}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid rgba(17,24,39,.07);}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:14px;}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.brand .site-title{font-weight:900;letter-spacing:.2px;}
.nav{display:flex;align-items:center;gap:18px;}
.nav ul{list-style:none;display:flex;gap:18px;margin:0;padding:0;}
.nav a{text-decoration:none;font-weight:700;color:var(--cgp-text);opacity:.86;}
.nav a:hover{opacity:1;}
.header-cta{display:flex;gap:10px;align-items:center;}
.hero{background:radial-gradient(1200px 400px at 30% 10%, rgba(0,200,83,.25), transparent 60%),linear-gradient(120deg, var(--cgp-blue), #071633);color:var(--cgp-white);padding:64px 0 54px;}
.hero-grid{display:grid;grid-template-columns: 1.2fr .8fr;gap:28px;align-items:center;}
.hero h1{margin:14px 0 10px;font-size: clamp(30px, 4vw, 44px);line-height:1.06;}
.hero p{margin:0 0 22px;color:rgba(255,255,255,.85);font-size:16px;line-height:1.55;}
.hero-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:var(--cgp-radius);padding:18px;}
.hero-card .kpi{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.kpi .box{background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.10);border-radius:12px;padding:12px;}
.kpi .box strong{display:block;font-size:18px;}
.kpi .box span{opacity:.85;font-size:13px;}
.section{padding:56px 0;}
.section.alt{background:var(--cgp-gray);}
.section h2{margin:0 0 14px;font-size: clamp(22px, 2.6vw, 30px);}
.section p.lead{margin:0 0 22px;color:var(--cgp-muted);max-width: 820px;}
.grid-3{display:grid;grid-template-columns: repeat(3, 1fr);gap:16px;}
.card{background:var(--cgp-white);border:1px solid rgba(17,24,39,.08);border-radius:var(--cgp-radius);padding:18px;box-shadow: 0 12px 30px rgba(10,31,68,.06);}
.card h3{margin:0 0 8px;}
.card p{margin:0;color:var(--cgp-muted);line-height:1.55;}
.icon{width:38px;height:38px;border-radius:12px;background:rgba(10,31,68,.08);display:grid;place-items:center;margin-bottom:10px;font-weight:900;color:var(--cgp-blue);}
.products-grid{display:grid;grid-template-columns: repeat(4, 1fr);gap:16px;}
.product-card img{width:100%;height:180px;object-fit:cover;border-radius:12px;background:var(--cgp-gray);}
.product-card .meta{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-top:10px;}
.product-card .meta strong{display:block;}
.product-card .price{color:#0b6a33;font-weight:900;}
.product-card a{text-decoration:none;}
.page-hero{background:linear-gradient(120deg, var(--cgp-blue), #071633);color:var(--cgp-white);padding:46px 0;}
.page-hero h1{margin:0 0 8px;}
.page-hero p{margin:0;color:rgba(255,255,255,.85);}
.content{padding:32px 0 60px;}
.content .prose{background:var(--cgp-white);border:1px solid rgba(17,24,39,.08);border-radius:var(--cgp-radius);padding:18px;}
.prose h2,.prose h3{margin-top:18px;}
.prose p{line-height:1.7;color:var(--cgp-text);}
.prose ul{line-height:1.7;}
.footer{background:#06132b;color:rgba(255,255,255,.82);padding:34px 0;}
.footer-grid{display:grid;grid-template-columns: 1.2fr .8fr 1fr;gap:20px;}
.footer a{color:rgba(255,255,255,.9);}
.footer small{opacity:.8;}
.cgp-wa{position:fixed;right:18px;bottom:18px;z-index:999;width:56px;height:56px;border-radius:999px;display:grid;place-items:center;background:#25D366;color:#073a1e;text-decoration:none;font-weight:900;box-shadow:0 18px 30px rgba(0,0,0,.18);}
.cgp-wa span{font-size:22px;line-height:1;}
.cgp-wa:hover{transform:translateY(-1px);}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .products-grid{grid-template-columns: repeat(2, 1fr);}
  .grid-3{grid-template-columns:1fr;}
  .nav ul{display:none;}
  .footer-grid{grid-template-columns:1fr;}
}
