@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700;900&display=swap');

:root {
  --naranja: #ff7f00;
  --gris: #444;
  --gris-claro: #f7f7f7;
  --blanco: #fff;
  --azul-claro: #d6eaff;
  --azul: #0000ff;
  --azul-marino: #00fff0;
}

/* ======================= */
/* GENERALES Y BASE        */
/* ======================= */

body {
  font-family: 'Lato', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(120deg, var(--azul-claro) 0%, var(--gris-claro) 100%);
  color: var(--gris);
}

/* Header/Nav */

.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35); /* Oscurecer, ajusta opacidad si quieres */
  z-index: 0;
  pointer-events: none;
}
.header, .header * {
  position: relative;
  z-index: 1;
}
.header {
  background: url('imagenes/IMG_3417.jpeg')  80% 55% /auto no-repeat, #fff !important;
  position: relative !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  box-shadow: 0 2px 9px #0002;
  min-height: 80px !important; /* Ajusta según sea necesario */
}

.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1vw;
  min-height: 48px;
}

.logo {
  height: 40px;
  margin-right: 1.2rem;
   margin-bottom: 0px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: var(--blanco) !important ;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.13em;
  padding: 0.4em 0.8em;
  border-radius: 5px;
  transition: background 0.2s;
}

.nav-list li a:hover,
.nav-list li a.active {
  background: var(--gris);
  color: var(--naranja);
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 700;
}

/* Botón principal */
.cta-btn {
  background: var(--naranja);
  color: var(--blanco);
  border: none;
  font-size: 1.13em;
  padding: 0.9em 2.1em;
  border-radius: 2em;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}
.cta-btn:hover {
  background: var(--gris);
  color: var(--naranja);
}

/* Footer */
footer {
  background: var(--gris);
  color: var(--blanco);
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 1em;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}

/* ======================= */
/* BURBUJAS Y FLOTANTE     */
/* ======================= */

.floating-services {
  position: fixed;
  bottom: 1.5em;
  right: 1.5em;
  background: var(--gris);
  color: var(--blanco);
  font-weight: bold;
  padding: 0.7em 1.4em;
  border-radius: 1.1em 1.1em 0 1.1em;
  box-shadow: 0 2px 8px rgba(90,90,90,0.12);
  font-size: 1.05em;
  z-index: 1200;
  opacity: 0.96;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}

