/* ============================================================
   producto.css — Estilos compartidos para todas las páginas
   de producto de Industry Latam
   industrylatam.com (TOTALMENTE OPTIMIZADO PARA MÓVILES)
============================================================ */

:root {
  --blue:   #2F6B8C;  --blue-dk: #1E4A63;  --blue-lt: #4A9EC4;
  --red:    #D63429;  --red-hv:  #B82D22;
  --sky:    #5BB8E8;  --dark:    #0D1B2A;   --dark2:   #0F2236;
  --dark3:  #112843;  --gray:    #F4F6F8;   --gray-m:  #8A9BAD;
  --text:   #1A2E3B;  --white:   #FFFFFF;
  --fh: 'Barlow Condensed', sans-serif;
  --fb: 'Inter', sans-serif;
  --tr: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAVBAR ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 18px 5%; display: flex; align-items: center; justify-content: space-between; background: var(--dark); box-shadow: 0 2px 20px rgba(0,0,0,.45); transition: var(--tr); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; position: relative; padding-bottom: 4px; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav-links a:hover { color: var(--sky); }
.nav-links a:hover::after { width: 100%; }
.btn-cta { background: var(--red) !important; color: #fff !important; padding: 10px 22px; border-radius: 5px; font-weight: 600 !important; }
.btn-cta::after { display: none !important; }
.btn-cta:hover { background: var(--red-hv) !important; transform: translateY(-1px); }
.nav-hbg { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hbg span { display: block; width: 25px; height: 2px; background: #fff; border-radius: 2px; transition: var(--tr); }
.nav-hbg.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hbg.x span:nth-child(2) { opacity: 0; }
.nav-hbg.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.prod-hero { padding: 118px 5% 72px; position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; }
.ph-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(91,184,232,.1) 0%, transparent 60%), radial-gradient(ellipse at 15% 80%, rgba(47,107,140,.22) 0%, transparent 50%); }
.ph-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(91,184,232,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(91,184,232,.04) 1px, transparent 1px); background-size: 62px 62px; }
.ph-num { position: absolute; right: 4%; bottom: -20px; font-family: var(--fh); font-size: clamp(120px, 18vw, 220px); font-weight: 800; color: rgba(255,255,255,.04); line-height: 1; pointer-events: none; user-select: none; }
.ph-content { position: relative; z-index: 2; max-width: 820px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,.42); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.42); transition: color .2s; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { color: rgba(255,255,255,.2); }
.ph-icon { font-size: 54px; margin-bottom: 16px; display: block; }
.ph-title { font-family: var(--fh); font-size: clamp(48px, 8vw, 90px); font-weight: 800; color: #fff; text-transform: uppercase; line-height: .92; letter-spacing: .01em; margin-bottom: 18px; }
.ph-title span { color: var(--red); }
.ph-sub { font-size: 16px; color: rgba(255,255,255,.58); max-width: 580px; line-height: 1.7; margin-bottom: 28px; }
.ph-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-tag { font-size: 12px; background: rgba(91,184,232,.1); color: var(--sky); padding: 5px 14px; border-radius: 100px; border: 1px solid rgba(91,184,232,.18); }

/* ── OVERVIEW ── */
.overview { padding: 88px 0; background: var(--white); }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.g-main { width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--gray); border: 1px solid rgba(0,0,0,.07); position: relative; }
.g-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-main:hover img { transform: scale(1.04); }
.g-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 88px; background: linear-gradient(135deg, #1a3a2a, #0a2218); }
.g-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.g-thumb { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--gray); border: 2.5px solid transparent; cursor: pointer; transition: border-color .2s; }
.g-thumb.on, .g-thumb:hover { border-color: var(--blue); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.label-tag { display: inline-block; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; position: relative; padding-left: 22px; }
.label-tag::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 2px; background: var(--red); }
.hxl { font-family: var(--fh); font-size: clamp(34px, 4vw, 52px); font-weight: 800; text-transform: uppercase; line-height: .95; margin-bottom: 20px; }
.hxl .r { color: var(--red); }
.body-p { font-size: 15.5px; color: #4A5E71; line-height: 1.85; margin-bottom: 22px; }
.hl-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 34px; }
.hl-row { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--text); line-height: 1.5; }
.hl-row::before { content: '✓'; min-width: 24px; height: 24px; background: var(--dark); color: var(--sky); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.ov-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cot { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 15px 30px; border-radius: 8px; font-family: var(--fh); font-size: 19px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: var(--tr); }
.btn-cot:hover { background: var(--red-hv); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(214,52,41,.4); }
.btn-wa { display: inline-flex; align-items: center; gap: 9px; background: #25D366; color: #fff; padding: 15px 26px; border-radius: 8px; font-family: var(--fh); font-size: 19px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: var(--tr); }
.btn-wa:hover { background: #1eb858; transform: translateY(-2px); }

/* ── SUBCATEGORÍAS ── */
.subcats { padding: 88px 0; background: var(--gray); }
.sub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 52px; }
.sub-card { background: var(--white); border-radius: 14px; padding: 28px 26px 24px; border: 1px solid rgba(0,0,0,.07); transition: var(--tr); display: flex; flex-direction: column; }
.sub-card:hover { border-color: var(--blue); box-shadow: 0 14px 40px rgba(47,107,140,.13); transform: translateY(-5px); }
.sc-num { font-size: 10px; font-weight: 700; color: var(--sky); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.sc-num::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); display: block; flex-shrink: 0; }
.sc-title { font-family: var(--fh); font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; color: var(--text); }
.sc-desc { font-size: 13.5px; color: var(--gray-m); line-height: 1.62; margin-bottom: 18px; flex: 1; }
.sc-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: gap .2s; margin-top: auto; }
.sub-card:hover .sc-cta { gap: 10px; }

