:root {
  --rojo:        #E70027;
  --rojo-oscuro: #B8001E;
  --negro:       #111111;
  --blanco:      #FFFFFF;
  --gris-claro:  #F5F5F5;
  --gris:        #888888;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Barlow Condensed', 'Segoe UI', sans-serif; background: #fff; color: #222; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ══ HERO ══ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
@media (min-width: 1200px) {
  .hero-section { min-height: max(100vh, 1023px); }
}
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../images/fondoseccion1.png") center center / cover no-repeat;
  z-index: 0;
}
.hero-overlay { display: none; }

/* ══ NAVBAR ══ */
.navbar-simesur {
  position: absolute;
  top: 70px; left: 0; right: 0;
  z-index: 10;
  height: 82px;
  padding: 0 2rem;
  background: linear-gradient(90deg, rgba(231,0,39,0) 0%, rgba(231,0,39,0.6) 30%, rgba(231,0,39,1) 55%, rgba(231,0,39,1) 100%);
}
.navbar-simesur .navbar-brand {
  display: flex; align-items: center; gap: 0.65rem; margin-right: auto;
}
.brand-logo-icon { flex-shrink: 0; width: 48px; height: 48px; }
.brand-title {
  font-family: system-ui, sans-serif; font-weight: 700; font-size: 1.35rem;
  letter-spacing: 0.02em; color: #fff; margin: 0;
}
.brand-sub {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8); margin: 0; text-transform: uppercase;
}
.navbar-simesur .navbar-nav .nav-link {
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 28px;
  line-height: 1.3; color: #fff !important;
  padding-left: 1rem !important; padding-right: 1rem !important;
  transition: opacity 0.2s;
}
.navbar-simesur .navbar-nav .nav-link:hover { opacity: 0.75; }
.navbar-simesur .navbar-toggler { border-color: rgba(255,255,255,0.65); }
.navbar-simesur .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ══ HERO CONTENT ══ */
.hero-content {
  position: relative; z-index: 5;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-bottom: 80px; padding-top: 200px;
}
.hero-text { width: 100%; }
.hero-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 65px;
  opacity: 1;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  padding: 48px 60px;
  width: 100%;
}
.hero-content h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1; color: #fff;
  margin-bottom: 12px; text-transform: uppercase;
}
.hero-content h1 .telemetria {
  color: var(--rojo);
  -webkit-text-stroke: 1.5px #fff;
  paint-order: stroke fill;
}
.hero-content p {
  font-size: 1rem; color: rgba(255,255,255,0.92); line-height: 1.6;
  margin-bottom: 28px; max-width: 500px;
}
.btn-cotiza {
  display: inline-block;
  background: #FFD700;
  color: #000000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0px;
  text-align: left;
  width: 251px;
  height: 56px;
  padding: 0 16px;
  border-radius: 3px;
  text-transform: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-cotiza:hover {
  background: #e6c200;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ══ SECCIONES ══ */
.seccion { padding: 80px 0; }
.titulo-seccion {
  text-align: center; font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: var(--rojo);
  text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px;
}
.subtitulo-seccion {
  text-align: center; font-size: 1rem; color: var(--gris); margin-bottom: 48px;
}
.divisor-rojo {
  width: 60px; height: 4px; background: var(--rojo);
  margin: 0 auto 40px; border-radius: 2px;
}

/* ══ ENCABEZADOS DE SECCIÓN (Servicios, Clientes, Contacto) ══ */
.encabezado-seccion {
  padding: 36px 20px 20px;
  text-align: center;
  background: linear-gradient(180deg, #f8f8f8 0%, #fff 65%);
  border-bottom: 1px solid rgba(231, 0, 39, 0.08);
}
.encabezado-seccion__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 36px);
  max-width: 720px;
  margin: 0 auto;
}
.encabezado-seccion__inner--anchura-clientes {
  max-width: 920px;
}
.encabezado-seccion__line {
  flex: 1;
  height: 2px;
  min-width: 40px;
  max-width: 200px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(231, 0, 39, 0.2) 25%,
    var(--rojo) 50%,
    rgba(231, 0, 39, 0.2) 75%,
    transparent 100%
  );
}
.encabezado-seccion__titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5.5vw, 2.85rem);
  font-weight: 800;
  color: var(--rojo);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
  line-height: 1.05;
}
.encabezado-seccion__divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--rojo-oscuro), var(--rojo));
  margin: 20px auto 0;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(231, 0, 39, 0.25);
}
#clientes .encabezado-seccion {
  margin-bottom: 48px;
}
#contacto .encabezado-seccion {
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .encabezado-seccion__inner {
    flex-direction: column;
    gap: 12px;
  }
  .encabezado-seccion__line {
    max-width: 120px;
    width: 100%;
  }
}

