/*
Theme Name: NEV PERU
Theme URI: https://nevperu.com
Author: NEV PERU
Author URI: https://nevperu.com
Description: Tema oficial de NEV PERU – Nueva Energía Vehicular. Instalación de cargadores para vehículos eléctricos e híbridos en el Perú.
Version: 1.0.0
License: Proprietary
Text Domain: nevperu
Tags: business, electric-vehicles, custom-colors, custom-logo, featured-images, full-width-template
*/

/* =====================================================
   NEV PERU — Complete Stylesheet
   Brand: Negro #1A1A1A + Verde Lima #8DC63F
   ===================================================== */

:root {
  --verde:    #8DC63F;
  --verde-d:  #5A9A28;
  --verde-l:  #A5D962;
  --verde-bg: #F2FAE6;
  --negro:    #1A1A1A;
  --negro-m:  #2D2D2D;
  --negro-l:  #3D3D3D;
  --gris-d:   #555555;
  --gris-m:   #888888;
  --gris-l:   #F0F0F0;
  --gris-bg:  #F7F7F7;
  --blanco:   #FFFFFF;
  --borde:    #E5E5E5;
  --sombra:   0 4px 24px rgba(0,0,0,.08);
  --sombra-l: 0 12px 48px rgba(0,0,0,.12);
  --radio:    12px;
  --radio-l:  20px;
  --font-h: 'Montserrat', sans-serif;
  --font-b: 'Inter', sans-serif;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); color: var(--negro); background: var(--blanco); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 { font-family: var(--font-h); line-height: 1.15; color: var(--negro); }
p { margin-bottom: 0; }

/* LAYOUT */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 96px 0; }
.section-alt  { background: var(--gris-bg); }
.section-dark { background: var(--negro); }

/* TAGS */
.tag { display: inline-block; background: var(--verde-bg); color: var(--verde-d); border: 1px solid rgba(141,198,63,.3); border-radius: 30px; padding: 5px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.tag-dark { background: rgba(141,198,63,.15); color: var(--verde-l); border-color: rgba(141,198,63,.3); }

/* SECTION HEADER */
.s-header { text-align: center; margin-bottom: 60px; }
.s-title { font-size: 40px; font-weight: 800; margin-bottom: 14px; }
.s-title em { color: var(--verde); font-style: normal; }
.s-desc { font-size: 17px; color: var(--gris-d); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 15px; font-family: var(--font-b); transition: all .25s; cursor: pointer; }
.btn-primary { background: var(--verde); color: var(--negro); }
.btn-primary:hover { background: var(--verde-l); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(141,198,63,.35); }
.btn-dark { background: var(--negro); color: var(--blanco); }
.btn-dark:hover { background: var(--negro-m); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blanco); border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--verde); color: var(--verde); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--negro); border: 2px solid var(--negro); }
.btn-outline-dark:hover { background: var(--negro); color: var(--blanco); }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* NAVIGATION */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 18px 0; transition: all .3s; background: transparent; }
.nav.scrolled { background: var(--negro); padding: 12px 0; box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo svg { height: 38px; width: auto; }
.nav-logo-text { font-family: var(--font-h); font-weight: 900; font-size: 20px; color: var(--blanco); letter-spacing: -.3px; }
.nav-logo-text span { color: var(--verde); }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a { color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 8px; transition: all .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--verde); }
.nav-drop { position: relative; }
.nav-drop > a::after { content: ' ▾'; font-size: 10px; opacity: .6; }
.nav-drop-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: var(--negro); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radio); padding: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s; }
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.nav-drop-menu a:hover { background: rgba(141,198,63,.12); color: var(--verde); }
.nav-cta { background: var(--verde) !important; color: var(--negro) !important; font-weight: 800 !important; padding: 10px 22px !important; border-radius: 30px !important; font-size: 14px !important; }
.nav-cta:hover { background: var(--verde-l) !important; transform: translateY(-1px) !important; box-shadow: 0 4px 16px rgba(141,198,63,.4) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--blanco); border-radius: 2px; transition: all .3s; }
.nav-mobile { display: none; position: fixed; inset: 0; background: var(--negro); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--blanco); font-size: 22px; font-weight: 700; font-family: var(--font-h); padding: 4px 0; }
.nav-mobile a:hover { color: var(--verde); }
.nav-mobile-close { position: absolute; top: 24px; right: 36px; font-size: 30px; color: var(--blanco); cursor: pointer; background: none; border: none; font-family: inherit; line-height: 1; }

