/* ==================================================
   STOCK — Internal pages styling (loaded after stock.css)
   ================================================== */

/* Solid header for internal pages (no transparent hero behind) */
.site-header.solid { background: rgba(14,24,70,0.98); }
.site-header.solid.scrolled { background: rgba(12,18,48,0.98); }
.site-header .logo-mark { flex-shrink: 0; }
.site-header .logo-img { flex-shrink: 0; min-width: 180px; }

/* ---------- Internal hero ---------- */
.ipage-hero {
  position: relative;
  background: linear-gradient(135deg, #16205f 0%, var(--blue-ink) 100%);
  color: #fff;
  padding: 170px 0 70px;
  overflow: hidden;
}
.ipage-hero-hex {
  position: absolute;
  top: 50%; right: -80px;
  transform: translateY(-50%);
  width: 460px; height: 520px;
  background: url('assets/emblema-s.png') no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}
.ipage-hero .container { position: relative; z-index: 1; }
.ipage-hero-inner { position: relative; z-index: 1; }
.ipage-hero.has-img .ipage-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.ipage-kicker {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.ipage-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-ghost-light {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Hero media (product image) */
.ipage-hero-media { position: relative; }
.ipage-hero-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 70px rgba(6,10,32,0.45);
  border-top: 4px solid var(--orange);
}
.ipage-hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ipage-hero-badge {
  position: absolute;
  left: -18px; bottom: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 16px 40px rgba(6,10,32,0.3);
}
.ihb-hex { width: 30px; height: 34px; flex: 0 0 auto; }
.ihb-hex img { width: 100%; height: 100%; object-fit: contain; }
.ihb-text { display: flex; flex-direction: column; font-size: 12.5px; color: var(--text-muted); line-height: 1.3; }
.ihb-text strong { font-family: 'Poppins', sans-serif; color: var(--blue-ink); font-size: 14px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.18s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .bc-sep { opacity: 0.5; }
.breadcrumb .bc-current { color: var(--orange); }
.ipage-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 900px;
}
.ipage-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin: 18px 0 28px;
  max-width: 560px;
}

/* ---------- Generic internal section ---------- */
.isection { padding: 90px 0; }
.isection.cream { background: var(--cream); }
.isection.white { background: #fff; }
.isec-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.isec-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue-ink);
  line-height: 1.05;
  margin: 10px 0 0;
}
.isec-head { max-width: 720px; margin-bottom: 48px; }
.isec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.isec-head p { color: var(--text-muted); font-size: 16px; margin-top: 14px; }

/* ---------- 2-col intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--blue-ink);
  text-transform: uppercase;
  line-height: 1.06;
  margin-bottom: 20px;
}
.intro-text p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.intro-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(12,18,48,0.16);
  aspect-ratio: 4 / 3;
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* intro media with framed image + floating stat badge */
.intro-media { position: relative; }
.intro-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-top: 4px solid var(--orange);
  box-shadow: 0 26px 60px rgba(12,18,48,0.20);
}
.intro-frame img {
  width: 100%; height: 114%; object-fit: cover; display: block;
  will-change: transform;
}
.intro-badge {
  position: absolute; right: -20px; bottom: -22px;
  background: #fff; border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 18px 44px rgba(6,10,32,0.28);
  border-left: 4px solid var(--orange);
  display: flex; flex-direction: column;
}
.intro-badge .ib-v {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 34px;
  color: var(--blue-ink); line-height: 1;
}
.intro-badge .ib-v span { font-size: 0.55em; color: var(--orange); margin-left: 2px; }
.intro-badge .ib-l { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; max-width: 130px; }

/* MVV icon */
.mvv-ico {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(240,78,35,0.10);
  color: var(--orange);
  margin-bottom: 18px;
}
.mvv-ico svg { width: 24px; height: 24px; }
.mvv-card { transition: transform .28s, box-shadow .28s; }
.mvv-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(12,18,48,0.14); }

