*{margin:0;padding:0;box-sizing:border-box}
:root{
  --pri:#3F495B;--pri-dark:#2C3E50;--pri-light:#e8ecf2;
  --bg:#F5F6FA;--card:#fff;--text:#1e293b;--muted:#64748b;
  --border:#e2e8f0;--shadow-sm:0 1px 2px rgba(0,0,0,.04);--shadow-md:0 4px 14px rgba(0,0,0,.07);
}
body{font-family:'Montserrat','Segoe UI',system-ui,sans-serif;color:var(--text);background:var(--bg);line-height:1.6;overflow-x:hidden}
svg{display:block}

nav{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);height:64px;transition:box-shadow .2s}
nav.scrolled{box-shadow:0 2px 16px rgba(0,0,0,.06)}
nav .nav-inner{max-width:1200px;margin:0 auto;padding:0 32px;display:flex;justify-content:space-between;align-items:center;height:100%}
nav .logo{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:800;color:var(--pri);text-decoration:none;letter-spacing:-.3px}
nav .logo img{height:28px;width:auto;display:block}
nav .nav-links{display:flex;gap:26px;align-items:center}
nav .nav-links a{color:var(--muted);text-decoration:none;font-size:.85rem;font-weight:500;transition:color .15s}
nav .nav-links a:hover{color:var(--pri)}
nav .btn-nav{background:var(--pri);color:#fff!important;padding:10px 22px;border-radius:10px;font-weight:600!important;font-size:.85rem!important;transition:all .2s}
nav .btn-nav:hover{background:var(--pri-dark);transform:translateY(-1px)}

.hero{padding:150px 32px 90px;background:linear-gradient(175deg,var(--pri-light) 0%,var(--bg) 60%);text-align:center}
.hero .hero-inner{max-width:820px;margin:0 auto}
.hero .section-label{color:var(--pri);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:3px;margin-bottom:14px}
.hero h1{font-size:2.7rem;font-weight:900;color:var(--pri);line-height:1.18;margin-bottom:22px;letter-spacing:-1px}
.hero p.sub{font-size:1.08rem;color:var(--muted);margin:0 auto 32px;max-width:600px}
.hero h1 span{color:var(--acc-brand,#006FC6)}
.hero .hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* Hero dividido: texto + collage de imagenes */
.hero.hero-split{text-align:left;padding:140px 32px 70px}
.hero.hero-split .hero-inner{max-width:1180px;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero.hero-split .section-label{margin-bottom:14px}
.hero.hero-split h1{font-size:2.9rem}
.hero.hero-split p.sub{margin:0 0 30px}
.hero.hero-split .hero-cta{justify-content:flex-start}
.hero-collage{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:14px;height:440px}
.hero-collage figure{margin:0;position:relative;border-radius:16px;overflow:hidden;box-shadow:var(--shadow-md);border:1px solid var(--border)}
.hero-collage img{width:100%;height:100%;object-fit:cover;display:block}
.hero-collage figcaption{position:absolute;left:12px;bottom:10px;color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.4px;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.hero-collage figure::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.45) 100%)}
.hero-collage figure:nth-child(1){grid-row:span 2}
@media(max-width:860px){
  .hero.hero-split{text-align:center;padding-top:120px}
  .hero.hero-split .hero-inner{grid-template-columns:1fr}
  .hero.hero-split .hero-cta{justify-content:center}
  .hero-collage{height:320px;order:-1}
}

/* Banda de sectores con foto */
.sectors-band{padding:24px 32px 70px}
.sectors-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;max-width:1180px;margin:0 auto}
.sector-card{position:relative;border-radius:16px;overflow:hidden;min-height:230px;display:flex;align-items:flex-end;box-shadow:var(--shadow-sm);border:1px solid var(--border)}
.sector-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .4s}
.sector-card:hover img{transform:scale(1.05)}
.sector-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(44,62,80,0) 35%,rgba(44,62,80,.82) 100%);z-index:1}
.sector-card .sc-body{position:relative;z-index:2;padding:20px 22px;color:#fff}
.sector-card .sc-body b{display:block;font-size:1.05rem;font-weight:800;margin-bottom:4px}
.sector-card .sc-body span{font-size:.76rem;color:#e2e8f0;font-weight:600}

/* Grupos de productos por modalidad */
.modality-group{margin-bottom:56px}
.modality-head{display:flex;align-items:center;gap:14px;max-width:1180px;margin:0 auto 24px;flex-wrap:wrap}
.modality-head .mh-badge{font-size:.7rem;font-weight:800;letter-spacing:.5px;text-transform:uppercase;padding:6px 14px;border-radius:20px}
.mh-badge.empresarial{background:var(--pri-light);color:var(--pri)}
.mh-badge.autoservicio{background:#dcfce7;color:#15803d}
.modality-head h3{font-size:1.35rem;font-weight:800;color:var(--text);letter-spacing:-.3px}
.modality-head p{font-size:.85rem;color:var(--muted);width:100%;margin-top:-8px}
.prod-medlite{--accent:#006FC6}
.brand-strip{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:8px;align-items:stretch}
.brand-strip .bs-item{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px 20px;min-width:92px;transition:.2s;box-shadow:var(--shadow-sm)}
.brand-strip .bs-item img{height:42px;width:auto;transition:.2s}
.brand-strip .bs-item span{font-size:.72rem;font-weight:800;color:var(--pri);letter-spacing:.5px}
.brand-strip .bs-item:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:#cbd5e1}
.brand-strip-caption{margin-top:18px;font-size:.82rem;color:var(--muted);font-weight:600}

/* Barra de cifras del ecosistema */
.eco-numbers{padding:52px 32px;background:#fff;border-bottom:1px solid var(--border)}
.eco-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:26px;max-width:980px;margin:0 auto}
.eco-stat{text-align:center}
.eco-stat b{display:block;font-size:2.6rem;font-weight:900;color:var(--pri);line-height:1;letter-spacing:-1px}
.eco-stat span{display:block;margin-top:8px;font-size:.8rem;color:var(--muted);font-weight:600}

/* Qué hacemos */
.what-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:22px}
.what-item{background:var(--bg);border:1px solid var(--border);border-radius:16px;padding:28px 26px;transition:.2s}
.what-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.what-item .wi-icon{width:52px;height:52px;border-radius:14px;background:var(--pri-light);color:var(--pri);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.what-item h4{font-size:1.02rem;font-weight:800;color:var(--text);margin-bottom:8px;letter-spacing:-.2px}
.what-item p{font-size:.87rem;color:var(--muted);line-height:1.6}

/* Quiénes somos */
.who-section{background:var(--pri-dark)}
.who-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;align-items:center}
.who-list{list-style:none;display:flex;flex-direction:column;gap:11px}
.who-list li{display:flex;align-items:center;gap:10px;font-size:.87rem;color:#e2e8f0;font-weight:600}
.who-list li svg{color:#6ee7b7;flex:none}
.who-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.who-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:22px 20px;text-align:center}
.who-card b{display:block;font-size:1.05rem;color:#fff;font-weight:800;margin-bottom:6px}
.who-card span{font-size:.72rem;color:#94a3b8;font-weight:600;letter-spacing:.4px}
@media(max-width:860px){.who-grid{grid-template-columns:1fr}}
.btn{padding:13px 28px;border-radius:10px;text-decoration:none;font-weight:700;font-size:.9rem;transition:all .2s;display:inline-flex;align-items:center;gap:8px;cursor:pointer;border:none;font-family:inherit}
.btn-primary{background:var(--pri);color:#fff;box-shadow:0 4px 14px rgba(63,73,91,.2)}
.btn-primary:hover{background:var(--pri-dark);transform:translateY(-1px)}
.btn-outline{border:2px solid var(--pri);color:var(--pri);background:transparent}
.btn-outline:hover{background:var(--pri);color:#fff}

.section{padding:80px 32px}
.section .container{max-width:1180px;margin:0 auto}
.section-label{color:var(--pri);font-weight:700;font-size:.75rem;text-transform:uppercase;letter-spacing:2.5px;margin-bottom:10px;text-align:center}
.section h2{font-size:2rem;font-weight:800;color:var(--text);margin-bottom:12px;letter-spacing:-.3px;text-align:center}
.section .subtitle{color:var(--muted);font-size:.95rem;max-width:620px;margin:0 auto 52px;line-height:1.6;text-align:center}

.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:26px}
.product-card{background:var(--card);border-radius:16px;padding:0;box-shadow:var(--shadow-sm);border:1px solid var(--border);border-top:5px solid var(--accent);transition:all .25s;display:flex;flex-direction:column;overflow:hidden}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:#cbd5e1;border-top-color:var(--accent)}
.product-card .pc-body{padding:28px 26px;display:flex;flex-direction:column;flex:1}
.product-card .pc-head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.product-card .pc-logo{width:52px;height:52px;flex:none;display:flex;align-items:center;justify-content:center}
.product-card .pc-logo img{max-width:100%;max-height:100%}
.product-card h3{font-size:1.15rem;font-weight:800;color:var(--accent-text,var(--accent));letter-spacing:-.2px}
.product-card .pc-tag{font-size:.72rem;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-top:2px}
.product-card p.pc-desc{color:var(--muted);font-size:.85rem;line-height:1.55;margin-bottom:18px}
.product-card ul.pc-features{list-style:none;margin-bottom:22px;flex:1}
.product-card ul.pc-features li{display:flex;align-items:flex-start;gap:8px;font-size:.8rem;color:var(--text);padding:5px 0}
.product-card ul.pc-features li svg{color:var(--accent);flex:none;margin-top:2px;width:14px;height:14px}
.product-card .pc-cta{display:block;text-align:center;justify-content:center;background:var(--accent);color:var(--accent-text,#fff);font-size:.85rem;padding:12px 20px;border-radius:10px;font-weight:700;text-decoration:none;transition:.2s}
.product-card .pc-cta:hover{filter:brightness(0.92);transform:translateY(-1px)}
.product-card .pc-model{font-size:.68rem;color:var(--muted);text-align:center;margin-top:10px;font-weight:600}
.product-card .pc-more{display:block;text-align:center;font-size:.76rem;color:var(--accent-text,var(--accent));font-weight:700;margin-top:10px;text-decoration:none}
.product-card .pc-more:hover{text-decoration:underline}

.prod-med{--accent:#006FC6}
.prod-audit{--accent:#51238B}
.prod-plan{--accent:#ECBF45;--accent-text:#5C4400}
.prod-finan{--accent:#041537}
.prod-terra{--accent:#2D6A4F}
.prod-sol,.prod-cont{--accent:#C2410C}
.prod-plan .pc-cta{--accent-text:#5C4400}

.demo-section{background:var(--pri-dark);color:#fff}
.demo-section .section-label{color:#93c5fd}
.demo-section h2{color:#fff}
.demo-section .subtitle{color:#cbd5e1}
.demo-form{max-width:640px;margin:0 auto;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:36px}
.demo-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.demo-form label{display:block;font-size:.78rem;color:#cbd5e1;margin-bottom:6px;font-weight:600}
.demo-form input,.demo-form select,.demo-form textarea{width:100%;padding:11px 14px;border-radius:8px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;font-family:inherit;font-size:.85rem}
.demo-form input::placeholder,.demo-form textarea::placeholder{color:#94a3b8}
.demo-form input:focus,.demo-form select:focus,.demo-form textarea:focus{outline:none;border-color:#93c5fd;background:rgba(255,255,255,.1)}
.demo-form select option{color:#1e293b}
.demo-form .full{grid-column:1/-1;margin-bottom:14px}
.demo-form textarea{resize:vertical;min-height:80px}
.demo-form button{width:100%;margin-top:6px}
.demo-form .honeypot{position:absolute;left:-9999px;opacity:0}
.form-msg{margin-top:16px;padding:12px 16px;border-radius:8px;font-size:.85rem;display:none}
.form-msg.ok{background:rgba(34,197,94,.15);border:1px solid rgba(34,197,94,.3);color:#bbf7d0;display:block}
.form-msg.err{background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.3);color:#fecaca;display:block}

footer{background:var(--pri-dark);color:#94a3b8;padding:56px 32px 28px}
footer .foot-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:36px}
footer h5{color:#fff;font-size:.92rem;margin-bottom:14px;font-weight:700}
footer a{color:#94a3b8;text-decoration:none;font-size:.8rem;display:block;margin:5px 0;transition:color .15s}
footer a:hover{color:#fff}
footer .foot-bot{max-width:1180px;margin:40px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.06);text-align:center;font-size:.75rem}

.has-js .reveal.reveal-ready{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease}
.has-js .reveal.reveal-ready.in{opacity:1;transform:none}

/* ============ Páginas de producto individual ============ */
.breadcrumb{max-width:1180px;margin:0 auto;padding:88px 32px 0;font-size:.8rem;color:var(--muted)}
.breadcrumb a{color:var(--pri);text-decoration:none;font-weight:600}
.breadcrumb a:hover{text-decoration:underline}

.product-hero{padding:40px 32px 70px}
.product-hero .ph-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.product-hero .ph-logo{width:64px;height:64px;margin-bottom:20px}
.product-hero .ph-logo img{max-width:100%;max-height:100%}
.product-hero .ph-tag{color:var(--accent);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:2.5px;margin-bottom:12px}
.product-hero h1{font-size:2.5rem;font-weight:900;color:var(--pri);line-height:1.15;margin-bottom:20px;letter-spacing:-1px}
.product-hero p.sub{font-size:1.02rem;color:var(--muted);margin-bottom:30px;max-width:480px}
.product-hero .ph-cta{display:flex;gap:14px;flex-wrap:wrap}
.product-hero .btn-primary{background:var(--accent);color:var(--accent-text,#fff);box-shadow:0 4px 14px rgba(0,0,0,.12)}
.product-hero .btn-primary:hover{filter:brightness(0.92)}
.product-hero .ph-photo{border-radius:16px;overflow:hidden;box-shadow:var(--shadow-md);border:1px solid var(--border);line-height:0}
.product-hero .ph-photo img{width:100%;height:auto;display:block}
@media(max-width:860px){.product-hero .ph-inner{grid-template-columns:1fr}.product-hero .ph-photo{order:-1}}

.diff-section{background:var(--pri-dark);color:#fff}
.diff-section .section-label{color:#93c5fd}
.diff-section h2{color:#fff}
.diff-section .subtitle{color:#cbd5e1}
.diff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.diff-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:24px}
.diff-card .dc-num{font-size:1.6rem;font-weight:900;color:var(--accent2,#93c5fd);margin-bottom:10px;display:block}
.diff-card h4{font-size:.95rem;font-weight:700;color:#fff;margin-bottom:8px}
.diff-card p{font-size:.82rem;color:#cbd5e1;line-height:1.55}
.diff-note{max-width:760px;margin:36px auto 0;font-size:.75rem;color:#94a3b8;text-align:center;line-height:1.6}

.stats-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;max-width:900px;margin:0 auto}
.stat-item{text-align:center}
.stat-item b{display:block;font-size:2rem;font-weight:900;color:var(--accent-text,var(--accent))}
.stat-item span{font-size:.78rem;color:var(--muted);font-weight:600}

.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:18px}
.feature-item{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px 24px;transition:.2s}
.feature-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:#cbd5e1}
.feature-item .fi-icon{width:46px;height:46px;border-radius:12px;background:color-mix(in srgb, var(--accent) 14%, white);color:var(--accent);display:flex;align-items:center;justify-content:center;flex:none}
.feature-item p{margin:0;font-size:.94rem;font-weight:600;color:var(--text);line-height:1.5}

.spotlight-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.spotlight-photo{border-radius:16px;overflow:hidden;box-shadow:var(--shadow-md);border:1px solid var(--border);line-height:0;height:420px}
.spotlight-photo img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:800px){.spotlight-photo{height:300px}}
.spotlight-list{list-style:none;display:flex;flex-direction:column;gap:12px}
.spotlight-list li{display:flex;align-items:center;gap:10px;font-size:.88rem;color:var(--text);font-weight:500}
.spotlight-list li svg{color:var(--accent);flex:none}
@media(max-width:800px){.spotlight-grid{grid-template-columns:1fr}.spotlight-photo{order:-1}}

@media(max-width:800px){
  .hero h1{font-size:2rem}
  .section h2{font-size:1.6rem}
  .demo-form .form-row{grid-template-columns:1fr}
  nav .nav-links a:not(.btn-nav){display:none}
  .product-hero h1{font-size:1.9rem}
}
