/*
Theme Name: JVS Soluciones
Theme URI: https://jvscorp.com
Author: JVS Soluciones SAS
Author URI: https://jvscorp.com
Description: Tema corporativo de JVS Soluciones SAS. Incluye página de inicio (catálogo de servicios SAP, Azure, Proxmox VE, Cato SASE e IA Banking) y plantilla de landing page para Proxmox Virtual Environment como Authorized Reseller.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jvs-soluciones
Tags: business, one-column, custom-menu
*/

/* ============ BASE + PÁGINA DE INICIO ============ */

:root{
  --navy:#00214E; --ink:#081A33; --green:#4FAE8A; --green-dark:#347F62; --orange:#E57000; --orange-soft:#FFF1E3;
  --sky:#E8F3F8; --sky-2:#D6EAF4; --white:#FFFFFF; --gray:#5B6B7B;
  --radius:14px; --shadow:0 10px 30px rgba(13,31,51,.10);
  --font-display:'Zilla Slab',serif; --font-body:'Inter',sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--ink);background:var(--white);line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:var(--font-display);line-height:1.15}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--green-dark);margin-bottom:10px}
.section{padding:88px 0}
.section-title{font-size:clamp(1.8rem,3.4vw,2.6rem);color:var(--navy);margin-bottom:14px;position:relative;padding-bottom:16px}
.section-title::after{content:"";position:absolute;left:0;bottom:0;width:64px;height:4px;background:var(--green);border-radius:2px}
.section-title.center{text-align:center}
.section-title.center::after{left:50%;transform:translateX(-50%)}
.lead{color:var(--gray);max-width:720px;font-size:1.05rem}
.lead.center{margin:0 auto;text-align:center}
.btn{display:inline-block;padding:14px 30px;border-radius:999px;font-weight:600;font-size:.95rem;letter-spacing:.03em;transition:.25s;cursor:pointer;border:none}
.btn-green{background:var(--green);color:#fff}
.btn-green:hover{background:var(--green-dark);transform:translateY(-2px)}
.btn-outline{border:2px solid #fff;color:#fff;background:transparent}
.btn-outline:hover{background:#fff;color:var(--navy)}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);box-shadow:0 1px 0 rgba(13,31,51,.08)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{display:flex;align-items:flex-end;gap:8px;color:var(--navy)}
.logo span{color:var(--green)}
.nav-links{display:flex;gap:28px;list-style:none;align-items:center}
.nav-links a{font-size:.92rem;font-weight:500;color:var(--ink);position:relative}
.nav-links a:hover{color:var(--green-dark)}
.nav-links .cta{background:var(--navy);color:#fff;padding:10px 20px;border-radius:999px}
.nav-links .cta:hover{background:var(--green-dark);color:#fff}
.nav-toggle{display:none;background:none;border:none;font-size:1.6rem;color:var(--navy);cursor:pointer}

/* HERO */
.hero{position:relative;min-height:92vh;display:flex;align-items:center;background:linear-gradient(160deg,#F2F9FC 0%,#CFE7F2 45%,#9FCFE4 100%);overflow:hidden;padding-top:72px}
.hero::before,.hero::after{content:"";position:absolute;pointer-events:none}
.hero::before{right:-12%;top:-25%;width:60%;height:150%;background:linear-gradient(200deg,rgba(20,48,79,.92),rgba(47,125,98,.85));transform:skewX(-12deg);border-left:6px solid rgba(255,255,255,.35)}
.hero::after{right:24%;top:-25%;width:10%;height:150%;background:rgba(255,255,255,.18);transform:skewX(-12deg)}
.hero-content{position:relative;z-index:2;max-width:640px}
.hero h1{font-size:clamp(2.2rem,5vw,3.6rem);color:var(--navy);margin-bottom:18px}
.hero h1 em{font-style:normal;color:var(--green-dark)}
.hero p{font-size:1.15rem;color:#31465C;margin-bottom:32px;max-width:520px}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.hero-badges{margin-top:44px;display:flex;gap:36px;flex-wrap:wrap}
.hero-badges div strong{display:block;font-family:var(--font-display);font-size:1.9rem;color:var(--navy)}
.hero-badges div small{color:#3B5166;font-size:.85rem}

/* SECTORES / LINEAS */
.lines{background:var(--navy);color:#fff;padding:56px 0}
.lines-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:18px;text-align:center}
.line-item{padding:22px 12px;border:1px solid rgba(255,255,255,.16);border-radius:var(--radius);transition:.25s}
.line-item:hover{background:rgba(69,165,130,.18);border-color:var(--green);transform:translateY(-4px)}
.line-item h3{font-size:1.05rem;font-weight:600;color:#fff}
.line-item p{font-size:.8rem;color:#B9CBDB;margin-top:6px}

/* NOSOTROS */
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.about-card{background:linear-gradient(160deg,var(--sky),#fff);border-radius:var(--radius);padding:36px;box-shadow:var(--shadow)}
.about-card ul{list-style:none;margin-top:18px}
.about-card li{padding:10px 0 10px 30px;position:relative;color:var(--ink);font-weight:500;border-bottom:1px dashed rgba(13,31,51,.12)}
.about-card li:last-child{border-bottom:none}
.about-card li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}

/* SERVICIOS */
.services{background:var(--sky)}
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:26px;margin-top:48px}
.service-card{background:#fff;border-radius:var(--radius);padding:32px;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:.25s;border-top:4px solid transparent}
.service-card:hover{transform:translateY(-6px);border-top-color:var(--green)}
.service-card .tag{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green-dark);margin-bottom:12px}
.service-card h3{font-size:1.3rem;color:var(--navy);margin-bottom:12px}
.service-card p{color:var(--gray);font-size:.94rem;flex:1}
.service-card ul{margin:14px 0 18px;padding-left:18px;color:var(--gray);font-size:.9rem}
.service-card li{margin-bottom:6px}
.service-card a{color:var(--green-dark);font-weight:600;font-size:.9rem}
.service-card a:hover{text-decoration:underline}
.service-card.featured{background:linear-gradient(150deg,var(--navy),#1E4E63);color:#fff}
.service-card.featured h3{color:#fff}
.service-card.featured p,.service-card.featured ul{color:#C7D8E6}
.service-card.featured .tag{color:#7ED4B4}
.service-card.featured a{color:#7ED4B4}

/* SAP DETALLE */
.sap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:44px}
.sap-item{background:#fff;border:1px solid rgba(13,31,51,.1);border-left:4px solid var(--green);border-radius:10px;padding:22px}
.sap-item h4{font-family:var(--font-display);color:var(--navy);font-size:1.05rem;margin-bottom:8px}
.sap-item p{font-size:.88rem;color:var(--gray)}

/* ALIADOS / CLIENTES */
.logos{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:40px}
.logo-chip{background:#fff;border:1px solid rgba(13,31,51,.12);border-radius:999px;padding:10px 22px;font-weight:600;font-size:.88rem;color:var(--navy);transition:.2s}
.logo-chip:hover{border-color:var(--green);color:var(--green-dark)}
.clients{background:linear-gradient(160deg,#F2F9FC,#DCEDF6)}


/* LOGO GRID */
.logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px;margin-top:40px}
.logo-card{background:#fff;border:1px solid rgba(0,33,78,.10);border-radius:12px;min-height:104px;display:flex;align-items:center;justify-content:center;padding:18px 22px;transition:.25s;box-shadow:0 4px 14px rgba(0,33,78,.05)}
.logo-card img{max-height:56px;max-width:100%;width:auto;object-fit:contain;filter:grayscale(35%);opacity:.92;transition:.25s}
.logo-card:hover{transform:translateY(-4px);border-color:var(--green)}
.logo-card:hover img{filter:none;opacity:1}
.logo-card.dark{background:var(--navy)}
.chips-extra{margin-top:26px;text-align:center;color:var(--gray);font-size:.88rem}
.chips-extra .logos{margin-top:14px}

/* CTA / CONTACTO */
.contact{background:var(--navy);color:#fff}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.contact h2{color:#fff}
.contact .section-title::after{background:var(--green)}
.contact-info{list-style:none;margin-top:24px}
.contact-info li{padding:10px 0;color:#C7D8E6;font-size:.95rem}
.contact-info strong{color:#fff}
.form{background:#fff;border-radius:var(--radius);padding:34px;box-shadow:var(--shadow)}
.form label{display:block;font-size:.82rem;font-weight:600;color:var(--navy);margin:14px 0 6px}
.form input,.form textarea{width:100%;padding:12px 14px;border:1px solid rgba(13,31,51,.18);border-radius:8px;font-family:var(--font-body);font-size:.95rem}
.form input:focus,.form textarea:focus{outline:2px solid var(--green);border-color:transparent}
.form button{margin-top:22px;width:100%}

/* FOOTER */
footer{background:var(--ink);color:#8FA3B5;padding:48px 0 28px;font-size:.88rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:36px;margin-bottom:36px}
footer h5{color:#fff;font-family:var(--font-display);font-size:1.05rem;margin-bottom:14px}
footer ul{list-style:none}
footer li{margin-bottom:8px}
footer a:hover{color:var(--green)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:22px;text-align:center;font-size:.8rem}

/* WHATSAPP */
.whatsapp{position:fixed;bottom:26px;right:26px;z-index:99;width:58px;height:58px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:.25s}
.whatsapp:hover{transform:scale(1.08)}
.whatsapp svg{width:30px;height:30px;fill:#fff}

/* REVEAL */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

@media (max-width:900px){
  .nav-links{position:fixed;top:72px;right:0;background:#fff;flex-direction:column;width:min(320px,80vw);padding:28px;gap:20px;box-shadow:var(--shadow);transform:translateX(110%);transition:.3s;border-radius:0 0 0 var(--radius)}
  .nav-links.open{transform:none}
  .nav-toggle{display:block}
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .hero::before{right:-45%;opacity:.9}
  .hero::after{display:none}
}


/* ============ LANDING PROXMOX (scoped) ============ */
body.page-template-template-proxmox *{margin:0;padding:0;box-sizing:border-box}
body.page-template-template-proxmox{scroll-behavior:smooth}
body.page-template-template-proxmox{font-family:var(--font-body);color:var(--ink);line-height:1.6;background:#fff}
body.page-template-template-proxmox a{color:inherit;text-decoration:none}
body.page-template-template-proxmox .container{max-width:1180px;margin:0 auto;padding:0 24px}
body.page-template-template-proxmox h1,body.page-template-template-proxmox h2,body.page-template-template-proxmox h3,body.page-template-template-proxmox h4{font-family:var(--font-display);line-height:1.15}
body.page-template-template-proxmox .eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);margin-bottom:10px}
body.page-template-template-proxmox .section{padding:88px 0}
body.page-template-template-proxmox .section-title{font-size:clamp(1.8rem,3.4vw,2.5rem);color:var(--navy);margin-bottom:14px;position:relative;padding-bottom:16px}
body.page-template-template-proxmox .section-title::after{content:"";position:absolute;left:0;bottom:0;width:64px;height:4px;background:var(--orange);border-radius:2px}
body.page-template-template-proxmox .section-title.center{text-align:center}
body.page-template-template-proxmox .section-title.center::after{left:50%;transform:translateX(-50%)}
body.page-template-template-proxmox .lead{color:var(--gray);max-width:760px;font-size:1.05rem}
body.page-template-template-proxmox .lead.center{margin:0 auto;text-align:center}
body.page-template-template-proxmox .btn{display:inline-block;padding:14px 30px;border-radius:999px;font-weight:600;font-size:.95rem;transition:.25s;cursor:pointer;border:none}
body.page-template-template-proxmox .btn-orange{background:var(--orange);color:#fff}
body.page-template-template-proxmox .btn-orange:hover{background:#C25E00;transform:translateY(-2px)}
body.page-template-template-proxmox .btn-ghost{border:2px solid #fff;color:#fff}
body.page-template-template-proxmox .btn-ghost:hover{background:#fff;color:var(--navy)}
body.page-template-template-proxmox /* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);box-shadow:0 1px 0 rgba(13,31,51,.08)}
body.page-template-template-proxmox .nav-inner{display:flex;align-items:center;justify-content:space-between;height:72px}
body.page-template-template-proxmox .logo{display:flex;align-items:flex-end;gap:8px;color:var(--navy)}
body.page-template-template-proxmox .logo span{color:var(--green)}
body.page-template-template-proxmox .nav-links{display:flex;gap:28px;list-style:none;align-items:center}
body.page-template-template-proxmox .nav-links a{font-size:.92rem;font-weight:500}
body.page-template-template-proxmox .nav-links a:hover{color:var(--orange)}
body.page-template-template-proxmox .nav-links .cta{background:var(--orange);color:#fff;padding:10px 20px;border-radius:999px}
body.page-template-template-proxmox .nav-toggle{display:none;background:none;border:none;font-size:1.6rem;color:var(--navy);cursor:pointer}
body.page-template-template-proxmox /* HERO */
.hero{position:relative;min-height:90vh;display:flex;align-items:center;padding-top:72px;color:#fff;background:linear-gradient(155deg,#0D1F33 0%,#14304F 55%,#1E4E63 100%);overflow:hidden}
body.page-template-template-proxmox .hero::before{content:"";position:absolute;right:-10%;top:-30%;width:55%;height:160%;background:linear-gradient(200deg,var(--orange),#B14E00);transform:skewX(-12deg);opacity:.92}
body.page-template-template-proxmox .hero::after{content:"";position:absolute;right:34%;top:-30%;width:8%;height:160%;background:rgba(255,255,255,.12);transform:skewX(-12deg)}
body.page-template-template-proxmox .hero-content{position:relative;z-index:2;max-width:660px}
body.page-template-template-proxmox .hero .kit{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:6px 16px;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:20px}
body.page-template-template-proxmox .hero h1{font-size:clamp(2.2rem,5vw,3.5rem);margin-bottom:18px;color:#fff}
body.page-template-template-proxmox .hero h1 em{font-style:normal;color:#FFB877}
body.page-template-template-proxmox .hero p{font-size:1.12rem;color:#C7D8E6;margin-bottom:32px;max-width:560px}
body.page-template-template-proxmox .hero-actions{display:flex;gap:16px;flex-wrap:wrap}
body.page-template-template-proxmox .hero-flex{display:flex;align-items:center;justify-content:space-between;gap:48px}
body.page-template-template-proxmox .hero-badge{position:relative;z-index:2;flex-shrink:0;padding:28px}
body.page-template-template-proxmox .hero-badge img{width:230px;height:auto;display:block}
@media (max-width:1024px){body.page-template-template-proxmox .hero-badge img{width:170px}}
@media (max-width:760px){body.page-template-template-proxmox .hero-flex{flex-direction:column;align-items:flex-start}
body.page-template-template-proxmox .hero-badge{padding:20px 0 40px}
body.page-template-template-proxmox /* BARRA BENEFICIOS */
.strip{background:var(--orange);color:#fff;padding:20px 0}
body.page-template-template-proxmox .strip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;text-align:center;font-weight:600;font-size:.92rem}
body.page-template-template-proxmox /* PILARES */
.pillars{background:var(--sky)}
body.page-template-template-proxmox .pillars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:48px}
body.page-template-template-proxmox .pillar{background:#fff;border-radius:var(--radius);padding:30px;box-shadow:var(--shadow);border-top:4px solid var(--orange);transition:.25s}
body.page-template-template-proxmox .pillar:hover{transform:translateY(-6px)}
body.page-template-template-proxmox .pillar .icon{width:52px;height:52px;border-radius:12px;background:var(--orange-soft);display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:16px}
body.page-template-template-proxmox .pillar h3{font-size:1.2rem;color:var(--navy);margin-bottom:10px}
body.page-template-template-proxmox .pillar ul{list-style:none;margin-top:8px}
body.page-template-template-proxmox .pillar li{padding:7px 0 7px 26px;position:relative;font-size:.9rem;color:var(--gray)}
body.page-template-template-proxmox .pillar li::before{content:"✓";position:absolute;left:0;color:var(--green-dark);font-weight:700}
body.page-template-template-proxmox .pillar li strong{color:var(--ink)}
body.page-template-template-proxmox /* OBJECIONES */
.faq-item{background:#fff;border:1px solid rgba(13,31,51,.12);border-radius:12px;margin-bottom:14px;overflow:hidden}
body.page-template-template-proxmox .faq-item summary{list-style:none;cursor:pointer;padding:20px 24px;font-weight:600;color:var(--navy);display:flex;justify-content:space-between;align-items:center;gap:16px}
body.page-template-template-proxmox .faq-item summary::-webkit-details-marker{display:none}
body.page-template-template-proxmox .faq-item summary::after{content:"+";font-size:1.4rem;color:var(--orange);transition:.2s}
body.page-template-template-proxmox .faq-item[open] summary::after{transform:rotate(45deg)}
body.page-template-template-proxmox .faq-item summary .who{font-size:.7rem;font-weight:700;letter-spacing:.1em;color:var(--orange);text-transform:uppercase;display:block}
body.page-template-template-proxmox .faq-body{padding:0 24px 22px;color:var(--gray);font-size:.95rem;border-top:1px dashed rgba(13,31,51,.12)}
body.page-template-template-proxmox .faq-body strong{color:var(--green-dark)}
body.page-template-template-proxmox /* INVERSIÓN */
.invest{background:linear-gradient(150deg,var(--navy),#1E4E63);color:#fff}
body.page-template-template-proxmox .invest .section-title{color:#fff}
body.page-template-template-proxmox .invest-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;margin-top:44px}
body.page-template-template-proxmox .invest-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:26px}
body.page-template-template-proxmox .invest-card h4{color:#FFB877;font-size:1.05rem;margin-bottom:10px}
body.page-template-template-proxmox .invest-card p{font-size:.9rem;color:#C7D8E6}
body.page-template-template-proxmox /* PASOS */
.steps{counter-reset:paso}
body.page-template-template-proxmox .steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-top:48px}
body.page-template-template-proxmox .step{background:#fff;border-radius:var(--radius);padding:30px;box-shadow:var(--shadow);position:relative;padding-top:56px}
body.page-template-template-proxmox .step::before{counter-increment:paso;content:counter(paso);position:absolute;top:-24px;left:26px;width:52px;height:52px;border-radius:14px;background:var(--orange);color:#fff;font-family:var(--font-display);font-weight:700;font-size:1.5rem;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(229,112,0,.35)}
body.page-template-template-proxmox .step h4{color:var(--navy);margin-bottom:8px}
body.page-template-template-proxmox .step p{font-size:.9rem;color:var(--gray)}
body.page-template-template-proxmox .result{margin-top:36px;background:linear-gradient(135deg,var(--orange),#C25E00);color:#fff;border-radius:var(--radius);padding:32px;text-align:center}
body.page-template-template-proxmox .result strong{font-family:var(--font-display);font-size:1.2rem;display:block;margin-bottom:8px}
body.page-template-template-proxmox /* CTA FINAL */
.cta-final{background:var(--sky);text-align:center}
body.page-template-template-proxmox .cta-final .lead{margin:0 auto 30px}
body.page-template-template-proxmox footer{background:var(--ink);color:#8FA3B5;padding:36px 0;font-size:.85rem;text-align:center}
body.page-template-template-proxmox footer a{color:#7ED4B4}
body.page-template-template-proxmox .whatsapp{position:fixed;bottom:26px;right:26px;z-index:99;width:58px;height:58px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:.25s}
body.page-template-template-proxmox .whatsapp:hover{transform:scale(1.08)}
body.page-template-template-proxmox .whatsapp svg{width:30px;height:30px;fill:#fff}
body.page-template-template-proxmox .reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}}
@media (prefers-reduced-motion:reduce){body.page-template-template-proxmox .reveal{opacity:1;transform:none;transition:none}}
@media (max-width:900px){body.page-template-template-proxmox .nav-links{position:fixed;top:72px;right:0;background:#fff;flex-direction:column;width:min(320px,80vw);padding:28px;gap:20px;box-shadow:var(--shadow);transform:translateX(110%);transition:.3s}
body.page-template-template-proxmox .nav-links.open{transform:none}
body.page-template-template-proxmox .nav-toggle{display:block}
body.page-template-template-proxmox .hero::before{right:-50%;opacity:.85}
body.page-template-template-proxmox .hero::after{display:none}}