/* ---------- Advantage cards ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(12,18,48,0.12); border-color: transparent; }
.adv-hex {
  width: 52px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 18px;
}
.adv-hex svg { width: 100%; height: 100%; }
.adv-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-ink);
  margin-bottom: 8px;
}
.adv-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Segments strip ---------- */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.seg-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 24px 14px;
  text-align: center;
  transition: all 0.2s;
}
.seg-item:hover { background: rgba(242,101,34,0.14); border-color: var(--orange); transform: translateY(-4px); }
.seg-ico { color: var(--orange); display: flex; justify-content: center; margin-bottom: 12px; }
.seg-item span {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.2;
}
.seg-section { background: linear-gradient(135deg, #16205f 0%, var(--blue-ink) 100%); }
.seg-section .isec-title, .seg-section .isec-head p { color: #fff; }

/* ---------- Specs ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row .spec-k { font-weight: 600; color: var(--blue-ink); font-family: 'Poppins', sans-serif; font-size: 15px; }
.spec-row .spec-v { color: var(--text-muted); font-size: 15px; text-align: right; }

/* ---------- Gallery grid ---------- */
.igallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.igallery .ig-cell {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-light);
}
.igallery .ig-cell.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.igallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.igallery .ig-cell:hover img { transform: scale(1.06); }

/* ---------- Solutions index cards ---------- */
.sol-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sol-index-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(12,18,48,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.sol-index-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(12,18,48,0.16); }
.sol-index-img { aspect-ratio: 16 / 11; background-size: cover; background-position: center; }
.sol-index-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.sol-index-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sol-index-body p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.sol-index-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.sol-index-link:hover { gap: 12px; }

/* ---------- 3-step differential ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 10px; }
.step-num {
  width: 64px; height: 72px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 800; color: #fff;
  background: url('assets/emblema-s.png') no-repeat center / contain;
  position: relative;
}
.step-hex {
  width: 64px; height: 72px;
  margin: 0 auto 20px;
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px; font-weight: 700; color: var(--blue-ink);
  text-transform: uppercase; margin-bottom: 10px;
}
.step-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; max-width: 320px; margin: 0 auto; }

/* ---------- Mission/Vision/Values ---------- */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card {
  background: #fff;
  border-top: 4px solid var(--orange);
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 8px 26px rgba(12,18,48,0.07);
}
.mvv-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--blue-ink);
  text-transform: uppercase; margin-bottom: 14px;
}
.mvv-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.mvv-card ul { list-style: none; }
.mvv-card li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--text-muted); font-size: 15px; }
.mvv-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--orange); }

/* ---------- Numbers strip (institucional) ---------- */
.inums { background: linear-gradient(135deg, #16205f 0%, var(--blue-ink) 100%); }
.inums-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.inum-v { font-family: 'Poppins', sans-serif; font-size: clamp(38px, 4.5vw, 58px); font-weight: 800; color: var(--orange); line-height: 1; }
.inum-l { color: rgba(255,255,255,0.82); font-size: 15px; margin-top: 10px; }

/* ---------- Contact page ---------- */
.contact-page-map iframe { width: 100%; height: 420px; border: 0; display: block; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -6px 0 4px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}
.form-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--orange); flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .adv-grid, .sol-index-grid, .steps-grid, .mvv-grid { grid-template-columns: 1fr 1fr; }
  .seg-grid { grid-template-columns: repeat(3, 1fr); }
  .igallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .intro-grid, .specs-grid, .adv-grid, .sol-index-grid, .steps-grid, .mvv-grid, .inums-grid { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: 1fr 1fr; }
  .ipage-hero { padding: 140px 0 56px; }
  .intro-badge { right: 12px; bottom: -18px; padding: 14px 18px; }
  .intro-badge .ib-v { font-size: 28px; }
}
@media (max-width: 900px) {
  .ipage-hero.has-img .ipage-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ipage-hero-badge { left: 12px; }
}
