/* ======================================================
   CSS LIMPIO (misma cascada, comentarios reducidos)
   Base: style.css original del proyecto
   ====================================================== */

/* ======================================== 
   TEMA CLARO - sin tocar style.css global
   ======================================== */
:root{
  --dark-0:#ffffff;
  --dark-1:#f7f9fc;
  --dark-2:#eef3f8;
  --dark-3:#e6edf5;

  --text:#18212b;
  --muted:rgba(24,33,43,.72);
  --muted2:rgba(24,33,43,.56);
  --border:rgba(24,33,43,.10);
  --card:rgba(255,255,255,.86);
  --card2:rgba(255,255,255,.92);
  --glow:rgba(31,176,90,.12);
  --shadow:0 24px 70px rgba(0,0,0,.10);

  --corp-green:#20b15a;
  --corp-green-dark:#0d6d32;
  --corp-surface:rgba(255,255,255,.78);
  --corp-surface-2:rgba(255,255,255,.92);
  --corp-border:rgba(24,33,43,.10);
  --corp-shadow:0 28px 80px rgba(0,0,0,.10);
  --timeline-dot-size: 56px;
  --timeline-line-width: 2px;
  --timeline-gap: 16px;

}

/* Fondo claro real + textura */
body{
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% 5%, rgba(31,176,90,.08), transparent 55%),
    radial-gradient(1100px 680px at 85% 30%, rgba(14,138,58,.06), transparent 60%),
    radial-gradient(900px 520px at 70% 80%, rgba(99,102,241,.05), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 45%, #f1f4f7 100%);
  background-attachment: fixed;
}

main, header, footer, section, nav, .container{
  position: relative;
  z-index: 1;
}

/* Navbar claro */
.navbar{
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(24,33,43,.08);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

.navbar .nav-link{
  color: #18212b !important;
  font-weight: 700;
}

.navbar .nav-link:hover{
  color: var(--corp-green-dark) !important;
}

.navbar .navbar-brand,
.navbar .navbar-brand span{
  color: #18212b !important;
}

.navbar .navbar-toggler{
  border-color: rgba(24,33,43,.14);
}

.navbar .navbar-toggler-icon{
  filter: none;
}

/* Botones */
.btn-primary{
  background: linear-gradient(135deg, #0a6b2d, #1fb05a);
  border: 0;
  box-shadow: 0 18px 40px rgba(31,176,90,.18);
  border-radius: 5px;
  font-weight: 900;
  padding: 12px 16px;
}

.btn-ghost{
  border-radius: 5px;
  font-weight: 900;
  padding: 12px 16px;
  border: 1px solid rgba(24,33,43,.14);
  background: rgba(255,255,255,.85);
  color: #18212b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost:hover{
  background: #ffffff;
  color: var(--corp-green-dark);
}

/* Secciones */
.section{
  padding: 54px 0;
}

.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.58));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title{
  color: var(--corp-green-dark);
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.section-subtitle{
  color: var(--muted);
  margin: 0 0 18px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ==========================================================
   HERO SLIDER
   ========================================================== */
.hero-slider{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(24,33,43,.10);
  box-shadow: 0 30px 90px rgba(0,0,0,.10);
  background: #ffffff;
}

@media (max-width: 991.98px){
  .hero-slider{
    min-height: 640px;
  }
}

.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .85s ease;
}

.hero-slide.is-active{
  opacity: 1;
}

.hero-slide img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(105%) contrast(104%);
}

.hero-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 560px at 20% 20%, rgba(31,176,90,.10), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.62) 55%, rgba(255,255,255,.18) 100%);
}

.hero-inner{
  position: relative;
  z-index: 2;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: end;
  min-height: 520px;
}

@media (max-width: 991.98px){
  .hero-inner{
    grid-template-columns: 1fr;
    padding: 44px 20px;
  }
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(24,33,43,.10);
  background: rgba(255,255,255,.80);
  color: #18212b;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.hero-dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #1fb05a;
  box-shadow: 0 0 0 7px rgba(31,176,90,.14);
}

.hero-title{
  font-size: clamp(20px, 5.5vw, 28px);
  line-height: 1.05;
  max-width: 700px;
  margin-bottom: 18px;
  color: #18212b;
}

.hero-subtitle{
  font-size: 16px;
  line-height: 1.5;
  max-width: 620px;
  margin-bottom: 24px;
  color: #243140;
}

.hero-desc{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}

.hero-panel{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(24,33,43,.10);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.client-logos__title{
  color: var(--corp-green);
}
.client-logos__wrap{
  background-color: white;
}

.pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(24,33,43,.10);
  background: rgba(255,255,255,.88);
  color: #18212b;
  font-weight: 900;
}

.statGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.statItem{
  border-radius: 14px;
  border: 1px solid rgba(24,33,43,.10);
  background: rgba(255,255,255,.92);
  padding: 10px 12px;
}

.statItem .k{
  color: rgba(24,33,43,.55);
  font-size: 12px;
  font-weight: 800;
}

.statItem .v{
  color: #18212b;
  font-size: 13px;
  font-weight: 950;
  margin-top: 3px;
}

.hero-controls{
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hero-nav{
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dotbtn{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: 1px solid rgba(24,33,43,.18);
  background: rgba(255,255,255,.90);
  cursor: pointer;
}

.hero-dotbtn.is-active{
  background: #1fb05a;
  border-color: rgba(31,176,90,.65);
  box-shadow: 0 0 0 6px rgba(31,176,90,.14);
}

.hero-arrows{
  display: flex;
  gap: 8px;
}

.hero-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(24,33,43,.12);
  background: rgba(255,255,255,.88);
  color: #18212b;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero-btn:hover{
  background: #ffffff;
}

/* Divisiones claras */
.divisiones{
  background: #0b7a31;
  position: relative;
  z-index: 2;
}

.divisiones-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.division-item{
  min-height: 146px;
  padding: 26px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.18);
  transition: background .25s ease, transform .25s ease;
}

.division-item:first-child{
  border-left: 1px solid rgba(255,255,255,.18);
}

.division-item:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