/* ── FICHA TÉCNICA ── */
.ficha { padding: 88px 0; background: var(--white); }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 52px; align-items: start; }
.spec-title { font-family: var(--fh); font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; color: var(--text); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:nth-child(even) td { background: var(--gray); }
.spec-table td { padding: 13px 16px; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,.05); vertical-align: top; line-height: 1.5; }
.spec-table td:first-child { font-weight: 600; color: var(--text); width: 44%; }
.spec-table td:last-child { color: #4A5E71; }
.spec-note { background: rgba(47,107,140,.07); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; padding: 14px 18px; font-size: 13.5px; color: #4A5E71; margin-top: 20px; line-height: 1.65; }
.spec-note strong { color: var(--blue); }

/* ── APLICACIONES ── */
.aplicaciones { padding: 88px 0; background: var(--dark); }
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; margin-top: 52px; }
.ap-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 26px 14px; text-align: center; transition: var(--tr); }
.ap-card:hover { background: rgba(255,255,255,.1); border-color: rgba(91,184,232,.3); transform: translateY(-3px); }
.ap-ic { font-size: 36px; margin-bottom: 12px; }
.ap-nm { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.68); line-height: 1.35; }

/* ── CTA BANNER ── */
.cta-banner { padding: 88px 0; background: var(--red); position: relative; overflow: hidden; text-align: center; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(255,255,255,.12), transparent 65%); }
.cta-banner h2 { font-family: var(--fh); font-size: clamp(36px, 6vw, 66px); font-weight: 800; color: #fff; text-transform: uppercase; line-height: .93; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,.78); margin-bottom: 38px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.65; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-white { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--red); padding: 17px 38px; border-radius: 8px; font-family: var(--fh); font-size: 21px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: var(--tr); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #fff; padding: 17px 38px; border-radius: 8px; font-family: var(--fh); font-size: 21px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border: 2px solid rgba(255,255,255,.5); transition: var(--tr); }
.btn-outline:hover { border-color: #fff; transform: translateY(-3px); }

/* ── FOOTER ── */
footer{background:var(--dark);padding:72px 0 0}
.ft{display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:48px;padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.07)}
.fb img{height:42px;margin-bottom:15px}
.fb p{font-size:13.5px;line-height:1.75;color:rgba(255,255,255,.38);max-width:280px}
.fc h5{color:#fff;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:22px}
.fc li{margin-bottom:10px}
.fc a{font-size:13.5px;color:rgba(255,255,255,.38);transition:color .2s}
.fc a:hover{color:var(--sky)}
.fsoc{display:flex;gap:10px;margin-top:28px}
.fsoc-a{width:40px;height:40px;background:rgba(255,255,255,.06);border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:18px;color:rgba(255,255,255,.55);transition:var(--tr)}
.fsoc-a:hover{background:var(--blue);color:#fff;transform:translateY(-2px)}
.fb-row{padding:22px 5%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.fb-row p{font-size:12.5px;color:rgba(255,255,255,.22)}
.fb-row a{color:rgba(255,255,255,.28);transition:color .2s;font-size:12.5px}
.fb-row a:hover{color:var(--sky)}
.fb-links{display:flex;gap:24px}

/* ── WA FLOAT ── */
.wa{position:fixed;bottom:30px;right:30px;z-index:999;width:60px;height:60px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(37,211,102,.45);transition:var(--tr);color:#fff}
.wa:hover{transform:scale(1.12);box-shadow:0 8px 32px rgba(37,211,102,.55)}
.wa svg{width:32px;height:32px}
.wa-p{position:absolute;inset:-8px;border-radius:50%;background:rgba(37,211,102,.25);animation:wap 2s ease infinite}

/* ── CONTAINERS ── */
.ctr{max-width:1240px;margin:0 auto;padding:0 5%}
.sc{text-align:center}
.ey{display:inline-block;color:var(--red);font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;margin-bottom:14px}
.ey.lt{color:var(--sky)}
.sh{font-family:var(--fh);font-size:clamp(38px,5vw,60px);font-weight:800;text-transform:uppercase;line-height:.95;letter-spacing:.01em}
.sh.w{color:#fff}
.ss{margin-top:16px;font-size:15.5px;color:var(--gray-mid);max-width:520px;line-height:1.7}
.ss.mx{margin-left:auto;margin-right:auto}
.ss.dm{color:rgba(255,255,255,.44)}

/* ── ANIMATIONS ── */
@keyframes hUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes sCue{0%,100%{opacity:.3;transform:translateX(-50%) translateY(0)}50%{opacity:.7;transform:translateX(-50%) translateY(8px)}}
@keyframes wap{0%{transform:scale(.95);opacity:.6}100%{transform:scale(1.5);opacity:0}}
.rv{opacity:0;transform:translateY(28px);transition:opacity .65s ease,transform .65s ease}
.rv.vis{opacity:1;transform:translateY(0)}
.rv.d1{transition-delay:.1s}.rv.d2{transition-delay:.2s}.rv.d3{transition-delay:.3s}
.rv.d4{transition-delay:.4s}.rv.d5{transition-delay:.5s}.rv.d6{transition-delay:.6s}

/* ── RESPONSIVE CORREGIDO (MÓVILES ABAJO DE 900PX) ── */
@media(max-width:1024px){
  .ft{grid-template-columns:1fr 1fr}
}

@media(max-width:900px){
  .ov-grid { 
    grid-template-columns: 1fr !important; 
    gap: 32px !important; 
  }
  .specs-grid { 
    grid-template-columns: 1fr !important; 
    gap: 32px !important; 
  }
  .nos-grid{grid-template-columns:1fr;gap:50px}
  .cto-grid{grid-template-columns:1fr}
  .cto-info{position:static}
  .nav-links{display:none}
  .nav-hbg{display:flex}
  .nav-links.open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--dark);padding:24px 5%;gap:22px;border-top:1px solid rgba(255,255,255,.08)}
}

@media(max-width:640px){
  .sub-grid { 
    grid-template-columns: 1fr !important; 
    gap: 16px !important; 
  }
  .g-thumbs { 
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 8px !important; 
  }
  .ov-btns { 
    flex-direction: column !important; 
    width: 100% !important; 
  }
  .ov-btns a { 
    width: 100% !important; 
    justify-content: center !important; 
  }
  .stats-g{grid-template-columns:1fr 1fr}
  .ft{grid-template-columns:1fr;gap:32px}
  .frow{grid-template-columns:1fr}
  .form-box{padding:28px 22px}
  #productos{clip-path:none;margin:0}
  #porque{clip-path:none;margin:0}
  .h-eye{display:none}
  .fb-row{flex-direction:column;text-align:center}
}