/* =========================
   HEADER / LOGO
========================= */
.site-header .custom-logo {
  max-height: 60px;
  width: auto;
}

@media (max-width: 768px) {
  .custom-logo {
    max-height: 45px;
  }
}

/* =========================
   HERO TEXT ANIMATION
========================= */
.hero-text-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.2s ease-out forwards;
  animation-delay: 13s;
}

.hero-text-delay * {
  color: #ffffff;
  text-align: center;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#colophon > div.bottom-bar {
    display: none;
}

/* =========================
   SITEORIGIN IMAGES
========================= */
.so-widget-sow-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   SECCIÓN MINERÍA (OTRA SECCIÓN)
========================= */
.section-mineria {
  background: #000000;
  padding: 80px 24px;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.section-divider {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,.6);
  margin: 0 auto 60px;
}

.cards-mineria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.card-mineria {
  background: #ffffff;
  border-radius: 18px;
  padding: 42px 32px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.card-mineria i {
  font-size: 44px;
  color: #1f3b5f;
  margin-bottom: 18px;
  transition: transform .35s ease;
}

.card-mineria h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f3b5f;
  margin-bottom: 14px;
}

.card-mineria p {
  font-size: 1rem;
  line-height: 1.6;
  color: #2c3e50;
}

.card-mineria:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 22px 45px rgba(0,0,0,.14);
}

.card-mineria:hover i {
  transform: translateY(-4px) scale(1.08);
}

/* =========================
   FLEET / FLOTA (SITEORIGIN)
========================= */

/* =========================
   FLEET TITLE
========================= */

.fleet-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #ffffff;
  margin: 0 auto 60px;
  max-width: 900px;
}


/* Card completa */
.fleet-card {
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.fleet-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,.18);
}

/* Wrapper interno SiteOrigin */
.panel-layout {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* Imagen */
.fleet-card-top {
  position: relative;
  overflow: hidden;
}

.fleet-card-top img {
  height: 240px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

/* Overlay */
.fleet-card-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05),
    rgba(0,0,0,.45)
  );
  transition: background .3s ease;
}

.fleet-card:hover .fleet-card-top::after {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.1),
    rgba(0,0,0,.6)
  );
}

/* Body */
.fleet-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 28px 26px 30px;
}

.fleet-card-body h3 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .02em;
  margin: 10px auto 8px;
  color: #1f3b5f;
  max-width: 260px;
}

/* Badge */
.fleet-subtitle {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: #1f3b5f;
  background: #eef2f7;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 auto 12px;
  min-width: 140px;
  text-align: center;
}

/* Descripción */
.fleet-desc {
  max-width: 320px;
  margin: 0 auto 22px;
  font-size: .95rem;
  line-height: 1.55;
  color: #5b6f86;
}

/* Botón */
.fleet-btn {
  display: inline-block;
  width: 100%;
  max-width: 260px;
  background: linear-gradient(135deg, #000, #222);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  transition: transform .25s ease, box-shadow .25s ease;
  margin-top:15px;
}

.fleet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}

/* =========================
   MODAL (BLINDADO SITEORIGIN)
========================= */
.fleet-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;

  background: rgba(0,0,0,.6);
  display: none;

  z-index: 999999 !important;
  padding: 24px;

  transform: none !important;
}

.fleet-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-modal-content {
  background: #ffffff;
  width: min(980px, 100%);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  max-height: 85vh;
  overflow: auto;
}

.fleet-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 32px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* =========================
   MODAL CONTENT
========================= */
.fleet-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 18px;
}

.fleet-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.fleet-specs {
  padding-left: 18px;
  line-height: 1.7;
}
/* ===== FIX DEFINITIVO ALTURA IGUAL SITEORIGIN ===== */
.panel-row-style-for-11-3 {
  display: flex;
}

.panel-row-style-for-11-3 > .panel-grid-cell {
  display: flex;
}

.panel-row-style-for-11-3 .so-panel,
.panel-row-style-for-11-3 .panel-layout,
.panel-row-style-for-11-3 .fleet-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* =========================
   SECCIÓN FLOTA ESPECIALIZADA
========================= */

.fleet-extra {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 52px 40px 56px;
  text-align: center;
  box-shadow: 0 22px 45px rgba(0,0,0,.12);
}

.fleet-extra h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1f3b5f;
  margin-bottom: 18px;
}