/* ══ SERVICIOS ══ */
#servicios { background: #fff; }
.servicios-fondo-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  padding: 0 12px;
  box-sizing: border-box;
}
.servicios-seccion-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .servicios-seccion-logo-col--left { justify-content: flex-end; }
  .servicios-seccion-logo-col--right { justify-content: flex-start; }
  /* Tamaño fijo en escritorio/tablet: no escala con el ancho de la columna */
  .servicios-seccion-logo {
    display: block;
    width: 300px;
    max-width: none !important;
    max-height: none !important;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center top;
    transform: scale(0.5);
    transform-origin: center center;
  }
}
.servicios-seccion-copy {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 43px;
  line-height: 70px;
  color: #fd0202;
  text-align: center;
  /* Más ancho útil dentro del col-6 (mejor salto de línea tipo diseño B) */
  max-width: min(100%, 980px);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  margin-left: auto;
  margin-right: auto;
}
.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.tarjeta-servicio {
  border: 1px solid #EBEBEB;
  border-radius: 8px;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  width: 367px;
  min-height: 104px;
  margin: 0 auto;
  transition: box-shadow 0.2s, border-color 0.2s;
  background: #fff;
}
.tarjeta-servicio:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: var(--rojo); }
.tarjeta-servicio .icono {
  width: 48px; height: 48px; flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
}
.tarjeta-servicio .icono img {
  width: 44px; height: 44px; object-fit: contain;
  filter: none !important;
}
.tarjeta-servicio .icono svg { width: 44px; height: 44px; fill: #2E4A6B; }
.tarjeta-servicio h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--rojo);
  line-height: 1.3;
}
.tarjeta-servicio p {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

/* ══ NOSOTROS ══ */
#nosotros {
  padding: 0;
  background: var(--rojo);
  color: #fff;
  position: relative;
  padding-bottom: 60px;
}
.navbar-brand-img {
  height: 58px;
  width: auto;
  opacity: 1;
  object-fit: contain;
}
.nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nosotros-grid .texto p { font-size: 0.95rem; line-height: 1.8; opacity: 0.85; margin-bottom: 16px; }
.valores { display: flex; gap: 16px; margin-top: 32px; }
.valor {
  background: var(--rojo); border-radius: 8px;
  padding: 18px 16px; text-align: center; flex: 1;
}
.valor .valor-icono { font-size: 1.6rem; margin-bottom: 6px; }
.valor span { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; }
.nosotros-imagen { background: #333; height: 400px; border-radius: 8px; overflow: hidden; }
.nosotros-imagen img { width: 100%; height: 100%; object-fit: cover; }

/* ══ MISIÓN / VISIÓN ══ */
#mision-vision {
  background: #f5f5f5;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
}
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { border-radius: 8px; padding: 40px 36px; color: #fff; }
.mv-card.mision { background: var(--rojo); }
.mv-card.vision { background: var(--negro); }
.mv-card h2 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem;
  font-weight: 800; text-transform: uppercase; margin-bottom: 16px;
}
.mv-card p { font-size: 0.95rem; line-height: 1.8; opacity: 0.9; }

/* Tarjeta Misión (referencia: bloque 50/50 + chaflán diagonal en foto) */
.mision-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
/* Columna izquierda: mismo alto que la derecha; foto a altura completa */
.mision-split-card .mision-split-foto-cell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  height: 100%;
  background: var(--gris-claro);
}
.mision-split-card .mision-split-foto {
  position: relative;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  clip-path: polygon(0 12%, 12% 0, 100% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 12%, 12% 0, 100% 0, 100% 100%, 0 100%);
}
.mision-split-card .mision-split-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mision-split-card .mision-split-texto {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--rojo);
  color: #fff;
}

