.elementor-11 .elementor-element.elementor-element-216139e{--display:flex;--margin-top:33px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-216139e:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-216139e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://mgjdespachojuridico.com/wp-content/uploads/2025/10/8-1.jpg");background-position:0px -115px;background-repeat:no-repeat;background-size:cover;}.elementor-11 .elementor-element.elementor-element-861e5c0{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-11 .elementor-element.elementor-element-861e5c0 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-ab59e03{--display:flex;}.elementor-11 .elementor-element.elementor-element-73a107b{--display:flex;--margin-top:-22px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-b9babdf > .elementor-widget-container{margin:-50px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-1f4099c{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-66132be > .elementor-widget-container{margin:-100px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-f5fd265{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-9aa31fd{width:100%;max-width:100%;}.elementor-11 .elementor-element.elementor-element-9aa31fd > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-a300ec2{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-b2b08c3 > .elementor-widget-container{margin:-10px -10px -10px -10px;}.elementor-11 .elementor-element.elementor-element-8bdcce6{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-559d0a7{--display:flex;--margin-top:24px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-d9f6769{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-11 .elementor-element.elementor-element-d9f6769 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-1727e0a{--display:flex;--margin-top:-10px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:85px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-image-gallery .gallery-item .gallery-caption{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-11 .elementor-element.elementor-element-8bb73eb{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-11 .elementor-element.elementor-element-8bb73eb > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 127px 0px;}.elementor-11 .elementor-element.elementor-element-8bb73eb.elementor-element{--align-self:center;}.elementor-11 .elementor-element.elementor-element-8bb73eb .gallery-item .gallery-caption{display:none;}.elementor-11 .elementor-element.elementor-element-8bb73eb .gallery-item{padding:0 4px 4px 0;}.elementor-11 .elementor-element.elementor-element-8bb73eb .gallery{margin:0 -4px -4px 0;}.elementor-11 .elementor-element.elementor-element-8bb73eb .gallery-item img{border-style:none;}.elementor-11 .elementor-element.elementor-element-b53e305{--display:flex;}.elementor-11 .elementor-element.elementor-element-3b1b860 > .elementor-widget-container{margin:99px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-fd7a35d{--display:flex;}.elementor-11 .elementor-element.elementor-element-a076a9f{--display:flex;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-11 .elementor-element.elementor-element-f5fd265{--width:100%;}}@media(max-width:1024px){.elementor-11 .elementor-element.elementor-element-216139e:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-216139e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://mgjdespachojuridico.com/wp-content/uploads/2025/10/8-1.jpg");background-position:-165px -65px;background-size:1000px auto;}.elementor-11 .elementor-element.elementor-element-216139e{--min-height:655px;--margin-top:65px;--margin-bottom:0px;--margin-left:0px;--margin-right:50px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-861e5c0 > .elementor-widget-container{margin:-139px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-ab59e03{--margin-top:259px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-image-gallery .gallery-item .gallery-caption{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}}@media(max-width:767px){.elementor-11 .elementor-element.elementor-element-216139e:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-216139e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://mgjdespachojuridico.com/wp-content/uploads/2025/10/Banner-mobile-hero-900-x-1440-px.png");background-position:-58px 9px;background-size:cover;}.elementor-11 .elementor-element.elementor-element-216139e{--min-height:774px;--margin-top:54px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:76px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-861e5c0{width:100%;max-width:100%;}.elementor-11 .elementor-element.elementor-element-861e5c0 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-ab59e03{--margin-top:64px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-234bb02 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-b9babdf > .elementor-widget-container{margin:-108px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-1f4099c{--margin-top:-25px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-66132be > .elementor-widget-container{margin:-120px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-f5fd265{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--z-index:999;}.elementor-11 .elementor-element.elementor-element-a300ec2{--margin-top:-38px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-d9f6769 > .elementor-widget-container{margin:-84px 0px -51px 0px;}.elementor-11 .elementor-element.elementor-element-d9f6769{--container-widget-width:1000px;--container-widget-flex-grow:0;width:var( --container-widget-width, 1000px );max-width:1000px;}.elementor-11 .elementor-element.elementor-element-1727e0a{--margin-top:40px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-image-gallery .gallery-item .gallery-caption{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-11 .elementor-element.elementor-element-8bb73eb > .elementor-widget-container{margin:0px 0px 38px 0px;padding:0px 0px 0px 0px;}.elementor-11 .elementor-element.elementor-element-8bb73eb{--container-widget-width:279px;--container-widget-flex-grow:0;width:var( --container-widget-width, 279px );max-width:279px;}.elementor-11 .elementor-element.elementor-element-b53e305{--margin-top:-90px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-11 .elementor-element.elementor-element-3b1b860 > .elementor-widget-container{margin:33px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-861e5c0 *//* ================= HERO BANNER ================= */

/* Variables de ajuste rápido */
:root {
  --hero-tablet-height: 655px;
  --overlap-tablet: 320px; /* cuánto cuelga el box en tablet */
  --overlap-mobile: 330px; /* cuánto cuelga el box en móvil */
  --reserve-tablet: calc(var(--overlap-tablet) + 80px);
  --reserve-mobile: calc(var(--overlap-mobile) + 80px);
}

/* === HERO BASE (desktop) === */
.hero-banner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: var(--espacio-seccion) 5%;
  background-image: url(''); /* define tu imagen */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* === BOX INFO (base desktop) === */
.box-info {
  background-color: rgba(242, 239, 223, 0.95);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 360px;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  animation: fadeIn 1s ease forwards;
  z-index: 2;
  text-align: left;
  box-sizing: border-box;
}

.box-info h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.8rem;
  color: #260C03;
  margin-bottom: var(--espacio-titulo-subtitulo);
}