.burbujas {
  position: fixed;
  bottom: 180px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2000;
}
.burbuja {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--naranja);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.burbuja:hover {
  background: var(--gris);
  transform: scale(1.13);
}
.burbuja.whatsapp { background: #25d366; }
.burbuja.correo { background: var(--naranja); }
.burbuja.instagram { background: #E4405F; }

/* ======================= */
/* HOME Y SECCIONES BASE   */
/* ======================= */

/* HERO */
.hero {
  background: url('https://github.com/echava1234/duransua2/raw/main/info-2.jpg') center/cover no-repeat;
  color: var(--blanco);
  text-align: center;
  padding: 6vw 3vw 8vw 3vw;
  border-bottom-left-radius: 2vw;
  border-bottom-right-radius: 2vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.hero h1 {
  font-size: 2.8em;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 8px #00000045;
}
.hero p {
  font-size: 1.3em;
  margin-bottom: 2em;
}

/* INFO CARDS HOME */
.info {
  display: flex;
  gap: 2vw;
  max-width: 1100px;
  margin: 3vw auto;
  flex-wrap: wrap;
  justify-content: center;
}
.info-card {
  background: var(--blanco);
  padding: 1.7em 2em;
  border-radius: 1em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  flex: 1 1 320px;
  min-width: 250px;
  position: relative;
}
.info-card.destacado {
  border: 3px solid var(--naranja);
  background: #fff7ed;
}

/* Etiqueta nuevo */
.pegatina-nuevo {
  position: absolute;
  top: -1.1em;
  left: -1.2em;
  background: var(--naranja);
  color: var(--blanco);
  padding: 0.38em 1.3em;
  font-weight: bold;
  border-radius: 1em;
  font-size: 0.95em;
  box-shadow: 0 3px 9px #0001;
  transform: rotate(-14deg);
  z-index: 9;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}

/* ======================= */
/* SERVICIOS (duransua2)   */
/* ======================= */

.destacados-home {
  max-width: 1100px;
  margin: 2em auto 3em auto;
  padding: 2em 2vw;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
}
.destacados-home h2 {
  color: var(--naranja);
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  text-align: center;
}
.servicios-home-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin: 2em 0 1em 0;
}
.servicio-home {
  flex: 1 1 200px;
  background: #f7f7f7;
  border-radius: .7em;
  text-align: center;
  padding: 1.2em 1em;
  margin-bottom: 1em;
  min-width: 190px;
  max-width: 250px;
  box-shadow: 0 2px 7px #0001;
  transition: transform 0.2s;
  position: relative;
}
.servicio-home:hover { transform: translateY(-6px) scale(1.05); }
.servicio-home i {
  font-size: 2.2em;
  color: var(--naranja);
  margin-bottom: .6em;
}
.servicio-nuevo .pegatina-nuevo {
  position: absolute;
  left: 50%;
  top: -1.3em;
  transform: translateX(-50%) rotate(-10deg);
  background: var(--naranja);
  color: #fff;
  padding: 0.38em 1.3em;
  font-weight: bold;
  border-radius: 1em;
  font-size: 0.95em;
  box-shadow: 0 3px 9px #0001;
}

/* ======================= */
/* SOBRE NOSOTROS          */
/* ======================= */

.about-main {
  background: linear-gradient(120deg, var(--azul-claro) 0%, var(--gris-claro) 100%);;
  padding-bottom: 2em;
}
.about-main .about-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3em;
  max-width: 1100px;
  margin: 2em auto 3em auto;
  padding: 2em 2vw;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
  flex-wrap: wrap;
}
.about-main .about-hero-text {
  flex: 1 1 340px;
  min-width: 250px;
}
.about-main .about-hero-text h1 {
  color: var(--naranja);
  font-size: 2.5em;
  margin-bottom: 0.3em;
}
.about-main .about-hero-img {
  flex: 1 1 300px;
  min-width: 220px;
  text-align: right;
}
.about-main .about-hero-img img {
  border-radius: 1em;
  width: 320px;
  max-width: 95vw;
  box-shadow: 0 2px 14px #0002;
}
.about-main .about-hero-cta {
  margin-top: 1.4em;
}

/* Misión, Visión, Valores */
.about-main .about-mision-vision {
  display: flex;
  gap: 2em;
  max-width: 1100px;
  margin: 2em auto;
  justify-content: center;
  flex-wrap: wrap;
}
.about-main .about-mision, 
.about-main .about-vision, 
.about-main .about-valores {
  background: #fff7ed;
  flex: 1 1 220px;
  padding: 1.5em 1em;
  border-radius: 1em;
  text-align: center;
  box-shadow: 0 2px 8px #0001;
  min-width: 200px;
  margin-bottom: 1em;
}
.about-main .about-mision i, 
.about-main .about-vision i, 
.about-main .about-valores i {
  font-size: 2.1em;
  color: var(--naranja);
  margin-bottom: .6em;
}
.about-main .about-valores ul {
  list-style: none;
  margin: 0.7em 0 0 0;
  padding: 0;
}
.about-main .about-valores li {
  margin-bottom: 0.3em;
  font-weight: 600;
  color: var(--gris);
}

/* Historia */
.about-main .about-historia {
  max-width: 1100px;
  margin: 2em auto;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
  padding: 2em 2vw;
}
.about-main .about-historia h2 {
  color: var(--naranja);
  text-align: center;
}
.about-main .about-historia-grid {
  display: flex;
  gap: 2.5em;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5em;
}
.about-main .about-historia-grid > div {
  flex: 1 1 340px;
  min-width: 220px;
}
.about-main .about-historia-img img {
  border-radius: 0.9em;
  width: 300px;
  max-width: 155vw;
  box-shadow: 0 2px 14px #0002;
}
.about-main .about-razones {
  list-style: none;
  margin: 1.3em 0 0 0;
  padding: 0;
}
.about-main .about-razones li {
  margin-bottom: 0.5em;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: var(--gris);
}
.about-main .about-razones i {
  color: var(--naranja);
}

/* Línea de Tiempo */
.about-main .about-timeline {
  max-width: 1100px;
  margin: 2em auto;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
  padding: 2em 2vw;
}
.about-main .about-timeline h2 {
  color: var(--naranja);
  text-align: center;
  margin-bottom: 2em;
}
.about-main .timeline-container {
  position: relative;
  margin: 0 auto;
  padding-left: 25px;
  max-width: 700px;
}
.about-main .timeline-item {
  position: relative;
  margin-bottom: 2.5em;
  padding-left: 2.7em;
}
.about-main .timeline-item:last-child {
  margin-bottom: 0;
}
.about-main .timeline-dot {
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.2em;
  height: 1.2em;
  background: var(--naranja);
  border-radius: 50%;
  box-shadow: 0 2px 7px #0002;
  border: 2px solid #fff;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1em;
}
.about-main .timeline-line {
  position: absolute;
  width: 3px;
  background: #ffe2c1;
  top: 1.2em;
  bottom: 0;
  left: 0.55em;
  z-index: 1;
}
.about-main .timeline-content {
  background: #fff7ed;
  border-radius: .7em;
  padding: 1em 1.5em;
  box-shadow: 0 2px 7px #0001;
  font-size: 1.05em;
}
.about-main .timeline-date {
  color: var(--naranja);
  font-weight: bold;
  margin-bottom: .3em;
  display: block;
}

/* Partners/Aliados */
.about-main .about-partners {
  max-width: 1100px;
  margin: 2em auto 3em auto;
  padding: 2em 2vw;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
  text-align: center;
}
.about-main .about-partners h2 {
  color: var(--naranja);
  margin-bottom: 1em;
}
.about-main .partners-logos {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  align-items: center;
}
.about-main .partner-logo {
  background: #fff7ed;
  border-radius: 1em;
  padding: 1em 2em;
  box-shadow: 0 2px 7px #0001;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-main .partner-logo img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(0.2);
}

/* Logros */
.about-main .about-achievements {
  display: flex;
  gap: 2em;
  justify-content: center;
  align-items: center;
  margin: 2em 0;
  flex-wrap: wrap;
}
.about-main .about-achievements div {
  background: #fff7ed;
  border-radius: 1em;
  padding: 1em 1.5em;
  text-align: center;
  box-shadow: 0 2px 7px #0001;
  min-width: 120px;
}
.about-main .about-achievements i {
  font-size: 2em;
  color: var(--naranja);
}
.about-main .about-achievements span {
  display: block;
  font-size: 1.3em;
  font-weight: bold;
  margin: .3em 0;
  color: var(--gris);
}

/* Equipo */
.about-main .about-equipo {
  max-width: 1100px;
  margin: 2em auto;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
  padding: 2em 2vw;
}
.about-main .about-equipo h2 {
  color: var(--naranja);
  text-align: center;
}
.about-main .about-equipo-grid {
  display: flex;
  gap: 2em;
  justify-content: center;
  margin-top: 2em;
  flex-wrap: wrap;
}
.about-main .about-equipo-card {
  background: #fff7ed;
  border-radius: 1em;
  box-shadow: 0 2px 8px #0001;
  text-align: center;
  padding: 1.2em 1em 1.7em 1em;
  min-width: 170px;
  max-width: 200px;
  flex: 1 1 170px;
}
.about-main .about-equipo-card img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 0.7em;
  box-shadow: 0 2px 7px #0001;
}
.about-main .about-equipo-card h3 {
  margin: 0.6em 0 0.3em 0;
  color: var(--naranja);
  font-size: 1.1em;
}
.about-main .about-equipo-card p {
  margin: 0;
  color: var(--gris);
  font-size: 1em;
}