.division-item i{
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

.division-item span{
  display: block;
  max-width: 140px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
  color: #ffffff !important;
}

/* pantallas medianas */
@media (max-width: 1199.98px){
  .divisiones-grid{
    grid-template-columns: repeat(4, 1fr);
  }

  .division-item{
    min-height: 130px;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .division-item:nth-child(4n+1){
    border-left: 1px solid rgba(255,255,255,.18);
  }
}

/* móvil: scroll horizontal */
@media (max-width: 767.98px){
  .divisiones{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .divisiones::-webkit-scrollbar{
    display: none;
  }

  .divisiones-grid{
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .division-item{
    flex: 0 0 175px;
    min-height: 110px;
    padding: 20px 14px;
    border-bottom: 0;
    border-left: 0;
    border-right: 1px solid rgba(255,255,255,.18);
  }

  .division-item:first-child{
    border-left: 1px solid rgba(255,255,255,.18);
  }

  .division-item i{
    font-size: 24px;
  }

  .division-item span{
    font-size: 12px;
    letter-spacing: .1em;
    max-width: 120px;
  }
}

/* ==========================================================
   CARDS (obras/servicios)
   ========================================================== */

#proyectos{
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
  background:
    linear-gradient(180deg, #f3f4f6 0%, #ffffff 24%, #f3f4f6 100%);
  color: #18212b;
  overflow: hidden;
}

#proyectos::before{
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0,0,0,.04) 0%, rgba(0,0,0,0) 68%);
  pointer-events: none;
}

#proyectos .section-subtitle{
  color: rgba(24,33,43,.68);
}

#proyectos .d-flex{
  align-items: flex-start !important;
  margin-bottom: 34px !important;
}

#proyectos .row{
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

/* Card proyecto */
#proyectos .work-card{
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: #18212b;
  background: #ffffff;
  border: 1px solid rgba(17,24,32,.08);
  border-radius: 0 !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

#proyectos .work-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0,0,0,.12);
  border-color: rgba(17,24,32,.16);
}

/* Imagen */
#proyectos .work-card__img{
  position: relative;
  height: 300px;
  overflow: hidden;
  border-bottom: 1px solid rgba(17,24,32,.08);
  background: #e9ecef;
}

#proyectos .work-card__img::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,.18), rgba(0,0,0,0));
  pointer-events: none;
}

#proyectos .work-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

#proyectos .work-card:hover .work-card__img img{
  transform: scale(1.05);
}

/* Contenido */
#proyectos .work-card .p-3{
  padding: 24px !important;
}

#proyectos .work-card .p-3::before{
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #f2b300;
  margin-bottom: 16px;
}

/* Meta */
#proyectos .work-card__meta{
  color: rgba(24,33,43,.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Título */
#proyectos .work-card__title{
  color: #111820;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin-bottom: 14px;
}

/* Texto */
#proyectos .work-card__desc{
  color: rgba(24,33,43,.74);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* En desktop que se vea más “editorial” */
@media (min-width: 992px){
  #proyectos .col-lg-4:nth-child(1) .work-card{
    margin-top: 28px;
  }

  #proyectos .col-lg-4:nth-child(2) .work-card{
    margin-top: 0;
  }

  #proyectos .col-lg-4:nth-child(3) .work-card{
    margin-top: 54px;
  }
}

/* Tablet */
@media (max-width: 991.98px){
  #proyectos{
    padding-top: 72px;
    padding-bottom: 72px;
  }

  #proyectos .section-title{
    max-width: none;
    font-size: clamp(34px, 5vw, 52px);
  }

  #proyectos .work-card__img{
    height: 250px;
  }

  #proyectos .work-card__title{
    font-size: 24px;
  }
}

/* Móvil */
@media (max-width: 767.98px){
  #proyectos{
    padding-top: 56px;
    padding-bottom: 56px;
  }

  #proyectos .d-flex{
    margin-bottom: 24px !important;
  }

  #proyectos .section-title{
    font-size: clamp(28px, 8vw, 40px);
  }

  #proyectos .work-card{
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
  }

  #proyectos .work-card__img{
    height: 220px;
  }

  #proyectos .work-card .p-3{
    padding: 18px !important;
  }

  #proyectos .work-card__title{
    font-size: 22px;
  }

  #proyectos .work-card__desc{
    font-size: 14px;
  }
}

/* Form controls */
.form-control{
  background: rgba(255,255,255,.90) !important;
  border: 1px solid rgba(24,33,43,.14) !important;
  color: #18212b !important;
}

.form-control::placeholder{
  color: rgba(24,33,43,.45) !important;
}

.form-label{
  color: rgba(24,33,43,.78) !important;
  font-weight: 800;
}

/* ==========================================================
   Reveal
   ========================================================== */
.js-reveal{
  opacity: 1;
  transform: none;
}

.js .js-reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}

.js .js-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   Modal imágenes
   ========================================================== */
.imgModal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
  z-index: 9999;
  opacity: 0;
  transition: opacity .22s ease;
}

.imgModal.open{
  display: flex;
  opacity: 1;
}

.imgModal-panel{
  width: min(1100px, 96vw);
  max-height: 92vh;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(24,33,43,.10);
  box-shadow: 0 40px 110px rgba(0,0,0,.18);
  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.imgModal.open .imgModal-panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.imgModal-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(24,33,43,.10);
}

.imgModal-title{
  font-weight: 950;
  font-size: 14px;
  color: #18212b;
}

.imgModal-close{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(24,33,43,.14);
  background: rgba(255,255,255,.92);
  color: #18212b;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.imgModal-body{
  background: #ffffff;
  display: grid;
  place-items: center;
  max-height: calc(92vh - 58px);
}

.imgModal-body img{
  width: 100%;
  height: auto;
  max-height: calc(92vh - 58px);
  object-fit: contain;
  display: block;
}

.zoom-clone{
  position: fixed;
  z-index: 10000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 110px rgba(0,0,0,.25);
  will-change: top,left,width,height,transform,opacity;
  transition: all .75s cubic-bezier(.2,.9,.2,1);
  background: #ffffff;
}

.zoom-clone img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================
   Counters
   ========================== */
/* KPI estilo corporativo */
.kpi-row{
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(24,33,43,.1);
  border-bottom: 1px solid rgba(24,33,43,.1);
}

.kpi{
  flex: 1;
  padding: 32px 24px;
  border-right: 1px solid rgba(24,33,43,.1);
  background: transparent;
}

.kpi:last-child{
  border-right: 0;
}

/* Número */
.kpi .kpi-num{
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #111820;
  margin-bottom: 8px;
}

/* Texto */
.kpi .kpi-label{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #18212b;
}

.kpi .kpi-sub{
  font-size: 13px;
  color: rgba(24,33,43,.6);
}
.kpi::before{
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #f2b300;
  margin-bottom: 14px;
}
/* Móvil */
@media (max-width: 768px){
  .kpi{
    flex: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(24,33,43,.1);
  }

  .kpi:last-child{
    border-bottom: 0;
  }
}

/* ==========================
   Historia / Timeline
   ========================== */
   .section-about-page{
  background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 24%, #f3f4f6 100%);
}
.aboutpage-corporate .corp-hero__slider{
  min-height: auto !important;
  height: auto !important;
}

.aboutpage-corporate .corp-hero__content{
  min-height: auto !important;
  display: flex;
  align-items: center;
  padding-top: 115px;
  padding-bottom: 36px;
}