.box-info p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #0F3240;
  line-height: 1.6;
  margin-bottom: var(--espacio-subtitulo-contenido);
}

.box-info-list {
  list-style: none;
  margin: 1rem 0 var(--espacio-subtitulo-contenido);
  padding-left: 0;
}

.box-info-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0F3240;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.box-info-list li::before {
  content: '✔';
  font-size: 1rem;
  color: #BFA26B;
}

.box-info-btn {
  display: inline-block;
  background-color: #735032;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}
.box-info-btn:hover { background-color: #F2EFDF; color:#260C03; }

/* Animación */
@keyframes fadeIn { 
  from { opacity: 0; transform: translateY(40px); } 
  to { opacity: 1; transform: translateY(0); } 
}

/* ================= TABLET (769–1024px) ================= */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .hero-banner {
    height: var(--hero-tablet-height);
    justify-content: center;
    align-items: flex-end;
    padding: 0 5% calc(var(--reserve-tablet) + 16px);
    margin-bottom: 8px;
    overflow: visible;
    background-position: center center;
    box-sizing: border-box;
  }

  /* ✅ CENTRADO DEFINITIVO EN TABLET, ROBUSTO ANTE INLINE DE ELEMENTOR */
  .box-info {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    bottom: calc(-1 * var(--overlap-tablet));
    width: min(900px, calc(100% - 10% - 32px));
    max-width: none;
    padding: 1.5rem;
    border-radius: 16px;
    background-color: rgba(242,239,223,0.96);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: left;
    box-sizing: border-box;
    z-index: 2;
    translate: none;
    will-change: auto;
  }

  /* ✅ FULL-SCREEN REAL EN TABLET SIN 'vw' NI MÁRGENES NEGATIVOS */
  .hero-banner .elementor-container,
  .hero-banner .elementor-row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .hero-banner .elementor-column,
  .hero-banner .elementor-widget-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ================= MÓVIL (≤768px) ================= */
@media screen and (max-width: 768px) {
  .hero-banner {
    position: relative;
    height: 70vh;
    justify-content: center;
    align-items: flex-end;
    padding: 0 0 calc(var(--reserve-mobile) + 12px);
    margin-bottom: 8px;
    overflow: visible;
    box-sizing: border-box;
  }

  /* ✅ CENTRADO DEFINITIVO EN MÓVIL, ROBUSTO ANTE INLINE DE ELEMENTOR */
  .box-info {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    bottom: calc(-1 * var(--overlap-mobile));
    width: min(600px, 92vw);
    max-width: 600px;
    padding: 1.6rem;
    border-radius: 16px;
    background-color: rgba(242, 239, 223, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
    text-align: left;
    box-sizing: border-box;
    will-change: auto;
    translate: none;
  }

  .box-info h1 { font-size: 1.4rem; }
  .box-info p, 
  .box-info-list li { font-size: 0.95rem; }
  .box-info-btn { font-size: 0.9rem; width: 100%; }
}

/* ==== Defensa extra global ==== */
html, body {
  overflow-x: hidden;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-234bb02 *//* GRID DE PASOS */
.grid-pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--espacio-grid);
}

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

.grid-pasos {
  margin-top: var(--espacio-subtitulo-contenido);
}

@media (max-width: 767px) {
  .grid-pasos {
    grid-template-columns: 1fr;
  }
}

.paso {
  background-color: #FBFAF5;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
}

.paso:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.paso-numero {
  background-color: #BFA26B;
  color: #fff;
  font-weight: 700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.paso-titulo {
  font-weight: 600;
  color: #0F3240;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.paso-texto {
  font-size: 0.95rem;
  color: #260C03;
  line-height: 1.6;
}

/* ANIMACIÓN */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-66132be *//* === BLOQUE EQUIPO (manteniendo el estilo global) === */
.bloque-equipo {
  background-color: #ffffff;
  padding: var(--espacio-seccion) 2rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
}

.equipo-titulo-container {
  text-align: center;
  margin-bottom: var(--espacio-subtitulo-contenido);
}

.equipo-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #260C03;
  margin-bottom: var(--espacio-titulo-subtitulo);
}

.equipo-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: #0F3240;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === GRID FLEXIBLE Y EQUILIBRADO === */
.equipo-grid--balance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--espacio-grid);
  margin-top: var(--espacio-subtitulo-contenido);
}

