/* IT Soluciones Biz — mejoras de interfaz (fase 1b)
   Fuente con respaldo, menú de navegación, botones CTA y bandas de contacto. */

/* 1. Fuente: Inter (Google Fonts) con respaldo sans-serif si no carga */
html, body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Que los anclajes no queden tapados por la cabecera fija
   (cada ancla deja el inicio de su sección ~28 px bajo la cabecera) */
#localizacion { scroll-margin-top: 92px; }

/* Que "Sectores" y "Hub de Localización" quepan completos en pantalla al 100 % de zoom
   (laptops y monitores con escalado de Windows de 125 %). Solo en escritorio. */
@media (min-width: 1024px) and (max-height: 860px) {
  #sectores-empresariales > div { zoom: .9; }
  .itsb-hub-inner { zoom: .9; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  #sectores-empresariales > div { zoom: .8; }
  .itsb-hub-inner { zoom: .8; }
}
@media (min-width: 1024px) and (max-height: 680px) {
  #sectores-empresariales > div { zoom: .72; }
  .itsb-hub-inner { zoom: .72; }
}
#blog { scroll-margin-top: 56px; }
#contacto { scroll-margin-top: 92px; }

/* Sectores Empresariales: al llegar desde el menú, el título queda justo bajo la cabecera,
   y el encabezado de la sección va centrado sobre las tarjetas */
#sectores-empresariales { scroll-margin-top: 72px; }
#sectores-empresariales > div { max-width: 72rem; }
#sectores-empresariales > div > div:first-child { text-align: center !important; margin-bottom: 28px; }
#sectores-empresariales > div > div:first-child > div,
#sectores-empresariales > div > div:first-child > p { margin-left: auto !important; margin-right: auto !important; }
#sectores-empresariales > div > div:first-child > p { max-width: 640px; }

/* 2. Menú de navegación (escritorio) */
.itsb-nav { display: none; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.itsb-nav a { color: #0f2a44; text-decoration: none; transition: color .2s; white-space: nowrap; }
.itsb-nav a:hover { color: #009EE0; }
.itsb-nav a.itsb-nav-cta { background: #009EE0; color: #fff; padding: 9px 16px; border-radius: 999px; }
.itsb-nav a.itsb-nav-cta:hover { background: #0284c7; color: #fff; }
.itsb-logo-link { display: inline-flex; }
@media (min-width: 1024px) { .itsb-nav { display: flex; } }
@media (max-width: 1279px) { .itsb-ms { display: none !important; } }

/* Menú móvil (sin JavaScript: <details>) */
.itsb-mnav { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.itsb-mnav > summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: #004A7F; border: 1px solid #cbd5e1; background: #fff; }
.itsb-mnav > summary::-webkit-details-marker { display: none; }
.itsb-mnav-panel { position: absolute; right: 0; top: 52px; min-width: 220px; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 12px; box-shadow: 0 12px 30px rgba(15, 23, 42, .18); padding: 8px; display: flex; flex-direction: column; }
.itsb-mnav-panel a { padding: 11px 14px; border-radius: 8px; color: #0f2a44; text-decoration: none; font-weight: 600; font-size: 15px; }
.itsb-mnav-panel a:hover { background: #f1f5f9; }
.itsb-mnav-panel a.itsb-nav-cta { background: #009EE0; color: #fff; margin-top: 4px; text-align: center; }
@media (min-width: 1024px) { .itsb-mnav { display: none; } }
#mainHeader > div:first-child { position: relative; }

/* 3. Botones de la portada */
.itsb-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 4px; }
.itsb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px;
  border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.itsb-btn:hover { transform: translateY(-1px); }
.itsb-btn-primary { background: #009EE0; color: #fff; box-shadow: 0 10px 25px rgba(0, 158, 224, .35); }
.itsb-btn-primary:hover { background: #0284c7; }
.itsb-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .5); background: rgba(15, 23, 42, .35); font-weight: 600; }
.itsb-btn-ghost:hover { background: rgba(15, 23, 42, .55); }

/* 4. Banda CTA al final de industrias y artículos */
.itsb-cta-band { background: linear-gradient(120deg, #004A7F, #009EE0); color: #fff; border-radius: 20px;
  padding: 32px 28px; margin: 48px auto; max-width: 1100px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px; box-shadow: 0 20px 40px rgba(0, 74, 127, .25); }
.itsb-cta-band h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.3; font-weight: 800; color: #fff; }
.itsb-cta-band p { margin: 0; font-size: 15px; color: #e0f2fe; max-width: 560px; }
.itsb-cta-band .itsb-btn-primary { background: #fff; color: #004A7F; box-shadow: none; }
.itsb-cta-band .itsb-btn-primary:hover { background: #e0f2fe; }
.itsb-cta-wrap { padding: 0 16px; }

/* 5. Hub de Localización Latam (rediseño) */
.itsb-hub { position: relative; overflow: hidden; color: #e2e8f0;
  background: radial-gradient(1200px 500px at 15% -10%, rgba(0, 158, 224, .28), transparent 60%),
              radial-gradient(900px 500px at 100% 110%, rgba(34, 211, 238, .18), transparent 60%),
              linear-gradient(180deg, #061a30 0%, #04121f 100%);
  padding: 24px 16px 48px; }
.itsb-hub::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(148, 197, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 197, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.itsb-hub-inner { position: relative; max-width: 1120px; margin: 0 auto; }
.itsb-hub-head { text-align: center; max-width: 760px; margin: 0 auto 22px; }
.itsb-hub-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, .35); background: rgba(14, 165, 233, .12); color: #7dd3fc;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.itsb-hub-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, .2); }
.itsb-hub-head h2 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.itsb-hub-head h2 em { font-style: normal; background: linear-gradient(90deg, #38bdf8, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.itsb-hub-head p { margin: 0 auto; max-width: 620px; font-size: 16px; line-height: 1.6; color: #b6c6d8; }
.itsb-hub-stats { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.itsb-hub-stats li { padding: 8px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; color: #b6c6d8; }
.itsb-hub-stats strong { color: #fff; font-weight: 800; margin-right: 4px; }

.itsb-hub-card { display: grid; grid-template-columns: 300px 1fr; background: #fff; color: #0f172a; border-radius: 24px;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.itsb-hub-countries { background: linear-gradient(180deg, #f1f7fc, #e8f1f9); padding: 18px; display: flex; flex-direction: column; gap: 10px;
  border-right: 1px solid #e2e8f0; }
.itsb-hub-country { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border-radius: 14px;
  border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: #334155; transition: background .2s, border-color .2s, box-shadow .2s; }
.itsb-hub-country:hover { background: rgba(255, 255, 255, .7); }
.itsb-hub-country[aria-selected="true"] { background: #fff; border-color: #bae6fd; box-shadow: 0 8px 24px rgba(2, 132, 199, .14); color: #0f172a; }
.itsb-hub-cname { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.itsb-hub-cname strong { font-size: 16px; font-weight: 800; }
.itsb-hub-cname small { font-size: 12px; color: #64748b; margin-top: 2px; }
.itsb-hub-arrow { font-size: 22px; color: #94a3b8; transition: transform .2s, color .2s; }
.itsb-hub-country[aria-selected="true"] .itsb-hub-arrow { color: #009EE0; transform: translateX(3px); }
.itsb-flag { width: 34px; height: 34px; flex: none; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(15, 23, 42, .18); display: inline-flex; }
.itsb-flag svg { width: 100%; height: 100%; }
.itsb-flag-lg { width: 30px; height: 30px; margin-right: 12px; vertical-align: -5px; }

.itsb-hub-panels { padding: 22px 28px 24px; min-width: 0; }
.itsb-hub-panel[hidden], .itsb-hub-feats[hidden] { display: none !important; }
.itsb-hub-ptop { display: flex; justify-content: space-between; align-items: stretch; gap: 22px; padding-bottom: 16px; border-bottom: 1px solid #eef2f7; }
.itsb-hub-ptxt { flex: 1; min-width: 0; }
.itsb-hub-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #0284c7; }
.itsb-hub-ptop h3 { margin: 4px 0 2px; font-size: 28px; line-height: 1.15; font-weight: 900; color: #0b1b2e; display: flex; align-items: center; }
.itsb-hub-ptop p { margin: 0; font-size: 14px; color: #64748b; }
.itsb-hub-cert { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 12px; border-radius: 999px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-size: 12px; font-weight: 800; }
.itsb-hub-cert svg { width: 14px; height: 14px; }
.itsb-hub-cats { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 10px; padding: 5px; background: #f1f5f9; border-radius: 14px; width: fit-content; max-width: 100%; }
.itsb-hub-cat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 0; background: transparent;
  font: inherit; font-size: 13px; font-weight: 700; color: #475569; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.itsb-hub-cat span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #e2e8f0; color: #475569; font-size: 11px; text-align: center; }
.itsb-hub-cat:hover { color: #0f172a; }
.itsb-hub-cat[aria-selected="true"] { background: #fff; color: #0369a1; box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.itsb-hub-cat[aria-selected="true"] span { background: #009EE0; color: #fff; }
.itsb-hub-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; min-height: 216px; align-content: start; }
.itsb-hub-feats li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #e2e8f0; font-size: 14px; line-height: 1.4; color: #1e293b; }
.itsb-hub-feats li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 3px; border-radius: 6px; background: #e0f2fe; color: #0284c7; }
.itsb-hub-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px;
  border-radius: 16px; background: linear-gradient(120deg, #f0f9ff, #ecfeff); border: 1px solid #bae6fd; }
.itsb-hub-foot p { margin: 0; font-size: 14px; color: #0c4a6e; font-weight: 600; max-width: 460px; }
.itsb-hub-foot .itsb-btn { padding: 11px 20px; font-size: 14px; }

@media (max-width: 860px) {
  .itsb-hub-card { grid-template-columns: 1fr; }
  .itsb-hub-countries { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #e2e8f0; padding: 12px; }
  .itsb-hub-country { flex: 1 0 auto; width: auto; padding: 10px 12px; }
  .itsb-hub-cname small, .itsb-hub-arrow { display: none; }
  .itsb-hub-country { gap: 8px; padding: 8px 10px; flex: 1 1 0; justify-content: center; }
  .itsb-hub-country .itsb-flag { width: 24px; height: 24px; }
  .itsb-hub-cname { flex: 0 1 auto; }
  .itsb-hub-cname strong { font-size: 14px; }
  .itsb-hub-panels { padding: 20px 18px; }
  .itsb-hub-feats { grid-template-columns: 1fr; min-height: 0; }
  .itsb-hub-ptop h3 { font-size: 24px; }
}
.itsb-hub-side-cta { margin-top: auto; padding: 16px; border-radius: 16px; background: linear-gradient(140deg, #004A7F, #009EE0); color: #fff; }
.itsb-hub-side-cta strong { display: block; font-size: 15px; font-weight: 800; }
.itsb-hub-side-cta p { margin: 6px 0 12px; font-size: 13px; line-height: 1.45; color: #e0f2fe; }
.itsb-hub-side-cta .itsb-btn { width: 100%; padding: 10px 16px; font-size: 14px; background: #fff; color: #004A7F; box-shadow: none; }
.itsb-hub-side-cta .itsb-btn:hover { background: #e0f2fe; }
@media (max-width: 860px) { .itsb-hub-side-cta { display: none; } }
.itsb-hub-ptitle { margin: 4px 0 2px !important; font-size: 15px !important; font-weight: 800; color: #0369a1 !important; }
.itsb-hub-keys { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.itsb-hub-keys li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #0f172a; }
.itsb-hub-keys li svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: #10b981; color: #fff; }
.itsb-hub-photo { position: relative; flex: 0 0 250px; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 25px rgba(15, 23, 42, .18); }
.itsb-hub-photo img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; display: block; }
.itsb-hub-photo .itsb-hub-cert { position: absolute; left: 10px; bottom: 10px; background: rgba(236, 253, 245, .95); }
.itsb-hub-all { margin: 14px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.itsb-hub-all + .itsb-hub-cats { margin-top: 8px; }
@media (max-width: 860px) {
  .itsb-hub-ptop { flex-direction: column; }
  .itsb-hub-photo { flex-basis: auto; }
  .itsb-hub-photo img { min-height: 0; aspect-ratio: 16 / 9; }
  .itsb-hub-keys { grid-template-columns: 1fr; }
}

/* Compactación tras la fusión */
.itsb-hub-head { margin-bottom: 18px; }
.itsb-hub-head h2 { margin: 10px 0 6px; }
.itsb-hub-stats { margin-top: 12px; }
.itsb-hub-panels { padding: 20px 26px 20px; }
.itsb-hub-photo { flex-basis: 220px; }
.itsb-hub-photo img { min-height: 150px; }
.itsb-hub-ptop h3 { font-size: 26px; }
.itsb-hub-ptxt > p:not(.itsb-hub-ptitle) { font-size: 13.5px; line-height: 1.5; }
.itsb-hub-keys { margin-top: 10px; gap: 5px 12px; }
.itsb-hub-keys li { font-size: 13px; }
.itsb-hub-all { display: none; }
.itsb-hub-cats { margin: 12px 0 6px; gap: 2px; }
.itsb-hub-cat { padding: 8px 11px; font-size: 12.5px; white-space: nowrap; }
.itsb-hub-feats { min-height: 190px; }
.itsb-hub-feats li { padding: 5px 0; font-size: 13.5px; }
.itsb-hub-side-cta { padding: 14px; }
@media (min-width: 1024px) and (min-height: 861px) and (max-height: 1000px) { .itsb-hub-inner { zoom: .94; } }

/* Hub: versión clara y corporativa (sin fondo oscuro ni efectos) */
.itsb-hub { background: #f4f7fb; color: #0f172a; border-top: 1px solid #e5ebf2; border-bottom: 1px solid #e5ebf2; }
.itsb-hub::before { display: none; }
.itsb-hub-eyebrow { background: #fff; border-color: #cfe3f3; color: #0369a1; }
.itsb-hub-eyebrow span { background: #009EE0; box-shadow: none; }
.itsb-hub-head h2 { color: #0b2540; }
.itsb-hub-head h2 em { background: none; -webkit-background-clip: initial; background-clip: initial; color: #009EE0; }
.itsb-hub-head p { color: #475569; }
.itsb-hub-stats li { background: #fff; border-color: #dbe5ef; color: #475569; }
.itsb-hub-stats strong { color: #004A7F; }
.itsb-hub-card { box-shadow: 0 12px 32px rgba(15, 42, 68, .08); border: 1px solid #dbe5ef; }
.itsb-hub-countries { background: #f8fafc; }
.itsb-hub-side-cta { background: #004A7F; }

/* ===== Blog "Lea nuestro Blog" en tiempo real (blog.js) ===== */
#blog, #blog * { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
#blog .itsb-blog-sub { margin: .75rem auto 0; max-width: 40rem; color: #475569; font-size: .95rem; }
.itsb-blog-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .itsb-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .itsb-blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.itsb-blog-grid.is-live .itsb-post { animation: itsbFade .45s ease both; }
.itsb-blog-grid.is-live .itsb-post:nth-child(2) { animation-delay: .06s; }
.itsb-blog-grid.is-live .itsb-post:nth-child(3) { animation-delay: .12s; }
.itsb-blog-grid.is-live .itsb-post:nth-child(4) { animation-delay: .18s; }
@keyframes itsbFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .itsb-blog-grid.is-live .itsb-post { animation: none; } }

.itsb-post { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  overflow: hidden; text-decoration: none; box-shadow: 0 1px 2px rgba(15,23,42,.05);
  transition: box-shadow .25s, transform .25s, border-color .25s; }
.itsb-post:hover { box-shadow: 0 12px 28px -10px rgba(0,74,127,.28); transform: translateY(-3px); border-color: #bfdbfe; }
.itsb-post:focus-visible { outline: 3px solid #00A1F1; outline-offset: 2px; }
.itsb-post-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e0f2fe, #f1f5f9); overflow: hidden; }
.itsb-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.itsb-post:hover .itsb-post-img img { transform: scale(1.05); }
.itsb-post-new { position: absolute; top: .75rem; left: .75rem; background: #00A1F1; color: #fff; font-size: .68rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,161,241,.35); }
.itsb-post-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.25rem; }
.itsb-post-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.itsb-post-cat { font-size: .68rem; font-weight: 700; color: #005A9C; background: #e0f2fe; padding: .2rem .55rem;
  border-radius: 6px; max-width: 65%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.itsb-post-meta time { font-size: .72rem; color: #64748b; white-space: nowrap; }
.itsb-post h3 { font-size: .95rem; line-height: 1.35; font-weight: 700; color: #004A7F; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.itsb-post p { font-size: .8rem; line-height: 1.55; color: #475569; margin: .55rem 0 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.itsb-post-more { margin-top: auto; padding-top: .9rem; font-size: .8rem; font-weight: 600; color: #00A1F1; }
.itsb-post-more span { display: inline-block; transition: transform .2s; }
.itsb-post:hover .itsb-post-more span { transform: translateX(4px); }

.itsb-blog-all { text-align: center; margin-top: 2.5rem; }
.itsb-blog-all a { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: 999px;
  border: 2px solid #004A7F; color: #004A7F; font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: background .2s, color .2s; }
.itsb-blog-all a:hover { background: #004A7F; color: #fff; }

/* ===== Hub de Localización: encabezado limpio y tarjeta más ancha (26-nov-2026) ===== */
.itsb-hub-head { margin-bottom: 28px; }
.itsb-hub-head h2 { margin-top: 0; }
.itsb-hub-inner { max-width: 1320px; }
@media (min-width: 861px) { .itsb-hub-card { grid-template-columns: 320px 1fr; } }
/* Con el zoom de pantallas bajas, se compensa el ancho para que la tarjeta no se vea angosta */
@media (min-width: 1024px) and (max-height: 860px) { .itsb-hub-inner { max-width: min(1466px, calc((100vw - 160px) / .9)); } }
@media (min-width: 1024px) and (max-height: 760px) { .itsb-hub-inner { max-width: min(1650px, calc((100vw - 160px) / .8)); } }
@media (min-width: 1024px) and (max-height: 680px) { .itsb-hub-inner { max-width: min(1833px, calc((100vw - 160px) / .72)); } }
@media (min-width: 1024px) { .itsb-hub { padding-left: 32px; padding-right: 32px; } }

/* ===== Globo 3D de localizaciones (globe.js) ===== */
img[src*="MapaLocalizacion"] { visibility: hidden; }
#itsb-globe { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #0f3b66 0%, #071d36 55%, #04121f 100%); }
#itsb-globe canvas { display: block; }

/* ===== Pestañas de soluciones (SolutionsTabs.v2.js) ===== */
.itsb-sol-head { background: #f8fafc; text-align: center; padding: 72px 16px 0; }
.itsb-sol-head h2 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #0f172a; }
.itsb-sol-head p { margin: 12px auto 0; max-width: 40rem; font-size: 16px; line-height: 1.6; color: #475569; }
.itsb-sol-head + astro-island > section { padding-top: 36px !important; }
[role="tablist"][aria-label="Soluciones empresariales"] { max-width: 54rem; }
[aria-label="Soluciones empresariales"] [role="tab"] { padding-top: 12px; padding-bottom: 12px; }
.itsb-tab-name { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.itsb-tab-desc { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; opacity: .75; }
[aria-selected="true"] .itsb-tab-desc { opacity: .9; }
@media (max-width: 640px) {
  .itsb-sol-head { padding-top: 48px; }
  .itsb-tab-name { font-size: 12.5px; }
  .itsb-tab-desc { display: none; }
}

/* Hub en celular: categorías en una fila deslizable y foto más baja */
@media (max-width: 860px) {
  .itsb-hub-cats { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .itsb-hub-cats::-webkit-scrollbar { display: none; }
  .itsb-hub-cat { flex: none; white-space: nowrap; }
  .itsb-hub-photo img { aspect-ratio: 2 / 1; }
}

/* ===== Almacén 3D (almacen3d.js) en la pestaña Cadena de suministro ===== */
img[src*="logistica2"] { visibility: hidden; }
#itsb-almacen { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #0f3b66 0%, #071d36 55%, #04121f 100%); }
#itsb-almacen canvas { display: block; }

/* ===== Panel financiero 3D (finanzas3d.js) en la pestaña Finanzas y tesorería ===== */
img[src*="Financiero"] { visibility: hidden; }
#itsb-finanzas { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #0f3b66 0%, #071d36 55%, #04121f 100%); }
#itsb-finanzas canvas { display: block; }

/* ===== Sectores Empresariales: más ancho y fotos nuevas (26-nov-2026) ===== */
#sectores-empresariales > div { max-width: 1240px; }
@media (min-width: 1024px) and (max-height: 860px) { #sectores-empresariales > div { max-width: min(1378px, calc((100vw - 160px) / .9)); } }
@media (min-width: 1024px) and (max-height: 760px) { #sectores-empresariales > div { max-width: min(1550px, calc((100vw - 160px) / .8)); } }
@media (min-width: 1024px) and (max-height: 680px) { #sectores-empresariales > div { max-width: min(1722px, calc((100vw - 160px) / .72)); } }
#sectores-empresariales a.h-72 { height: 300px; }
#sectores-empresariales a.h-72 > div:first-child { background-color: #0b2a4a; }