.aboutpage-corporate .corp-hero__copy{
  max-width: 760px;
}

.aboutpage-corporate .corp-hero__title{
  font-size: clamp(34px, 4.2vw, 54px);
  margin-bottom: 12px;
}

.aboutpage-corporate .corp-hero__desc{
  font-size: 15px;
  line-height: 1.55;
  max-width: 42ch;
  margin-bottom: 0;
}

/* imagen del hero */
.aboutpage-corporate .corp-hero__media{
  object-position: center center;
}

/* overlay un poco más limpio */
.aboutpage-corporate .corp-hero__overlay{
  background:
    linear-gradient(90deg, rgba(10,16,24,.68) 0%, rgba(10,16,24,.42) 34%, rgba(10,16,24,.22) 62%, rgba(10,16,24,.18) 100%);
}

/* quitar espacio extra debajo del hero */
.aboutpage-corporate .corp-hero{
  margin-bottom: 0;
}

.aboutpage-corporate #historia.section{
  padding-top: 36px;
}
@media (max-width: 767.98px){
  .aboutpage-corporate .corp-hero__content{
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .aboutpage-corporate .corp-hero__title{
    font-size: clamp(28px, 8vw, 40px);
  }

  .aboutpage-corporate .corp-hero__desc{
    font-size: 14px;
    max-width: none;
  }

  .aboutpage-corporate #historia.section{
    padding-top: 24px;
  }
}
.history-wrap{
  display: grid;
  grid-template-columns: .9fr 1.2fr .9fr;
  gap: 14px;
  align-items: stretch;
  padding: 18px;
}

/* ==========================
   PRESENCIA INTERNACIONAL
   ========================== */
.corp-presencia{
  position: relative;
  overflow: hidden;
}

.corp-presencia::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #f3f4f6 0%, #ffffff 24%, #f3f4f6 100%);
  pointer-events: none;
}

.corp-country{
  position: relative;
  text-align: center;
  padding: 20px 10px;
  border-radius: 5px;
  background: var(--corp-green-dark);
  border: 1px solid rgba(24,33,43,.10);
  color: white;
  font-weight: 800;
  letter-spacing: .02em;
  transition: all .25s ease;
}
/* línea amarilla */
.corp-country::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 3px;
  background: #f2b300;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.corp-country:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.corp-country:hover::after{
  width: 50%;
}

#contacto .card{
  background-color: #ffffff;
}

#contacto .section-subtitle{
  color: var(--muted);
}
.btn-primary{
  position: relative;
  overflow: hidden;
}

.btn-primary::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 3px;
  background: #f2b300;
  transform: translateX(-50%);
  transition: width .25s ease;
}

.btn-primary:hover::after{
  width: 50%;
}


.history-timeline{
  position: relative;
  padding-left: 0;
}

/* línea base */
.history-timeline::before{
  content: "";
  position: absolute;
  top: 0;
  left: calc((var(--timeline-dot-size) / 2) - (var(--timeline-line-width) / 2));
  width: var(--timeline-line-width);
  height: 100%;
  background: rgba(242,179,0,.22);
}

/* línea animada */
.history-timeline::after{
  content: "";
  position: absolute;
  top: 0;
  left: calc((var(--timeline-dot-size) / 2) - (var(--timeline-line-width) / 2));
  width: var(--timeline-line-width);
  height: var(--timeline-fill, 0%);
  background: #f2b300;
  transition: height .25s ease-out;
}

.history-item{
  position: relative;
  display: grid;
  grid-template-columns: var(--timeline-dot-size) 1fr;
  column-gap: var(--timeline-gap);
  align-items: start;
  margin-bottom: 22px;
  padding-bottom: 8px;
}

/* quitamos los puntos raros */
.history-item::before,
.history-item::after{
  display: none !important;
  content: none !important;
}

/* año */
.history-year{
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  position: relative;
  z-index: 2;
  margin: 0;
  justify-self: center;

  border-radius: 50%;
  display: grid;
  place-items: center;

  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  border: 1px solid rgba(24,33,43,.12);

  background: radial-gradient(
    circle at 35% 35%,
    rgba(31,176,90,.85),
    rgba(13,109,50,.95)
  );

  box-shadow:
    0 0 0 6px #fff,
    0 18px 40px rgba(31,176,90,.18);
}

.history-shot{
  overflow: hidden;
  background: rgba(255,255,255,.90);
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
  height: 100%;
  min-height: 240px;
}

.history-shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-card{
  background: rgba(255,255,255,.96);
  padding: 12px 12px;
}

.history-title{
  font-weight: 950;
  color: #18212b;
  margin-bottom: 6px;
}

.history-text{
  color: rgba(24,33,43,.72);
  line-height: 1.6;
  font-size: 14px;
}

/* =========================================
   FOOTER CLARO PREMIUM
   ========================================= */
.footerX{
  position: relative;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(31,176,90,.08), transparent 60%),
    linear-gradient(180deg, #f9fbfd 0%, #eef3f8 100%);
  border-top: 1px solid rgba(24,33,43,.08);
  color: rgba(24,33,43,.65);
  font-size: 13px;
  overflow: hidden;
}

.footerX::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/serleycon/logo-watermark.png");
  background-repeat: no-repeat;
  background-position: right -100px bottom -150px;
  background-size: 600px;
  opacity: .03;
  pointer-events: none;
}

.footerX .container{
  position: relative;
  z-index: 2;
}

.footerX strong{
  color: #18212b;
  font-weight: 900;
}

.footerX a{
  color: rgba(24,33,43,.75);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s ease;
}

.footerX a:hover{
  color: #1fb05a;
}

.footerX .footer-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24,33,43,.12), transparent);
  margin: 18px 0;
}

.footerX::after{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(31,176,90,.4), transparent);
}
.contact-item{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;       /* 👉 texto más grande */
  margin-bottom: 10px;   /* 👉 espacio entre teléfono y email */
}

.contact-item i{
  color: #0b7a31;
  font-size: 18px;       /* 👉 icono más grande */
  min-width: 20px;       /* 👉 alineación perfecta */
}

.contact-item span{
  line-height: 1.4;
}
.contact-item:hover{
  color: #0b7a31;
}
/* =========================================================
   LEGALES / COOKIES / FORMULARIOS
   ========================================================= */

/* ---------- Contenedor general páginas legales ---------- */
.legal-page{
  padding: 80px 0;
  background: #f7f8f9;
}

