/* Arte y Estrategia Química — Hoja de estilos principal */

:root{
  --blue-deep:#122c50;
  --blue-royal:#1f3f66;
  --blue-mid:#3d7bd6;
  --blue-bright:#5b9bf7;
  --blue-pastel:#eaf2fc;
  --blue-pastel-2:#d3e6fb;
  --red-accent:#c1272d;
  --red-bright:#e2454b;
  --red-deep:#8f1a1f;
  --red-pastel:#fbe2df;
  --red-pastel-2:#f7c9c4;
  --slate:#2d3745;
  --black:#0d0f14;
  --black-soft:#171b24;
  --ink:#182130;
  --ink-soft:#5b6779;
  --ink-faint:#6b7688;
  --paper:#fffdfb;
  --white:#ffffff;
  --surface-blue:#eef4fc;
  --line:#ecebe6;
  --shadow:0 24px 50px -22px rgba(18,44,80,.24);
  --shadow-sm:0 10px 24px -14px rgba(18,44,80,.18);
  --ease:cubic-bezier(.22,.7,.24,1);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Nunito Sans',sans-serif; color:var(--ink); background:var(--white); line-height:1.65; overflow-x:hidden;}
h1,h2,h3,h4{font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:-0.01em; color:var(--ink);}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1520px; margin:0 auto; padding:0 4vw;}
section{padding:110px 0; position:relative;}
@media(max-width:900px){ section{padding:70px 0;} }

::selection{background:var(--red-pastel-2); color:var(--ink);}

:focus-visible{outline:2.5px solid var(--blue-mid); outline-offset:3px; border-radius:4px;}
.btn:focus-visible, .chip:focus-visible, .line-tab-btn:focus-visible{outline-offset:2px;}

.badge{display:inline-flex; align-items:center; gap:9px; background:var(--white); border:1px solid var(--line); padding:9px 20px; border-radius:999px; font-size:.92rem; font-weight:700; color:var(--blue-deep); box-shadow:var(--shadow-sm); margin-bottom:22px;}
.badge .dot{width:7px; height:7px; border-radius:50%; background:var(--red-accent); box-shadow:0 0 0 0 rgba(193,39,45,.5); animation:badge-pulse 2.2s ease-in-out infinite;}
@keyframes badge-pulse{ 0%{box-shadow:0 0 0 0 rgba(193,39,45,.45);} 70%{box-shadow:0 0 0 6px rgba(193,39,45,0);} 100%{box-shadow:0 0 0 0 rgba(193,39,45,0);} }
@media(prefers-reduced-motion: reduce){ .badge .dot{animation:none;} }

