/* EGAM · portada rediseñada (nov 2026) */
.h2-wrap{width:100%;max-width:1280px;margin:0 auto;padding-left:32px;padding-right:32px;box-sizing:border-box}
.h2-section{padding-top:56px;padding-bottom:16px}
.h2-kicker{margin:0 0 12px;font-size:13px;font-weight:700;letter-spacing:.12em;color:#bf2029}
.h2-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:24px}
.h2-head h2{margin:0;font-size:32px;font-weight:800;letter-spacing:-.02em}
.h2-head a{font-weight:700;font-size:15px}
.h2-head a:hover{color:#bf2029}
.h2-actions{display:flex;flex-wrap:wrap;gap:12px}
.h2-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 26px;border-radius:8px;background:#e42b35;color:#fff!important;font-weight:700;font-size:16px;border:2px solid #e42b35;box-sizing:border-box;transition:background .15s}
.h2-btn:hover{background:#bf2029;border-color:#bf2029}
.h2-btn-outline{background:#fff;color:#191a1d!important;border-color:#191a1d}
.h2-btn-outline:hover{background:#191a1d;color:#fff!important;border-color:#191a1d}
.h2-btn-ghost{background:transparent;border-color:#5e6067}
.h2-btn-ghost:hover{background:#fff;color:#191a1d!important;border-color:#fff}

/* Portada */
.h2-hero{background:#f5f5f3}
.h2-hero-grid{display:flex;flex-wrap:wrap;align-items:center;gap:40px;padding-top:48px;padding-bottom:48px}
.h2-hero-copy{flex:1 1 520px}
.h2-hero h1{margin:0 0 18px;font-size:clamp(36px,5vw,60px);line-height:1.02;letter-spacing:-.035em;font-weight:800}
.h2-hero-text{margin:0 0 28px;font-size:19px;line-height:1.5;color:#4a4b52;max-width:540px}
.h2-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:28px 0 0;padding:0}
.h2-chips li{background:#fff;border:1px solid #e4e4e6;border-radius:99px;padding:8px 14px;font-size:14px;font-weight:600}
.h2-hero-photo{flex:1 1 380px;margin:0;display:flex;justify-content:center}
.h2-hero-photo img{width:100%;max-width:460px;height:440px;object-fit:cover;border-radius:12px}

/* Categorías */
.h2-cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.h2-cat{display:flex;align-items:center;gap:16px;background:#f5f5f3;border:1px solid #ececec;border-radius:10px;padding:14px;transition:border-color .15s}
.h2-cat:hover{border-color:#e42b35}
.h2-cat-img{width:84px;height:84px;flex:none;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.h2-cat-img picture,.h2-cat-img img{display:block;width:72px!important;height:72px!important;max-width:72px!important;object-fit:contain}
.h2-cat-text{display:flex;flex-direction:column;gap:4px}
.h2-cat-text strong{font-size:17px;line-height:1.2}
.h2-cat-text span{font-size:14px;color:#5e6067}

/* Destacados */
.h2-featured{padding-bottom:56px}
.h2-product-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}

/* Cómo comprar */
.h2-steps{background:#191a1d;color:#fff}
.h2-steps .h2-wrap{padding-top:52px;padding-bottom:52px}
.h2-steps h2{margin:0 0 8px;font-size:32px;font-weight:800;letter-spacing:-.02em;color:#fff}
.h2-steps-sub{margin:0 0 30px;color:#c8c8cd;font-size:17px}
.h2-steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;list-style:none;margin:0;padding:0}
.h2-steps-grid li{background:#27282d;border-radius:12px;padding:24px;display:flex;gap:16px}
.h2-step-num{flex:none;width:44px;height:44px;border-radius:50%;background:#e42b35;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
.h2-steps-grid h3{margin:0 0 6px;font-size:19px;color:#fff}
.h2-steps-grid p{margin:0;color:#c8c8cd;font-size:15px;line-height:1.5}

/* Igualación y EGAM Pro */
.h2-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:24px;padding-bottom:56px}
.h2-color{border-radius:14px;overflow:hidden;background:#f5f5f3;display:flex;flex-wrap:wrap}
.h2-color>img{flex:1 1 200px;height:360px;object-fit:cover;min-width:0}
.h2-color-copy{flex:1 1 240px;padding:32px 28px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.h2-color-copy .h2-kicker{margin:0}
.h2-color-copy h2{margin:0;font-size:30px;line-height:1.1;font-weight:800;letter-spacing:-.02em}
.h2-color-copy p{margin:0;font-size:16px;line-height:1.5;color:#4a4b52}
.h2-color-copy .h2-btn{align-self:flex-start;margin-top:6px}
.h2-pro{border-radius:14px;background:#191a1d;color:#fff;padding:36px 32px;display:flex;flex-direction:column;gap:16px;justify-content:center}
.h2-pro .h2-kicker{color:#ff8a90;margin:0}
.h2-pro h2{margin:0;font-size:38px;line-height:1.05;font-weight:800;letter-spacing:-.02em;color:#fff}
.h2-pro h2 span{color:#e42b35}
.h2-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:16px}
.h2-checks li{position:relative;padding-left:30px}
.h2-checks li:before{content:'';position:absolute;left:4px;top:4px;width:12px;height:7px;border-left:3px solid #e42b35;border-bottom:3px solid #e42b35;transform:rotate(-45deg)}
.h2-pro .h2-actions{margin-top:8px}

/* Marcas */
.h2-brands{border-top:1px solid #e4e4e6;border-bottom:1px solid #e4e4e6}
.h2-brand-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px;padding-top:22px;padding-bottom:22px}
.h2-brand-label{font-size:13px;font-weight:700;letter-spacing:.12em;color:#5e6067}
.h2-brand{display:flex;align-items:center;height:44px}
.h2-brand img{max-height:36px;max-width:110px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.75;transition:filter .15s,opacity .15s}
.h2-brand:hover img{filter:none;opacity:1}

/* Blog */
.h2-blog{padding-bottom:64px}

@media (max-width:800px){
  .h2-wrap{padding-left:16px;padding-right:16px}
  .h2-section{padding-top:36px}
  .h2-head h2,.h2-steps h2{font-size:24px}
  .h2-hero-grid{padding-top:24px;padding-bottom:28px;gap:24px}
  .h2-hero-copy{flex-basis:100%}
  .h2-hero-text{font-size:16px;margin-bottom:20px}
  .h2-actions .h2-btn{flex:1 1 140px;padding:0 12px}
  .h2-chips{margin-top:18px}
  .h2-chips li{font-size:13px;padding:6px 11px}
  .h2-hero-photo{display:none}
  .h2-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .h2-cat{flex-direction:column;text-align:center;gap:8px;padding:12px 8px}
  .h2-cat-img{width:72px;height:72px}
  .h2-cat-img picture,.h2-cat-img img{width:60px!important;height:60px!important;max-width:60px!important}
  .h2-cat-text strong{font-size:14px}
  .h2-cat-text span{font-size:12px}
  .h2-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .h2-steps .h2-wrap{padding-top:32px;padding-bottom:32px}
  .h2-steps-grid li{padding:16px}
  .h2-color>img{height:180px;flex-basis:100%}
  .h2-color-copy{padding:20px 16px}
  .h2-color-copy .h2-btn{align-self:stretch}
  .h2-pro{padding:24px 18px}
  .h2-pro h2{font-size:30px}
  .h2-brand-row{justify-content:flex-start}
}