.legal-box{
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 42px 38px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.legal-box h1{
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  color: #0d223f;
  letter-spacing: -0.03em;
}

.legal-box h2{
  margin: 34px 0 14px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #0d223f;
}

.legal-box h3{
  margin: 24px 0 12px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #0d223f;
}

.legal-box p{
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
  color: #5f6b7a;
}

.legal-box ul,
.legal-box ol{
  margin: 0 0 18px 0;
  padding-left: 20px;
}

.legal-box li{
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.75;
  color: #5f6b7a;
}

.legal-box strong{
  color: #0d223f;
  font-weight: 700;
}

.legal-box a{
  color: #0b7a31;
  text-decoration: none;
  font-weight: 600;
}

.legal-box a:hover{
  text-decoration: underline;
}

.legal-box hr{
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin: 28px 0;
}

/* ---------- Bloques destacados dentro de legales ---------- */
.legal-note,
.legal-highlight{
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(11, 122, 49, 0.06);
  border: 1px solid rgba(11, 122, 49, 0.10);
}

.legal-note p,
.legal-highlight p{
  margin: 0;
}

/* ---------- Banner de cookies ---------- */
.cookie-banner{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(460px, calc(100% - 32px));
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  padding: 22px 22px 18px;
  z-index: 9999;
}

.cookie-content p{
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #4f5b68;
}

.cookie-content a{
  color: #0b7a31;
  font-weight: 700;
  text-decoration: none;
}

.cookie-content a:hover{
  text-decoration: underline;
}

.cookie-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn,
.cookie-actions button{
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
}

.cookie-actions .btn-primary,
.cookie-actions #accept-cookies{
  background: #0b7a31;
  color: #fff;
}

.cookie-actions .btn-primary:hover,
.cookie-actions #accept-cookies:hover{
  background: #096528;
  transform: translateY(-1px);
}

.cookie-actions .btn-outline,
.cookie-actions #reject-cookies{
  background: transparent;
  color: #0d223f;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.cookie-actions .btn-outline:hover,
.cookie-actions #reject-cookies:hover{
  border-color: #0b7a31;
  color: #0b7a31;
  transform: translateY(-1px);
}

/* ---------- Textos legales formularios ---------- */
.form-legal{
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #6a7480;
}

.form-legal a{
  color: #0b7a31;
  font-weight: 700;
  text-decoration: none;
}

.form-legal a:hover{
  text-decoration: underline;
}

.form-check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #6a7480;
}

.form-check input[type="checkbox"]{
  margin-top: 3px;
  accent-color: #0b7a31;
  transform: scale(1.05);
}

.form-check a{
  color: #0b7a31;
  font-weight: 700;
  text-decoration: none;
}

.form-check a:hover{
  text-decoration: underline;
}

/* ---------- Tablas legales si alguna vez las usas ---------- */
.legal-box table{
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  overflow: hidden;
  border-radius: 14px;
}

.legal-box th,
.legal-box td{
  padding: 14px 16px;
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 15px;
  line-height: 1.6;
}

.legal-box th{
  background: #f5f7f8;
  color: #0d223f;
  font-weight: 700;
}

.legal-box td{
  color: #5f6b7a;
  background: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px){
  .legal-page{
    padding: 60px 0;
  }

  .legal-box{
    padding: 34px 24px;
    border-radius: 18px;
  }

  .legal-box h1{
    margin-bottom: 22px;
  }

  .legal-box h2{
    margin-top: 28px;
    font-size: 20px;
  }
}

@media (max-width: 767.98px){
  .legal-page{
    padding: 42px 0;
  }

  .legal-box{
    padding: 26px 18px;
    border-radius: 16px;
  }

  .legal-box p,
  .legal-box li{
    font-size: 15px;
    line-height: 1.75;
  }

  .cookie-banner{
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .cookie-actions{
    flex-direction: column;
  }

  .cookie-actions .btn,
  .cookie-actions button{
    width: 100%;
    justify-content: center;
  }
}
.spam-field{
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.g-recaptcha{
  display: inline-block;
  max-width: 100%;
}

@media (max-width: 575.98px){
  .g-recaptcha{
    transform: scale(0.92);
    transform-origin: left top;
  }
}
/* ========================================
   HOME CORPORATIVA 2026
   ======================================== */
body.homepage-corporate,
.homepage-corporate{
  overflow-x: hidden;
}

.homepage-corporate .navbar{
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24,33,43,.08);
}

.corp-hero{
  position: relative;
  margin-top: -86px;
  padding-top: 86px;
}

.corp-hero__slider{
  position: relative;
  height: 75svh;
  min-height: 70svh;
  background: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(24,33,43,.08);
  display: flex;
  flex-direction: column;
}

.corp-hero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

.corp-hero__slide.is-active{
  opacity: 1;
  visibility: visible;
}

.corp-hero__media,
.corp-hero__slide img,
.corp-hero__slide video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.corp-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.64) 42%, rgba(255,255,255,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.34) 100%),
    radial-gradient(850px 480px at 82% 22%, rgba(32,177,90,.12), transparent 60%);
  z-index: 1;
}

.corp-hero__content{
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 140px;
}

.corp-hero__copy{
  max-width: 760px;
}

.corp-kicker{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(24,33,43,.10);
  backdrop-filter: blur(10px);
  color: #18212b;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
}

.corp-kicker span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--corp-green);
  box-shadow: 0 0 0 8px rgba(32,177,90,.16);
}

.corp-hero__title{
  margin: 20px 0 16px;
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: .98;
  font-weight: 980;
  letter-spacing: -.05em;
  color: #18212b;
}

.corp-hero__desc{
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: rgba(24,33,43,.82);
  max-width: 62ch;
}

.corp-hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.corp-hero__panel,
.corp-info-card,
.corp-contact,
.corp-project-card,
.corp-business-card,
.corp-timeline__list,
.corp-metric,
.corp-mini-card{
  box-shadow: var(--corp-shadow);
}

.corp-hero__panel{
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(24,33,43,.10);
  backdrop-filter: blur(12px);
}

.corp-panel__eyebrow,
.corp-section-label,
.corp-business-card__tag,
.corp-featured__label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #128147;
}

.corp-panel__title{
  margin-top: 10px;
  font-weight: 900;
  color: #18212b;
  font-size: 24px;
  line-height: 1.2;
}

.corp-panel__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.corp-mini-card{
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(24,33,43,.10);
}

.corp-mini-card h3{
  margin: 0 0 6px;
  color: #18212b;
  font-size: 15px;
  font-weight: 900;
}

.corp-mini-card p,
.corp-featured__meta,
.corp-project-card__meta,
.corp-project-card p,
.corp-business-card p,
.corp-info-card p,
.corp-timeline__card p,
.corp-metric p,
.corp-contact__list li{
  margin: 0;
  color: rgba(24,33,43,.72);
  line-height: 1.6;
}

.corp-featured{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(24,33,43,.10);
}

.corp-featured__name{
  margin-top: 8px;
  color: #18212b;
  font-size: 20px;
  font-weight: 900;
}

.corp-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #18212b;
  font-weight: 800;
  text-decoration: none;
}

