
:root{
  --yellow:#f5c400;
  --yellow-2:#ffd633;
  --black:#090909;
  --charcoal:#151515;
  --charcoal-2:#202020;
  --gray-900:#2b2b2b;
  --gray-700:#5f5f5f;
  --gray-500:#909090;
  --gray-300:#d8d8d8;
  --gray-100:#f4f4f4;
  --white:#ffffff;
  --max:1180px;
  --radius:16px;
  --shadow:0 18px 50px rgba(0,0,0,.16);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:#222;
  background:#fff;
  line-height:1.6;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max),calc(100% - 36px));margin:auto}
.topbar{
  background:#000;color:#d5d5d5;font-size:.88rem;border-bottom:1px solid #2a2a2a;
}
.topbar .container{min-height:34px;display:flex;align-items:center;justify-content:flex-end;gap:22px}
.topbar a:hover{color:var(--yellow)}
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(8,8,8,.96);
  backdrop-filter:blur(10px);border-bottom:1px solid #2c2c2c
}
.navbar{height:76px;display:flex;align-items:center;gap:30px}

.brand img {
  width: 190px;
  height: 68px;

  object-fit: contain;

  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  display: block;
}
.nav-links{display:flex;align-items:center;gap:31px;margin-left:auto}
.nav-links a{color:#c7c7c7;font-weight:600;font-size:.96rem;position:relative;padding:26px 0}
.nav-links a:hover,.nav-links a.active{color:#fff}
.nav-links a.active::after,.nav-links a:hover::after{
  content:"";position:absolute;height:3px;background:var(--yellow);left:0;right:0;bottom:14px;border-radius:10px
}
.nav-cta{background:var(--yellow)!important;color:#0c0c0c!important;padding:12px 18px!important;border-radius:9px;font-weight:800!important}
.nav-cta::after{display:none!important}
.menu-toggle{display:none;margin-left:auto;background:none;border:0;color:#fff;font-size:1.5rem}

.hero{
  min-height:680px;display:flex;align-items:center;color:#fff;position:relative;
  background:
    linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.72) 42%,rgba(0,0,0,.18) 76%,rgba(0,0,0,.35) 100%),
    url("../img/hero-mina.jpg") center/cover no-repeat;
}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:130px;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.hero-content{position:relative;z-index:2;max-width:720px;padding:70px 0 145px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;font-weight:800;letter-spacing:.14em;color:var(--yellow);font-size:.82rem}
.eyebrow::before{content:"";width:34px;height:3px;background:var(--yellow)}
h1,h2,h3{font-family:"Roboto Condensed",Inter,Arial,sans-serif;line-height:1.02;margin-top:0}
.hero h1{font-size:clamp(3.4rem,6.5vw,6.8rem);max-width:780px;margin:18px 0 20px;letter-spacing:-.03em}
.hero p{font-size:1.2rem;color:#e2e2e2;max-width:630px}
.hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;
  padding:13px 21px;font-weight:800;border:1px solid transparent;transition:.2s
}
.btn-yellow{background:var(--yellow);color:#0b0b0b}
.btn-yellow:hover{background:var(--yellow-2);transform:translateY(-2px)}
.btn-outline{border-color:#777;color:#fff;background:rgba(0,0,0,.22)}
.btn-outline:hover{border-color:var(--yellow);color:var(--yellow)}
.stats-wrap{margin-top:-86px;position:relative;z-index:3}
.stats{
  display:grid;grid-template-columns:repeat(3,1fr);background:rgba(20,20,20,.96);color:#fff;border:1px solid #4a4a4a;
  border-radius:14px;box-shadow:var(--shadow);overflow:hidden
}
.stat{padding:26px;display:flex;gap:15px;align-items:center;border-right:1px solid #3e3e3e}
.stat:last-child{border-right:0}.stat i{color:var(--yellow);font-size:1.7rem}
.stat strong{display:block;color:var(--yellow);font-size:1.65rem;line-height:1}
.stat span{color:#cfcfcf;font-size:.9rem}

.section{padding:86px 0}
.section-gray{background:#f4f4f4}
.section-dark{background:#111;color:#fff}
.section-black{background:#050505;color:#fff}
.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:34px}
.section-heading h2{font-size:clamp(2.2rem,4vw,3.5rem);margin-bottom:6px}
.section-heading p{max-width:650px;color:#666;margin:0}
.section-dark .section-heading p,.section-black .section-heading p{color:#bbb}
.yellow-rule{width:62px;height:4px;background:var(--yellow);margin:15px 0 0;border-radius:4px}
/* =========================================
   CARRUSEL GRUPO SILSA
========================================= */

.brands-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;

  padding: 28px 0 45px;

  /* Desvanecido lateral */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}


/* Pista que contiene todos los logos */

.brands-track {
  display: flex;
  align-items: center;

  gap: 24px;

  width: max-content;

  animation: brands-scroll 22s linear infinite;

  will-change: transform;
}


/* Movimiento infinito hacia la izquierda */

@keyframes brands-scroll {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(
      calc(-50% - 12px)
    );
  }

}


/* Cada tarjeta */

.brand-card {

  width: 350px;
  height: 215px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 28px;

  background: #ffffff;

  border: 1px solid #dddddd;

  border-radius: 16px;

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.06);

  position: relative;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;

}


/* Logo */

.brand-card img {

  width: 100%;
  height: 100%;

  max-width: 285px;
  max-height: 130px;

  object-fit: contain;

  filter:
    grayscale(20%)
    brightness(0.96);

  opacity: 0.92;

  transition:
    transform 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease;

}


/* Línea amarilla inferior */

.brand-card::after {

  content: "";

  position: absolute;

  bottom: -1px;
  left: 50%;

  width: 0;
  height: 4px;

  border-radius: 10px;

  background: #f5c400;

  transform: translateX(-50%);

  transition: width 0.35s ease;

}


/* =========================================
   HOVER
========================================= */

.brand-card:hover {

  transform:
    translateY(-8px)
    scale(1.025);

  border-color: #f5c400;

  background: #ffffff;

  box-shadow:

    0 20px 45px
    rgba(0, 0, 0, 0.12),

    0 0 25px
    rgba(245, 196, 0, 0.22),

    0 0 55px
    rgba(245, 196, 0, 0.08);

}


/* Logo iluminado */

.brand-card:hover img {

  transform: scale(1.07);

  filter:
    grayscale(0%)
    brightness(1.08)
    contrast(1.05);

  opacity: 1;

}


/* Aparece línea inferior */

.brand-card:hover::after {

  width: 78%;

}


/* Pausar carrusel al interactuar */

.brands-marquee:hover .brands-track {

  animation-play-state: paused;

}
.logo-card:hover{transform:translateY(-5px);border-color:var(--yellow)}
.logo-card img{max-height:115px;object-fit:contain}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{border:1px solid #ddd;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.06)}
.card-body{padding:24px}
.card h3{font-size:1.45rem;margin-bottom:10px}.card p{color:#666;margin:0}
.service-card{padding:26px;border:1px solid #ddd;border-radius:13px;background:#fff;min-height:230px;transition:.2s}
.service-card:hover{transform:translateY(-5px);border-color:var(--yellow)}
.service-card i{font-size:2rem;color:var(--yellow);margin-bottom:18px}
.service-card h3{font-size:1.35rem;margin-bottom:8px}
.service-card p{font-size:.94rem;color:#666}
.project-card{position:relative;min-height:380px;border-radius:14px;overflow:hidden;color:#fff;background:#111}
.project-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(10%) brightness(.68)}
.project-card::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.96))}
.project-card .overlay{position:absolute;z-index:2;left:22px;right:22px;bottom:22px}
.project-card .tag{color:var(--yellow);font-size:.75rem;font-weight:800;letter-spacing:.06em}
.project-card h3{font-size:1.35rem;margin:6px 0}
.project-card p{margin:0;color:#ddd;font-size:.9rem}
/* Alinear textos de proyectos destacados */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 155px;
  padding: 22px 28px;

  display: grid;
  grid-template-rows: 24px 38px 1fr;
  align-content: start;

  box-sizing: border-box;
}

.project-card .tag {
  display: block;
  margin: 0;
  line-height: 24px;
}

.project-card .overlay h3 {
  margin: 0;
  line-height: 38px;
}

.project-card .overlay p {
  margin: 0;
  line-height: 1.5;
}
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center}
.split-image{min-height:510px;border-radius:15px;overflow:hidden;box-shadow:var(--shadow)}
.split-image img{width:100%;height:100%;min-height:510px;object-fit:cover}
.feature-list{display:grid;gap:14px;margin-top:28px}
.feature{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #dedede}
.feature i{color:var(--yellow);font-size:1.35rem;margin-top:4px}

.values{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.value{border:1px solid #3b3b3b;padding:20px;border-radius:12px;background:#171717}
.value i{color:var(--yellow);font-size:1.4rem}.value h3{font-size:1.1rem;margin:12px 0 6px}
.value p{
  text-align:justify;
  text-justify:inter-word;
  line-height:1.6;
  hyphens:auto;
}

.list-panel{background:#161616;border:1px solid #333;border-radius:14px;padding:26px}
.equipment-columns{columns:3;column-gap:36px;padding:0;list-style:none;margin:0}
.equipment-columns li{break-inside:avoid;margin:0 0 12px;color:#ddd}
.equipment-columns li::before{content:"✓";color:var(--yellow);font-weight:900;margin-right:10px}

.project-list {
  display: grid;
  gap: 22px;
}

.project-list + .project-list {
  margin-top: 22px;
}

.project-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;

  align-items: center;

  padding: 18px;

  border: 1px solid #e1e1e1;
  border-radius: 10px;

  background: #fff;
}

.project-icon {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--yellow);
  color: #111;

  border-radius: 50%;

  font-size: 1.2rem;

  flex-shrink: 0;
}

.project-row strong {
  display: block;
  margin-bottom: 5px;
}

.project-row p {
  margin: 0;
  color: #666;
  font-size: .94rem;
}

.jobs{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.job{background:#171717;border:1px solid #373737;color:#fff;border-radius:12px;padding:25px;text-align:center}
.job i{font-size:2rem;color:var(--yellow);margin-bottom:14px}
.job h3{font-size:1.2rem}

.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px}
.contact-panel,.form-panel{border-radius:14px;padding:30px}
.contact-panel{background:#111;color:#fff}
.form-panel{background:#f3f3f3;border:1px solid #ddd}
.contact-item{display:flex;gap:15px;margin:0 0 22px}
.contact-item i{color:var(--yellow);font-size:1.25rem;margin-top:4px}
.contact-item small{display:block;color:#aaa}
.contact-item a:hover{color:var(--yellow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.input,textarea{
  width:100%;border:1px solid #ccc;background:#fff;border-radius:8px;padding:13px 14px;font:inherit
}
textarea{min-height:150px;resize:vertical}.full{grid-column:1/-1}
.map{margin-top:30px;border:0;width:100%;height:340px;border-radius:14px;filter:grayscale(100%) contrast(1.05)}

.page-hero{background:#0b0b0b;color:#fff;padding:86px 0 72px;border-bottom:4px solid var(--yellow)}
.page-hero .container{display:grid;grid-template-columns:1fr .8fr;gap:35px;align-items:center}
.page-hero h1{font-size:clamp(3rem,5vw,5rem);margin:8px 0 16px}
.page-hero p{color:#c7c7c7;max-width:720px}
.page-hero-image{height:300px;border-radius:15px;overflow:hidden}
.page-hero-image img{width:100%;height:100%;object-fit:cover}

.cta-strip{background:linear-gradient(90deg,#070707,#1d1d1d);color:#fff;border-top:1px solid #333;border-bottom:1px solid #333}
.cta-strip .container{display:flex;justify-content:space-between;gap:25px;align-items:center;padding-top:36px;padding-bottom:36px}
.cta-strip h2{margin:0;font-size:2rem}.cta-strip p{margin:5px 0 0;color:#bbb}

.footer{background:#050505;color:#aaa;padding:54px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.1fr .8fr .8fr 1fr;gap:35px}
.footer h3{font-size:1rem;color:#fff;margin-bottom:14px}.footer a{display:block;margin:8px 0}
.footer a:hover{color:var(--yellow)}
.footer-logo{
  width:190px;
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  object-fit:contain;
  display:block;
}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a{width:38px;height:38px;border:1px solid #444;border-radius:50%;display:grid;place-items:center;margin:0;color:#ddd}
.socials a:hover{border-color:var(--yellow);color:var(--yellow)}
.footer-bottom{border-top:1px solid #282828;margin-top:38px;padding-top:18px;font-size:.82rem;display:flex;justify-content:space-between;gap:20px}

.notice{border-left:4px solid var(--yellow);background:#fff9df;padding:14px 16px;border-radius:6px;color:#555}

@media(max-width:980px){
  .menu-toggle{display:block}
  .nav-links{
    display:none;position:absolute;top:76px;left:0;right:0;background:#0b0b0b;padding:15px 25px 28px;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid #333
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 0}.nav-links a.active::after,.nav-links a:hover::after{bottom:6px}
  .nav-cta{text-align:center;margin-top:10px}
  .stats{
  grid-template-columns:1fr;
}

.stat{
  border-right:0;
  border-bottom:1px solid #3e3e3e;
}

.stat:last-child{
  border-bottom:0;
}
  .logo-grid,.grid-4,.jobs{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .split,.contact-grid,.page-hero .container{grid-template-columns:1fr}
  .values{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .topbar .container{justify-content:center;font-size:.78rem;gap:12px}
  
.brand img {
  width: 190px;
  height: 68px;

  object-fit: contain;

  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  display: block;
}
  .hero{min-height:620px}.hero h1{font-size:3.2rem}.hero-content{padding-top:55px}
  .stats{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid #3e3e3e!important}.stat:last-child{border-bottom:0!important}
  .section{padding:62px 0}
  .section-heading{display:block}
  .logo-grid,.grid-4,.grid-3,.jobs,.values,.footer-grid,.form-grid{grid-template-columns:1fr}
  .equipment-columns{columns:1}
  .page-hero-image{height:220px}
  .cta-strip .container,.footer-bottom{display:block}
  .cta-strip .btn{margin-top:18px}
  
}
@media (max-width: 768px) {

  .brand-card {
    width: 270px;
    height: 170px;
    padding: 22px;
  }


.brand img {
  width: 190px;
  height: 68px;

  object-fit: contain;

  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  display: block;
}
.brand {
  display: flex;
  align-items: center;

  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

  .brands-track {
    gap: 16px;

    animation-duration: 25s;
  }

}
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 980px) {
  .featured-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .featured-projects-grid {
    grid-template-columns: 1fr;
  }
}
.rezagado-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rezagado-image {
  width: 100%;
  height: 260px;

  border-radius: 14px;
  overflow: hidden;

  background: #111;

  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.rezagado-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition: transform .35s ease;
}

.rezagado-image:hover img {
  transform: scale(1.04);
}


.equipos-secundarios {
  margin-top: 0;
}
.equipos-secundarios .card > img {
  width: 100%;
  height: 260px;

  object-fit: cover;
}
.rezagado-divider {
  width: 90px;
  height: 4px;

  background: var(--yellow);

  margin: 42px auto;

  border-radius: 10px;
}
.services-intro {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 18px;
  line-height: 1.7;
}
.value-card p {
  text-align: justify;
  text-justify: inter-word;
}
.soporte-subterraneo-section {
  margin-top: 0;
  margin-bottom: 60px;
}

.soporte-subterraneo-heading {
  margin-bottom: 28px;
}

.soporte-subterraneo-heading h2 {
  font-size: 2.8rem;
  margin: 10px 0 12px;
}

.soporte-subterraneo-heading p {
  max-width: 760px;
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.soporte-subterraneo-grid {
  display: flex;
  justify-content: center;
  gap: 22px;
  width: 100%;
}

.soporte-subterraneo-image {
  width: calc((100% - 44px) / 3);
  aspect-ratio: 3 / 2;

  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

.soporte-subterraneo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rezagado-image,
.soporte-subterraneo-image {
  overflow: hidden;
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.rezagado-image img,
.soporte-subterraneo-image img {
  transition: transform .35s ease;
}

.rezagado-image:hover,
.soporte-subterraneo-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.rezagado-image:hover img,
.soporte-subterraneo-image:hover img {
  transform: scale(1.04);
}
/* =========================================
   MAQUINARIA ESPECIALIZADA
========================================= */

.equipment-heading {
  margin-bottom: 32px;
}


/* GRUPOS */

.equipment-group {
  width: 100%;
}

.equipment-title {
  font-size: 1.25rem;
  margin: 0 0 18px;
  text-transform: uppercase;
  font-weight: 800;
}


/* GALERÍAS */

.equipment-gallery {
  display: grid;
  gap: 22px;
}

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

.equipment-gallery-3 {
  grid-template-columns: repeat(3, 1fr);
}


/* IMÁGENES */

.equipment-photo {
  width: 100%;
  height: 320px;

  border-radius: 14px;
  overflow: hidden;

  background: #111;

  box-shadow: 0 10px 28px rgba(0,0,0,.10);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.equipment-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition: transform .4s ease;
}


/* MISMO MOVIMIENTO AL PASAR EL MOUSE */

.equipment-photo:hover {
  transform: translateY(-5px);

  box-shadow:
    0 18px 40px rgba(0,0,0,.16);
}

.equipment-photo:hover img {
  transform: scale(1.04);
}


/* DIVISOR AMARILLO */

.equipment-divider {
  width: 90px;
  height: 4px;

  margin: 46px auto;

  background: var(--yellow);

  border-radius: 20px;
}


/* TERCERA FILA */

.equipment-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;

  gap: 36px;
  align-items: start;
}

.equipment-bottom-section {
  width: 100%;
}


/* RESPONSIVE */

@media (max-width: 980px) {

  .equipment-gallery-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .equipment-bottom-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 640px) {

  .equipment-gallery-2,
  .equipment-gallery-3 {
    grid-template-columns: 1fr;
  }

  .equipment-photo {
    height: 280px;
  }

  .equipment-title {
    font-size: 1.1rem;
  }

}
.equipment-description {
  max-width: 760px;
  margin: -6px 0 22px;
  color: #666;
  font-size: .95rem;
  line-height: 1.6;
}
#form-status {
  margin: 12px 0 0;
  font-size: .95rem;
  font-weight: 600;
}

.form-success {
  color: #26833a;
}

.form-error {
  color: #b42318;
}
#form-status {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.form-success {
  color: #198754;
}

.form-error {
  color: #b42318;
}