/* HERO */
.hero { min-height: 100vh; background: var(--negro); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-gfx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-gfx-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(141,198,63,.12); }
.hero-gfx-glow { position: absolute; background: radial-gradient(circle, rgba(141,198,63,.08) 0%, transparent 65%); }
.page-hero { padding: 140px 0 80px; background: var(--negro); position: relative; overflow: hidden; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.page-hero h1 { font-size: 48px; font-weight: 900; color: var(--blanco); margin-bottom: 16px; line-height: 1.15; }
.page-hero h1 em { color: var(--verde); font-style: normal; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.65); max-width: 560px; line-height: 1.7; }

/* STATS BAR */
.stats-bar { background: var(--verde); padding: 28px 0; }
.stats-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(0,0,0,.15); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-h); font-size: 38px; font-weight: 900; color: var(--negro); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(0,0,0,.65); margin-top: 4px; font-weight: 600; }

/* CARDS */
.card { background: var(--blanco); border-radius: var(--radio-l); padding: 36px 28px; box-shadow: var(--sombra); border: 1px solid var(--borde); transition: all .3s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--verde); transform: scaleX(0); transition: transform .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra-l); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.ci-green { background: var(--verde-bg); }
.card h3 { font-family: var(--font-h); font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--gris-d); line-height: 1.7; margin-bottom: 20px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--verde-d); transition: gap .2s; }
.card-link:hover { gap: 10px; }
.card-badge { position: absolute; top: 14px; right: 14px; background: var(--verde); color: var(--negro); font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--borde); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 700; color: var(--negro); gap: 16px; background: none; }
.faq-q .icon { font-size: 20px; flex-shrink: 0; transition: transform .3s; color: var(--verde); }
.faq-a { font-size: 14px; color: var(--gris-d); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 250px; padding-bottom: 20px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }

/* CTA SECTION */
.cta-section { background: var(--negro); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(141,198,63,.06) 0%, transparent 70%); }
.cta-section h2 { font-size: 46px; font-weight: 900; color: var(--blanco); margin-bottom: 16px; line-height: 1.2; position: relative; }
.cta-section h2 em { color: var(--verde); font-style: normal; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.6); margin-bottom: 40px; position: relative; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.35); margin-top: 16px; position: relative; }
.cta-note em { color: var(--verde); font-style: normal; font-weight: 700; }

/* FOOTER */
footer { background: #0D0D0D; color: var(--blanco); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo svg { height: 34px; width: auto; }
.footer-logo-text { font-family: var(--font-h); font-weight: 900; font-size: 19px; color: var(--blanco); }
.footer-logo-text span { color: var(--verde); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,.07); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all .2s; }
.footer-social a:hover { background: var(--verde); color: var(--negro); }
.footer-col h4 { font-family: var(--font-h); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--verde); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.fc-item { display: flex; gap: 12px; font-size: 14px; color: rgba(255,255,255,.6); }
.fc-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.28); }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--verde); }

/* ALERT */
.alert-green { background: var(--verde-bg); border-left: 4px solid var(--verde); border-radius: var(--radio); padding: 18px 22px; font-size: 14px; color: var(--negro-l); display: flex; gap: 12px; align-items: flex-start; }
.alert-green strong { color: var(--verde-d); }

/* FADE IN ANIMATION */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--blanco); border-radius: var(--radio-l); overflow: hidden; border: 1px solid var(--borde); transition: all .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-l); }
.post-thumb { height: 200px; background: var(--gris-bg); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.post-body { padding: 24px; }
.post-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--verde-d); margin-bottom: 10px; }
.post-title { font-family: var(--font-h); font-size: 17px; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.post-title a { color: var(--negro); }
.post-title a:hover { color: var(--verde-d); }
.post-excerpt { font-size: 13px; color: var(--gris-d); line-height: 1.65; margin-bottom: 16px; }
.post-meta { font-size: 12px; color: var(--gris-m); }

/* SINGLE POST */
.post-content { max-width: 760px; margin: 0 auto; padding: 60px 40px; }
.post-content h1 { font-size: 38px; font-weight: 900; margin-bottom: 16px; }
.post-content .post-meta-full { color: var(--gris-m); font-size: 14px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--borde); }
.post-content p { font-size: 16px; line-height: 1.85; color: var(--negro-l); margin-bottom: 24px; }
.post-content h2 { font-size: 26px; font-weight: 800; margin: 36px 0 16px; }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { font-size: 16px; line-height: 1.8; color: var(--negro-l); }
.post-content img { border-radius: var(--radio); margin: 24px 0; }
.post-content blockquote { border-left: 4px solid var(--verde); padding: 16px 24px; background: var(--verde-bg); border-radius: 0 var(--radio) var(--radio) 0; margin: 28px 0; font-style: italic; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .s-title { font-size: 30px; }
  .section { padding: 64px 0; }
  .container { padding: 0 24px; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 34px; }
  .post-content { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 30px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-content h1 { font-size: 28px; }
}