.btn{display:inline-flex; align-items:center; gap:9px; padding:16px 32px; border-radius:999px; font-weight:700; font-size:1.03rem; cursor:pointer; border:2px solid transparent; white-space:nowrap; transition:transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease), background-position .7s var(--ease), color .4s var(--ease);}
.btn-primary{background-color:var(--red-accent); background-image:linear-gradient(115deg, transparent 45%, rgba(255,255,255,.55) 50%, transparent 55%); background-size:260% 100%; background-position:150% 0; background-repeat:no-repeat; color:#fff; box-shadow:0 16px 30px -14px rgba(193,39,45,.55);}
.btn-primary:hover{transform:translateY(-3px) scale(1.03); box-shadow:0 24px 40px -14px rgba(193,39,45,.65); background-position:-60% 0;}
.btn-outline{background:transparent; border-color:var(--ink); color:var(--ink);}
.btn-outline:hover{background:var(--ink); color:#fff; transform:translateY(-3px); box-shadow:0 16px 28px -16px rgba(13,15,20,.5);}
.btn-white{background-color:#fff; background-image:linear-gradient(115deg, transparent 45%, rgba(31,63,102,.14) 50%, transparent 55%); background-size:260% 100%; background-position:150% 0; background-repeat:no-repeat; color:var(--blue-deep);}
.btn-white:hover{transform:translateY(-3px); box-shadow:var(--shadow); background-position:-60% 0;}
.btn-dark{background-color:var(--black); background-image:linear-gradient(115deg, transparent 45%, rgba(255,255,255,.22) 50%, transparent 55%); background-size:260% 100%; background-position:150% 0; background-repeat:no-repeat; color:#fff;}
.btn-dark:hover{background-color:#2a303c; transform:translateY(-3px); box-shadow:0 16px 28px -16px rgba(13,15,20,.5); background-position:-60% 0;}
.btn-ghost-light{background-color:rgba(255,255,255,.1); background-image:linear-gradient(115deg, transparent 45%, rgba(255,255,255,.4) 50%, transparent 55%); background-size:260% 100%; background-position:150% 0; background-repeat:no-repeat; border-color:rgba(255,255,255,.4); color:#fff; backdrop-filter:blur(6px);}
.btn-ghost-light:hover{background-color:rgba(255,255,255,.22); transform:translateY(-3px); background-position:-60% 0;}
.btn:active{transform:translateY(-1px) scale(.96) !important; transition-duration:.15s;}

/* ===== NAV ===== */
header{position:sticky; top:0; z-index:100; background:rgba(255,253,251,.85); backdrop-filter:blur(12px); border-bottom:1px solid var(--line);}
.nav-inner{max-width:1520px; margin:0 auto; padding:10px 4vw; display:flex; align-items:center; justify-content:space-between;}
.brand img{height:80px;}
nav ul{display:flex; gap:4px; list-style:none;}
nav a{font-size:1rem; font-weight:700; color:var(--ink-soft); padding:10px 14px; border-radius:999px; display:block; transition:.3s; white-space:nowrap;}
nav a:hover{background:var(--blue-pastel); color:var(--blue-deep);}
.nav-cta{display:flex; align-items:center; gap:8px; flex-shrink:0;}
.menu-toggle{display:none; background:var(--blue-pastel); border:none; border-radius:10px; padding:10px; cursor:pointer; min-width:44px; min-height:44px; flex-direction:column; align-items:center; justify-content:center;}
.menu-toggle span{display:block; width:20px; height:2px; background:var(--blue-deep); margin:4px 0;}
@media(max-width:1080px){
  nav{position:fixed; top:14px; right:14px; left:auto; bottom:auto; height:auto; max-height:calc(100vh - 28px); width:80%; max-width:300px; background:var(--white); padding:20px 18px; overflow-y:auto; border-radius:22px; transform:translateY(-16px) scale(.96); opacity:0; pointer-events:none; transition:transform .35s var(--ease), opacity .3s var(--ease); z-index:101; box-shadow:0 24px 60px -18px rgba(13,15,20,.35);}
  nav.open{transform:translateY(0) scale(1); opacity:1; pointer-events:auto;}
  nav ul{flex-direction:column; gap:4px;}
  nav a{padding:14px 16px;}
  .nav-close{display:flex; align-items:center; justify-content:center; width:36px; height:36px; margin:0 0 10px auto; background:var(--blue-pastel); color:var(--blue-deep); border:none; border-radius:10px; cursor:pointer;}
  .nav-close svg{width:18px; height:18px;}
  .nav-backdrop{position:fixed; inset:0; background:rgba(13,15,20,.42); backdrop-filter:blur(2px); opacity:0; pointer-events:none; transition:opacity .35s var(--ease); z-index:98;}
  .nav-backdrop.open{opacity:1; pointer-events:auto;}
  .nav-cta .btn-outline{display:none;}
  .menu-toggle{display:flex; position:relative; z-index:100;}
}
@media(min-width:1081px){ .nav-close, .nav-backdrop{display:none;} }

/* ===== HERO — banner de almacén con overlay ===== */
.hero{padding:0; overflow:hidden; position:relative;}
.hero-media{position:relative; width:100%; min-height:82vh; max-height:760px; overflow:hidden;}
.hero-media img{width:100%; height:100%; object-fit:cover; object-position:center 38%; position:absolute; inset:0;}
.hero-media::after{content:""; position:absolute; inset:0; background:linear-gradient(105deg, rgba(15,18,24,.94) 0%, rgba(18,28,44,.86) 26%, rgba(31,63,102,.58) 50%, rgba(31,63,102,.2) 74%, rgba(15,18,24,.08) 100%);}
.hero-content{position:absolute; inset:0; display:flex; align-items:center; z-index:2;}
.hero-content .wrap{width:100%;}
.hero-text{max-width:600px; color:#fff;}
.hero-text .badge{background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.28); color:#fff;}
.hero-text h1{color:#fff; font-size:clamp(2.1rem,4vw,3.4rem); line-height:1.14; margin-bottom:20px;}
.hero-text h1 .accent{color:var(--red-bright);}
.hero-text p.lead{font-size:1.16rem; color:#dbe4f0; max-width:500px; margin-bottom:32px;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap;}
@media(max-width:600px){ .hero-media{min-height:640px;} .hero-actions{flex-direction:column;} .hero-actions .btn{width:100%; justify-content:center;} }

.hero-stats{
  max-width:1300px; margin:-64px auto 0; position:relative; z-index:5;
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.hs-card{background:var(--white); border:1.5px solid var(--line); border-radius:20px; box-shadow:var(--shadow-sm); padding:28px 26px; display:flex; flex-direction:column; text-align:left; transition:transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);}
.hs-card:hover{transform:translateY(-8px); box-shadow:0 30px 56px -20px rgba(193,39,45,.3), var(--shadow); border-color:var(--red-accent);}
.hs-ic-wrap{width:52px; height:52px; border-radius:16px; background:var(--red-pastel); color:var(--red-accent); display:flex; align-items:center; justify-content:center; margin-bottom:18px; transition:transform .45s var(--ease), background .4s, color .4s;}
.hs-ic-wrap svg{width:24px; height:24px;}
.hs-card:hover .hs-ic-wrap{transform:scale(1.12) rotate(-6deg); background:var(--red-accent); color:#fff;}
.hs-num{font-family:'Poppins'; font-weight:800; font-size:1.6rem; color:var(--ink); line-height:1.15;}
.hs-label{font-family:'Poppins'; font-weight:700; font-size:.96rem; color:var(--ink-soft); margin-top:3px;}
.hs-caption{font-size:.88rem; color:var(--ink-faint); margin-top:2px;}
@media(max-width:900px){ .hero-stats{margin-top:-40px; grid-template-columns:repeat(2,1fr); gap:14px;} }
@media(max-width:560px){
  .hero-stats{grid-template-columns:repeat(2,1fr); gap:10px;}
  .hs-card{padding:14px 14px; border-radius:14px;}
  .hs-ic-wrap{width:34px; height:34px; border-radius:10px; margin-bottom:8px;}
  .hs-ic-wrap svg{width:16px; height:16px;}
  .hs-num{font-size:1.15rem;}
  .hs-label{font-size:.8rem; margin-top:1px;}
  .hs-caption{font-size:.72rem; margin-top:1px;}
}

/* ===== SECTION HEAD ===== */
.shead{max-width:820px; margin:0 auto 56px; text-align:center;}
.shead.left{text-align:left; margin:0 0 50px;}
.shead h2{font-size:clamp(1.8rem,3.2vw,2.5rem); margin:0 auto 14px; position:relative; display:block; width:fit-content; max-width:100%; text-wrap:balance;}
.shead h2::after{content:""; display:block; height:4px; width:0; margin:14px auto 0; border-radius:99px; background:linear-gradient(90deg, var(--red-accent), var(--blue-mid)); transition:width .8s var(--ease) .15s;}
.shead.left h2{margin:0 0 14px; width:auto;}
.shead.left h2::after{margin:14px 0 0;}
.shead.reveal.in h2::after{width:74px;}
.shead p{color:var(--ink-soft); font-size:1.13rem; max-width:700px; margin:0 auto; text-wrap:pretty;}
#nosotros .shead p{max-width:780px;}
.shead.left p{margin:0;}

/* ===== RITMO DE FONDOS ALTERNADOS (blanco / azul claro) ===== */
#testimonios{background:var(--surface-blue);}
#contacto{background:var(--surface-blue);}

/* ===== STAGGER — revelado escalonado de tarjetas dentro de grids ===== */
.stagger > *{opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease);}
.stagger.reveal.in > *{opacity:1; transform:none;}
.stagger > *:nth-child(1){transition-delay:.02s;}
.stagger > *:nth-child(2){transition-delay:.09s;}
.stagger > *:nth-child(3){transition-delay:.16s;}
.stagger > *:nth-child(4){transition-delay:.23s;}
.stagger > *:nth-child(5){transition-delay:.3s;}
.stagger > *:nth-child(6){transition-delay:.37s;}


/* ===== PRODUCTOS POR INDUSTRIA ===== */
.service-band{background:var(--surface-blue); position:relative; overflow:hidden;}

/* --- Pasos de uso --- */
.prod-intro-grid{display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; max-width:1140px; margin:0 auto 40px; position:relative; z-index:1;}
@media(max-width:900px){ .prod-intro-grid{grid-template-columns:1fr; gap:32px;} }

.prod-col-tag{display:inline-flex; align-items:center; font-family:'Poppins'; font-weight:800; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--red-accent); background:var(--red-pastel); padding:5px 12px; border-radius:99px; margin:0 0 10px -12px;}
.prod-tabs-col .prod-col-tag{color:var(--blue-deep); background:var(--blue-pastel);}
.prod-col-title{font-family:'Poppins'; font-weight:800; font-size:1.2rem; color:var(--ink); margin-bottom:6px;}
.prod-col-sub{font-size:.92rem; color:var(--ink-soft); margin-bottom:18px; line-height:1.45;}

.prod-steps{display:flex; flex-direction:column; gap:14px;}
.prod-step{display:flex; align-items:center; gap:14px; background:var(--white); border:1px solid var(--line); border-radius:18px; padding:16px 18px; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease), box-shadow .4s var(--ease);}
.prod-step:hover{transform:translateY(-4px); box-shadow:var(--shadow);}
.ps-num{width:26px; height:26px; flex-shrink:0; border-radius:50%; background:var(--red-accent); color:#fff; font-family:'Poppins'; font-weight:800; font-size:.82rem; display:flex; align-items:center; justify-content:center;}
.ps-ic{width:38px; height:38px; flex-shrink:0; border-radius:11px; background:var(--blue-pastel); color:var(--blue-deep); display:flex; align-items:center; justify-content:center;}
.ps-ic svg{width:20px; height:20px;}
.prod-step h4{font-family:'Poppins'; font-size:.95rem; font-weight:700; color:var(--ink); margin-bottom:1px;}
.prod-step p{font-size:.82rem; color:var(--ink-soft); line-height:1.35;}

/* --- Tabs de industria --- */
.lines-tabs{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:0; position:relative; z-index:1;}
@media(max-width:520px){ .lines-tabs{grid-template-columns:1fr;} }
.line-tab-btn{display:flex; align-items:center; gap:10px; padding:13px 18px; border-radius:16px; border:1.5px solid transparent; background:var(--white); font-family:'Poppins'; font-weight:700; font-size:.96rem; color:var(--ink-soft); cursor:pointer; transition:.3s var(--ease); text-align:left; width:100%;}
.line-tab-btn .lt-ic{width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; transition:transform .35s var(--ease);}
.line-tab-btn .lt-ic svg{width:19px; height:19px;}
.line-tab-btn:not(.active):hover{transform:translateY(-3px); box-shadow:0 16px 30px -16px rgba(31,63,102,.28); border-color:var(--blue-pastel-2); color:var(--blue-deep);}
.line-tab-btn:hover .lt-ic{transform:scale(1.1) rotate(-4deg);}
.line-tab-btn[data-line="farma"] .lt-ic{background:linear-gradient(150deg,var(--blue-deep),var(--blue-mid));}
.line-tab-btn[data-line="cosme"] .lt-ic{background:linear-gradient(150deg,var(--red-accent),var(--red-deep));}
.line-tab-btn[data-line="alim"] .lt-ic{background:linear-gradient(150deg,var(--blue-mid),var(--blue-deep));}
.line-tab-btn[data-line="ind"] .lt-ic{background:linear-gradient(150deg,var(--slate),var(--black));}
.line-tab-btn span small{display:block; font-weight:600; font-size:.8rem; opacity:.65; margin-top:1px;}
.line-tab-btn.active{background:var(--ink); border-color:var(--ink); color:#fff; box-shadow:var(--shadow-sm); transform:translateY(-2px);}
.line-tab-btn.active span small{opacity:.75;}

/* --- Panel de industria --- */
.line-panel{display:none; position:relative; z-index:1;}
.line-panel.active{display:block; animation:panelIn .45s var(--ease);}
@keyframes panelIn{ from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:none;} }
.line-panel-card{background:var(--white); border-radius:28px; box-shadow:var(--shadow); padding:40px 46px; position:relative; overflow:hidden;}
.line-panel-card::before{content:""; position:absolute; top:0; left:0; right:0; height:5px;}
.line-panel-card[data-accent="farma"]::before{background:linear-gradient(90deg,var(--blue-deep),var(--blue-mid));}
.line-panel-card[data-accent="cosme"]::before{background:linear-gradient(90deg,var(--red-accent),var(--red-deep));}
.line-panel-card[data-accent="alim"]::before{background:linear-gradient(90deg,var(--blue-mid),var(--blue-deep));}
.line-panel-card[data-accent="ind"]::before{background:linear-gradient(90deg,var(--slate),var(--black));}
@media(max-width:700px){ .line-panel-card{padding:26px 22px; border-radius:22px;} }
.line-panel-top{display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; margin-bottom:24px; padding-bottom:24px; border-bottom:1px dashed var(--line);}
.lp-head{display:flex; align-items:flex-start; gap:16px;}
.lp-ic{width:52px; height:52px; flex-shrink:0; border-radius:14px; color:#fff; display:flex; align-items:center; justify-content:center;}
.lp-ic svg{width:26px; height:26px;}
.line-panel-card[data-accent="farma"] .lp-ic{background:linear-gradient(150deg,var(--blue-deep),var(--blue-mid));}
.line-panel-card[data-accent="cosme"] .lp-ic{background:linear-gradient(150deg,var(--red-accent),var(--red-deep));}
.line-panel-card[data-accent="alim"] .lp-ic{background:linear-gradient(150deg,var(--blue-mid),var(--blue-deep));}
.line-panel-card[data-accent="ind"] .lp-ic{background:linear-gradient(150deg,var(--slate),var(--black));}
.line-panel-top h3{font-size:1.5rem; margin-bottom:8px;}
.line-panel-top p{color:var(--ink-soft); max-width:460px; font-size:1.02rem;}
.line-count{text-align:center; background:var(--blue-pastel); border-radius:18px; padding:14px 26px; flex-shrink:0;}
.line-count b{display:block; font-family:'Poppins'; font-size:1.7rem; color:var(--blue-deep); line-height:1;}
.line-count span{font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft);}

/* --- Toolbar: buscador + ayuda --- */
.prod-toolbar{display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:20px;}
.prod-search{position:relative; flex:1 1 280px; min-width:0;}
.ps-search-ic{position:absolute; left:16px; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--ink-faint); pointer-events:none;}
.prod-search-input{width:100%; padding:13px 16px 13px 46px; border-radius:14px; border:1.5px solid var(--line); font-family:'Nunito Sans'; font-size:1rem; background:var(--paper); transition:.3s;}
.prod-search-input:focus{outline:none; border-color:var(--blue-mid); box-shadow:0 0 0 4px var(--blue-pastel); background:#fff;}
.prod-hint{display:inline-flex; align-items:center; gap:8px; font-size:.86rem; font-weight:600; color:var(--blue-deep); background:var(--blue-pastel); padding:9px 16px; border-radius:999px;}
.prod-hint svg{width:17px; height:17px; flex-shrink:0; color:var(--red-accent);}
@media(max-width:560px){ .prod-hint{font-size:.8rem; padding:8px 12px;} }

/* --- Grid de productos --- */
.chip-scroll{max-height:340px; overflow-y:auto; padding:4px 12px 4px 4px; margin-right:-8px; scrollbar-width:thin; scrollbar-color:var(--blue-pastel-2) transparent;}
.chip-scroll::-webkit-scrollbar{width:8px;}
.chip-scroll::-webkit-scrollbar-thumb{background:var(--blue-pastel-2); border-radius:99px;}
.chip-scroll::-webkit-scrollbar-track{background:transparent;}
.chip-grid{display:flex; flex-wrap:wrap; gap:10px;}
.chip{display:inline-flex; align-items:center; gap:0; background:var(--paper); border:1.5px solid var(--line); padding:10px 16px; border-radius:999px; font-size:.88rem; font-weight:600; color:var(--ink); font-family:'Nunito Sans'; white-space:nowrap; transition:background .25s, border-color .25s, color .25s, transform .18s var(--ease), padding .25s var(--ease); cursor:pointer;}
.chip::before{content:""; width:0; height:14px; opacity:0; overflow:hidden; transition:width .25s var(--ease), opacity .2s;}
.chip:hover, .chip:focus-visible{border-color:var(--blue-mid); background:var(--blue-pastel); color:var(--blue-deep); transform:translateY(-2px);}
.chip:active{transform:translateY(0) scale(.96);}
.chip.selected{background:var(--blue-deep); border-color:var(--blue-deep); color:#fff; padding-left:12px;}
.chip.selected::before{content:"✓"; width:16px; opacity:1; margin-right:6px; font-weight:800; color:#8ec5ff;}
.chip.just-added{animation:chipPop .4s var(--ease);}
@keyframes chipPop{ 0%{transform:scale(1);} 45%{transform:scale(1.12);} 100%{transform:scale(1);} }
.chip[hidden]{display:none;}
.chip-empty{padding:24px 4px; color:var(--ink-soft); font-size:.98rem;}
.prod-search-count{font-size:.84rem; color:var(--ink-faint); margin-top:12px; min-height:1em;}

/* --- Bandeja de cotización --- */
.quote-tray{display:none; margin-top:22px; background:var(--white); border:1.5px solid var(--blue-pastel-2); border-radius:22px; box-shadow:var(--shadow); padding:22px 26px; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; position:relative; z-index:1;}
.quote-tray.show{display:flex; animation:trayIn .4s var(--ease);}
@keyframes trayIn{ from{opacity:0; transform:translateY(12px);} to{opacity:1; transform:none;} }
.quote-tray.pulse{animation:trayPulse .5s var(--ease);}
@keyframes trayPulse{ 0%,100%{box-shadow:var(--shadow);} 50%{box-shadow:0 0 0 4px var(--blue-pastel), var(--shadow);} }
.qt-info{flex:1 1 340px; min-width:0;}
.qt-count{display:inline-flex; align-items:center; gap:10px; font-family:'Poppins'; font-weight:700; font-size:1rem; color:var(--ink); margin-bottom:12px;}
.qt-badge{height:30px; padding:0 12px; border-radius:10px; background:var(--red-accent); color:#fff; display:inline-flex; align-items:center; gap:6px; font-size:.92rem; font-weight:800;}
.qt-badge svg{width:16px; height:16px; flex-shrink:0;}
.qt-chips{display:flex; flex-wrap:wrap; gap:8px; max-height:120px; overflow-y:auto;}
.qt-chip{display:inline-flex; align-items:center; gap:7px; background:var(--blue-pastel); color:var(--blue-deep); border:1px solid var(--blue-pastel-2); padding:6px 8px 6px 13px; border-radius:999px; font-size:.82rem; font-weight:600; animation:chipPop .35s var(--ease);}
.qt-chip button{width:18px; height:18px; border:none; border-radius:50%; background:rgba(31,63,102,.14); color:var(--blue-deep); font-size:.9rem; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:.2s;}
.qt-chip button:hover{background:var(--red-accent); color:#fff;}
.qt-actions{display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0;}
.qt-clear{padding:14px 24px;}
@media(max-width:600px){ .qt-actions{width:100%;} .qt-actions .btn{flex:1; justify-content:center;} }

.prod-foot{text-align:center; margin-top:26px; color:var(--ink-soft); font-size:.98rem; position:relative; z-index:1;}
.prod-foot a{color:var(--blue-deep); font-weight:700; text-decoration:underline; text-underline-offset:3px;}
.prod-foot a:hover{color:var(--red-accent);}


/* ===== MISION VISION VALORES ===== */
.mvv-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:34px;}
@media(max-width:900px){ .mvv-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .mvv-grid{grid-template-columns:1fr;} }
.mvv-card{background:var(--white); border:1px solid var(--line); border-radius:22px; padding:36px 28px; position:relative; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;}
.mvv-card:hover{transform:translateY(-8px); box-shadow:0 30px 56px -20px rgba(61,123,214,.32), var(--shadow); border-color:var(--blue-mid);}
.mvv-card .mvv-ic{width:52px; height:52px; border-radius:16px; background:var(--blue-pastel); color:var(--blue-deep); display:flex; align-items:center; justify-content:center; margin-bottom:18px; transition:transform .45s var(--ease), background .4s, color .4s;}
.mvv-card .mvv-ic svg{width:26px; height:26px; animation:mvv-pulse 3.6s ease-in-out infinite;}
.mvv-card:nth-child(1) .mvv-ic svg{animation-delay:0s;}
.mvv-card:nth-child(2) .mvv-ic svg{animation-delay:.3s;}
.mvv-card:nth-child(3) .mvv-ic svg{animation-delay:.6s;}
.mvv-card:nth-child(4) .mvv-ic svg{animation-delay:.9s;}
@keyframes mvv-pulse{ 0%,100%{transform:scale(1);} 50%{transform:scale(1.1);} }
.mvv-card:hover .mvv-ic{transform:scale(1.12) rotate(-6deg); background:var(--blue-mid); color:#fff;}
.mvv-card:hover .mvv-ic svg{animation-play-state:paused;}
.mvv-card h3{font-size:1.05rem; margin-bottom:10px;}
.mvv-card p{font-size:.96rem; color:var(--ink-soft); text-align:justify;}

/* ===== CALIDAD Y SEGURIDAD ===== */
.cert-section{background:var(--surface-blue); position:relative;}
.cert-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:20px; position:relative; z-index:1;}
@media(max-width:900px){ .cert-grid{grid-template-columns:repeat(3,1fr);} }
@media(max-width:560px){ .cert-grid{grid-template-columns:repeat(2,1fr);} }
.cert-card{background:var(--white); border:1px solid var(--line); border-radius:20px; padding:28px 16px; text-align:center; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;}
.cert-card:hover{transform:translateY(-8px); box-shadow:0 30px 56px -20px rgba(61,123,214,.3), var(--shadow); border-color:var(--blue-mid);}
.cert-logo-box{height:72px; display:flex; align-items:center; justify-content:center; margin:0 auto 16px;}
.cert-logo-box img{max-height:100%; max-width:100%; object-fit:contain; animation:cert-float 5s ease-in-out infinite; animation-delay:calc(var(--i, 0) * .35s);}
.cert-card:hover .cert-logo-box img{animation-play-state:paused; transform:scale(1.14) rotate(-3deg); transition:transform .4s var(--ease);}
.cert-card:nth-child(1) .cert-logo-box img{--i:0;}
.cert-card:nth-child(2) .cert-logo-box img{--i:1;}
.cert-card:nth-child(3) .cert-logo-box img{--i:2;}
.cert-card:nth-child(4) .cert-logo-box img{--i:3;}
.cert-card:nth-child(5) .cert-logo-box img{--i:4;}
.cert-card:nth-child(6) .cert-logo-box img{--i:5;}
@keyframes cert-float{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
.cert-card b{display:block; font-family:'Poppins'; font-weight:800; font-size:.92rem; color:var(--blue-deep); letter-spacing:.02em;}
.cert-card span{font-size:.82rem; color:var(--ink-soft); display:block; margin-top:4px;}
.cert-note{max-width:760px; margin:46px auto 0; text-align:center; color:var(--ink-soft); font-size:1.02rem; line-height:1.75; position:relative; z-index:1;}

/* ===== TESTIMONIAL ===== */
.testi-card{max-width:820px; margin:0 auto; background:var(--white); border-radius:28px; padding:56px; text-align:center; box-shadow:var(--shadow); position:relative;}
.testi-card .quote-mark{font-family:'Poppins'; font-size:5rem; color:var(--red-pastel-2); line-height:1; margin-bottom:-20px;}
.testi-card p{font-size:1.3rem; font-family:'Poppins'; font-weight:500; color:var(--ink); margin-bottom:26px; line-height:1.5;}
.testi-card .who{display:flex; align-items:center; justify-content:center; gap:12px;}
.testi-card .av{width:48px; height:48px; border-radius:50%; background:var(--blue-deep); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-family:'Poppins';}
.testi-card .who b{display:block; font-size:1rem;}
.testi-card .who span{font-size:.88rem; color:var(--ink-soft);}
.testi-dots{display:flex; justify-content:center; gap:2px; margin-top:22px;}
.testi-dots button{width:32px; height:44px; padding:0; background:transparent; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.testi-dots button::before{content:""; display:block; width:9px; height:9px; border-radius:50%; background:var(--line); transition:.3s;}
.testi-dots button.active::before{background:var(--red-accent); width:24px; border-radius:6px;}
.testi-slide{display:none;}
.testi-slide.active{display:block; animation:fadeIn .5s ease;}
@keyframes fadeIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1;} }

/* ===== CTA BANNER dividido (contenido + imagen) ===== */
.cta-split{background:linear-gradient(135deg, var(--blue-deep), var(--blue-royal)); border-radius:34px; overflow:hidden; display:grid; grid-template-columns:1.05fr .95fr; box-shadow:var(--shadow);}
.cta-split-content{padding:56px clamp(30px,4vw,60px); display:flex; flex-direction:column; align-items:flex-start;}
.cta-badge{background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.28); color:#fff; margin-bottom:20px;}
.cta-split h2{color:#fff; font-size:clamp(1.7rem,3vw,2.35rem); margin-bottom:16px; text-wrap:balance;}
.cta-split > .cta-split-content p{color:#c9d8ec; font-size:1.06rem; margin-bottom:24px; max-width:480px;}
.cta-points{list-style:none; display:grid; gap:12px; margin-bottom:32px;}
.cta-points li{display:flex; align-items:center; gap:12px; color:#e7edf6; font-size:1rem;}
.cta-check{width:26px; height:26px; flex-shrink:0; border-radius:50%; background:var(--red-accent); color:#fff; display:flex; align-items:center; justify-content:center;}
.cta-check svg{width:15px; height:15px;}
.cta-split .cta-actions{display:flex; gap:16px; flex-wrap:wrap;}
.cta-split-media{position:relative; min-height:100%; overflow:hidden;}
.cta-split-media img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; transition:transform 1.1s var(--ease);}
.cta-split:hover .cta-split-media img{transform:scale(1.05);}
.cta-split-media::before{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, var(--blue-deep) 0%, rgba(18,44,80,.55) 22%, rgba(18,44,80,.08) 55%, transparent 100%);}
.cta-media-chip{position:absolute; z-index:2; left:20px; bottom:20px; display:inline-flex; align-items:center; gap:8px; background:rgba(13,15,20,.55); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.22); color:#fff; font-size:.86rem; font-weight:700; padding:9px 16px; border-radius:999px;}
.cta-media-chip svg{width:17px; height:17px; color:#ff8f8a;}
@media(max-width:820px){
  .cta-split{grid-template-columns:1fr;}
  .cta-split-media{min-height:230px; order:-1;}
  .cta-split-media::before{background:linear-gradient(180deg, transparent 40%, rgba(18,44,80,.5) 78%, var(--blue-deep) 100%);}
  .cta-media-chip{left:18px; bottom:16px;}
}

/* ===== FAQ ===== */
.faq-list{max-width:800px; margin:0 auto; display:grid; gap:14px;}
.faq-item{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:6px 28px; transition:border-color .3s, box-shadow .3s;}
.faq-item[open]{box-shadow:var(--shadow-sm); border-color:var(--blue-pastel-2);}
.faq-item summary{padding:18px 34px 18px 0; cursor:pointer; list-style:none; position:relative;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; position:absolute; right:2px; top:50%; transform:translateY(-50%); width:26px; height:26px; border-radius:50%; background:var(--blue-pastel); color:var(--blue-deep); font-family:'Poppins'; font-weight:700; font-size:1.05rem; display:flex; align-items:center; justify-content:center; transition:transform .3s var(--ease), background .3s;}
.faq-item[open] summary::after{content:"−"; background:var(--red-pastel-2); color:var(--red-accent); transform:translateY(-50%) rotate(180deg);}
.faq-item h3{font-size:1rem; color:var(--blue-deep); font-weight:700;}
.faq-item p{font-size:1rem; color:var(--ink-soft); padding:0 0 22px;}

/* ===== CONTACT ===== */
.contact-grid{display:grid; grid-template-columns:.92fr 1.08fr; gap:64px; align-items:start;}
@media(max-width:900px){ .contact-grid{grid-template-columns:1fr; gap:44px;} }

.contact-items{display:grid; gap:22px;}
.contact-item{display:flex; align-items:flex-start; gap:16px;}
.ci-icon{width:48px; height:48px; border-radius:14px; background:var(--blue-deep); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .4s var(--ease), background .4s var(--ease);}
.ci-icon svg{width:22px; height:22px;}
.contact-item:hover .ci-icon{transform:scale(1.08) rotate(-4deg); background:var(--red-accent);}
.contact-item h4{font-family:'Poppins'; font-size:.98rem; font-weight:700; color:var(--ink); margin-bottom:3px;}
.contact-item p{font-size:.96rem; color:var(--ink-soft); overflow-wrap:break-word;}
.contact-item{min-width:0;}
.contact-item > div:last-child{min-width:0;}
.contact-item p a{color:var(--ink-soft); transition:color .25s;}
.contact-item p a:hover{color:var(--red-accent);}

.contact-form-card{background:var(--white); border-radius:28px; box-shadow:var(--shadow); padding:44px; border:1.5px solid transparent; transition:box-shadow .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);}
.contact-form-card:hover{transform:translateY(-4px); box-shadow:0 34px 60px -22px rgba(31,63,102,.22), var(--shadow);}
.contact-form-card:focus-within{border-color:var(--blue-mid); box-shadow:0 0 0 5px var(--blue-pastel), 0 34px 60px -22px rgba(31,63,102,.22);}
@media(max-width:900px){ .contact-form-card{padding:30px;} }
.contact-form-card h3{font-size:1.35rem; margin-bottom:24px;}

.whatsapp-link{display:inline-flex; align-items:center; gap:7px; color:#25D366; font-weight:700; transition:transform .3s var(--ease), color .3s;}
.whatsapp-link svg{width:18px; height:18px; flex-shrink:0;}
.contact-item p a.whatsapp-link:hover{color:#1da851; transform:translateX(2px);}
form{display:grid; gap:16px;}
.form-required-note{font-size:.86rem; color:var(--ink-faint); margin:-4px 0 0;}
.req{color:var(--red-accent); font-weight:800;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
@media(max-width:560px){ .form-row{grid-template-columns:1fr;} }
label{font-size:.84rem; font-weight:700; color:var(--ink-soft); display:block; margin-bottom:7px; text-transform:uppercase; letter-spacing:.04em;}
input, select, textarea{width:100%; padding:13px 16px; border-radius:14px; border:1.5px solid var(--line); font-family:'Nunito Sans'; font-size:1.02rem; background:var(--paper); transition:.3s;}
input:focus, select:focus, textarea:focus{outline:none; border-color:var(--blue-mid); box-shadow:0 0 0 4px var(--blue-pastel); background:#fff;}
textarea{min-height:90px; resize:vertical;}
.radio-group{display:flex; gap:16px; padding-top:12px;}
.radio-option{display:flex; align-items:center; gap:8px; font-size:.98rem;}
.radio-option input{width:auto;}
.form-note{font-size:.86rem; color:var(--ink-faint);}
.form-success{display:none; background:var(--blue-pastel); border:1px solid var(--blue-mid); color:var(--blue-deep); padding:14px 20px; border-radius:14px; font-size:.98rem; font-weight:700;}
.form-success.show{display:block; animation:fadeIn .5s ease;}
.form-error{display:none; background:var(--red-pastel); border:1px solid var(--red-accent); color:var(--red-deep); padding:14px 20px; border-radius:14px; font-size:.98rem; font-weight:700;}
.form-error.show{display:block; animation:fadeIn .5s ease;}
.form-error a{text-decoration:underline;}
.form-error-debug{display:none; margin-top:10px; padding-top:10px; border-top:1px dashed var(--red-accent); font-family:monospace; font-size:.78rem; font-weight:400; white-space:pre-wrap; word-break:break-word; max-height:220px; overflow-y:auto;}
.form-error-debug:not(:empty){display:block;}
.hp-field{position:absolute; left:-9999px; top:-9999px; height:0; width:0; overflow:hidden; opacity:0; pointer-events:none;}
.btn[disabled]{opacity:.65; cursor:not-allowed; pointer-events:none;}

/* ===== FOOTER (negro) ===== */
footer{background:var(--blue-royal); color:#c3d2e6; padding:70px 0 30px; border-top:4px solid var(--red-accent);}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:44px; margin-bottom:54px;}
@media(max-width:800px){ .foot-grid{grid-template-columns:1fr 1fr;} }
.foot-grid img{height:80px; box-sizing:content-box; background:#fff; padding:14px 20px; border-radius:16px; box-shadow:0 16px 34px -16px rgba(0,0,0,.45); margin-bottom:16px;}
.foot-grid p{font-size:.95rem; max-width:280px; color:#aebbcf; text-align:justify;}
.foot-grid h4{color:#fff; font-family:'Poppins'; font-size:.8rem; letter-spacing:.05em; text-transform:uppercase; margin-bottom:16px;}
.foot-grid ul{list-style:none; display:grid; gap:10px;}
.foot-grid a{font-size:.97rem; transition:.3s; overflow-wrap:break-word;}
.foot-grid a:hover{color:#fff;}
.foot-bottom{border-top:1px solid rgba(255,255,255,.14); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.88rem; color:#aebbcf;}
.credit-link{color:#aebbcf; text-decoration:underline; text-underline-offset:2px; transition:color .3s;}
.credit-link:hover, .credit-link:focus-visible{color:#fff;}

.reveal{opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
.reveal.in{opacity:1; transform:translateY(0);}

@media(prefers-reduced-motion: reduce){ *{transition-duration:.001ms !important; animation-duration:.001ms !important;} html{scroll-behavior:auto;} }

/* ===== AJUSTES ESPECÍFICOS PARA CELULAR ===== */
@media(max-width:600px){
  .wrap{padding:0 5.5vw;}
  .nav-inner{padding:8px 5.5vw;}
  .brand img{height:58px;}

  section{padding:56px 0;}
  .badge{font-size:.86rem; padding:8px 16px;}

  .hero-text h1{font-size:1.9rem; line-height:1.18;}
  .hero-text p.lead{font-size:1.1rem; margin-bottom:26px;}


  .shead{margin-bottom:36px;}
  .shead h2{font-size:1.5rem;}
  .shead p{font-size:1.02rem;}

  .lines-tabs{gap:8px;}
  .line-tab-btn{padding:11px 16px; font-size:.9rem;}
  .line-panel-top{flex-direction:column;}
  .line-count{align-self:flex-start;}

  .mvv-grid{gap:16px;}
  .mvv-card{padding:24px 20px;}

  .cert-grid{gap:12px;}
  .cert-card{padding:20px 10px;}

  .testi-card{padding:32px 24px;}
  .testi-card .quote-mark{font-size:3.2rem;}
  .testi-card p{font-size:1.15rem;}

  .cta-split{border-radius:24px;}
  .cta-split-content{padding:38px 24px;}
  .cta-split .cta-actions{flex-direction:column; width:100%;}
  .cta-split .btn{width:100%; justify-content:center;}

  .contact-form-card{border-radius:20px;}
  .form-row{gap:12px;}

  footer{padding:40px 0 20px;}
  .foot-grid{grid-template-columns:1fr 1fr; gap:26px 18px; margin-bottom:24px;}
  .foot-grid > div:first-child{grid-column:1 / -1; margin-bottom:4px;}
  .foot-grid > div:last-child{grid-column:1 / -1;}
  .foot-grid img{height:58px; padding:10px 16px; margin-bottom:10px;}
  .foot-grid p{font-size:.9rem; max-width:100%;}
  .foot-grid h5{font-size:.72rem; margin-bottom:10px;}
  .foot-grid ul{gap:7px;}
  .foot-grid a{font-size:.92rem;}
  .foot-bottom{padding-top:16px; gap:6px; font-size:.82rem; flex-direction:column; text-align:center;}
}