.corp-link:hover{
  color: #128147;
}

.corp-hero__controls{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.corp-hero__dots,
.corp-hero__arrows{
  display: flex;
  align-items: center;
  gap: 10px;
}

.corp-hero__dot,
.corp-hero__arrow{
  border: 0;
  cursor: pointer;
}

.corp-hero__dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(24,33,43,.22);
}

.corp-hero__dot.is-active{
  background: var(--corp-green-dark);
  box-shadow: 0 0 0 7px rgba(32,177,90,.14);
}

.corp-hero__arrow{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18212b;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(24,33,43,.12);
  backdrop-filter: blur(10px);
}

.corp-hero__arrow:hover{
  background: #ffffff;
}

.corp-section-head{
  max-width: 900px;
  margin-bottom: 26px;
}

.corp-metrics{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.corp-metric{
  padding: 24px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(24,33,43,.10);
}

.corp-metric strong{
  display: block;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1;
  color: #18212b;
  font-weight: 980;
  letter-spacing: -.04em;
}

.corp-metric span{
  display: block;
  margin-top: 10px;
  color: #18212b;
  font-weight: 800;
}

.corp-metric p{
  margin-top: 8px;
}

.corp-business-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.corp-business-card,
.corp-project-card,
.corp-info-card{
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(24,33,43,.10);
  text-decoration: none;
}

.corp-business-card--large{
  grid-row: span 2;
}

.corp-business-card__media,
.corp-project-card__media,
.corp-info-card__media,
.corp-timeline__media{
  overflow: hidden;
}

.corp-business-card__media img,
.corp-project-card__media img,
.corp-info-card__media img,
.corp-timeline__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.corp-business-card:hover img,
.corp-project-card:hover img,
.corp-info-card:hover img,
.corp-timeline__media:hover img{
  transform: scale(1.04);
}

.corp-business-card__media{ height: 260px; }
.corp-business-card--large .corp-business-card__media{ height: 100%; min-height: 540px; }
.corp-project-card__media{ height: 280px; }
.corp-info-card__media{ height: 280px; }
.corp-timeline__media{
  border-radius: 24px;
  border: 1px solid rgba(24,33,43,.10);
  min-height: 100%;
  background: rgba(255,255,255,.90);
}
.corp-timeline__media img{ min-height: 100%; }

.corp-business-card__body,
.corp-project-card__body,
.corp-info-card__body{
  padding: 22px;
}

.corp-business-card h3,
.corp-project-card h3,
.corp-info-card h2,
.corp-timeline__card h3{
  margin: 10px 0 10px;
  color: #18212b;
  font-weight: 900;
  line-height: 1.18;
}

.corp-project-card:hover,
.corp-business-card:hover,
.corp-info-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 34px 100px rgba(0,0,0,.12);
}

.corp-project-card{
  transition: transform .2s ease, box-shadow .2s ease;
}

.corp-timeline{
  display: grid;
  grid-template-columns: .8fr 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}

.corp-timeline__list{
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(24,33,43,.10);
}

.corp-timeline__item{
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: start;
}

.corp-timeline__item + .corp-timeline__item{
  margin-top: 14px;
}

.corp-timeline__year{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(32,177,90,.90), rgba(13,109,50,.92));
  border: 1px solid rgba(24,33,43,.12);
  color: #fff;
  font-weight: 900;
}

.corp-timeline__card{
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(24,33,43,.08);
}

.corp-contact{
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  border: 1px solid rgba(24,33,43,.10);
}

.corp-contact__list{
  margin: 24px 0 0;
  padding-left: 18px;
}

.corp-contact__list li + li{
  margin-top: 8px;
}

.corp-contact__form{
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(24,33,43,.08);
  width: 100%;
}
/* ==========================================
   ABOUT PAGE (quien-somos.php)
   ========================================== */

.section-about-page{
  padding-top: 80px;
  padding-bottom: 80px;
}