.fleet-extra-intro {
  font-size: 1.05rem;
  color: #4a5d73;
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.fleet-extra-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 720px;
  text-align: left;
}

.fleet-extra-list li {
  font-size: .95rem;
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 14px;
  padding-left: 22px;
  position: relative;
}

.fleet-extra-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #1f3b5f;
  font-size: 1.4rem;
  line-height: 1;
}

.fleet-extra-btn {
  display: inline-block;
  background: linear-gradient(135deg, #000, #222);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .4px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.fleet-extra-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

/* Mobile */
@media (max-width: 640px) {
  .fleet-extra {
    padding: 40px 22px 44px;
  }

  .fleet-extra h2 {
    font-size: 1.6rem;
  }

  .fleet-extra-list {
    text-align: left;
  }
    .fleet-title {
    font-size: 1.9rem;
    margin-bottom: 40px;
  }
}
/* =========================
   SECCIÓN CONFIANZA / CLIENTES
========================= */
.trust-section {
  background: #ffffff;
  padding: 90px 24px 40px;
}

.trust-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.trust-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f2f57;
  margin-bottom: 18px;
}

.trust-intro {
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2c3e50;
}

.trust-sub {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #5b6f86;
}
/* =========================
   NORMALIZACIÓN CARRUSEL CLIENTES (SITEORIGIN SLIDER)
========================= */

/* Altura fija del slide */
.clientes .sow-slider-image {
  height: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Contenedor interno */
.clientes .sow-slider-image-container,
.clientes .sow-slider-image-wrapper,
.clientes .sow-slider-image-foreground-wrapper {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* IMAGEN: acá está la magia */
.clientes img.sow-slider-foreground-image {
  height: auto !important;
  max-height: 60px !important;   /* ALTURA VISUAL UNIFICADA */
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;

  filter: grayscale(100%);
  opacity: 0.85;
  transition: all .25s ease;
}

/* Hover sutil */
.clientes img.sow-slider-foreground-image:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-section {
    padding: 70px 20px 30px;
  }

  .trust-section h2 {
    font-size: 1.9rem;
  }

  .trust-intro {
    font-size: 1rem;
  }
}
/* =========================
   TRUST LOGOS MARQUEE (HTML PURO)
========================= */

.trust-section .logos-marquee {
  margin-top: 50px;
  overflow: hidden;
  width: 100%;
  background: transparent;
}

/* Fila animada */
.trust-section .logos-row {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: trustMarquee 42s linear infinite;
}

/* CONTENEDOR VISUAL DE CADA LOGO */
.trust-section .logos-row img {
  height: 60px;                /* ALTURA UNIFICADA REAL */
  width: auto;
  max-width: 180px;
  object-fit: contain;

  padding: 14px 24px;
  background: #ffffff;
  border-radius: 18px;

  box-shadow: 0 10px 26px rgba(0,0,0,.08);

  filter: grayscale(100%);
  opacity: .85;
  transition: all .3s ease;
}

/* Hover elegante */
.trust-section .logos-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}

/* Animación */
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .trust-section .logos-row {
    gap: 40px;
  }

  .trust-section .logos-row img {
    height: 52px;
    padding: 12px 18px;
    border-radius: 14px;
  }
}
/* =========================
   TRUST LOGOS MARQUEE (HTML PURO)
========================= */

.trust-section .logos-marquee {
  margin-top: 50px;
  overflow: hidden;
  width: 100%;
  background: transparent;
}

/* Fila animada */
.trust-section .logos-row {
  display: flex;
  align-items: center;
  gap: 50px;
  width: max-content;
  animation: trustMarquee 42s linear infinite;
}

/* CONTENEDOR VISUAL DE CADA LOGO */
.trust-section .logos-row img {
  height: 100px;                /* ALTURA UNIFICADA REAL */
  width: auto;
  max-width: 180px;
  object-fit: contain;

  padding: 14px 14px;
  background: #ffffff;
  border-radius: 18px;

  box-shadow: 0 10px 26px rgba(0,0,0,.08);

  filter: grayscale(100%);
  opacity: .85;
  transition: all .3s ease;
}

/* Hover elegante */
.trust-section .logos-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}

/* Animación */
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* =========================
   FADE LATERAL PARA LOGOS (MASK)
========================= */