/* Tarjeta Visión (texto izquierda, foto derecha, chaflán superior derecho en foto) */
.vision-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  /* Más redondeo en el lado del texto (izquierda) */
  border-radius: 36px 28px 28px 36px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  min-height: 433px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.vision-split-card .vision-split-texto {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--rojo);
  color: #fff;
  min-height: 433px;
}
.vision-split-card .vision-split-foto-cell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  background: var(--gris-claro);
}
.vision-split-card .vision-split-foto {
  position: relative;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
}
.vision-split-card .vision-split-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ══ CLIENTES ══ */
#clientes { background: #fff; padding: 60px 0; }
.grid-clientes { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.logo-cliente {
  width: 150px; height: 64px; background: var(--gris-claro);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: var(--gris); font-size: 0.85rem; font-weight: 600;
  border: 1px solid #E8E8E8; transition: border-color 0.2s;
}
.logo-cliente:hover { border-color: var(--rojo); }

/* ══ BANNER CTA ══ */
#banner-cta {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../images/bannercompleto.png') center/cover no-repeat;
  text-align: center;
  color: #fff;
}
.badge-cta {
  display: inline-block; background: var(--rojo); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 3px; margin-bottom: 20px;
}
#banner-cta h1,
#banner-cta h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.banner-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 200px;
  padding: 40px 80px;
}
.banner-cta-badge-img {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  height: 130px;
  object-fit: contain;
  z-index: 2;
}
.banner-cta-texto {
  text-align: left;
  z-index: 2;
}
.banner-cta-texto h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