/* grid vertical */
.about-page-grid{
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* bloque */
.about-block{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* invertir orden */
.about-block--reverse{
  grid-template-columns: 1fr 1.1fr;
}

.about-block--reverse .about-block__img{
  order: 2;
}

.about-block--reverse .about-block__content{
  order: 1;
}

/* imagen */
.about-block__img{
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.about-block__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* texto */
.about-block__content{
  max-width: 520px;
}

.about-block__content .section-title{
  margin-bottom: 14px;
}

.about-block__content .section-subtitle{
  margin-bottom: 10px;
  line-height: 1.6;
}
.about-page-grid{
  position: relative;
}

.about-block{
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.about-block:not(:last-child){
  border-bottom: 1px solid rgba(17,24,32,.08);
}

/* línea amarilla encima del borde */
.about-block:not(:last-child)::after{
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f2b300;
}
/* ==========================================================
   SLIDER PROYECTOS DESTACADOS
   ========================================================== */

.featured-projects-slider{
  position: relative;
  margin-top: 10px;
}

.featured-projects-track-wrap{
  overflow: hidden;
  width: 100%;
}

.featured-projects-track{
  display: flex;
  gap: 20px;
  transition: transform .55s ease;
  will-change: transform;
  align-items: flex-start;
}

.featured-projects-slide{
  flex: 0 0 calc((100% - 40px) / 3);
}

/* Mantener la composición escalonada */
@media (min-width: 992px){
  .featured-projects-slide:nth-child(3n+1) .work-card{
    margin-top: 28px;
  }

  .featured-projects-slide:nth-child(3n+2) .work-card{
    margin-top: 0;
  }

  .featured-projects-slide:nth-child(3n+3) .work-card{
    margin-top: 54px;
  }
}

.featured-projects-arrow{
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17,24,32,.12);
  background: rgba(255,255,255,.96);
  color: #18212b;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.featured-projects-arrow:hover{
  background: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.featured-projects-arrow:disabled{
  opacity: .35;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.featured-projects-arrow--prev{
  left: -24px;
}

.featured-projects-arrow--next{
  right: -24px;
}

/* Tablet */
@media (max-width: 991.98px){
  .featured-projects-slide{
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .featured-projects-slide .work-card{
    margin-top: 0 !important;
  }

  .featured-projects-arrow--prev{
    left: -10px;
  }

  .featured-projects-arrow--next{
    right: -10px;
  }
}

/* Móvil */
@media (max-width: 767.98px){
  .featured-projects-track{
    gap: 14px;
  }

  .featured-projects-slide{
    flex: 0 0 100%;
  }

  .featured-projects-slide .work-card{
    margin-top: 0 !important;
  }

  .featured-projects-arrow{
    width: 42px;
    height: 42px;
    top: 38%;
  }

  .featured-projects-arrow--prev{
    left: 6px;
  }

  .featured-projects-arrow--next{
    right: 6px;
  }
}
/* responsive */
@media (max-width: 767.98px){

  .section-about-page{
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-page-grid{
    gap: 34px;
  }

  .about-block,
  .about-block--reverse{
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 22px;
    margin-bottom: 0;
  }

  .about-block__img,
  .about-block--reverse .about-block__img{
    order: 1;
    height: 210px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
  }

  .about-block__content,
  .about-block--reverse .about-block__content{
    order: 2;
    max-width: none;
  }

  .section-about-page .section-title{
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.05;
    margin-bottom: 10px;
    padding-left: 14px;
  }

  .section-about-page .section-title::before{
    width: 4px;
    height: 18px;
    top: 6px;
  }

  .about-block__content .section-subtitle{
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 8px;
  }

  .about-block:not(:last-child){
    border-bottom: 1px solid rgba(17,24,32,.08);
  }

  .about-block:not(:last-child)::after{
    width: 100%;
    height: 2px;
  }
}

@media (max-width: 1199.98px){
  .corp-hero__content,
  .corp-business-grid,
  .corp-timeline,
  .corp-contact{
    grid-template-columns: 1fr;
  }

  .corp-business-card--large{
    grid-row: auto;
  }

  .corp-business-card--large .corp-business-card__media{
    min-height: 300px;
  }

  .corp-metrics{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .corp-hero__slider{
    height: 78svh;
    min-height: 78svh;
  }

  .corp-hero__content{
    display: flex;
    align-items: flex-end !important;
    height: 100%;
    padding-top: 0 !important;
    padding-bottom: 150px !important;
  }

  .corp-hero__copy{
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    margin-bottom: 0;
  }

  .corp-hero__title{
    margin: 14px 0 10px;
    margin-bottom: 8px;
    font-size: clamp(18px, 5.8vw, 24px);
    line-height: 1.08;
  }

  .corp-hero__desc{
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .corp-hero__cta{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .corp-hero__cta a,
  .corp-hero__cta .btn,
  .corp-hero__cta button{
    min-width: 0;
    min-height: 46px;
    padding: 0 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .corp-hero__controls{
    bottom: 80px !important;
  }

  .corp-kicker{
    margin-bottom: 8px;
  }
}

@media (max-width: 768px){
  .hero-actions,
  .corp-hero__actions{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }

  .hero-actions a,
  .corp-hero__actions a,
  .hero-actions .btn,
  .corp-hero__actions .btn{
    min-height: 44px;
    font-size: 12px;
    padding: 0 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .btn-areas{
    font-size: 0;
  }

  .btn-areas::after{
    content: "Áreas";
    font-size: 12px;
  }
}

/* ==========================================================
   FASE 1 - HERO MÁS CORPORATIVO / MÁS TIPO COBRA-FERROVIAL
   ========================================================== */

/* Header más sobrio */
.navbar{
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid rgba(24,33,43,.10);
}

.navbar .nav-link{
  font-weight: 800;
  letter-spacing: -.01em;
}
/* NAV LINKS */
.navbar .nav-link{
  position: relative;
  display: inline-block;
}

/* línea */
.navbar .nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #f2b300;
  transition: width .3s ease;
}

/* hover */
.navbar .nav-link:hover::after{
  width: 100%;
}

/* Botones menos "amables" */
.btn-primary,
.btn-ghost{
  border-radius: 10px;
  padding: 13px 18px;
  font-weight: 800;
  box-shadow: none;
}

.btn-primary{
  background: #118043;
}

.btn-primary:hover{
  background: #0d6d32;
}

.btn-ghost{
  background: rgba(255,255,255,.92);
}

/* HERO */
.corp-hero{
  position: relative;
}

.corp-hero__slider{
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  background: #0f1720;
}

@media (max-width: 991.98px){
  .corp-hero__slider{
    min-height: 76vh;
  }
}

.corp-hero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}

.corp-hero__slide.is-active{
  opacity: 1;
  z-index: 1;
}

.corp-hero__media{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.62) saturate(.92) contrast(1.05);
  transform: scale(1.02);
}

/* Overlay mucho menos blanco y más corporativo */
.corp-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(9,14,20,.58) 0%, rgba(9,14,20,.34) 42%, rgba(9,14,20,.18) 100%),
    linear-gradient(180deg, rgba(9,14,20,.18) 0%, rgba(9,14,20,.30) 100%);
  pointer-events: none;
}

/* Contenido hero */
.corp-hero__content{
  position: relative;
  z-index: 3;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 120px;
}

@media (max-width: 991.98px){
  .corp-hero__content{
    min-height: 76vh;
    align-items: flex-end;
    padding-top: 100px;
    padding-bottom: 130px;
  }
}

.corp-hero__copy{
  max-width: 760px;
  color: #fff;
}

.corp-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 800;
}

.corp-kicker span{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20b15a;
  display: inline-block;
  box-shadow: none;
}

.corp-hero__title{
  color: #fff;
  font-size: clamp(38px, 5.3vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 900;
  max-width: 980px;
  margin-bottom: 20px;
}

.corp-hero__desc{
  color: rgba(255,255,255,.84);
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.5;
  max-width: 700px;
  margin-bottom: 28px;
}

.corp-hero__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.corp-hero__cta .btn{
  min-width: 150px;
}

/* Controles hero más discretos */
.corp-hero__controls{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.corp-hero__dots{
  display: flex;
  gap: 10px;
}

.corp-hero__dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  background: transparent;
}

.corp-hero__dot.is-active{
  background: #f2b300;
  border-color: #f2b300;
  box-shadow: 0 0 0 4px rgba(242,179,0,.18);
}

.corp-hero__arrows{
  display: flex;
  gap: 10px;
}

.corp-hero__arrow{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.10);
  color: #fff;
  display: grid;
  place-items: center;
}

.corp-hero__arrow:hover{
  background: rgba(255,255,255,.18);
}


/* Reducir sensación de cards justo en home */
.card,
.kpi,
.history-card,
.history-shot,
.history-timeline,
.corp-country,
.work-card,
.service-card,
.about-card{
  box-shadow: none !important;
}

/* Títulos generales más sobrios */
.section-title{
  color: #18212b;
  font-weight: 900;
  letter-spacing: -0.03em;
}
@media (max-width: 767.98px){
  :root{
    --timeline-dot-size: 56px;
  }
  /* ----------------------------------
     HISTORIA - contenedor general
  ---------------------------------- */
  .history-wrap{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* Mostrar imágenes en móvil */
  .history-media{
    display: block;
    width: 100%;
  }

  .history-media .history-shot{
    border-radius: 10px;
    overflow: hidden;
  }

  .history-media .history-shot img{
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  /* ----------------------------------
     TIMELINE móvil vertical
  ---------------------------------- */
:root{
  --timeline-dot-size: 56px;
  --timeline-line-width: 2px;
  --timeline-gap: 16px;
}

.history-timeline{
  position: relative;
  padding-left: 0;
}

/* línea base */
.history-timeline::before{
  content: "";
  position: absolute;
  top: 0;
  left: calc((var(--timeline-dot-size) / 2) - (var(--timeline-line-width) / 2));
  width: var(--timeline-line-width);
  height: 100%;
  background: rgba(242,179,0,.22);
}

/* línea animada */
.history-timeline::after{
  content: "";
  position: absolute;
  top: 0;
  left: calc((var(--timeline-dot-size) / 2) - (var(--timeline-line-width) / 2));
  width: var(--timeline-line-width);
  height: var(--timeline-fill, 0%);
  background: #f2b300;
  transition: height .25s ease-out;
}

.history-item{
  position: relative;
  display: grid;
  grid-template-columns: var(--timeline-dot-size) 1fr;
  column-gap: var(--timeline-gap);
  align-items: start;
  margin-bottom: 22px;
  padding-bottom: 8px;
}

/* quitamos los puntos raros */
.history-item::before,
.history-item::after{
  display: none !important;
  content: none !important;
}

/* año */
.history-year{
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  position: relative;
  z-index: 2;
  margin: 0;
  justify-self: center;

  border-radius: 50%;
  display: grid;
  place-items: center;

  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  border: 1px solid rgba(24,33,43,.12);

  background: radial-gradient(
    circle at 35% 35%,
    rgba(31,176,90,.85),
    rgba(13,109,50,.95)
  );

  box-shadow:
    0 0 0 6px #fff,
    0 18px 40px rgba(31,176,90,.18);
}
  /* card */
  .history-card{
    padding: 10px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .history-title{
    font-size: 18px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .history-text{
    font-size: 14px;
    line-height: 1.65;
    color: rgba(24,33,43,.78);
  }

  /* Ajustes de sección */
  #historia .section-title{
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 8px;
  }

  #historia .section-subtitle{
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
}
/* ==========================================================
   DETALLE DE PROYECTO - coherente con home actual
   ========================================================== */

.project-detail-page{
  background:
    linear-gradient(180deg, #f3f4f6 0%, #ffffff 24%, #f3f4f6 100%);
}

.project-breadcrumbs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .02em;
}

.project-breadcrumbs a{
  color: rgba(24,33,43,.72);
  text-decoration: none;
  font-weight: 800;
}

.project-breadcrumbs a:hover{
  color: #18212b;
}

.project-breadcrumbs span{
  color: rgba(24,33,43,.55);
}

.project-detail-card{
  background: #ffffff;
  border: 1px solid rgba(17,24,32,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  overflow: hidden;
}

.project-detail-hero{
  position: relative;
  min-height: 520px;
  background: #e9ecef;
}

.project-detail-hero > img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-detail-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,24,32,.72) 0%, rgba(17,24,32,.40) 45%, rgba(17,24,32,.18) 100%),
    linear-gradient(180deg, rgba(17,24,32,.12) 0%, rgba(17,24,32,.28) 100%);
}

.project-detail-hero__content{
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.project-detail-badge{
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.project-detail-title{
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.04em;
  max-width: 980px;
}

.project-detail-lead{
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.65;
}

.project-detail-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.project-detail-tag{
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.project-detail-body{
  padding: 30px;
  background: #ffffff;
}

.project-detail-block{
  height: 100%;
}

.project-detail-side{
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.project-thumbgrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.project-thumb{
  padding: 0;
  border: 1px solid rgba(17,24,32,.08);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.project-thumb img{
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.project-thumb:hover img{
  transform: scale(1.04);
}

.project-detail-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-prose{
  color: rgba(24,33,43,.78);
  line-height: 1.75;
  font-size: 15px;
}

.project-prose h2,
.project-prose h3,
.project-prose h4{
  color: #18212b;
  font-weight: 900;
  margin: 22px 0 10px;
}

.project-prose p{
  margin: 0 0 14px;
}

.project-prose ul,
.project-prose ol{
  margin: 0 0 14px 20px;
}

.project-prose li{
  margin-bottom: 8px;
}

.project-prose a{
  color: var(--corp-green-dark);
  font-weight: 700;
}

@media (max-width: 991.98px){
  .project-detail-hero,
  .project-detail-hero__content{
    min-height: 440px;
  }

  .project-detail-title{
    font-size: clamp(28px, 6vw, 44px);
  }

  .project-detail-body{
    padding: 22px;
  }
}

@media (max-width: 767.98px){
  .project-detail-hero,
  .project-detail-hero__content{
    min-height: 380px;
  }

  .project-detail-hero__content{
    padding: 18px;
  }

  .project-detail-title{
    font-size: clamp(26px, 8vw, 36px);
    margin-bottom: 10px;
  }

  .project-detail-lead{
    font-size: 14px;
    line-height: 1.55;
  }

  .project-detail-body{
    padding: 18px;
  }

  .project-thumbgrid{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .project-thumb img{
    height: 105px;
  }

  .project-detail-actions{
    flex-direction: column;
  }

  .project-detail-actions .btn{
    width: 100%;
  }
}
/* ==========================================================
   OTROS PROYECTOS - detalle de obra
   ========================================================== */

.project-related-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(17,24,32,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-related-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(0,0,0,.10);
}

.project-related-card__img{
  height: 240px;
  overflow: hidden;
  background: #e9ecef;
  border-bottom: 1px solid rgba(17,24,32,.08);
}

.project-related-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.project-related-card:hover .project-related-card__img img{
  transform: scale(1.04);
}

.project-related-card__body{
  padding: 20px;
}

.project-related-card__body::before{
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: #f2b300;
  margin-bottom: 14px;
}

.project-related-card__meta{
  color: rgba(24,33,43,.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.project-related-card__title{
  color: #111820;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

@media (max-width: 991.98px){
  .project-related-card__img{
    height: 220px;
  }

  .project-related-card__title{
    font-size: 22px;
  }
}

@media (max-width: 767.98px){
  .project-related-card__img{
    height: 200px;
  }

  .project-related-card__body{
    padding: 18px;
  }

  .project-related-card__title{
    font-size: 20px;
  }
}
/* ==========================================================
   PÁGINA PROYECTOS — AJUSTADA Y COMPACTA
   ========================================================== */

.projects-page{
  background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 24%, #f3f4f6 100%);
}

/* ==========================
   HERO
   ========================== */

.projects-hero-top{
  position: relative;
  margin-top: -86px;
  padding-top: 96px;
  padding-bottom: 28px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #f3f4f6;
}

.projects-hero-top__media{
  position: absolute;
  inset: 0;
}

.projects-hero-top__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projects-hero-top__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.48) 68%, rgba(255,255,255,.18) 100%);
}

.projects-hero-top__container{
  position: relative;
  z-index: 2;
}

.projects-hero-top__content{
  max-width: 1080px;
}

.projects-hero-top__copy{
  max-width: 640px;
  margin-bottom: 18px;
}

.projects-hero-top__title{
  margin: 8px 0 12px;
  color: #18212b;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.04em;
}

.projects-hero-top__desc{
  margin: 0;
  max-width: 56ch;
  color: rgba(24,33,43,.78);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================
   FILTROS
   ========================== */

.projects-hero-top__filters{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(17,24,32,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  padding: 18px;
}

.projects-hero-top__filters .form-label{
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #18212b;
}

.projects-hero-top__filters .form-control{
  height: 44px;
  font-size: 14px;
}

.projects-filters__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.projects-filters__actions .btn{
  min-height: 44px;
  font-size: 13px;
  font-weight: 800;
}

/* ==========================
   RESULTADOS
   ========================== */

.projects-archive-section{
  position: relative;
  margin-top: 0;
  z-index: 3;
}

.projects-results-head{
  margin-bottom: 18px;
  padding-top: 8px;
}

.projects-results-count{
  margin: 0;
  color: rgba(24,33,43,.65);
  font-size: 13px;
  font-weight: 800;
}

/* ==========================
   CARDS PROYECTOS
   ========================== */

.projects-archive-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(17,24,32,.08);
  overflow: hidden;
  transition: all .28s ease;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}

.projects-archive-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,.10);
  border-color: rgba(17,24,32,.16);
}

.projects-archive-card__img{
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #e9ecef;
}

.projects-archive-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}

.projects-archive-card:hover .projects-archive-card__img img{
  transform: scale(1.04);
}

.projects-archive-card__body{
  padding: 20px;
}

.projects-archive-card__body::before{
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #f2b300;
  margin-bottom: 12px;
}

.projects-archive-card__meta{
  color: rgba(24,33,43,.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.projects-archive-card__title{
  color: #111820;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 10px;
}

.projects-archive-card__tag{
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,24,32,.06);
  font-size: 11px;
  font-weight: 700;
  color: #18212b;
}

.projects-archive-card__desc{
  color: rgba(24,33,43,.72);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}
.news-card{
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.18);
}

.news-card__img{
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f172a;
}

.news-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.news-card:hover .news-card__img img{
  transform: scale(1.05);
}

.news-card__date{
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .65rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.news-card__title{
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 .75rem;
}

.news-card__desc{
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.news-card-home{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card-home:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  border-color: rgba(11, 122, 49, 0.16);
}

.news-card-home__media{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9eef2;
}

.news-card-home__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-home__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 24, 43, 0.10) 0%, rgba(6, 24, 43, 0.72) 100%);
}

.news-card-home__body{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 24px 22px;
}

.news-card-home__tag{
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 122, 49, 0.08);
  color: #0b7a31;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.news-card-home__meta{
  margin-bottom: 14px;
  color: #5f6b7a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.news-card-home__title{
  margin: 0 0 14px;
  color: #0d223f;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

.news-card-home__desc{
  margin: 0;
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.7;
}

.news-card-home__link{
  margin-top: auto;
  padding-top: 22px;
  color: #0b7a31;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-card-home--archive{
  color: inherit;
  position: relative;
}

.news-card-home__body--archive{
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.news-card-home__eyebrow{
  margin-bottom: 10px;
  color: #0b7a31;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-card-home__title--archive{
  font-size: 28px;
  line-height: 1.08;
  max-width: 10ch;
}

.news-card-home__desc--archive{
  max-width: 30ch;
}

.news-card-home__link--archive{
  color: #f2b300;
}

.news-card-home--archive:hover .news-card-home__link--archive{
  color: #0b7a31;
}

@media (max-width: 991.98px){
  .news-card-home__title--archive{
    max-width: none;
  }

  .news-card-home__desc--archive{
    max-width: none;
  }
}
/* ==========================================================
   NOTICIAS HOME
   ========================================================== */
.news-card{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.news-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.12);
  border-color: rgba(24,33,43,.16);
}

.news-card__img{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9ecef;
}

.news-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.news-card:hover .news-card__img img{
  transform: scale(1.05);
}

.news-card__body{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card__tag{
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(22, 115, 70, .08);
  color: var(--corp-green-dark);
}

.news-card__meta{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-card__title{
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--text);
  font-weight: 900;
}

.news-card__desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .96rem;
}

.news-card__link{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--corp-green-dark);
  font-weight: 900;
  font-size: .95rem;
}

.news-card__link::after{
  content: "→";
  transition: transform .22s ease;
}

.news-card:hover .news-card__link::after{
  transform: translateX(4px);
}

@media (max-width: 991.98px){
  .news-card__title{
    font-size: 1.08rem;
  }
}

@media (max-width: 767.98px){
  .news-card{
    border-radius: 16px;
  }

  .news-card__img{
    aspect-ratio: 16 / 11;
  }

  .news-card__body{
    gap: 8px;
  }

  .news-card__title{
    font-size: 1rem;
  }

  .news-card__desc{
    font-size: .93rem;
  }
}
/* ==========================
   RESPONSIVE
   ========================== */

@media (min-width: 1200px){
  .projects-hero-top{
    min-height: 400px;
  }
}

@media (max-width: 991.98px){
  .projects-hero-top{
    padding-top: 92px;
    padding-bottom: 24px;
    min-height: 460px;
  }

  .projects-hero-top__title{
    font-size: clamp(30px, 5.6vw, 44px);
  }

  .projects-hero-top__desc{
    font-size: 14px;
  }

  .projects-archive-card__img{
    height: 220px;
  }

  .projects-archive-card__title{
    font-size: 22px;
  }
}

@media (max-width: 767.98px){
  .projects-hero-top{
    padding-top: 86px;
    padding-bottom: 20px;
    min-height: auto;
    align-items: flex-end;
  }

  .projects-hero-top__overlay{
    background:
      linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.86) 40%, rgba(255,255,255,.70) 100%);
  }

  .projects-hero-top__copy{
    max-width: 100%;
    margin-bottom: 14px;
  }

  .projects-hero-top__title{
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .projects-hero-top__desc{
    font-size: 14px;
    line-height: 1.55;
    max-width: none;
  }

  .projects-hero-top__filters{
    padding: 14px;
  }

  .projects-filters__actions{
    flex-direction: column;
  }

  .projects-filters__actions .btn{
    width: 100%;
  }

  .projects-archive-card__img{
    height: 200px;
  }

  .projects-archive-card__body{
    padding: 16px;
  }

  .projects-archive-card__title{
    font-size: 20px;
  }

  .projects-archive-card__desc{
    font-size: 13px;
  }
}