.trust-section .logos-marquee {
  position: relative;
  overflow: hidden;

  /* Máscara degradada */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
/* =====================================================
   CONTACTO – ESTILO MODERNO PREMIUM
   (REEMPLAZO COMPLETO DEL BLOQUE)
===================================================== */

.contacto {
  background: linear-gradient(180deg, #ffffff, #081c33);
  padding: 110px 24px;
}

/* Caja principal */
.contacto .formcontacto {
  max-width: 980px;              /* MÁS ANCHO */
  margin: 0 auto;
  background: #ffffff;
  padding: 60px 64px 64px;
  border-radius: 28px;           /* MÁS REDONDEADO */
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

/* =========================
   GRID FORM
========================= */

.contacto form.sow-contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}

/* Cada campo */
.contacto .sow-form-field {
  margin: 0;
}

/* =====================================================
   FIX: CAMPO REQUERIMIENTO A 100% (NO ES TEXTAREA)
===================================================== */

/* Fuerza ancho completo al último campo de texto */
.contacto .sow-form-field-text {
  grid-column: 1 / -1;
}

/* Input de requerimiento más alto (look textarea) */
.contacto .sow-form-field-text input.sow-text-field {
  min-height: 56px;
}
.contacto .sow-form-field-text input.sow-text-field {
  border-radius: 18px;
  padding: 18px 20px;
}

/* =========================
   LABELS
========================= */

.contacto .sow-form-field-label-above {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0f2f57;
  margin-bottom: 10px;
  display: block;
}

/* =========================
   INPUTS / TEXTAREA
========================= */

.contacto input.sow-text-field,
.contacto textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 1rem;
  border-radius: 16px;           /* MÁS REDONDEADO */
  border: 1px solid #d8e1ec;
  background: #f8fafc;
  color: #1f2d3d;
  transition: all .25s ease;
}

/* Textarea */
.contacto textarea {
  min-height: 180px;
  resize: vertical;
}

/* Focus */
.contacto input.sow-text-field:focus,
.contacto textarea:focus {
  outline: none;
  border-color: #0f2f57;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15,47,87,.15);
}

/* =========================
   BOTÓN
========================= */

.contacto .sow-submit-wrapper {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}

.contacto button.sow-submit {
  background: linear-gradient(135deg, #0f2f57, #081c33);
  color: #ffffff;
  border: none;
  padding: 18px 56px;
  border-radius: 999px;          /* BOTÓN PÍLDORA */
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 18px 40px rgba(15,47,87,.45);
}

/* Hover */
.contacto button.sow-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 55px rgba(15,47,87,.6);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .contacto .formcontacto {
    padding: 48px 40px 52px;
  }
}

@media (max-width: 768px) {
  .contacto {
    padding: 80px 20px;
  }

  .contacto .formcontacto {
    padding: 40px 26px 44px;
    border-radius: 22px;
  }

  .contacto form.sow-contact-form {
    grid-template-columns: 1fr;
  }

  .contacto button.sow-submit {
    width: 100%;
    padding: 18px 20px;
  }
}
/* =====================================================
   FIX: PANEL SITEORIGIN DEL MODAL (NO DEBE VERSE)
===================================================== */

/* Fila completa donde vive el modal */
#pg-11-7 {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Celdas internas */
#pg-11-7 .panel-grid-cell {
  padding: 0 !important;
  margin: 0 !important;
}

/* Widgets del modal */
#pg-11-7 .so-panel {
  margin: 0 !important;
  padding: 0 !important;
}

/* Asegura que SOLO el modal se vea */
#pg-11-7 .fleet-modal {
  margin: 0 !important;
}
/* =========================
   FOOTER – OFICINAS
========================= */

.footer-offices {
  background: transparent;
  padding: 40px 24px 10px;
}

.footer-offices-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Tarjeta */
.office-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 28px 30px;
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Título */
.office-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f2f57;
  margin: 0 0 4px;
}

/* Dirección */
.office-address {
  font-size: .95rem;
  color: #2c3e50;
  margin: 0;
}

/* Teléfono */
.office-phone {
  margin: 4px 0 12px;
}

.office-phone a {
  font-weight: 700;
  color: #0f2f57;
  text-decoration: none;
}

.office-phone a:hover {
  text-decoration: underline;
}

/* Mapa */
.office-map {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.office-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-offices-grid {
    grid-template-columns: 1fr;
  }

  .office-map iframe {
    height: 200px;
  }
}
#colophon {
  display:none;
}