/* ══ CONTACTO ══ */
#contacto { background: #fff; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.mapa-placeholder {
  background: var(--gris-claro); height: 300px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gris); font-size: 0.9rem; border: 1px dashed #CCC;
}
.info-contacto h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem;
  font-weight: 800; text-transform: uppercase; color: var(--rojo); margin-bottom: 24px;
}
.dato-contacto { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 0.95rem; }
.dato-contacto .icono-c {
  width: 34px; height: 34px; border-radius: 50%; background: var(--rojo);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.dato-contacto .icono-c svg { width: 16px; height: 16px; fill: #fff; }
.dato-contacto .icono-c img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contacto-datos-fila {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #ebebeb;
}
.contacto-dato-card .dato-contacto {
  align-items: flex-start;
  margin-bottom: 0;
}
.contacto-mini-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rojo);
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}
.contacto-dato-texto {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
  margin: 0;
}
.contacto-dato-texto a {
  color: var(--rojo);
  text-decoration: none;
}
.contacto-dato-texto a:hover {
  text-decoration: underline;
}
.contacto-form h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 18px;
}
.contacto-form label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}
.btn-enviar-contacto {
  background: var(--rojo);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-enviar-contacto:hover {
  background: var(--rojo-oscuro);
  color: #fff;
}

/* ══ FOOTER ══ */
footer { background: var(--negro); color: #fff; padding: 32px 24px 16px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; max-width: 1100px; margin: 0 auto 20px;
}
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; }
.footer-sitemap-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 12px;
}
.footer-sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 460px;
}
.footer-sitemap-list a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-sitemap-list a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-redes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.siguenos-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}
.iconos-redes { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-redes a {
  width: 36px; height: 36px; background: var(--rojo); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; transition: background 0.2s; color: #fff;
}
.footer-redes a:hover { background: var(--rojo-oscuro); }
.footer-copy {
  text-align: center; font-size: 0.78rem; opacity: 0.4;
  max-width: 1100px; margin: 0 auto; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ══ RESPONSIVE ══ */
/* ══ RESPONSIVE TABLET (max 991px) ══ */
@media (max-width: 991px) {
  .navbar-simesur { top: 0; }
  .navbar-simesur .navbar-nav .nav-link { font-size: 22px; }
  .hero-content { padding-top: 160px; }

  /* Tarjetas servicios */
  .grid-servicios { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .tarjeta-servicio { width: 100%; min-height: auto; }

  /* Misión/Visión */
  #mision-vision > div { grid-template-columns: 1fr 1fr !important; }
}

/* ══ RESPONSIVE MÓVIL (max 768px) ══ */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 88px;
  }

  /* Hero */
  .hero-content {
    padding-top: 110px !important;
  }
  .hero-content h1 { font-size: 2rem; }
  .hero-box { padding: 24px 20px; border-radius: 16px; }

  /* Navbar fijo solo en móvil; fondo blanco para que el logo (rojo) contraste */
  .navbar-simesur {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1030;
    height: auto;
    min-height: 56px;
    padding: 0.5rem 1rem !important;
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  }
  .navbar-simesur .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2) !important;
  }
  .navbar-simesur .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.65)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  /* El menú desplegable queda dentro del hero; overflow:hidden lo recortaba */
  .hero-section {
    overflow-x: hidden;
    overflow-y: visible;
  }
  .navbar.navbar-simesur .navbar-collapse {
    margin-top: 0.35rem;
    padding: 0.25rem 0.5rem 0.75rem;
    background: transparent;
    border-radius: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
    max-height: calc(100vh - 72px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar-simesur .navbar-nav .nav-link {
    color: var(--negro) !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }
  .navbar-simesur .navbar-nav .nav-link:hover,
  .navbar-simesur .navbar-nav .nav-link:focus {
    color: var(--rojo) !important;
    opacity: 1;
  }
  .navbar-simesur .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0.5rem;
  }
  .navbar-simesur .navbar-brand-img {
    height: 44px !important;
    width: auto !important;
    max-width: min(220px, 58vw);
    object-fit: contain;
    display: block;
  }

  /* Tarjetas servicios */
  .grid-servicios { grid-template-columns: 1fr; }
  .tarjeta-servicio { width: 100%; min-height: auto; }

  /* Sobre nosotros */
  #nosotros > div:first-child { grid-template-columns: 1fr !important; }
  #nosotros .nosotros-imagen { min-height: 280px !important; }
  #nosotros { padding-bottom: 120px !important; }

  /* Botones puntualidad/calidad/confianza */
  #nosotros > div:last-of-type,
  .nosotros-valores-strip {
    bottom: -40px !important;
    gap: 12px !important;
    padding: 0 16px !important;
  }
  .nosotros-valores-strip > div {
    padding: 10px 16px !important;
    height: 64px !important;
  }
  .nosotros-valores-strip > div svg { width: 36px !important; height: 36px !important; }
  .nosotros-valores-strip > div span { font-size: 1rem !important; }

  /* Misión/Visión */
  #mision-vision { padding: 32px 16px !important; }
  #mision-vision > div {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  #mision-vision > div > div:first-child { min-height: 220px !important; }
  .mision-split-card .mision-split-foto-cell {
    height: auto;
    min-height: 220px;
  }
  .mision-split-card .mision-split-foto {
    clip-path: none;
    -webkit-clip-path: none;
    flex: 1 1 auto;
    height: 100%;
    min-height: 220px;
  }
  .vision-split-card {
    border-radius: 24px !important;
    min-height: auto !important;
  }
  .vision-split-card .vision-split-texto {
    min-height: auto !important;
  }
  .vision-split-card .vision-split-foto {
    clip-path: none;
    -webkit-clip-path: none;
    min-height: 220px;
  }

  /* Nosotros grid */
  .nosotros-grid  { grid-template-columns: 1fr; }
  .mv-grid        { grid-template-columns: 1fr; }
  .contacto-grid  { grid-template-columns: 1fr; }
  .valores        { flex-direction: column; }

  /* Clientes logos */
  .grid-clientes img { height: 50px !important; }

  /* Banner CTA */
  #banner-cta > div {
    flex-direction: column !important;
    padding: 40px 20px !important;
    text-align: center !important;
  }
  #banner-cta img { position: static !important; transform: none !important; margin-bottom: 16px; }
  #banner-cta h1,
  #banner-cta h2 { font-size: 1.6rem !important; }

  .servicios-fondo-img {
    display: none !important;
  }
  .servicios-fondo-wrap {
    overflow: visible !important;
  }
  .servicios-fondo-banner {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 28px 16px !important;
  }
  .servicios-seccion-logo-col {
    display: none !important;
  }
  .servicios-seccion-copy {
    font-size: clamp(1.15rem, 5.5vw, 2rem);
    line-height: 1.25;
    max-width: 100%;
  }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-sitemap-list { justify-content: center; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-datos-fila {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
    padding-top: 28px;
  }
}

