*{box-sizing:border-box;margin:0;padding:0}
:root{--yellow:#f5b400;--blue:#0874dc;--navy:#071925;--dark:#0a1118;--gray:#f3f5f6;--text:#15191d}
html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}

/* NAVBAR */
.navbar{height:82px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;position:absolute;top:0;left:0;width:100%;z-index:20;color:#fff;transition:.3s}
.navbar.scrolled{position:fixed;background:#fff;color:#111;box-shadow:0 5px 25px #0001;height:70px}
.inner-navbar{position:relative;color:#111;background:#fff;box-shadow:0 4px 20px #00000012}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark img{width:54px;height:54px;object-fit:contain}
.brand-text strong{display:block;font-size:22px;font-weight:900;letter-spacing:.5px;color:var(--blue)}
.brand-text span{display:block;font-size:7px;font-weight:800;letter-spacing:.4px;margin-top:3px}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{font-size:11px;font-weight:800;padding:31px 0;position:relative}
.nav-links a:after{content:"";position:absolute;bottom:23px;left:0;width:0;height:3px;background:var(--yellow);transition:.25s}
.nav-links a:hover:after,.nav-links a.active:after{width:100%}
.menu-toggle{display:none;border:0;background:none;font-size:28px;color:inherit;cursor:pointer}

/* HERO INICIO */
.hero{min-height:100vh;position:relative;color:#fff;overflow:hidden;background:linear-gradient(90deg,#030d16f2 0%,#061522d9 48%,#06152291 100%),url("SANNY 1.jpeg") center/cover fixed}
.hero-content{min-height:100vh;padding:155px 7% 75px;display:flex;align-items:center;gap:5%}
.hero-text{width:53%;position:relative;z-index:2}
.eyebrow{color:var(--yellow);font-size:11px;font-weight:900;letter-spacing:2px;margin-bottom:18px;text-transform:uppercase}
.eyebrow.dark{color:#8c6500}
.hero h1{font-size:clamp(43px,5.4vw,78px);line-height:.98;font-weight:900;margin-bottom:22px}
.hero h1 span{color:var(--yellow)}
.hero p{font-size:21px;font-weight:700;line-height:1.4;max-width:700px}
.hero .hero-description{font-size:14px;font-weight:400;line-height:1.7;margin:12px 0 27px;max-width:650px;color:#dce4e9}
.hero-buttons{display:flex;gap:12px;margin-bottom:30px}
.btn-primary,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;font-size:11px;font-weight:900;letter-spacing:.5px;cursor:pointer;border:none}
.btn-primary{background:var(--yellow);color:#111;transition:.3s}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 25px #f5b40033}
.btn-secondary,.btn-outline{border:1px solid #ffffff99;color:#fff;padding:15px 22px;font-size:11px;font-weight:900;transition:.3s}
.btn-outline:hover,.btn-secondary:hover{background:#fff;color:#111}
.hero-location{font-size:11px;font-weight:700;display:flex;align-items:center;gap:12px}
.hero-location i{width:1px;height:15px;background:#ffffff66}

/* GALERÍA HERO */
.gallery{width:47%;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.gallery-card{height:170px;border:1px solid #fff8;position:relative;overflow:hidden;border-radius:5px}
.gallery-main{height:352px;grid-row:span 2}
.gallery-card img{width:100%;height:100%;object-fit:cover;transition:.5s}
.gallery-card:hover img{transform:scale(1.08)}
.gallery-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,#000b)}
.gallery-card span{position:absolute;bottom:13px;left:15px;z-index:2;font-size:10px;font-weight:900;letter-spacing:1px;color:#fff}
.scroll-indicator{position:absolute;bottom:22px;left:7%;font-size:9px;letter-spacing:2px;color:#fff8}
.scroll-indicator span{font-size:18px;margin-left:7px;color:var(--yellow)}

/* SECCIONES COMUNES */
.quick-info{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;box-shadow:0 10px 35px #00000010;position:relative;z-index:4}
.quick-info div{padding:27px 25px;border-right:1px solid #ddd;display:flex;align-items:center;gap:14px}
.quick-info div:last-child{border:0}
.quick-info strong{font-size:27px;color:var(--yellow);font-weight:900}
.quick-info span{font-size:9px;font-weight:800;line-height:1.5}

.section{padding:105px 7%}
.intro{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
.section-photo{position:relative}
.section-photo img{width:100%;height:520px;object-fit:cover}
.photo-label{position:absolute;bottom:0;left:0;background:var(--yellow);padding:12px 17px;font-size:9px;font-weight:900;letter-spacing:1px;color:#111}
.section-content h2,h2{font-size:clamp(34px,4vw,54px);line-height:1.02;text-transform:uppercase;font-weight:900}
.section-content h2 span,h2 span{color:var(--yellow)}
.yellow-line{height:4px;width:55px;background:var(--yellow);margin:20px 0 25px}
.section-content p{font-size:14px;color:#5d6266;line-height:1.85;margin:15px 0}
.text-link{font-size:10px;font-weight:900;letter-spacing:1px;color:#111;display:inline-block;margin-top:15px;border-bottom:2px solid var(--yellow);padding-bottom:6px}

/* TARJETAS DE SERVICIOS */
.section-dark{background:var(--navy);color:#fff;padding:95px 7%}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:35px}
.section-heading h2{color:#fff}
.service-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service-cards article{padding:30px;background:#102634;border-top:3px solid transparent;transition:.3s;border-radius:4px}
.service-cards article:hover{border-top-color:var(--yellow);transform:translateY(-5px)}
.service-cards article img{width:100%;height:200px;object-fit:contain;background:#071925;border-radius:6px;margin-bottom:12px;display:block}
.service-cards b{color:var(--yellow);font-size:12px;font-weight:900}
.service-cards h3{font-size:20px;text-transform:uppercase;margin:15px 0 10px;color:#fff}
.service-cards p{font-size:13px;line-height:1.7;color:#b9c4ca}

/* FLOTA */
.fleet-preview{background:var(--gray)}
.light-heading h2{color:#111}
.fleet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.fleet-grid article{background:#fff;box-shadow:0 8px 25px #0000000d;overflow:hidden;border-radius:4px}
.fleet-grid img{height:235px;width:100%;object-fit:cover}
.fleet-grid article div{padding:19px}
.fleet-grid small{font-size:9px;font-weight:900;color:#b17f00;text-transform:uppercase}
.fleet-grid h3{font-size:20px;margin:6px 0;color:#111}
.fleet-grid p{font-size:11px;color:#777}

/* TRABAJO REALIZADO */
.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:30px}
.work-card{background:#fff;box-shadow:0 5px 20px #0000000f;border-radius:6px;overflow:hidden;border-bottom:3px solid var(--yellow)}
.work-image{height:220px;overflow:hidden}
.work-image img{width:100%;height:100%;object-fit:cover;transition:.4s}
.work-card:hover .work-image img{transform:scale(1.05)}
.work-content{padding:20px}
.work-content p{font-size:13px;font-weight:700;color:var(--navy);line-height:1.5}

/* ESTRUCTURA DE UBICACIÓN Y MAPA */
.location-section{padding:60px 7% 80px;background:var(--navy);color:#fff}
.location-box{background:transparent;padding:0 0 30px 0;margin:0}
.location-box h2{color:#fff}
.location-box p{color:#cbd5dc;font-size:13px;margin-top:10px}
.locations{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 35px}
.locations span{background:#102634;color:#fff;border:1px solid rgba(245,180,0,0.4);padding:8px 18px;font-size:11px;font-weight:800;border-radius:20px}

.map-section{width:100%;padding:0 7% 80px;background:var(--navy)}
.map-container{position:relative;width:100%;height:420px;border-radius:8px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,0.3);border:2px solid rgba(245,180,0,0.35)}
.map-container iframe{width:100%;height:100%;border:0;filter:contrast(1.05)}

/* CONTACTO */
.contact-section{background:var(--navy);color:#fff;text-align:center;padding:80px 7%}
.contact-section h2{color:#fff;margin:15px 0 20px}
.contact-section p{color:#cbd5dc;max-width:600px;margin:0 auto 30px}

/* CTA & FOOTER */
.cta{padding:80px 7%;background:linear-gradient(90deg,#061521ee,#061521bb),url("carrocrua.jpg") center/cover;display:flex;align-items:center;justify-content:space-between;gap:40px;color:#fff}
.cta h2{font-size:clamp(32px,4vw,55px)}
.cta p{font-size:13px;color:#ccd4d9;margin-top:12px}

footer{background:#050d13;color:#fff;padding:35px 7%;display:flex;align-items:center;gap:40px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand .brand-mark img{width:45px;height:45px}
.footer-brand .brand-text strong{color:#fff;font-size:18px}
.footer-brand .brand-text span{color:#aab4ba}
.footer-brand+ p{font-size:11px;color:#aab4ba}
.footer-brand~small{margin-left:auto;color:#79858d;font-size:9px}

/* PÁGINAS INTERNAS HERO */
.page-hero{min-height:380px;background:linear-gradient(90deg,#061521eF,#06152199),url("grua5.jpeg") center/cover;display:flex;align-items:end;padding:0 7% 65px;color:#fff}
.page-hero h1{font-size:clamp(48px,6vw,78px);text-transform:uppercase;font-weight:900}
.page-hero h1 span{color:var(--yellow)}
.page-hero p{font-size:15px;margin-top:14px;color:#d4dce1}

/* ABOUT PAGE & MISIÓN Y VISIÓN (PERFECCIONADO) */
.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}
.mini-stats div{border-top:2px solid var(--yellow);padding:15px}
.mini-stats strong{display:block;font-size:27px;color:var(--yellow)}
.mini-stats span{font-size:10px;font-weight:700;line-height:1.4}

.mission-section{background:var(--navy);color:#fff;padding:95px 7%}
.center{justify-content:center;text-align:center}
.gif-wrap{height:150px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:20px auto 30px}
.gif-wrap img{max-width:520px;width:80%;max-height:150px;object-fit:contain}

.mission-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;max-width:1200px;margin:40px auto 0;align-items:stretch}
.mission-grid article{background:#102634;padding:38px;border-top:4px solid var(--yellow);border-radius:4px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,0.25);display:flex;flex-direction:column}
.mission-grid h2{font-size:28px;color:var(--yellow);margin-bottom:20px;letter-spacing:.5px}
.mission-grid p{font-size:13px;line-height:1.8;color:#c3cdd2;margin-bottom:14px}
.mission-grid p:last-child{margin-bottom:0}

/* RESPONSIVE */
@media(max-width:950px){
  .nav-links{gap:15px}
  .nav-links a{font-size:9px}
  .hero-content{padding-left:5%;padding-right:5%}
  .service-cards,.work-grid,.fleet-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .navbar{height:70px;padding:0 5%;background:#fff;color:#111;position:absolute}
  .hero{background-attachment:scroll}
  .brand-mark img{width:45px;height:45px}
  .brand-text strong{font-size:19px}
  .brand-text span{font-size:6px}
  .menu-toggle{display:block}
  .nav-links{display:none;position:absolute;top:70px;left:0;width:100%;background:#fff;box-shadow:0 10px 20px #0002;padding:15px 5%;flex-direction:column;gap:0}
  .nav-links.active{display:flex}
  .nav-links a{width:100%;padding:14px 0;color:#111}
  .nav-links a:after{bottom:7px}
  .hero-content{padding:115px 6% 60px;display:block}
  .hero-text{width:100%}
  .hero h1{font-size:43px}
  .hero p{font-size:17px}
  .hero .hero-description{font-size:12px}
  .hero-buttons{flex-wrap:wrap}
  .gallery{width:100%;margin-top:30px}
  .gallery-card{height:130px}
  .gallery-main{height:272px}
  .quick-info{grid-template-columns:1fr 1fr}
  .quick-info div{padding:20px 13px}
  .quick-info strong{font-size:21px}
  .quick-info span{font-size:8px}
  .section{padding:70px 6%}
  .intro,.about-layout{grid-template-columns:1fr;gap:45px}
  .section-photo img{height:380px}
  .section-heading{display:block}
  .section-heading .btn-outline{display:inline-block;margin-top:20px}
  .service-cards,.work-grid,.fleet-grid,.mission-grid{grid-template-columns:1fr}
  .fleet-grid article{margin-bottom:2px}
  .cta{padding:65px 6%;display:block}
  .cta .btn-primary{margin-top:25px}
  .footer-brand~small{margin-left:0}
  .page-hero{min-height:350px;padding:0 6% 55px}
  .mission-section,.map-section{padding:50px 6%}
  .map-container{height:300px}
  .mission-grid article{padding:27px}
  .gif-wrap{height:120px}
  .gif-wrap img{max-height:120px}
}
.intro-p {
  font-size: 14.5px !important;
  color: #333d45 !important;
  line-height: 1.7;
  margin-bottom: 14px;
}
/* Estilos para el contenedor de contacto */
.contact-section {
  padding: 60px 20px;
  background-color: #0b192c; /* Color oscuro de fondo */
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-subtitle {
  color: #a0aec0;
  margin-bottom: 35px;
  font-size: 1rem;
}

/* Formulario */
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Inputs y Textarea */
.custom-form input,
.custom-form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.custom-form input:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: #ffb703; /* Color amarillo de tu marca */
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 8px rgba(255, 183, 3, 0.3);
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
  color: #718096;
}

/* Botón de envío */
.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

/* Adaptación para pantallas móviles */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}
/* Layout General de Contacto */
.contact-section {
  padding: 80px 20px;
  background-color: #08121e; /* Fondo oscuro pulido */
  color: #ffffff;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Encabezado */
.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 10px 0;
  letter-spacing: 1px;
}

.contact-header h2 span {
  color: #ffb703;
}

.contact-header p {
  color: #94a3b8;
  font-size: 1.05rem;
}

/* Estructura en 2 Columnas */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

/* Tarjetas de Información (Izquierda) */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  border-radius: 10px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.info-card:hover {
  border-color: #ffb703;
  transform: translateY(-2px);
}

.info-icon {
  font-size: 1.8rem;
  background-color: rgba(255, 183, 3, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.info-content strong {
  display: block;
  color: #ffb703;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-content p, 
.info-content a {
  color: #e2e8f0;
  font-size: 0.95rem;
  margin: 0;
  text-decoration: none;
  line-height: 1.4;
}

.info-content a:hover {
  color: #ffb703;
}

/* Formulario (Derecha) */
.contact-form-wrapper {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px;
  border-radius: 12px;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-form input,
.custom-form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.custom-form input:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: #ffb703;
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background-color: #ffb703;
  color: #000000;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background-color: #e0a200;
  transform: translateY(-2px);
}

/* Responsivo para celulares */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
  }
}
.cta-section {
  padding: 70px 20px;
  background-color: #0b192c;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-section h2 span {
  color: #ffb703;
}

.cta-section p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.cta-section .btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background-color: #ffb703;
  color: #000000;
  font-weight: 800;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.cta-section .btn-primary:hover {
  background-color: #e0a200;
  transform: translateY(-2px);
}
/* Sección de Confianza */
.trust-section {
  background-color: #ffb703;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 45px 0;
  box-sizing: border-box;
}

.trust-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas simétricas principales */
  gap: 50px;
  align-items: start;
}

.trust-column h3 {
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  color: #0b192c;
  margin-bottom: 30px;
  letter-spacing: 1.5px;
}

/* Cuadrícula Estricta de Logos */
.logos-grid {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 25px 20px;
}

/* Distribución para Clientes (3 columnas abajo) */
.trust-column:first-child .logos-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Distribución para Certificaciones (2 columnas abajo para centrar los 4 sellos) */
.trust-column:last-child .logos-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Control estricto del tamaño de casilla */
.logos-grid img {
  max-height: 55px; /* Altura máxima controlada para uniformidad */
  max-width: 140px;  /* Ancho máximo para evitar desbordamiento */
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.1);
}

/* Adaptación responsiva para móviles */
@media (max-width: 900px) {
  .trust-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* Reseteo básico de bordes por si el body tiene padding */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Evita desplazamientos horizontales */
}

/* Sección Amarilla Ancho Completo */
.trust-section {
  background-color: #ffb703;
  width: 100vw; /* Fuerza el ancho al 100% de la pantalla */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw; /* Centra el bloque rompiendo límites de padre */
  margin-right: -50vw;
  padding: 40px 0;
  box-sizing: border-box;
}

/* El contenido interno sí se mantiene centrado */
.trust-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
/* Ajustes para dar mayor presencia y tamaño a los logos */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 45px; /* Más espacio entre ellos */
}

.logos-grid img {
  height: 75px; /* Subimos de 42px a 75px para mayor presencia */
  max-width: 180px; /* Limite de ancho para que ninguno se deforme */
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.logos-grid img:hover {
  transform: scale(1.1); /* Efecto zoom al pasar el mouse */
}
/* Altura general reducida para páginas internas */
.page-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* 1. Fondo para SOBRE NOSOTROS */
.hero-nosotros {
  background-image: linear-gradient(rgba(11, 25, 44, 0.75), rgba(11, 25, 44, 0.85)), 
                    url('foto-patio-flota.jpg');
}

/* 2. Fondo para NUESTRO TRABAJO */
.hero-trabajo {
  background-image: linear-gradient(rgba(11, 25, 44, 0.75), rgba(11, 25, 44, 0.85)), 
                    url('foto-manlift-elevacion.jpg');
}

/* 3. Fondo para SERVICIOS */
.hero-servicios {
  background-image: linear-gradient(rgba(11, 25, 44, 0.75), rgba(11, 25, 44, 0.85)), 
                    url('foto-transporte-cama-baja.jpg');
}

/* 4. Encabezado compacto para CONTACTO (Sin imagen pesada) */
.hero-contacto {
  min-height: 250px;
  background: #08121e;
  border-bottom: 2px solid #ffb703;
}

/* ===================================================
   HERO INDUSTRIAL Y GEOMÉTRICO - TIERRACOLL
   =================================================== */

.hero-split-section {
  position: relative !important;
  width: 100% !important;
  height: 520px !important;
  background-color: #0b192c !important; /* Azul oscuro corporativo */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  padding-top: 60px !important;
}

/* 1. Cuadrícula técnica de fondo */
.hero-grid-pattern {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* 2. Marcos de esquina amarillos en ángulo */
.corner-frame.top-left {
  position: absolute !important;
  top: -60px !important;
  left: -60px !important;
  width: 200px !important;
  height: 200px !important;
  border: 4px solid #ffb703 !important;
  transform: rotate(45deg) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.corner-frame.bottom-right {
  position: absolute !important;
  bottom: -60px !important;
  right: -60px !important;
  width: 220px !important;
  height: 220px !important;
  border: 12px solid #ffb703 !important;
  transform: rotate(35deg) !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

/* 3. Columna Izquierda (Texto y Botones) */
.hero-left-content {
  position: relative !important;
  z-index: 4 !important;
  width: 48% !important;
  max-width: 620px !important;
  padding-left: 8% !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.eyebrow-badge {
  background-color: #ffb703 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  padding: 6px 14px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-bottom: 18px !important;
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%) !important;
}

.hero-left-content h1 {
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  margin: 0 0 15px 0 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.hero-left-content h1 span {
  color: #ffb703 !important;
}

.hero-left-content p {
  font-size: 1rem !important;
  color: #cbd5e1 !important;
  margin: 0 0 25px 0 !important;
  line-height: 1.4 !important;
}

/* Botones */
.hero-buttons {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
}

.btn-hero-primary {
  background-color: #ffb703 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  padding: 12px 26px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: transform 0.2s ease !important;
}

.btn-hero-primary:hover {
  transform: translateY(-2px) !important;
  background-color: #ffa200 !important;
}

.btn-hero-outline {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  transition: all 0.2s ease !important;
}

.btn-hero-outline:hover {
  background-color: #ffffff !important;
  color: #0b192c !important;
}

/* Trama de líneas amarillas (//////) */
.stripes-pattern {
  margin-top: 30px !important;
  width: 140px !important;
  height: 18px !important;
  background: repeating-linear-gradient(
    -55deg,
    #ffb703,
    #ffb703 4px,
    transparent 4px,
    transparent 10px
  ) !important;
}

/* 4. Columna Derecha (Fotografía con división diagonal) */
.hero-right-media {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 54% !important;
  height: 100% !important;
  z-index: 2 !important;
}

.hero-image-crop {
  width: 100% !important;
  height: 100% !important;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%) !important;
  overflow: hidden !important;
}

.hero-image-crop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Franja diagonal en amarillo vibrante */
.hero-yellow-stripe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  clip-path: polygon(16% 0, 18.5% 0, 0.5% 100%, 0% 100%) !important;
  background-color: #ffb703 !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

/* 5. Barra Inferior */
.hero-bottom-bar {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 46px !important;
  background-color: #060e18 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  z-index: 6 !important;
}

.hero-bottom-bar span {
  color: #ffb703 !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}

.bottom-bar-icons a {
  color: #ffffff !important;
  text-decoration: none !important;
  margin-left: 10px !important;
  font-size: 1.1rem !important;
}

/* Adaptación para pantallas pequeñas / móviles */
@media (max-width: 900px) {
  .hero-split-section {
    flex-direction: column !important;
    height: auto !important;
    padding-top: 90px !important;
  }

  .hero-left-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-buttons {
    justify-content: center !important;
  }

  .hero-right-media {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
  }

  .hero-image-crop {
    clip-path: none !important;
  }

  .hero-yellow-stripe, 
  .corner-frame {
    display: none !important;
  }
}
/* Hero Dark con imagen de fondo */
.page-hero.hero-dark-overlay {
  /* El linear-gradient oscurece la foto para que el texto blanco y amarillo resalte */
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('GRUA\ BLANCA.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.eyebrow-badge {
  border: 1px solid #D9822B;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.highlight-yellow {
  color: #E6A100;
}

/* Grilla de Tarjetas */
.services-section {
  background-color: #f4f5f7;
  padding: 60px 5%;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.border-top-yellow { border-top: 4px solid #E6A100; }
.border-top-red { border-top: 4px solid #A91D22; }

.card-icon { margin-bottom: 16px; }

.service-card h3 {
  font-size: 1.2rem;
  color: #111;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

.card-link {
  color: #111;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  margin-top: 20px;
}

/* Footer Industrial */
.hazard-stripe-bar {
  background-color: #0b172a;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hazard-stripes {
  width: 120px;
  height: 48px;
  background: repeating-linear-gradient(
    -45deg,
    #E6A100,
    #E6A100 12px,
    #0b172a 12px,
    #0b172a 24px
  );
}

.bar-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
}

.footer-bottom {
  background-color: #070e1b;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  color: #a0aec0;
  font-size: 0.8rem;
}
/* Contenedor del Hero (Imagen más corta) */
.page-hero.hero-dark-overlay {
  padding: 40px 8% 40px 8% !important; /* Menos espacio arriba y abajo */
  max-height: 380px !important;        /* Limita la altura de la imagen */
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow: hidden;
}

/* Alineación vertical del texto */
.hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin-top: 10px !important;
}

/* Distintivo 'CAPACIDAD Y EFICIENCIA' */
.eyebrow-badge {
  border: 1px solid rgba(230, 161, 0, 0.6);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem; /* Un poco más grande para acompañar al título */
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px !important;
  display: inline-block !important;
  width: fit-content !important;
}

/* Título 'NUESTROS SERVICIOS' (Más grande) */
.page-hero.hero-dark-overlay h1 {
  font-size: 3.2rem !important; /* Tamaño aumentado */
  font-weight: 800;
  line-height: 1.05;
  margin: 0 !important;
  text-transform: uppercase;
}
/* Ajustes para las imágenes de 'NUESTRO TRABAJO' */
.portfolio-section {
  background-color: #f4f5f7;
  padding: 50px 5%;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 30px auto 0;
}

.work-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.border-top-yellow { border-top: 4px solid #E6A100; }
.border-top-red { border-top: 4px solid #A91D22; }

.work-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 23, 42, 0.88);
  color: #E6A100;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.work-content {
  padding: 18px 20px;
  flex-grow: 1;
}

.work-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #333333;
  line-height: 1.45;
  font-weight: 500;
}
/* Corrección definitiva de la grilla de la galería y eliminación de bloques negros */
  header.hero .hero-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 25px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 20px 4% !important;
    box-sizing: border-box !important;
  }

  header.hero .hero-text {
    flex: 1.2 !important;
    max-width: 600px !important;
    text-align: left !important;
  }

  header.hero .gallery {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    max-width: 420px !important;
    background: transparent !important;
  }

  header.hero .gallery-card {
    background: #111 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 204, 0, 0.4) !important;
    margin: 0 !important;
  }

  header.hero .gallery-card.gallery-main {
    grid-column: span 2 !important;
  }

  /* Alturas controladas para que no aparezcan los cuadros negros gigantes */
  header.hero .gallery-card img {
    width: 100% !important;
    height: 75px !important;
    object-fit: cover !important;
    display: block !important;
  }

  header.hero .gallery-card.gallery-main img {
    height: 105px !important;
  }

  header.hero .gallery-card span {
    display: block !important;
    color: #000 !important;
    background: #ffcc00 !important;
    font-size: 0.65rem !important;
    font-weight: 900 !important;
    text-align: center !important;
    padding: 3px !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
  }
  /* Ajuste limpio del logo horizontal en la barra de navegación */
/* Liberar restricciones del contenedor del logo para permitir gran tamaño */
.navbar .brand {
  height: auto !important;
}

.navbar .brand-mark {
  width: auto !important;
  height: auto !important;
}

.navbar .brand-mark img,
.navbar .brand img {
  height: 120px !important; /* Ajusta este valor si lo quieres más grande o más pequeño */
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Ampliar la altura de la barra de navegación para que soporte el logo grande */
.navbar {
  height: 140px !important;
}
/* ===================================================
   BARRA DE NAVEGACIÓN INICIO - FONDO BLANCO Y LOGO GRANDE
   =================================================== */

/* Forzar barra superior blanca fija o estática con texto oscuro */
.navbar {
  background-color: #ffffff !important;
  color: #111111 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Forzar que los enlaces del menú sean negros y legibles sobre el fondo blanco */
.navbar .nav-links a {
  color: #111111 !important;
  font-weight: 800 !important;
}

/* Ampliar el tamaño del logo horizontal corporativo */
.navbar .brand img {
  height: 75px !important; /* Logo grande y perfectamente legible */
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Ajuste del indicador activo (línea amarilla) para que destaque bien en el fondo blanco */
.navbar .nav-links a:after {
  background: var(--yellow) !important;
}
/* ===================================================
   CONTROL TOTAL PARA EL LOGO PRINCIPAL DE INICIO
   =================================================== */

/* Forzamos el fondo blanco y una altura elegante en la barra */
.navbar {
  background-color: #ffffff !important;
  height: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Control absoluto sobre el tamaño del nuevo logo horizontal */
.navbar .logo-principal {
  height: 95px !important; /* Sube o baja este número si lo quieres más grande o más chico */
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Textos del menú en negro para que contrasten perfectamente con el fondo blanco */
.navbar .nav-links a {
  color: #111111 !important;
  font-weight: 800 !important;
}

/* Empujamos un poco el contenido del hero para que respete la nueva altura de la barra */
.hero-content {
  padding-top: 140px !important;
}
/* ===================================================
   CORRECCIÓN FINAL: BARRA BLANCA Y LOGO GRANDE
   =================================================== */

/* Barra de navegación elegante, con altura normal y fondo blanco */
.navbar {
  background-color: #ffffff !important;
  height: 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 20 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
}

/* Permitir que el logo crezca libremente eliminando restricciones de ancho */
.navbar .brand, 
.navbar .brand-mark {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
}

/* Tamaño grande y visible para tu logo horizontal PNG */
.navbar .logo-principal,
.navbar .brand img {
  height: 70px !important; /* Altura ideal para que se vea grande y nítido */
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Enlaces del menú en color negro oscuro bien legibles */
.navbar .nav-links a {
  color: #111111 !important;
  font-weight: 800 !important;
}

/* Espacio superior para que el contenido no quede debajo de la barra */
.hero-content {
  padding-top: 120px !important;
}
/* ===================================================
   UNIFICACIÓN DE FONDO AZUL MARINO CORPORATIVO
   =================================================== */

/* Reemplaza cualquier fondo negro plano por tu azul marino corporativo */
body, 
.portfolio-section, 
.services-section, 
.inner-page {
  background-color: #0b192c !important;
}

/* Tarjetas y contenedores internos para que combinen perfecto con el fondo azul */
.work-card, 
.service-card {
  background-color: #102634 !important; /* Un tono sutilmente más claro para que resalten las tarjetas */
  border-color: rgba(245, 180, 0, 0.3) !important;
}
/* ===================================================
   MENÚ MÓVIL DEFINITIVO (HASTA 900px)
   =================================================== */
@media screen and (max-width: 900px) {
  .navbar {
    height: 70px !important;
    background: #fff !important;
    color: #111 !important;
  }

  .menu-toggle {
    display: block !important;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #111;
  }

  .nav-links {
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #ffffff !important;
    padding: 20px 5% !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    z-index: 9998 !important;
    gap: 0 !important;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    width: 100% !important;
    padding: 14px 0 !important;
    color: #111 !important;
    font-size: 11px !important;
  }
}

@media screen and (min-width: 901px) {
  .menu-toggle {
    display: none !important;
  }
}