/* ALTITUM — Sprint 4.2 / Sectores que atendemos
   Reproducción del mockup aprobado. Scope exclusivo: .sectors-v4 */
.sectors-v4{
  --s4-navy:#07182b;
  --s4-orange:#ff6500;
  --s4-line:#9eb0c4;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  scroll-margin-top:116px;
  padding:48px 0 42px;
  background:#f8fafc;
  color:var(--s4-navy);
}
.sectors-v4::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(rgba(7,24,43,.026) 1px,transparent 1px),
    linear-gradient(90deg,rgba(7,24,43,.026) 1px,transparent 1px),
    radial-gradient(circle at 84% 14%,rgba(255,101,0,.075),transparent 19%),
    #f8fafc;
  background-size:92px 92px,92px 92px,auto,auto;
}
.sectors-v4::after{
  content:"";
  position:absolute;
  top:34px;
  right:2.3%;
  width:155px;
  height:185px;
  z-index:-1;
  opacity:.46;
  background:radial-gradient(circle,rgba(80,117,153,.8) 0 1px,transparent 1.4px);
  background-size:18px 18px;
  -webkit-mask-image:linear-gradient(135deg,transparent 5%,#000 36%,#000 70%,transparent 98%);
  mask-image:linear-gradient(135deg,transparent 5%,#000 36%,#000 70%,transparent 98%);
}
.sectors-v4__container{width:min(100% - 74px,1462px);max-width:none;margin-inline:auto}
.sectors-v4__kicker{
  display:grid;
  grid-template-columns:auto auto auto minmax(260px,1fr);
  align-items:center;
  gap:22px;
  margin:0 0 23px;
  font-size:13px;
  font-weight:850;
  letter-spacing:.235em;
}
.sectors-v4__number{font-size:16px;color:var(--s4-orange);letter-spacing:.08em}
.sectors-v4__slash{color:#8398ad;font-weight:500}
.sectors-v4__eyebrow{white-space:nowrap;color:#0a1c30}
.sectors-v4__techline{display:flex;align-items:center;min-width:0;gap:10px;margin-left:42px}
.sectors-v4__techline i{height:1px;flex:1;background:linear-gradient(90deg,var(--s4-line),var(--s4-line) 52%,transparent 52%)}
.sectors-v4__techline i:first-child{clip-path:polygon(0 0,20% 0,25% 100%,100% 100%,100% 0,25% 0,20% 100%,0 100%)}
.sectors-v4__techline b{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--s4-orange);box-shadow:0 0 0 5px rgba(255,101,0,.06)}
.sectors-v4__heading{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr);
  align-items:center;
  column-gap:84px;
  margin:0 0 31px;
}
.sectors-v4__heading h2{
  margin:0;
  max-width:720px;
  font-size:clamp(54px,4.18vw,67px);
  line-height:.955;
  letter-spacing:-.055em;
  font-weight:800;
  color:#06172a;
}
.sectors-v4__heading h2 span{color:var(--s4-orange)}
.sectors-v4__heading p{
  max-width:495px;
  margin:7px 0 0;
  font-size:17px;
  line-height:1.63;
  color:#172c42;
}
.sectors-v4__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.sector-v4-card{
  position:relative;
  min-width:0;
  height:532px;
  overflow:hidden;
  border-radius:13px;
  background:#06192c;
  box-shadow:0 18px 36px rgba(4,21,38,.14);
  transform:translateZ(0);
  transition:transform .38s cubic-bezier(.2,.7,.2,1),box-shadow .38s ease;
}
.sector-v4-card>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .4s ease;
}
.sector-v4-card:nth-child(1)>img{object-position:54% center}
.sector-v4-card:nth-child(2)>img{object-position:50% center}
.sector-v4-card:nth-child(3)>img{object-position:54% center}
.sector-v4-card:nth-child(4)>img{object-position:50% center}
.sector-v4-card:nth-child(5)>img{object-position:52% center}
.sector-v4-card__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 24%,transparent 0 30px,rgba(255,255,255,.40) 31px 32px,transparent 33px 47px,rgba(255,255,255,.18) 48px 49px,transparent 50px),
    linear-gradient(180deg,rgba(2,13,25,.00) 0%,rgba(2,13,25,.04) 32%,rgba(2,13,25,.39) 56%,rgba(2,13,25,.92) 79%,#031629 100%);
}
.sector-v4-card__overlay::before{
  content:"";
  position:absolute;
  inset:25px 22px 47%;
  opacity:.45;
  background:
    linear-gradient(90deg,transparent 0 12%,rgba(255,255,255,.56) 12% 12.5%,transparent 12.5% 66%,rgba(255,255,255,.56) 66% 66.5%,transparent 66.5%),
    linear-gradient(transparent 0 26%,rgba(255,255,255,.38) 26% 26.5%,transparent 26.5% 70%,rgba(255,255,255,.38) 70% 70.5%,transparent 70.5%);
  -webkit-mask-image:linear-gradient(135deg,transparent,#000 20%,#000 80%,transparent);
  mask-image:linear-gradient(135deg,transparent,#000 20%,#000 80%,transparent);
}
.sector-v4-card__content{
  position:absolute;
  inset:auto 0 0;
  display:flex;
  flex-direction:column;
  min-height:286px;
  padding:0 22px 21px;
  color:#fff;
}
.sector-v4-card__icon{
  display:grid;
  place-items:center;
  width:68px;
  height:68px;
  margin:0 0 16px;
  border:1.35px solid rgba(255,255,255,.92);
  border-radius:50%;
  background:rgba(2,21,38,.88);
  color:var(--s4-orange);
  box-shadow:0 9px 24px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.05);
  backdrop-filter:blur(8px);
}
.sector-v4-card__icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sector-v4-card h3{margin:0 0 10px;font-size:21px;line-height:1.07;letter-spacing:-.025em;font-weight:760;color:#fff}
.sector-v4-card:nth-child(5) h3{font-size:18.5px;line-height:1.02}
.sector-v4-card p{margin:0;color:rgba(255,255,255,.91);font-size:13.5px;line-height:1.65}
.sector-v4-card a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  font-size:13.5px;
  font-weight:800;
}
.sector-v4-card a span{font-size:25px;line-height:1;color:var(--s4-orange);transition:transform .25s ease}
.sector-v4-card:hover{transform:translateY(-7px);box-shadow:0 25px 50px rgba(4,21,38,.19)}
.sector-v4-card:hover>img{transform:scale(1.035);filter:saturate(1.05)}
.sector-v4-card:hover a span{transform:translateX(5px)}
.sectors-v4__footerline{display:flex;align-items:center;gap:8px;margin:28px 0 0;padding:0 10%}
.sectors-v4__footerline i{height:1px;flex:1;background:#a9b9ca}
.sectors-v4__footerline b,.sectors-v4__footerline span{width:7px;height:7px;flex:0 0 auto;border:1px solid var(--s4-orange)}
.sectors-v4__footerline span{border-radius:50%;background:var(--s4-orange)}

@media(max-width:1240px){
  .sectors-v4__container{width:min(100% - 48px,1180px)}
  .sectors-v4__heading{grid-template-columns:1.08fr .92fr;gap:48px}
  .sectors-v4__heading h2{font-size:clamp(49px,5vw,62px)}
  .sector-v4-card{height:515px}
  .sector-v4-card__content{padding-inline:18px}
  .sector-v4-card h3{font-size:19px}
  .sector-v4-card p{font-size:12.8px}
}
@media(max-width:1040px){
  .sectors-v4{padding-top:44px}
  .sectors-v4__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .sector-v4-card{height:535px}
  .sectors-v4__heading{grid-template-columns:1fr;gap:20px}
  .sectors-v4__heading p{max-width:660px}
}
@media(max-width:760px){
  .sectors-v4{padding:40px 0 48px;scroll-margin-top:92px}
  .sectors-v4__container{width:min(100% - 32px,680px)}
  .sectors-v4__kicker{grid-template-columns:auto auto 1fr;gap:14px;margin-bottom:24px}
  .sectors-v4__techline{grid-column:1/-1;margin-left:0}
  .sectors-v4__heading h2{font-size:clamp(42px,11vw,58px)}
  .sectors-v4__heading p{font-size:16px}
  .sectors-v4__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .sectors-v4__eyebrow{white-space:normal;line-height:1.45}
  .sectors-v4__grid{grid-template-columns:1fr}
  .sector-v4-card{height:525px}
  .sector-v4-card__content{padding-inline:22px}
  .sector-v4-card h3{font-size:22px}
  .sector-v4-card:nth-child(5) h3{font-size:20px}
  .sector-v4-card p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.sector-v4-card,.sector-v4-card>img,.sector-v4-card a span{transition:none}}

/* =========================================================
   SPRINT 4 FINAL — POLISH
   Refinamiento visual sobre la implementación aprobada 4.2.
   ========================================================= */
@media (min-width:1041px){
  .sectors-v4{
    padding-top:52px;
    padding-bottom:52px;
  }
  .sectors-v4__heading{
    margin-bottom:36px;
  }
  .sectors-v4__grid{
    gap:20px;
  }
  .sector-v4-card{
    height:560px;
    border-radius:14px;
    box-shadow:0 22px 46px rgba(4,21,38,.13);
  }
  .sector-v4-card>img{
    filter:contrast(1.08) saturate(1.07) brightness(.94);
  }
  .sector-v4-card__overlay{
    background:
      radial-gradient(circle at 78% 24%,transparent 0 30px,rgba(255,255,255,.34) 31px 32px,transparent 33px 47px,rgba(255,255,255,.15) 48px 49px,transparent 50px),
      linear-gradient(180deg,
        rgba(2,13,25,0) 0%,
        rgba(2,13,25,.015) 38%,
        rgba(2,13,25,.16) 55%,
        rgba(2,13,25,.68) 73%,
        rgba(3,22,41,.96) 100%);
  }
  .sector-v4-card__overlay::before{
    inset:26px 22px 44%;
    opacity:.38;
  }
  .sector-v4-card__content{
    min-height:296px;
    padding:0 22px 29px;
  }
  .sector-v4-card__icon{
    width:76px;
    height:76px;
    margin-bottom:14px;
    border-width:1.15px;
    box-shadow:0 10px 28px rgba(0,0,0,.25),inset 0 0 0 1px rgba(255,255,255,.04);
  }
  .sector-v4-card__icon svg{
    width:39px;
    height:39px;
    stroke-width:2.05;
  }
  .sector-v4-card h3{
    margin-bottom:9px;
  }
  .sector-v4-card p{
    line-height:1.58;
  }
  .sector-v4-card a{
    padding-top:13px;
  }
  .sector-v4-card:hover{
    transform:translateY(-8px);
    box-shadow:0 30px 58px rgba(4,21,38,.19);
  }
  .sector-v4-card:hover>img{
    transform:scale(1.042);
    filter:contrast(1.1) saturate(1.11) brightness(.96);
  }
  .sectors-v4__footerline{
    margin-top:31px;
  }
}

@media (min-width:1241px){
  .sectors-v4__container{
    width:min(100% - 76px,1462px);
  }
}

@media (min-width:1041px) and (max-width:1240px){
  .sectors-v4__grid{gap:16px}
  .sector-v4-card{height:540px}
  .sector-v4-card__content{padding-inline:18px}
  .sector-v4-card__icon{width:72px;height:72px}
}

/* =========================================================
   SPRINT 4 — DEFINITIVO / PIXEL POLISH
   Ajustes finales aprobados para la sección Sectores.
   ========================================================= */
@media (min-width:1241px){
  .sectors-v4{
    padding-top:56px;
    padding-bottom:56px;
  }
  .sectors-v4__kicker{margin-bottom:26px}
  .sectors-v4__heading{
    column-gap:96px;
    margin-bottom:39px;
  }
  .sectors-v4__heading h2{
    max-width:700px;
    font-size:clamp(56px,4.12vw,66px);
    line-height:.96;
  }
  .sectors-v4__heading p{
    max-width:500px;
    transform:translateY(-2px);
  }
  .sectors-v4__grid{gap:26px}
  .sector-v4-card{
    height:575px;
    border-radius:15px;
    box-shadow:0 24px 50px rgba(4,21,38,.14);
  }
  .sector-v4-card>img{
    filter:contrast(1.1) saturate(1.08) brightness(.93);
  }
  .sector-v4-card__overlay{
    background:
      radial-gradient(circle at 78% 24%,transparent 0 30px,rgba(255,255,255,.31) 31px 32px,transparent 33px 47px,rgba(255,255,255,.13) 48px 49px,transparent 50px),
      linear-gradient(180deg,
        rgba(2,13,25,0) 0%,
        rgba(2,13,25,0) 40%,
        rgba(2,13,25,.10) 54%,
        rgba(2,13,25,.52) 70%,
        rgba(3,22,41,.94) 100%);
  }
  .sector-v4-card__overlay::before{
    inset:28px 22px 43%;
    opacity:.34;
  }
  .sector-v4-card__content{
    min-height:304px;
    padding:0 22px 31px;
  }
  .sector-v4-card__icon{
    width:78px;
    height:78px;
    margin-bottom:13px;
  }
  .sector-v4-card h3{
    margin-bottom:9px;
    transform:translateY(-2px);
  }
  .sector-v4-card p{
    line-height:1.6;
    transform:translateY(-2px);
  }
  .sector-v4-card a{
    padding-top:12px;
    transform:translateY(-5px);
  }
  .sector-v4-card:hover{
    transform:translateY(-6px);
    box-shadow:0 32px 64px rgba(4,21,38,.20);
  }
  .sector-v4-card:hover>img{
    transform:scale(1.03);
    filter:contrast(1.12) saturate(1.12) brightness(.95);
  }
  .sectors-v4__footerline{margin-top:34px}
}

@media (min-width:1041px) and (max-width:1240px){
  .sectors-v4__grid{gap:20px}
  .sector-v4-card{height:555px}
}

/* =========================================================
   SPRINT 4.4 — PREMIUM PHOTOGRAPHY INTEGRATION
   ========================================================= */
.sector-v4-card > img{
  object-position:center center;
  image-rendering:auto;
}
.sector-v4-card:nth-child(1) > img{object-position:50% 52%}
.sector-v4-card:nth-child(2) > img{object-position:50% 50%}
.sector-v4-card:nth-child(3) > img{object-position:50% 50%}
.sector-v4-card:nth-child(4) > img{object-position:50% 56%}
.sector-v4-card:nth-child(5) > img{object-position:50% 52%}



/* RC-001.2 — baked photographic framing and harmonization */
.sector-v4-card:nth-child(1)>img,
.sector-v4-card:nth-child(2)>img,
.sector-v4-card:nth-child(3)>img,
.sector-v4-card:nth-child(4)>img,
.sector-v4-card:nth-child(5)>img{
  object-position:center center!important;
  filter:none!important;
}
@media (min-width:1041px){
  .sector-v4-card:hover>img{filter:none!important;}
}


/* =========================================================
   RC-001.3 — ENCUADRES Y TONO INTEGRADOS EN ARCHIVOS NUEVOS
   Los nombres de archivo son únicos para evitar caché.
   ========================================================= */
.sector-v4-card:nth-child(1)>img,
.sector-v4-card:nth-child(2)>img,
.sector-v4-card:nth-child(3)>img,
.sector-v4-card:nth-child(4)>img,
.sector-v4-card:nth-child(5)>img{
  object-position:center center !important;
}
@media (min-width:1041px){
  .sector-v4-card:nth-child(1)>img{filter:contrast(1.08) saturate(.96) brightness(.91) !important;}
  .sector-v4-card:nth-child(2)>img{filter:contrast(1.07) saturate(.96) brightness(.94) !important;}
  .sector-v4-card:nth-child(3)>img{filter:contrast(1.04) saturate(.96) brightness(1.04) !important;}
  .sector-v4-card:nth-child(4)>img{filter:contrast(1.06) saturate(.95) brightness(.93) !important;}
  .sector-v4-card:nth-child(5)>img{filter:contrast(1.08) saturate(.92) brightness(.89) !important;}
}