/* ══ RESPONSIVE PEQUEÑO (max 480px) ══ */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .hero-box { padding: 16px 14px; border-radius: 12px; }
  .titulo-seccion { font-size: 1.6rem; }
  #banner-cta h1,
  #banner-cta h2 { font-size: 1.4rem !important; }
  .tarjeta-servicio { padding: 16px 12px; gap: 12px; }
  .tarjeta-servicio .icono { width: 56px !important; height: 56px !important; }
  .tarjeta-servicio .icono img { width: 50px !important; height: 50px !important; }
  .tarjeta-servicio .icono img.icon-servicio--sm {
    width: 26px !important;
    height: 26px !important;
  }
  .tarjeta-servicio .icono img.icon-servicio--md {
    width: 40px !important;
    height: 40px !important;
  }
  .tarjeta-servicio h3 { font-size: 0.95rem; }

  /* Botones valores en móvil pequeño — en columna */
  .nosotros-valores-strip {
    flex-direction: column !important;
    bottom: auto !important;
    position: static !important;
    padding: 16px !important;
    gap: 10px !important;
    background: var(--rojo);
  }
  #nosotros { padding-bottom: 0 !important; }
}

/* Iconos grandes en bloque de contacto (datos) */
.contacto-datos-fila .icono-c {
  width: 59px;
  height: 59px;
  border-radius: 50%;
  background: var(--rojo);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-datos-fila .icono-c img {
  width: 59px;
  height: 59px;
  object-fit: contain;
  border-radius: 50%;
}

/* === Extraído de estilos en línea (index) === */
.hero-cta-link {
  display: inline-block;
  cursor: pointer;
}
.hero-cta-img {
  height: 56px;
  width: 251px;
  object-fit: contain;
  display: block;
}
.servicios-fondo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.servicios-fondo-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
}
.servicios-tarjetas-container {
  padding-top: 48px;
  padding-bottom: 80px;
}
.tarjeta-servicio .icono img.icon-servicio {
  object-fit: contain;
  filter: brightness(0) invert(1) !important;
}
.tarjeta-servicio .icono img.icon-servicio--sm {
  width: 26px !important;
  height: 26px !important;
}
.tarjeta-servicio .icono img.icon-servicio--md {
  width: 40px !important;
  height: 40px !important;
}
.nosotros-dos-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.nosotros-texto-col {
  background: var(--rojo);
  padding: 48px 44px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.titulo-nosotros-principal {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.divisor-blanco-sn {
  width: 60px;
  height: 4px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 2px;
}
.texto-nosotros {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #fff;
  margin: 0 0 16px;
}
.texto-nosotros:last-child {
  margin-bottom: 0;
}
.nosotros-foto-col {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.nosotros-foto-principal {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nosotros-logo-wrap {
  position: absolute;
  bottom: 80px;
  right: 24px;
}
.nosotros-logo-img {
  height: 90px;
  object-fit: contain;
}
.nosotros-valores-strip {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 40px;
  z-index: 10;
  flex-wrap: wrap;
}
.img-badge-valor {
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.espaciador-nosotros-mv {
  height: 60px;
  background: #f5f5f5;
}
.mision-split-texto.mision-split-texto--altura-fija {
  height: 433px;
}
.titulo-mv-principal {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.texto-mv-principal {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.75;
  color: #fff;
  margin: 0;
}
.clientes-fila-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.clientes-fila-logos--mb {
  margin-bottom: 40px;
}
.cliente-logo--h80 {
  height: 80px;
  object-fit: contain;
}
.cliente-logo--h70 {
  height: 70px;
  object-fit: contain;
}
.cliente-logo--h60 {
  height: 60px;
  object-fit: contain;
}
.mapa-iframe {
  border: 0;
  display: block;
}
.footer-logo-note {
  font-size: 0.6rem;
  opacity: 0.5;
  font-weight: 400;
}