/* === TARJETAS === */
.equipo-grid--balance .equipo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipo-grid--balance .equipo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Imagen */
.equipo-grid--balance .equipo-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Info */
.equipo-grid--balance .equipo-info {
  margin-top: 0.8rem;
}

.equipo-grid--balance .equipo-nombre {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #260C03;
  margin: 0;
}

.equipo-grid--balance .equipo-rol {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #0F3240;
  margin: 0.35rem 0 0;
}

/* === RESPONSIVE === */

/* === DESKTOP (default): 3 arriba + 2 centradas abajo === */
/* No necesita media query porque ya lo hace flex-wrap */

/* === TABLET: 2 columnas (2+2) + 5ª centrada === */
@media (min-width: 769px) and (max-width: 1024px) {
  .equipo-grid--balance {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 2rem;
    justify-content: center;
    justify-items: center;
    align-items: start;
  }

  .equipo-grid--balance .equipo-card {
    width: 100% !important;
    max-width: none !important;
  }

  .equipo-grid--balance .equipo-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 520px; /* mantiene proporción agradable */
  }

  .equipo-titulo {
    font-size: 2.4rem;
  }
}

/* === MÓVIL: 1 columna === */
@media (max-width: 768px) {
  .equipo-titulo {
    font-size: 2rem;
  }

  .equipo-intro {
    font-size: 1rem;
  }

  .equipo-grid--balance {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .equipo-grid--balance .equipo-card {
    max-width: 92vw;
  }

  .equipo-grid--balance .equipo-nombre {
    font-size: 1rem;
  }

  .equipo-grid--balance .equipo-rol {
    font-size: 0.9rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2c849e0 *//* ===== BLOQUE ACCIDENTE ===== */
.bloque-accidente {
  background-color: #fff;
  padding: var(--espacio-seccion) 2rem;
  font-family: 'DM Sans', sans-serif;
}

.bloque-accidente .contenedor-pasos {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.bloque-accidente .titulo-pasos {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.4rem;
  text-transform: uppercase;
  color: #260C03;
  margin-bottom: var(--espacio-titulo-subtitulo);
}

.bloque-accidente .subtitulo-angular {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  color: #0F3240;
  margin-bottom: var(--espacio-subtitulo-contenido);
}

/* ===== INFOGRAPHIC DESKTOP ===== */
.bloque-accidente .infographic {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  flex-wrap: wrap;
  padding-top: 60px;
}

.bloque-accidente .step {
  text-align: center;
  flex: 1;
  min-width: 180px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.bloque-accidente .step.visible {
  opacity: 1;
  transform: translateY(0);
}

.bloque-accidente .circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: auto;
  border: 2px solid #BFA26B;
  transition: transform 0.3s ease-in-out;
}

.bloque-accidente .circle:hover {
  transform: scale(1.1);
}

/* Degradado dorado progresivo */
.bloque-accidente .paso1 .circle { background-color: #f8e5b0; }
.bloque-accidente .paso2 .circle { background-color: #f2d283; }
.bloque-accidente .paso3 .circle { background-color: #e5b94f; }
.bloque-accidente .paso4 .circle { background-color: #d1a235; }
.bloque-accidente .paso5 .circle { background-color: #b88720; }

.bloque-accidente .content {
  margin-top: 50px;
  background: #FBFAF5;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
}

.bloque-accidente .content:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.bloque-accidente .content img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.bloque-accidente .paso-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #0F3240;
  margin-bottom: 0.5rem;
}

.bloque-accidente .paso-texto {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #260C03;
  line-height: 1.6;
}

/* ===== LÍNEA CURVA DESKTOP ===== */
.bloque-accidente .connector {
  position: absolute;
  top: 100px;
  left: -400px;
  width: calc(100% + 800px);
  height: 70px;
  z-index: 1;
}

.bloque-accidente .connector svg {
  width: 100%;
  height: 70px;
  position: absolute;
  top: -35px;
  left: 0;
}

/* ================= TABLET (769–1024px) ================= */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Convertimos el infographic en grid */
  .bloque-accidente .infographic {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 2rem 2rem;
    align-items: stretch;
    justify-items: center;
    padding-top: 0;
    position: relative;
  }

  .bloque-accidente .connector {
    display: none;
  }

  .bloque-accidente .step {
    width: 100%;
    max-width: 480px;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .bloque-accidente .circle {
    width: 64px;
    height: 64px;
    font-size: 20px;
    margin: 0 auto 12px auto;
    position: static;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .bloque-accidente .content {
    background: #FBFAF5;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
  }

  .bloque-accidente .content img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin: 0 auto 10px;
  }

  .bloque-accidente .paso-titulo {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .bloque-accidente .paso-texto {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Último paso centrado */
  .bloque-accidente .step.paso5 {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* ================= MOBILE (≤768px) ================= */
@media (max-width: 768px) {
  .bloque-accidente .connector {
    display: none;
  }

  .bloque-accidente .infographic {
    position: relative;
    padding: 10px 0;
  }

  .bloque-accidente .infographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: calc(100% - 60px);
    background-color: #BFA26B;
    transform: translateX(-50%);
    z-index: 0;
  }

  .bloque-accidente .step {
    width: 100%;
    max-width: 380px;
    margin: 40px auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }

  .bloque-accidente .step.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .bloque-accidente .circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 10px;
    transform: translateY(-50%);
    z-index: 3;
  }

  .bloque-accidente .step:nth-child(odd) .circle {
    left: calc(50% - 200px);
  }

  .bloque-accidente .step:nth-child(even) .circle {
    right: calc(50% - 200px);
  }

  .bloque-accidente .content {
    min-height: 180px;
    width: 88%;
    padding: 1.2rem 1rem;
    background: linear-gradient(to bottom, #FBFAF5, #F2EFDF);
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #BFA26B;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .bloque-accidente .content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .bloque-accidente .step:nth-child(odd) .content {
    margin-left: auto;
    text-align: left;
    border-left: 4px solid #BFA26B;
    border-right: none;
  }

  .bloque-accidente .step:nth-child(even) .content {
    margin-right: auto;
    text-align: right;
    border-right: 4px solid #BFA26B;
    border-left: none;
  }

  .bloque-accidente .step:nth-child(odd) .content img {
    display: block;
    margin: 0 0 10px 0;
  }

  .bloque-accidente .step:nth-child(even) .content img {
    display: block;
    margin: 0 0 10px auto;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-1727e0a */.elementor-element-1727e0a {
  position: relative;
  background: rgba(15, 50, 64, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0% 100%);
  padding: 1rem 2rem;
  z-index: 1;
}/* End custom CSS */