/* Tecnología — extiende los estilos comunes definidos en historia.css */

.hero-technology{
  min-height:560px;
  height:42.4vw;
  max-height:820px;
  background:
    linear-gradient(180deg,rgba(5,17,39,.12) 0%,rgba(5,17,39,.05) 42%,rgba(5,17,39,.28) 100%),
    url("tecnologia-hero.jpg") center 62%/cover no-repeat;
}
.hero-technology .hero-title{
  left:100px;
  bottom:64px;
  font-size:clamp(52px,4.3vw,82px);
  letter-spacing:.2px;
}

/* ---------- intro ---------- */
.tech-intro{padding:112px 0 96px}
.tech-intro .intro-grid{
  grid-template-columns:1.02fr .98fr;
  gap:110px;
}
.tech-intro h2{
  color:#555;
  font-size:clamp(36px,3.3vw,58px);
  font-weight:900;
  line-height:1.16;
  letter-spacing:-.7px;
}
.tech-intro p{
  color:#626262;
  font-size:clamp(17px,1.35vw,21px);
  line-height:1.66;
}

/* ---------- flujo barriles (chevrones) ---------- */
.tech-flow{padding:20px 0 120px}
.tech-flow .flow-title{
  color:#1e4a98;
  font-size:clamp(24px,2vw,34px);
  font-weight:300;
  letter-spacing:.2px;
  margin:0 0 46px;
}
.flow-track{
  --tip:26px;
  --band:13px;
  display:flex;
  gap:22px;
  list-style:none;
  margin:0;
  padding:0;
}
.flow-item{
  position:relative;
  flex:1 1 0;
  min-width:0;
  height:92px;
}
.flow-item::before,
.flow-item::after{
  content:"";
  position:absolute;
  inset:0;
}
.flow-item::before{
  background:#06c2f0;
  clip-path:polygon(0 0,calc(100% - var(--tip)) 0,100% 50%,calc(100% - var(--tip)) 100%,0 100%,var(--tip) 50%);
}
.flow-item::after{
  background:#17408c;
  clip-path:polygon(0 0,calc(100% - var(--tip) - var(--band)) 0,calc(100% - var(--band)) 50%,calc(100% - var(--tip) - var(--band)) 100%,0 100%,calc(var(--tip) - var(--band)) 50%);
}
.flow-item:first-child::before{clip-path:polygon(0 0,calc(100% - var(--tip)) 0,100% 50%,calc(100% - var(--tip)) 100%,0 100%)}
.flow-item:first-child::after{clip-path:polygon(0 0,calc(100% - var(--tip) - var(--band)) 0,calc(100% - var(--band)) 50%,calc(100% - var(--tip) - var(--band)) 100%,0 100%)}
.flow-item span{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  padding:0 calc(var(--tip) + 12px) 0 calc(var(--tip) + 6px);
  color:#fff;
  font-size:clamp(15px,1.25vw,21px);
  font-weight:800;
  line-height:1.15;
  text-align:center;
}