/* Testimonios */
.about-main .about-testimonios {
  max-width: 1100px;
  margin: 2em auto 3em auto;
  padding: 2em 2vw;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
}
.about-main .about-testimonios h2 {
  color: var(--naranja);
  text-align: center;
}
.about-main .testimonios-grid {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.about-main .testimonios-grid blockquote {
  background: #fafafa;
  border-left: 5px solid var(--naranja);
  border-radius: .7em;
  padding: 1em 1.2em;
  max-width: 320px;
  min-width: 180px;
  margin: 0;
  font-style: italic;
  box-shadow: 0 2px 7px #0001;
}
.about-main .testimonios-grid footer {
  color: #888;
  font-size: .97em;
  margin-top: .5em;
}

/* ======================= */
/* BLOG                    */
/* ======================= */

.blog-posts {
  max-width: 720px;
  margin: 2rem auto 4rem auto;
  background: var(--blanco);
  border-radius: 1rem;
  box-shadow: 0 2px 10px #0001;
  padding: 2rem 2.5rem;
  text-align: justify; /* Justifica el texto del párrafo */
}
.blog-post {
  margin-bottom: 2.4rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.2rem;
}
.blog-post:last-child {
  border-bottom: none;
}
.blog-post h2 {
  color: var(--naranja);
  margin-bottom: 0.5em;
  font-size: 1.35em;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}
.fecha-post {
  color: var(--gris);
  font-size: 0.97em;
  font-style: italic;
  opacity: 0.8;
}
.editar-blog {
  text-align: center;
  font-size: 1em;
  color: #888;
  margin-bottom: 2.5em;
}

/* ======================= */
/* CONTACTO                */
/* ======================= */

.contacto-formulario {
  background: var(--blanco);
  max-width: 600px;
  margin: 2em auto 3em auto;
  padding: 4em;
  border-radius: 1em;
  box-shadow: 0 2px 10px #0001;
  display: flex; /* Mantener flex */
  flex-direction: column; /* Apilar verticalmente */
  align-items: center; /* Centrar horizontalmente */
}
.contacto-formulario h2 {
  color: var(--naranja);
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  margin-bottom: 1.5em;
}
.campo-form {
  margin-bottom: 1.2em;
  text-align: left;
}
.campo-form label {
  display: block;
  margin-bottom: 0.4em;
  font-weight: bold;
  color: var(--gris);
}
.campo-form input,
.campo-form textarea {
  width: 250px !important;
  padding: 0.5em 0.5em;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.5em;
  font-size: 1em;
  font-family: 'Lato', Arial, sans-serif;
  resize: none;
  outline: none;
  transition: border 0.2s;
  background: #fafafa;
  margin: 10px 0 !important;
}
.campo-form input:focus,
.campo-form textarea:focus {
  border-color: var(--naranja);
}
.campo-form textarea {
  min-height: 110px;
  max-height: 250px;
}
.cta-btn[type="submit"] {
  background: var(--naranja);
  color: var(--blanco);
  border: none;
  padding: 0.9em 2.5em;
  border-radius: 2em;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1.13em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px #0001;
}
.cta-btn[type="submit"]:hover {
  background: var(--gris);
  color: var(--naranja);
}

.mapa-contacto {
  width: 100%;
  height: 340px;
  border-radius: 1rem;
  margin: 2em 0 2em 0;
  box-shadow: 0 2px 12px #0001;
}
.contacto-info {
  background: var(--blanco);
  border-left: 6px solid var(--naranja);
  padding: 2em 2.5em;
  border-radius: 0.5em;
  box-shadow: 0 2px 10px #0001;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.12em;
}
.contacto-info a {
  color: var(--naranja);
  text-decoration: underline;
}


/* ======================= */
/* RESPONSIVE              */
/* ======================= */

@media (max-width: 900px) {
  .info,
  .servicios-home-grid,
  .about-main .about-hero,
  .about-main .about-mision-vision,
  .about-main .about-historia-grid,
  .about-main .about-achievements,
  .about-main .about-equipo-grid,
  .about-main .testimonios-grid,
  .about-main .partners-logos {
    flex-direction: column;
    gap: 1em;
    align-items: center;
  }
  .logo-nav {
    flex-direction: column;
    gap: 0.8em;
    align-items: flex-start;
  }
  .logo {
    margin-bottom: 0.7em;
  }
  .about-main .about-hero-img,
  .about-main .about-historia-img {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .info-card, 
  .about-main .about-hero,
  .about-main .about-mision-vision,
  .about-main .about-historia,
  .about-main .about-achievements,
  .about-main .about-equipo,
  .about-main .about-testimonios,
  .about-main .about-timeline,
  .about-main .about-partners,
  .contacto-formulario,
  .contacto-info,
  .blog-posts,
  .destacados-home {
    padding: 1.1em 0.7em;
  }
  .logo-nav { padding: 0 0.5em; }
  .hero { padding: 3vw 1vw 6vw 1vw; }
}

/* ======================= */
/* SCROLLBAR PERSONALIZADO */
/* ======================= */
::-webkit-scrollbar {
  width: 9px;
  background: #fafafa;
}
::-webkit-scrollbar-thumb {
  background: var(--naranja);
  border-radius: 4px;
}

/* HERO SLIDER - Añade/actualiza este bloque en tu CSS */
.hero.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  padding: 0;
}

.hero-slider-images {
  position: relative;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #222 40%, #ff7f00 100%);
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 350px;
  object-fit: contain;
  background: none;
  opacity: 1;
  pointer-events: auto;
  transition: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.hero-slider-content {
 width: 50%;
  padding: 3vw;
  color: var(--gris, #222);
  background: #fff7ed;
  border-radius: 0 1.5vw 1.5vw 0;
  box-shadow: 0 2px 14px #0002;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.hero-slider-content h1 {
  font-size: 2.8em;
  margin-bottom: 0.5em;
}
.hero-slider-content p {
  font-size: 1.3em;
  margin-bottom: 2em;
}

/* Dots del slider */
.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5em;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6em;
  z-index: 11;
}
.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid var(--naranja);
  cursor: pointer;
  transition: background 0.3s, border 0.3s;
  box-shadow: 0 2px 7px #0001;
}
.hero-dot.active {
  background: var(--naranja);
  border-color: #fff;
}
.hero-slider-row {
  display: flex;
  width: 100%;
  min-height: 350px;
  align-items: center;
  justify-content: center;
}

/* Responsive para móviles */
@media (max-width: 900px) {
  .hero-slider-row {
    flex-direction: column;
  }
  .hero-slider-images,
  .hero-slider-content {
    width: 100% !important;
    min-height: 180px;
    border-radius: 1.5vw;
  }
}

@media (max-width: 700px) {
  .hero-slider-content h1 {
    font-size: 2em;
  }
  .hero-slider-content {
    padding: 4vw 2vw 6vw 2vw;
  }
}
/* ======================= */
/* HOME - CÓMO TRABAJAMOS, TESTIMONIOS, NOTICIAS, CONTACTO RÁPIDO */
/* ======================= */

.proceso-home,
.testimonios-home,
.noticias-home,
.contacto-rapido-home {
  max-width: 1100px;
  margin: 2em auto 3em auto;
  padding: 2em 2vw;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #0001;
}
.proceso-home h2,
.testimonios-home h2,
.noticias-home h2,
.contacto-rapido-home h2 {
  color: var(--naranja);
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  text-align: center;
}

/* Proceso (pasos) */
.proceso-steps {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2em;
}
.proceso-step {
  background: #f7f7f7;
  border-radius: .7em;
  padding: 1em 1.2em;
  min-width: 140px;
  text-align: center;
  box-shadow: 0 2px 7px #0001;
  margin-bottom: 1em;
}
.circle-step {
  display: inline-block;
  background: var(--naranja);
  color: #fff;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: bold;
  border-radius: 50%;
  width: 2.2em;
  height: 2.2em;
  line-height: 2.2em;
  font-size: 1.3em;
  margin-bottom: .5em;
}

/* Testimonios */
.testimonios-grid {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.testimonios-grid blockquote {
  background: #fafafa;
  border-left: 5px solid var(--naranja);
  border-radius: .7em;
  padding: 1em 1.2em;
  max-width: 320px;
  min-width: 180px;
  margin: 0;
  font-style: italic;
  box-shadow: 0 2px 7px #0001;
}
.testimonios-grid footer {
  color: #888;
  font-size: .97em;
  margin-top: .5em;
}

/* Noticias */
.noticias-grid {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.noticias-grid article {
  background: #fff7ed;
  border-left: 5px solid var(--naranja);
  border-radius: .7em;
  padding: 1em 1.2em;
  max-width: 320px;
  min-width: 180px;
  margin: 0;
  box-shadow: 0 2px 7px #0001;
}
.noticias-grid h3 {
  margin-top: 0;
  color: var(--naranja);
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}
.ver-todos-blog {
  text-align: center;
  margin-top: 2em;
}

/* Contacto rápido */
.contacto-rapido-home {
  text-align: center;
  margin-bottom: 2.5em;
}
.contacto-rapido-datos {
  margin-top: 1em;
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
}
.contacto-rapido-datos a {
  color: var(--naranja);
  font-weight: bold;
  font-size: 1.15em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5em;
  background: #fff7ed;
  padding: .5em 1.5em;
  border-radius: 2em;
  transition: background 0.2s;
  box-shadow: 0 2px 7px #0001;
}
.contacto-rapido-datos a:hover {
  background: var(--naranja);
  color: #fff;
}

/* Responsivo para estas secciones */
@media (max-width: 900px) {
  .proceso-steps,
  .testimonios-grid,
  .noticias-grid,
  .contacto-rapido-datos {
    flex-direction: column;
    gap: 1em;
    align-items: center;
  }
}

/* CONTACTO – MAPA */
.mapa-contacto {
  height: 400px;
  width: 100%;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px #0001;
}

/* ---- BARRA SUPERIOR DE CONTACTO ---- */
.topbar {
  background: var(--naranja, #f57c00);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  padding: 0.5em 2vw;
  gap: 1em;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  margin-right: 1.2em;
  transition: color 0.2s;
  font-weight: 500;
}
.topbar a:last-child { margin-right: 0; }
.topbar a:hover { color: #ffea00; }
.topbar-social a {
  font-size: 1.1em;
  margin-right: 0.7em;
  transition: color 0.2s, transform 0.2s;
}
.topbar-social a:last-child { margin-right: 0; }
.topbar-social a:hover { color: #232323; transform: scale(1.18);}
.topbar i { margin-right: 0.35em; }

/* ---- HEADER PRINCIPAL ---- */
.header {
  box-shadow: 0 2px 9px #0002;
  background: rgba(255,255,255,0.95);
  position: relative;
  top: 0; left: 0; width: 100%;
  z-index: 30;
  transition: background 0.3s;
}
.logo-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2vw;
  gap: 1vw;
}
.logo {
  height: 90px;
  max-width: 230px;
  transition: filter 0.3s;
}
nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--naranja, #f57c00);
  margin-right: 10px;
  cursor: pointer;
}
.nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-list li a {
  color: #232323;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.14em;
  padding: 7px 15px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
.nav-list li a:hover,
.nav-list li a:focus {
  background: var(--naranja, #f57c00);
  color: #fff;
  box-shadow: 0 2px 9px #0001;
}
.cta-menu {
  background: var(--naranja, #f57c00);
  color: #fff !important;
  border-radius: 20px;
  font-weight: bold;
  padding: 10px 22px;
  margin-left: 10px;
  box-shadow: 0 2px 9px #0002;
  display: flex;
  align-items: center;
  gap: 0.4em;
  transition: background 0.2s, color 0.2s;
}
.cta-menu:hover {
  background: #232323;
  color: var(--naranja, #f57c00) !important;
}

/* ---- RESPONSIVE HEADER ---- */
@media (max-width: 900px) {
  .logo { height: 55px; max-width: 125px; }
  .logo-nav { flex-direction: column; gap: 0.5em; padding: 12px 2vw;}
  nav { width: 100%; }
  .nav-list {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    box-shadow: 0 5px 18px #0002;
    gap: 8px;
    padding: 1.2em 0 1.2em 0;
    z-index: 99;
    display: none;
  }
  .nav-list.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  .topbar { flex-direction: column; padding: 0.6em 0.5em; font-size: 0.97em; }
  .logo { max-width: 100px; }
}

/* ---- DARK MODE (opcional, activar con clase body.dark-mode) ---- */
body.dark-mode {
  background: #232323;
  color: #fff;
}
body.dark-mode .header,
body.dark-mode .nav-list,
body.dark-mode .contacto-info,
body.dark-mode .contacto-formulario {
  background: #232323 !important;
  color: #fff !important;
}
body.dark-mode .nav-list li a,
body.dark-mode .topbar a {
  color: #fff;
}
body.dark-mode .nav-list li a:hover,
body.dark-mode .topbar a:hover {
  background: var(--naranja, #f57c00);
  color: #fff;
}
body.dark-mode .cta-menu {
  background: #fff;
  color: var(--naranja, #f57c00) !important;
}

/* ---- ANIMACIONES HEADER (Hover y Transiciones) ---- */
.logo:hover {
  filter: brightness(1.11) drop-shadow(0 1px 6px var(--naranja, #f57c00));
  transition: filter 0.2s;
}
.nav-list li a::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 2px;
  width: 0;
  background: var(--naranja, #f57c00);
  transition: width 0.2s;
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
}
.nav-list li a:hover::after,
.nav-list li a:focus::after {
  width: 80%;
}

/* BARRA SUPERIOR DE INFORMACIÓN */
.topbar {
  background: var(--naranja, #f57c00);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  padding: 0.4em 2vw;
  gap: 1em;
  border-bottom: 1px solid #fff2;
}
.topbar .topbar-contacto {
  display: flex;
  gap: 1.2em;
  align-items: center;
  font-size: 0.98em;
}
.topbar .topbar-contacto a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.topbar .topbar-contacto a:hover {
  color: #ffe082;
}
.topbar .topbar-social {
  display: flex;
  gap: 0.7em;
}
.topbar .topbar-social a {
  color: #fff;
  font-size: 1.12em;
  transition: color 0.2s, transform 0.2s;
}
.topbar .topbar-social a:hover {
  color: #232323;
  transform: scale(1.18);
}

/* HEADER */
.header {
  background: #fff;
  box-shadow: 0 2px 9px #0001;
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 30;
  padding-bottom: 10px;
}

/* LOGO NAV - centrar y agrandar logo, y centrar menú debajo */
.logo-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 0 10px 0;
  background: transparent;
}
.logo {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  height: auto;
  transition: filter 0.3s;
  filter: drop-shadow(0 4px 18px #ff980055);
  /* animación suave al pasar el mouse */
}
.logo:hover {
  filter: drop-shadow(0 6px 24px #f57c00cc) brightness(1.08);
}
nav {
  width: 100%;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: 26px;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  background: transparent;
}
.nav-list li a {
  color: #232323;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.13em;
  padding: 10px 22px 7px 22px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  letter-spacing: 0.5px;
}
.nav-list li a:hover,
.nav-list li a:focus {
  background: var(--naranja, #f57c00);
  color: #fff;
  box-shadow: 0 2px 9px #f57c0022;
}
.nav-list li a::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 2px;
  width: 0;
  background: var(--naranja, #f57c00);
  transition: width 0.2s;
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
}
.nav-list li a:hover::after,
.nav-list li a:focus::after {
  width: 80%;
}

/* BOTÓN ACCIÓN DESTACADO EN EL MENÚ */
.cta-menu {
  background: var(--naranja, #f57c00);
  color: #fff !important;
  border-radius: 20px;
  font-weight: bold;
  padding: 10px 22px;
  margin-left: 10px;
  box-shadow: 0 2px 9px #f57c0033;
  display: flex;
  align-items: center;
  gap: 0.4em;
  transition: background 0.2s, color 0.2s;
}
.cta-menu:hover {
  background: #232323;
  color: var(--naranja, #f57c00) !important;
}

/* SEPARADOR DECORATIVO */
.header-separator {
  width: 60%;
  max-width: 400px;
  height: 4px;
  margin: 10px auto 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, #f57c00 0%, #ffb74d 100%);
  opacity: 0.18;
}

/* RESPONSIVE HEADER Y TOPBAR */
@media (max-width: 900px) {
  .logo {
    max-width: 170px;
  }
  .logo-nav {
    padding: 18px 0 5px 0;
    gap: 5px;
  }
  .nav-list {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    align-items: center;
    padding: 1.2em 0;
    background: #fff;
    position: static;
    box-shadow: none;
  }
  .nav-list li a {
    font-size: 1em;
    padding: 7px 10px;
    border-radius: 10px;
    width: 96vw;
    max-width: 380px;
    text-align: center;
  }
  .cta-menu {
    width: 96vw;
    max-width: 380px;
    justify-content: center;
    margin-left: 0;
  }
}
@media (max-width: 650px) {
  .topbar {
    flex-direction: column;
    gap: 0.2em;
    font-size: 0.97em;
    padding: 0.3em 0.7em;
    text-align: center;
  }
  .logo {
    max-width: 110px;
  }
  .header-separator {
    width: 90%;
    height: 3px;
    margin-top: 6px;
  }
}

/* SUGERENCIA: Puedes agregar en tu HTML después del <body> o del header:
 <div class="topbar">
    <div class="topbar-contacto">
      <a href="tel:3150459589"><i class="fas fa-phone"></i> 315 045 9589</a>
      <a href="mailto:rhasesoriastransito@gmail.com"><i class="fas fa-envelope"></i> rhasesoriastransito@gmail.com</a>
    </div>
    <div class="topbar-social">
      <a href="https://wa.me/573150459589" target="_blank" title="WhatsApp"><i class="fab fa-whatsapp"></i></a>
      <a href="https://instagram.com/" target="_blank" title="Instagram"><i class="fab fa-instagram"></i></a>
    </div>
 </div>
 <div class="header-separator"></div>

Y si quieres un botón de WhatsApp destacado en el menú:
<li><a href="https://wa.me/573150459589" class="cta-menu" target="_blank"><i class="fab fa-whatsapp"></i> Cotiza por WhatsApp</a></li>
*/
/* Minimizar header/topbar usando un checkbox */
.header-min-toggle {
  display: none;
}
.header-min-label {
  display: block;
  text-align: center;
  background: var(--naranja, #f57c00);
  color: #fff;
  font-weight: bold;
  padding: 5px 0 2px 0;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 99;
  letter-spacing: 1px;
  font-size: 1.1em;
}
.header,
.topbar,
.logo-nav {
  transition: max-height 0.35s, opacity 0.35s, padding 0.3s;
}
.header-min-toggle:checked ~ .header,
.header-min-toggle:checked ~ .topbar,
.header-min-toggle:checked ~ .logo-nav {
  max-height: 0px !important;
  opacity: 0;
  overflow: hidden;
  padding: 0 !important;
}
.header-min-toggle:not(:checked) ~ .header,
.header-min-toggle:not(:checked) ~ .topbar,
.header-min-toggle:not(:checked) ~ .logo-nav {
  opacity: 1;
  /* max-height y padding normales si lo deseas */
}
.lema-empresa {
  display: block;
  margin-top: 0px;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.28em;
  color: var(--naranja);
  letter-spacing: 1.5px;
  text-align: center;
  text-shadow: 1px 2px 8px #0001;
  /* Para el toque elegante: */
  font-variant: small-caps;
  /* Puedes probar con cursiva si lo prefieres: */
  /* font-style: italic; */
}
@media (max-width: 700px) {
  .lema-empresa {
    font-size: 1em;
    padding: 0 8px;
  }
}
/* Mejora la experiencia en móviles para todas las páginas */
@media (max-width: 768px) {
  body {
    padding: 0 10px;
    font-size: 16px;
  }

  header, nav, main, footer, section, article, aside, .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  /* Asegura que los menús y barras de navegación sean apilables */
  nav ul, .menu {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
    padding-left: 0;
  }
  nav li, .menu li {
    width: 100%;
    margin: 0;
  }

  /* Las imágenes se adaptan al ancho */
  img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Tablas responsivas */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    font-size: 14px;
  }

  /* Formularios y botones */
  input, select, textarea, button {
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 10px;
  }

  /* Ajusta títulos y textos */
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    font-size: 1.3em;
  }

  /* Quita márgenes/paddings grandes de secciones */
  section, article {
    margin: 10px 0;
    padding: 10px 0;
  }

  /* Asegura que cualquier columna se apile */
  .row, [class*="col-"] {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* Mejoras responsive y uniformidad visual en móvil */
@media (max-width: 600px) {
  .hero, .info, .info-card, .destacados-home, 
  .about-main .about-hero, .about-main .about-mision-vision,
  .about-main .about-historia, .about-main .about-achievements,
  .about-main .about-equipo, .about-main .about-testimonios, 
  .about-main .about-timeline, .about-main .about-partners, 
  .blog-posts, .contacto-formulario, .contacto-info {
    padding: 1.2em 0.7em;
    border-radius: 1em;
    margin: 1.1em 0 !important;
    box-shadow: 0 2px 10px #0001;
    background: #fff;
  }

  .hero h1, .about-main .about-hero-text h1, 
  .about-main .about-historia h2, .about-main .about-mision-vision h2,
  .about-main .about-partners h2, .about-main .about-equipo h2,
  .about-main .about-testimonios h2, .about-main .about-achievements h2,
  .destacados-home h2 {
    font-size: 2em;
    text-align: center;
    color: var(--naranja);
    margin-bottom: 0.7em;
  }

  .cta-btn, .cta-btn[type="submit"] {
    width: 100%;
    font-size: 1.1em;
    padding: 1em 0;
    margin: 1em 0 0.7em 0;
    border-radius: 2em;
  }

  .info, .destacados-home .servicios-home-grid,
  .about-main .about-hero, .about-main .about-mision-vision,
  .about-main .about-historia-grid, .about-main .about-achievements,
  .about-main .about-equipo-grid, .about-main .testimonios-grid,
  .about-main .partners-logos {
    flex-direction: column !important;
    gap: 1em !important;
    align-items: center !important;
  }

  .info-card, .servicio-home, .about-main .about-hero,
  .about-main .about-mision, .about-main .about-vision, .about-main .about-valores,
  .about-main .about-historia, .about-main .about-achievements div,
  .about-main .about-equipo-card, .about-main .partner-logo,
  .about-main .testimonios-grid blockquote, .blog-post, 
  .contacto-formulario, .contacto-info {
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
    margin: 0 0 1em 0 !important;
  }

  .about-main .partner-logo img {
    height: 64px !important;
    max-width: 90vw !important;
    width: auto !important;
  }

  .logo {
    height: 60px !important;
    margin-bottom: 0.7em;
  }

  .hero p, .about-main .about-hero-text p,
  .about-main .about-historia p, .about-main .about-mision-vision p {
    font-size: 1em;
    text-align: center;
    margin-bottom: 1em;
  }
}

/* Uniformidad de cards y bloques en todos los tamaños */
.info-card, .servicio-home, .about-main .about-hero, 
.about-main .about-mision, .about-main .about-vision, .about-main .about-valores,
.about-main .about-historia, .about-main .about-achievements div,
.about-main .about-equipo-card, .about-main .partner-logo,
.about-main .testimonios-grid blockquote, .blog-post, 
.contacto-formulario, .contacto-info {
  border-radius: 1em;
  box-shadow: 0 2px 10px #0001;
  background: #fff;
}
.hero-slider-row {
  position: relative;
  width: 100%;
  min-height: 600px;
}
.hero-slide {
  display: flex;
  width: 100%;
  min-height: 600px;
  align-items: stretch;
  justify-content: center;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.hero-slide-img {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #222 40%, #ff7f00 100%);
  border-radius: 1.5vw 0 0 1.5vw;
  overflow: hidden;
}
.hero-slide-img img {
  width: 100%;
  height: 600px;
  object-fit: contain;
  background: transparent;
}
.hero-slide-text {
  width: 50%;
  padding: 3vw;
  color: var(--gris, #222);
  background: #fff7ed;
  border-radius: 0 1.5vw 1.5vw 0;
  box-shadow: 0 2px 14px #0002;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;      /* Centra horizontalmente */
  justify-content: center;  /* Centra verticalmente */
  text-align: center;       /* Centra el texto */
  height: auto;             /* Permite crecer si el texto es largo */
  overflow: visible;        /* Asegura que el texto no se corte */
  word-break: break-word;
}
@media (max-width: 900px) {
  .hero-slider-row {
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    position: relative;
  }
  .hero-slide,
  .hero-slide.active {
    position: static !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: unset;
    align-items: center;
    justify-content: flex-start;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none;
  }
  .hero-slide-img {
    width: 100%;
    min-height: 180px;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5vw 1.5vw 0 0;
    overflow: hidden;
    background: #f6f6f6;
  }
  .hero-slide-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: transparent;
  }
  .hero-slide-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff7ed;
    border-radius: 0 0 1.5vw 1.5vw;
    box-shadow: 0 2px 14px #0002;
    padding: 6vw 4vw 8vw 4vw;
    box-sizing: border-box;
    height: auto;
    min-height: unset;
    max-height: none;
    overflow: visible;
    word-break: break-word;
    margin: 0;
  }
  .hero-slide-text h1 {
    font-size: 1.7em;
    margin: 0 0 0.6em 0;
  }
  .hero-slide-text p {
    font-size: 1em;
    margin-bottom: 1.5em;
    color: #222;
  }
  .cta-btn {
    display: inline-block;
    position: static;
    margin: 0 auto;
    margin-top: 1em;
    width: 100%;
    max-width: 350px;
    font-size: 1.1em;
    padding: 1em 0.5em;
    background: #ff7f00;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s;
  }
  .cta-btn:hover,
  .cta-btn:focus {
    background: #d96a00;
  }
  .hero-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5em;
    gap: 0.7em;
    width: 100%;
  }
  .hero-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ff7f00;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.2s, background 0.2s;
  }
  .hero-dot.active {
    opacity: 1;
    background: #d96a00;
  }
}
@media (max-width: 900px) {
  .logo {
    width: 120px;   /* Puedes aumentar este valor según necesites */
    height: auto;   /* Mantiene la proporción */
    max-width: 90vw;
    margin: 0 auto;
    display: block;
  }
}

/* --- FORZAR HEADER Y NAV MÁS BAJO --- */
.header {
  padding-top: 1.2 !important;
  padding-bottom: 1 !important;
  min-height: 70px !important;
}

.logo-nav {
  padding: 30px 0 18px 0 !important;
  min-height: 60px!important;
  gap: 20px !important;
}

.logo {
  height: 240px !important;
  max-width: 340px !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.lema-empresa {
  font-size: 1.05em !important;
  margin: 0.3em 0 0.3em 0 !important;
  line-height: 1.25 !important;
  padding: 0 !important;
}

.nav-list {
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-list li a {
  font-size: 1.02em !important;
  padding: 10px 24px !important;
  border-radius: 10px !important;
}

/* --- SLIDER: mostrar solo un slide a la vez en todos los tamaños --- */
.hero-slide {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  transition: opacity 1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  display: flex;
}

/* --- SLIDER móvil: fuerza 1 slide visible, animación suave, dots y textos bien alineados --- */
@media (max-width: 900px) {
  .hero-slide,
  .hero-slide.active {
    position: static !important;
    display: none;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .hero-slide.active {
    display: flex;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .hero-slider-row {
    min-height: 220px !important;
  }
}
/* --- SLIDER: mostrar solo un slide a la vez en todos los tamaños --- */
.hero-slide {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  transition: opacity 1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  display: flex;
}

/* --- SLIDER móvil: fuerza 1 slide visible, animación suave, dots y textos bien alineados --- */
@media (max-width: 900px) {
  .hero-slider-row {
    min-height: unset !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    position: relative;
  }
  .hero-slide,
  .hero-slide.active {
    position: static !important;
    display: none;
    opacity: 0 !important;
    pointer-events: none !important;
    min-height: unset !important;
    height: auto !important;
  }
  .hero-slide.active {
    display: flex;
    flex-direction: column;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .hero-slide-img {
    width: 100%;
    min-height: 180px;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5vw 1.5vw 0 0;
    overflow: hidden;
    background: #f6f6f6;
  }
  .hero-slide-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: transparent;
  }
  .hero-slide-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff7ed;
    border-radius: 0 0 1.5vw 1.5vw;
    box-shadow: 0 2px 14px #0002;
    padding: 6vw 4vw 8vw 4vw;
    box-sizing: border-box;
    height: auto;
    min-height: unset;
    max-height: none;
    overflow: visible;
    word-break: break-word;
    margin: 0;
  }
  .hero-slide-text h1 {
    font-size: 1.7em;
    margin: 0 0 0.6em 0;
  }
  .hero-slide-text p {
    font-size: 1em;
    margin-bottom: 1.5em;
    color: #222;
  }
  .cta-btn {
    display: inline-block;
    position: static;
    margin: 0 auto;
    margin-top: 1em;
    width: 100%;
    max-width: 350px;
    font-size: 1.1em;
    padding: 1em 0.5em;
    background: #ff7f00;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s;
  }
  .cta-btn:hover,
  .cta-btn:focus {
    background: #d96a00;
  }
  .hero-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5em;
    gap: 0.7em;
    width: 100%;
    position: static;
  }
  .hero-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ff7f00;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.2s, background 0.2s;
  }
  .hero-dot.active {
    opacity: 1;
    background: #d96a00;
  }
}


@media (max-width: 900px) {
  .header {
    padding-top: 0.4em !important;
    padding-bottom: 0.2em !important;
    min-height: 40px !important;
  }
  .logo-nav {
    padding: 4px 0 4px 0 !important;
    min-height: 30px !important;
    gap: 8px !important;
  }
  .logo {
    height: 120px !important;
    max-width: 200px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  .lema-empresa {
    font-size: 0.92em !important;
    margin: 0.2em 0 0.1em 0 !important;
    line-height: 1.12 !important;
    padding: 0 !important;
  }
}
@media (max-width: 500px) {
  .logo {
    height: 120px !important;
    max-width: 200vw !important;
  }
  .logo-nav {
    padding: 2px 0 2px 0 !important;
    min-height: 22px !important;
    gap: 4px !important;
  }
  .lema-empresa {
    font-size: 0.86em !important;
  }
  .header {
    min-height: 22px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
/* ====== BLOQUE FINAL PARA SLIDER Y HEADER ====== */

/* --- ESCRITORIO: Slider con imagen y texto en 2 columnas --- */
.hero-slider-row {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 600px;
  align-items: stretch;
  justify-content: center;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.hero-slide-img {
  width: 50%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #222 40%, #ff7f00 100%);
  border-radius: 1.5vw 0 0 1.5vw;
  overflow: hidden;
}
.hero-slide-img img {
  width: 100%;
  height: auto;
  max-height: 600px;
  min-height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: transparent;
}
.hero-slide-text {
  width: 50%;
  padding: 3vw;
  color: var(--gris, #222);
  background: #fff7ed;
  border-radius: 0 1.5vw 1.5vw 0;
  box-shadow: 0 2px 14px #0002;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  overflow: visible;
  word-break: break-word;
}

/* --- SOLO EN MÓVIL (max-width: 900px): Slider apilado y flexible --- */
@media (max-width: 900px) {
  .hero-slider-row {
    min-height: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    position: relative !important;
  }
  .hero-slide,
  .hero-slide.active {
    position: static !important;
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    min-height: unset !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    transition: none !important;
  }
  .hero-slide.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .hero-slide-img {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 120px !important;
    max-height: 300px !important;
    border-radius: 1.5vw 1.5vw 0 0 !important;
    background: #f6f6f6 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-slide-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    min-height: 80px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    background: transparent !important;
  }
  .hero-slide-text {
    width: 100% !important;
    background: #fff7ed !important;
    border-radius: 0 0 1.5vw 1.5vw !important;
    box-shadow: 0 2px 14px #0002 !important;
    padding: 6vw 4vw 8vw 4vw !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    overflow: visible !important;
    word-break: break-word !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-slide-text h1 {
    font-size: 1.7em !important;
    margin: 0 0 0.6em 0 !important;
  }
  .hero-slide-text p {
    font-size: 1em !important;
    margin-bottom: 1.5em !important;
    color: #222 !important;
  }
  .cta-btn {
    display: inline-block !important;
    margin: 0 auto !important;
    margin-top: 1em !important;
    width: 100% !important;
    max-width: 350px !important;
    font-size: 1.1em !important;
    padding: 1em 0.5em !important;
    background: #ff7f00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: bold !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
  }
  .cta-btn:hover,
  .cta-btn:focus {
    background: #d96a00 !important;
  }
  .hero-slider-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 1.5em !important;
    gap: 0.7em !important;
    width: 100% !important;
    position: static !important;
  }
  .hero-dot {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background: #ff7f00 !important;
    border-radius: 50% !important;
    opacity: 0.5 !important;
    transition: opacity 0.2s, background 0.2s !important;
  }
  .hero-dot.active {
    opacity: 1 !important;
    background: #d96a00 !important;
  }
}

/* -- HEADER MÓVIL más bajo -- */
@media (max-width: 900px) {
  .header {
    padding-top: 0.4em !important;
    padding-bottom: 0.2em !important;
    min-height: 40px !important;
  }
  .logo-nav {
    padding: 4px 0 4px 0 !important;
    min-height: 30px !important;
    gap: 8px !important;
  }
  .logo {
    height: 120px !important;
    max-width: 200px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  .lema-empresa {
    font-size: 0.92em !important;
    margin: 0.2em 0 0.1em 0 !important;
    line-height: 1.12 !important;
    padding: 0 !important;
  }
}
@media (max-width: 500px) {
  .logo {
    height: 100px !important;
    max-width: 220vw !important;
  }
  .logo-nav {
    padding: 2px 0 2px 0 !important;
    min-height: 22px !important;
    gap: 4px !important;
  }
  .lema-empresa {
    font-size: 0.86em !important;
  }
  .header {
    min-height: 22px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .nav-list li a {
  color: var(--gris) !important ;
  }
}
@media (max-width: 600px) {
  .destacados-home .servicios-home-grid {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 1.3em !important;
  }
  .destacados-home .servicio-home {
    width: 92vw !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1em !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}
.campo-form-row {
  display: flex;
  gap: 1.3em;
  justify-content: space-between;
  flex-wrap: wrap;
}
.campo-form-row .campo-form {
  flex: 1 1 150px;
  min-width: 0;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .campo-form-row {
    flex-direction: column;
    gap: 0.7em;
  }
  .campo-form-row .campo-form {
    width: 100%;
  }
}
.blog-hero-img{
   display: flex; /* Hace que la imagen sea un bloque */
  margin: 0 auto; /* Centra la imagen horizontalmente */
  width: 300px; /* Establece el ancho deseado */
  height: auto; /* Mantiene la proporción de la imagen */
}
.sobre-hero-img{
  flex: 1 1 300px;
  min-width: 270px;
  text-align: right;
}
/* Consultas de medios para dispositivos móviles */
@media (max-width: 768px) {
    .header {
        background: url('imagenes/IMG_3421bnnb.png') center / cover no-repeat, #fff !important; /* Cambia a cover para que la imagen se ajuste mejor */
        min-height: 60px !important; /* Ajusta la altura mínima según sea necesario */
        
    }
}
/* === Fondo interactivo (IMAGEN) === 
.interactive-header {
    position: absolute;  Cambia de fixed a absolute 
    top: 0;
    left: 0;
    width: 100%;
    height: 300px; Misma altura que tu encabezado 
    background-image: url('imagenes/IMG_3417.jpeg')!important;
    background-size: 120% 120%;
    background-position: center;
    z-index: -1; Asegúrate de que esté detrás del contenido 
    transition: background-position 0.4s ease-out;
}

/* Asegura que el body no tenga márgenes/padding 
body {
    margin: 0;
    padding: 0;
    position: relative; Necesario para que el absolute funcione 
}*/
/* ... Todo tu CSS anterior ... */

/* --- CORRECCIÓN MOBILE Misión, Visión, Valores --- */
@media (max-width: 600px) {
  .about-main .about-mision-vision {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1em !important;
    padding: 0 0.2em !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 1em 0 !important;
  }
  .about-main .about-mision,
  .about-main .about-vision,
  .about-main .about-valores {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 1.2em 0.8em !important;
    margin: 0 0 1em 0 !important;
    box-sizing: border-box !important;
    border-radius: 1em !important;
  }
}
@media (max-width: 600px) {
  .about-main .about-equipo-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 1em auto !important;
    width: 98vw !important;
    max-width: 340px !important;
    box-sizing: border-box !important;
  }
  .about-main .about-equipo-card img {
    display: block !important;
    margin: 0 auto 0.7em auto !important;
    width: 90px !important;
    height: 90px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 7px #0001 !important;
  }
}
@media (max-width: 600px) {
  /* Sección Testimonios */
  .about-main .about-testimonios {
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 1.2em 0.7em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .about-main .testimonios-grid {
    flex-direction: column !important;
    gap: 1em !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .about-main .testimonios-grid blockquote {
    width: 95vw !important;
    max-width: 95vw !important;
    min-width: 0 !important;
    padding: 1em 0.7em !important;
    margin: 0 auto 1em auto !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    background-clip: padding-box !important;
    overflow-x: hidden !important;
    font-size: 1em !important;
  }

  /* Sección Aliados/Partners */
  .about-main .about-partners {
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 1.2em 0.7em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
  }
  .about-main .partners-logos {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1em !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .about-main .partner-logo {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto 1em auto !important;
    padding: 1em 0.5em !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
  }
  .about-main .partner-logo img {
    max-width: 80vw !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Sección Logros/Achievements */
  .about-main .about-achievements {
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 1.2em 0.7em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    gap: 1em !important;
    align-items: center !important;
  }
  .about-main .about-achievements div {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 1em auto !important;
    padding: 1em 0.7em !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Titulos centrados y tamaño */
  .about-main .about-testimonios h2,
  .about-main .about-achievements h2 {
    font-size: 1.3em !important;
    text-align: center !important;
  }
}
.nav-list li a.active {
  background: var(--naranja) !important;
  color: #fff !important;
}


@media (max-width: 600px) {
  .nav-list li a.active {
    background: var(--naranja) !important;
    color: #fff !important;
  }
}

@media (max-width: 600px) {
  .about-main .about-partners {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 1.2em !important;
    padding-bottom: 1.2em !important;
    margin: 0 !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
    text-align: center !important;
    overflow-x: hidden !important;
  }
  .about-main .partners-logos {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.2em !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .about-main .partner-logo {
    width: 95vw !important;        /* Cambia a 95vw para que los márgenes sean iguales */
    max-width: 320px !important;
    margin: 0 auto 1em auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
    box-sizing: border-box !important;
    border-radius: 1em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .about-main .partner-logo img {
    max-width: 80vw !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 600px) {
  /* Partners/Aliados */
  .about-main .about-partners,
  .about-main .about-testimonios,
  .about-main .about-achievements {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 1.2em 0 !important; /* Padding horizontal 0 para igual espacio */
    margin: 0 !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
    text-align: center !important;
    overflow-x: hidden !important;
  }

  /* Partners logos */
  .about-main .partners-logos {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.2em !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .about-main .partner-logo {
    width: 95vw !important;
    max-width: 340px !important;
    margin: 0 auto 1em auto !important;
    padding: 1em 0 !important;
    box-sizing: border-box !important;
    border-radius: 1em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .about-main .partner-logo img {
    max-width: 85vw !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Testimonios */
  .about-main .testimonios-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1em !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .about-main .testimonios-grid blockquote {
    width: 95vw !important;
    max-width: 95vw !important;
    min-width: 0 !important;
    padding: 1em 0.7em !important;
    margin: 0 auto 1em auto !important;
    border-radius: 1em !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    background-clip: padding-box !important;
    overflow-x: hidden !important;
    font-size: 1em !important;
  }

  /* Logros/Achievements */
  .about-main .about-achievements {
    flex-direction: column !important;
    gap: 1em !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto 1em auto !important;
    box-sizing: border-box !important;
  }
  .about-main .about-achievements div {
    width: 95vw !important;
    max-width: 320px !important;
    margin: 0 auto 1em auto !important;
    padding: 1em 0 !important;
    box-sizing: border-box !important;
    border-radius: 1em !important;
    text-align: center !important;
  }

  /* Titulos centrados y tamaño uniforme */
  .about-main .about-testimonios h2,
  .about-main .about-achievements h2,
  .about-main .about-partners h2 {
    font-size: 1.3em !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