/* ---------- ecosistema ---------- */
.ecosystem{padding:10px 0 120px}
.ecosystem .eco-eyebrow{
  color:#6b6b6b;
  font-size:clamp(14px,1.05vw,17px);
  font-weight:500;
  letter-spacing:2.5px;
  text-transform:uppercase;
  margin:0 0 14px;
}
.ecosystem h2{
  color:#1e4a98;
  font-size:clamp(42px,4.4vw,72px);
  font-weight:300;
  line-height:1.05;
  letter-spacing:-.5px;
  margin:0 0 78px;
}
.eco-grid{
  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  gap:60px;
  align-items:stretch;
}
.eco-col{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:56px;
}
.eco-figure{
  display:flex;
  align-items:center;
  justify-content:center;
}
.eco-figure img{width:100%;max-width:560px;height:auto;display:block}
.eco-kicker{
  color:#4a4a4a;
  font-size:clamp(15px,1.15vw,18px);
  line-height:1.5;
  margin:0 0 10px;
}
.eco-name{
  color:#111;
  font-size:clamp(38px,3.2vw,54px);
  font-weight:300;
  line-height:1.08;
  letter-spacing:.5px;
  text-transform:uppercase;
  margin:0 0 16px;
}
.eco-text{
  color:#5c5c5c;
  font-size:clamp(14.5px,1.1vw,16.5px);
  line-height:1.6;
  margin:0;
  max-width:340px;
}
.eco-label{
  font-size:clamp(26px,2.1vw,36px);
  font-weight:800;
  line-height:1.12;
  margin:0 0 14px;
}
.eco-label small{
  display:block;
  font-size:.72em;
  font-weight:800;
}
.eco-label.teal{color:#3fa79c}
.eco-label.green{color:#5fb457}
.eco-label.orange{color:#f5a55a}

/* ---------- dispositivos + bullets ---------- */
.tech-devices{padding:6px 0 120px}
.tech-devices .devices-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:90px;
  align-items:center;
}
.tech-devices figure{margin:0}
.tech-devices figure img{width:100%;height:auto;display:block}
.tech-bullets{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:46px;
}
.tech-bullets li{
  position:relative;
  padding-left:52px;
  color:#3d3d3d;
  font-size:clamp(16.5px,1.35vw,20px);
  font-weight:600;
  line-height:1.45;
}
.tech-bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:.18em;
  width:24px;
  height:24px;
  background:#1e4a98;
}

/* ---------- CTA ---------- */
.tech-cta{padding:6px 0 138px;text-align:center}
.tech-cta .cta{padding:18px 46px}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .tech-intro .intro-grid{gap:60px}
  .eco-grid{gap:40px}
  .tech-devices .devices-grid{gap:54px}
}
@media (max-width:900px){
  .hero-technology{min-height:500px;height:68vw}
  .hero-technology .hero-title{left:34px;bottom:46px}
  .tech-intro{padding:78px 0 70px}
  .tech-intro .intro-grid{grid-template-columns:1fr;gap:38px}
  .tech-flow{padding:10px 0 90px}
  .flow-track{flex-direction:column;gap:14px;max-width:460px}
  .flow-item{flex:none;height:64px;width:100%}
  .ecosystem{padding:6px 0 90px}
  .ecosystem h2{margin-bottom:56px}
  .eco-grid{grid-template-columns:1fr;gap:48px}
  .eco-col{gap:44px}
  .eco-col.right{align-items:flex-start}
  .eco-figure{order:-1}
  .eco-figure img{max-width:440px;margin:0 auto}
  .eco-text{max-width:520px}
  .tech-devices{padding:0 0 90px}
  .tech-devices .devices-grid{grid-template-columns:1fr;gap:48px}
  .tech-devices figure img{max-width:560px;margin:0 auto}
  .tech-bullets{gap:34px;max-width:560px;margin:0 auto}
  .tech-cta{padding:0 0 104px}
}
@media (max-width:560px){
  .hero-technology{min-height:420px;height:100vw;background-position:center 62%}
  .hero-technology .hero-title{left:22px;bottom:36px;font-size:32px}
  .tech-intro{padding:62px 0 56px}
  .tech-intro h2{font-size:33px}
  .tech-intro p{font-size:16px;line-height:1.62}
  .tech-flow{padding:6px 0 72px}
  .tech-flow .flow-title{margin-bottom:34px}
  .flow-item{height:58px}
  .ecosystem{padding:0 0 72px}
  .ecosystem h2{margin-bottom:44px}
  .eco-name{font-size:34px}
  .tech-devices{padding:0 0 72px}
  .tech-bullets li{padding-left:40px}
  .tech-bullets li::before{width:18px;height:18px}
  .tech-cta{padding:0 22px 82px}
  .tech-cta .cta{width:100%}
}
