
    #elcos-inicio{
      --azul-950: #031a35;
      --azul-900: #062b57;
      --azul-800: #0a4079;
      --azul-700: #075a93;
      --azul-100: #eaf4fb;
      --naranjo: #f47b20;
      --naranjo-oscuro: #d95d06;
      --blanco: #ffffff;
      --gris-50: #f8fafc;
      --gris-100: #eef2f6;
      --gris-300: #cbd5e1;
      --gris-600: #475569;
      --gris-800: #1f2937;
      --sombra: 0 20px 55px rgba(3, 26, 53, 0.13);
      --radio: 18px;
      --ancho: 1180px;
    }

    #elcos-inicio,#elcos-inicio *{
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    #elcos-inicio{
      scroll-behavior: smooth;
      scroll-padding-top: 90px;
    }

    #elcos-inicio{
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--gris-800);
      background: var(--blanco);
      line-height: 1.6;
      overflow-x: clip;
      overflow-y: visible;
    }

    #elcos-inicio img{
      display: block;
      width: 100%;
    }

    #elcos-inicio a{
      color: inherit;
      text-decoration: none;
    }

    #elcos-inicio button,#elcos-inicio input,#elcos-inicio textarea{
      font: inherit;
    }

    #elcos-inicio .contenedor{
      width: min(calc(100% - 32px), var(--ancho));
      margin-inline: auto;
    }

    #elcos-inicio .seccion{
      padding: 90px 0;
    }

    #elcos-inicio .seccion-clara{
      background: var(--gris-50);
    }

    #elcos-inicio .etiqueta{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      color: var(--naranjo-oscuro);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.11em;
      text-transform: uppercase;
    }

    #elcos-inicio .etiqueta::before{
      content: "";
      width: 30px;
      height: 3px;
      border-radius: 999px;
      background: var(--naranjo);
    }

    #elcos-inicio h1,#elcos-inicio h2,#elcos-inicio h3{
      line-height: 1.12;
      color: var(--azul-950);
      text-wrap: balance;
    }

    #elcos-inicio h1{
      max-width: 820px;
      font-size: clamp(2.45rem, 6vw, 5.1rem);
      letter-spacing: -0.055em;
    }

    #elcos-inicio h2{
      font-size: clamp(2rem, 4vw, 3.2rem);
      letter-spacing: -0.035em;
    }

    #elcos-inicio h3{
      font-size: 1.35rem;
    }

    #elcos-inicio .texto-seccion{
      max-width: 680px;
      margin-top: 18px;
      color: var(--gris-600);
      font-size: 1.05rem;
    }

    #elcos-inicio .boton{
      display: inline-flex;
      min-height: 52px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 22px;
      border: 0;
      border-radius: 12px;
      background: var(--naranjo);
      color: var(--blanco);
      font-weight: 800;
      cursor: pointer;
      transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }

    #elcos-inicio .boton:hover{
      transform: translateY(-2px);
      background: var(--naranjo-oscuro);
      box-shadow: 0 12px 25px rgba(244, 123, 32, 0.28);
    }

    #elcos-inicio .boton-secundario{
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.38);
      backdrop-filter: blur(6px);
    }

    #elcos-inicio .boton-secundario:hover{
      background: var(--blanco);
      color: var(--azul-900);
      box-shadow: none;
    }

    #elcos-inicio .boton-claro{
      background: var(--blanco);
      color: var(--azul-900);
    }

    #elcos-inicio .boton-claro:hover{
      background: var(--azul-100);
      color: var(--azul-950);
    }

    #elcos-inicio .boton-instagram{
      background: rgba(255, 255, 255, 0.1);
      color: var(--blanco);
      border-color: rgba(255, 255, 255, 0.22);
      display: inline-flex;
      align-items: center;
      gap: 9px;
      backdrop-filter: blur(10px);
    }

    #elcos-inicio .boton-instagram:hover{
      background: rgba(255, 255, 255, 0.18);
      color: var(--blanco);
      border-color: rgba(255, 255, 255, 0.3);
    }

    #elcos-inicio .cabecera-fija{
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background: var(--blanco);
      box-shadow: 0 5px 18px rgba(3, 26, 53, 0.08);
    }

    #elcos-inicio section[id]{
      scroll-margin-top: 130px;
    }

    #elcos-inicio .barra-superior{
      background: var(--azul-950);
      color: rgba(255, 255, 255, 0.9);
      font-size: 0.89rem;
    }

    #elcos-inicio .barra-superior .contenedor{
      min-height: 39px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    #elcos-inicio .datos-superiores{
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }

    #elcos-inicio .dato-superior{
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    #elcos-inicio .instagram-superior,
    #elcos-inicio .pie-instagram{
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    #elcos-inicio .icono-instagram{
      flex: 0 0 auto;
    }

    #elcos-inicio .dato-superior:hover,
    #elcos-inicio .pie-enlaces a:hover{
      color: #ffb77d;
    }

    #elcos-inicio .estado-24{
      color: #ffd7bc;
      font-weight: 800;
    }

    #elcos-inicio .encabezado{
      position: relative;
      z-index: 1;
      background: rgba(255, 255, 255, 0.97);
      border-bottom: 1px solid rgba(6, 43, 87, 0.08);
      backdrop-filter: blur(15px);
    }

    #elcos-inicio .navegacion{
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    #elcos-inicio .marca{
      width: min(220px, 52vw);
      flex: 0 0 auto;
    }

    #elcos-inicio .menu{
      display: flex;
      align-items: center;
      gap: 6px;
      list-style: none;
    }

    #elcos-inicio .menu a{
      display: block;
      padding: 10px 13px;
      border-radius: 9px;
      color: var(--azul-900);
      font-weight: 750;
      font-size: 0.95rem;
      transition: background 150ms ease, color 150ms ease;
    }

    #elcos-inicio .menu a:hover,#elcos-inicio .menu a.activo{
      color: var(--naranjo-oscuro);
      background: #fff4ec;
    }

    #elcos-inicio .menu .menu-contacto{
      margin-left: 5px;
      background: var(--azul-900);
      color: var(--blanco);
    }

    #elcos-inicio .menu .menu-contacto:hover{
      background: var(--naranjo);
      color: var(--blanco);
    }

    #elcos-inicio .boton-menu{
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid var(--gris-300);
      border-radius: 10px;
      background: var(--blanco);
      color: var(--azul-900);
      cursor: pointer;
    }

    #elcos-inicio .hero{
      position: relative;
      min-height: 720px;
      display: grid;
      align-items: center;
      isolation: isolate;
      overflow: hidden;
      background: var(--azul-950);
      color: var(--blanco);
    }

    #elcos-inicio .hero::before{
      content: "";
      position: absolute;
      z-index: -2;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(3, 26, 53, 0.97) 0%, rgba(3, 26, 53, 0.9) 42%, rgba(3, 26, 53, 0.35) 78%, rgba(3, 26, 53, 0.2) 100%),
        url("../images/hero-elcos-optimizado.webp") center 49% / cover no-repeat;
    }

    #elcos-inicio .hero::after{
      content: "";
      position: absolute;
      z-index: -1;
      width: 520px;
      height: 520px;
      right: -220px;
      bottom: -270px;
      border-radius: 50%;
      background: rgba(244, 123, 32, 0.29);
      filter: blur(4px);
    }

    #elcos-inicio .hero-contenido{
      padding: 78px 0 82px;
    }

    #elcos-inicio .hero-layout{
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
      align-items: center;
      gap: clamp(34px, 5vw, 72px);
    }

    #elcos-inicio .hero-copy{
      min-width: 0;
    }

    #elcos-inicio .hero .etiqueta{
      color: #ffbf8d;
    }

    #elcos-inicio .hero h1{
      color: var(--blanco);
    }

    #elcos-inicio .hero p{
      max-width: 690px;
      margin-top: 24px;
      color: rgba(255, 255, 255, 0.84);
      font-size: clamp(1.05rem, 2vw, 1.25rem);
    }

    #elcos-inicio .hero-video-card{
      min-width: 0;
      padding: 12px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 20px;
      background: rgba(3, 26, 53, 0.55);
      box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
      backdrop-filter: blur(10px);
    }

    #elcos-inicio .video-youtube-ligero{
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(6, 43, 87, 0.98), rgba(3, 26, 53, 0.98));
    }

    #elcos-inicio .video-youtube-ligero iframe{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }

    #elcos-inicio .video-espera{
      position: absolute;
      inset: 0;
      display: grid;
      place-content: center;
      justify-items: center;
      gap: 8px;
      padding: 24px;
      text-align: center;
      color: var(--blanco);
      background:
        radial-gradient(circle at 50% 35%, rgba(244, 123, 32, 0.28), transparent 38%),
        linear-gradient(135deg, rgba(6, 43, 87, 0.98), rgba(3, 26, 53, 0.98));
    }

    #elcos-inicio .video-espera > span:not(.video-play){
      color: rgba(255,255,255,0.68);
      font-size: 0.86rem;
    }

    #elcos-inicio .video-play{
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      padding-left: 4px;
      border-radius: 50%;
      background: var(--naranjo);
      color: var(--blanco);
      box-shadow: 0 14px 35px rgba(244, 123, 32, 0.35);
      font-size: 1.25rem;
    }

    #elcos-inicio .video-cargar-manual{
      margin-top: 5px;
      padding: 9px 14px;
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 10px;
      background: rgba(255,255,255,0.1);
      color: var(--blanco);
      font-weight: 800;
      cursor: pointer;
    }

    #elcos-inicio .video-cargar-manual:hover{
      background: rgba(255,255,255,0.18);
    }

    #elcos-inicio .acciones-hero{
      display: flex;
      flex-wrap: wrap;
      gap: 13px;
      margin-top: 32px;
    }

    #elcos-inicio .datos-hero{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 750px;
      margin-top: 52px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 16px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.07);
      backdrop-filter: blur(8px);
    }

    #elcos-inicio .dato-hero{
      padding: 19px 20px;
      border-right: 1px solid rgba(255, 255, 255, 0.17);
    }

    #elcos-inicio .dato-hero:last-child{
      border-right: 0;
    }

    #elcos-inicio .dato-hero strong,#elcos-inicio .dato-hero span{
      display: block;
    }

    #elcos-inicio .dato-hero strong{
      color: var(--blanco);
      font-size: 1.05rem;
    }

    #elcos-inicio .dato-hero span{
      margin-top: 3px;
      color: rgba(255, 255, 255, 0.69);
      font-size: 0.86rem;
    }

    #elcos-inicio .servicios-grid{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 48px;
    }

    #elcos-inicio .tarjeta-servicio{
      position: relative;
      min-height: 300px;
      padding: 32px;
      border: 1px solid rgba(6, 43, 87, 0.1);
      border-radius: var(--radio);
      background: var(--blanco);
      box-shadow: 0 13px 40px rgba(3, 26, 53, 0.07);
      overflow: hidden;
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    #elcos-inicio .tarjeta-servicio:hover{
      transform: translateY(-7px);
      box-shadow: var(--sombra);
    }

    #elcos-inicio .tarjeta-servicio::after{
      content: "";
      position: absolute;
      width: 130px;
      height: 130px;
      top: -70px;
      right: -55px;
      border-radius: 50%;
      background: var(--azul-100);
    }

    #elcos-inicio .icono{
      position: relative;
      z-index: 1;
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      margin-bottom: 25px;
      border-radius: 14px;
      background: var(--azul-900);
      color: var(--blanco);
    }

    #elcos-inicio .icono svg{
      width: 27px;
      height: 27px;
    }

    #elcos-inicio .tarjeta-servicio p{
      margin-top: 13px;
      color: var(--gris-600);
    }

    #elcos-inicio .enlace-tarjeta{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 22px;
      color: var(--naranjo-oscuro);
      font-weight: 800;
    }

    #elcos-inicio .franja-emergencia{
      background: var(--naranjo);
      color: var(--blanco);
    }

    #elcos-inicio .franja-emergencia .contenedor{
      min-height: 165px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
    }

    #elcos-inicio .franja-emergencia-grid{
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
      align-items: center;
      gap: 32px;
      padding: 36px 0;
    }

    #elcos-inicio .franja-emergencia-texto{
      max-width: 680px;
    }

    #elcos-inicio .franja-emergencia-media{
      justify-self: end;
      width: min(100%, 420px);
      border-radius: var(--radio);
      overflow: hidden;
      box-shadow: 0 25px 60px rgba(3, 26, 53, 0.22);
      border: 1px solid rgba(255,255,255,0.28);
      background: rgba(255,255,255,0.12);
    }

    #elcos-inicio .franja-emergencia-media img{
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    #elcos-inicio .franja-emergencia h2{
      color: var(--blanco);
      font-size: clamp(1.65rem, 3vw, 2.55rem);
    }

    #elcos-inicio .franja-emergencia p{
      margin-top: 8px;
      color: rgba(255, 255, 255, 0.9);
    }

    #elcos-inicio .telefonos-emergencia{
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    #elcos-inicio .bloque-doble{
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      align-items: center;
      gap: clamp(38px, 7vw, 90px);
    }

    #elcos-inicio .imagen-marco{
      position: relative;
    }

    #elcos-inicio .imagen-marco::before{
      content: "";
      position: absolute;
      z-index: -1;
      inset: 30px -20px -20px 30px;
      border-radius: var(--radio);
      background: var(--azul-100);
    }

    #elcos-inicio .imagen-marco img{
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: var(--radio);
      box-shadow: var(--sombra);
    }

    #elcos-inicio .lista-beneficios{
      display: grid;
      gap: 13px;
      margin-top: 28px;
      list-style: none;
    }

    #elcos-inicio .lista-beneficios li{
      display: flex;
      align-items: flex-start;
      gap: 12px;
      color: var(--gris-600);
    }

    #elcos-inicio .lista-beneficios li::before{
      content: "✓";
      flex: 0 0 26px;
      width: 26px;
      height: 26px;
      display: grid;
      place-items: center;
      margin-top: 1px;
      border-radius: 50%;
      background: #fff0e5;
      color: var(--naranjo-oscuro);
      font-weight: 900;
    }

    #elcos-inicio .acciones-seccion{
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 31px;
    }

    #elcos-inicio .emergencia-seccion{
      position: relative;
      color: var(--blanco);
      background: var(--azul-950);
      overflow: hidden;
    }

    #elcos-inicio .emergencia-seccion::before{
      content: "";
      position: absolute;
      inset: 0;
      opacity: 0.16;
      background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
      background-size: 42px 42px;
    }

    #elcos-inicio .emergencia-seccion .bloque-doble{
      position: relative;
    }

    #elcos-inicio .emergencia-seccion h2,#elcos-inicio .emergencia-seccion h3{
      color: var(--blanco);
    }

    #elcos-inicio .emergencia-seccion .texto-seccion{
      color: rgba(255, 255, 255, 0.75);
    }

    #elcos-inicio .imagen-emergencia{
      position: relative;
      min-height: 470px;
      border-radius: var(--radio);
      overflow: hidden;
      box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    }

    #elcos-inicio .imagen-emergencia img{
      height: 100%;
      min-height: 470px;
      object-fit: cover;
    }

    #elcos-inicio .sello-247{
      position: absolute;
      left: 20px;
      bottom: 20px;
      padding: 16px 19px;
      border-radius: 13px;
      background: rgba(244, 123, 32, 0.94);
      color: var(--blanco);
      backdrop-filter: blur(6px);
    }

    #elcos-inicio .sello-247 strong{
      display: block;
      font-size: 1.25rem;
    }

    #elcos-inicio .sello-247 span{
      font-size: 0.86rem;
    }

    #elcos-inicio .nosotros-grid{
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 32px;
      margin-top: 48px;
      align-items: stretch;
    }

    #elcos-inicio .equipo-foto{
      min-height: 510px;
      border-radius: var(--radio);
      overflow: hidden;
      box-shadow: var(--sombra);
    }

    #elcos-inicio .equipo-foto img{
      height: 100%;
      object-fit: cover;
    }

    #elcos-inicio .mision-vision{
      display: grid;
      gap: 20px;
    }

    #elcos-inicio .tarjeta-info{
      padding: 30px;
      border: 1px solid rgba(6, 43, 87, 0.11);
      border-radius: var(--radio);
      background: var(--blanco);
      box-shadow: 0 12px 35px rgba(3, 26, 53, 0.06);
    }

    #elcos-inicio .tarjeta-info p{
      margin-top: 13px;
      color: var(--gris-600);
    }

    #elcos-inicio .contacto{
      background: linear-gradient(135deg, var(--azul-950), var(--azul-800));
      color: var(--blanco);
    }

    #elcos-inicio .contacto-grid{
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 70px;
      align-items: start;
    }

    #elcos-inicio .contacto h2,#elcos-inicio .contacto h3{
      color: var(--blanco);
    }

    #elcos-inicio .contacto .texto-seccion{
      color: rgba(255, 255, 255, 0.75);
    }

    #elcos-inicio .datos-contacto{
      display: grid;
      gap: 15px;
      margin-top: 34px;
    }

    #elcos-inicio .instagram-qr-card{
      margin-top: 28px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 148px;
      gap: 16px;
      align-items: center;
      padding: 18px;
      border-radius: 18px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    }

    #elcos-inicio .instagram-qr-texto strong{
      display: block;
      color: var(--blanco);
      font-size: 1.05rem;
    }

    #elcos-inicio .instagram-qr-texto p{
      margin-top: 7px;
      color: rgba(255,255,255,0.74);
      font-size: 0.95rem;
    }

    #elcos-inicio .instagram-qr-texto a{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
      color: #ffd7bc;
      font-weight: 800;
    }

    #elcos-inicio .instagram-qr-texto a:hover{
      color: var(--blanco);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    #elcos-inicio .instagram-qr-imagen{
      display: block;
      width: 148px;
      height: 148px;
      margin-left: auto;
      border-radius: 16px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 14px 30px rgba(0,0,0,0.16);
    }

    #elcos-inicio .instagram-qr-imagen img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    #elcos-inicio .dato-contacto{
      display: grid;
      grid-template-columns: 45px 1fr;
      gap: 13px;
      align-items: start;
    }

    #elcos-inicio .dato-contacto .mini-icono{
      width: 45px;
      height: 45px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      background: rgba(255, 255, 255, 0.11);
      color: #ffb77d;
    }

    #elcos-inicio .dato-contacto strong,#elcos-inicio .dato-contacto span,#elcos-inicio .dato-contacto a{
      display: block;
    }

    #elcos-inicio .dato-contacto strong{
      color: var(--blanco);
    }

    #elcos-inicio .dato-contacto span,#elcos-inicio .dato-contacto a{
      margin-top: 3px;
      color: rgba(255, 255, 255, 0.72);
    }


    #elcos-inicio .dato-contacto a:hover{
      color: var(--blanco);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    #elcos-inicio .dato-contacto .detalle-enlace{
      margin-top: 2px;
      color: #ffb77d;
      font-size: 0.82rem;
      font-weight: 750;
    }

    #elcos-inicio .formulario{
      padding: clamp(26px, 4vw, 42px);
      border-radius: var(--radio);
      background: var(--blanco);
      color: var(--gris-800);
      box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
    }

    #elcos-inicio .formulario h3{
      color: var(--azul-950);
      font-size: 1.8rem;
    }

    #elcos-inicio .formulario p{
      margin: 8px 0 24px;
      color: var(--gris-600);
    }

    #elcos-inicio .campos-dobles{
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 15px;
    }

    #elcos-inicio .campo{
      display: grid;
      gap: 7px;
      margin-bottom: 15px;
    }

    #elcos-inicio .campo label{
      color: var(--azul-950);
      font-size: 0.92rem;
      font-weight: 800;
    }

    #elcos-inicio .campo input,#elcos-inicio .campo textarea,#elcos-inicio .campo select{
      width: 100%;
      border: 1px solid var(--gris-300);
      border-radius: 10px;
      background: var(--gris-50);
      padding: 13px 14px;
      color: var(--gris-800);
      outline: none;
      transition: border 150ms ease, box-shadow 150ms ease;
    }

    #elcos-inicio .campo input:focus,#elcos-inicio .campo textarea:focus,#elcos-inicio .campo select:focus{
      border-color: var(--azul-700);
      box-shadow: 0 0 0 4px rgba(7, 90, 147, 0.12);
    }

    #elcos-inicio .campo textarea{
      min-height: 125px;
      resize: vertical;
    }

    #elcos-inicio .nota-formulario{
      margin-top: 12px;
      color: var(--gris-600);
      font-size: 0.82rem;
    }

    #elcos-inicio .pie{
      padding: 34px 0;
      background: #021426;
      color: rgba(255, 255, 255, 0.69);
      font-size: 0.9rem;
    }

    #elcos-inicio .pie .contenedor{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    #elcos-inicio .pie-enlaces{
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
    }

    #elcos-inicio .flotante{
      position: fixed;
      z-index: 1200;
      right: 20px;
      bottom: 20px;
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #25d366;
      color: var(--blanco);
      box-shadow: 0 13px 30px rgba(0, 0, 0, 0.25);
      transition: transform 180ms ease;
    }

    #elcos-inicio .flotante:hover{
      transform: scale(1.06);
    }

    #elcos-inicio .flotante svg{
      width: 29px;
      height: 29px;
    }

    #elcos-inicio .solo-lector{
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 980px) {
      #elcos-inicio .boton-menu{
        display: grid;
        place-items: center;
      }

      #elcos-inicio .menu{
        position: absolute;
        top: calc(100% + 1px);
        right: 16px;
        left: 16px;
        display: none;
        padding: 12px;
        border: 1px solid var(--gris-100);
        border-radius: 14px;
        background: var(--blanco);
        box-shadow: var(--sombra);
      }

      #elcos-inicio .menu.abierto{
        display: block;
      }

      #elcos-inicio .menu li + li{
        margin-top: 3px;
      }

      #elcos-inicio .menu .menu-contacto{
        margin: 7px 0 0;
        text-align: center;
      }

      #elcos-inicio .hero-layout{
        grid-template-columns: 1fr;
      }

      #elcos-inicio .hero-video-card{
        width: min(100%, 760px);
      }

      #elcos-inicio .servicios-grid{
        grid-template-columns: 1fr;
      }

      #elcos-inicio .tarjeta-servicio{
        min-height: 0;
      }

      #elcos-inicio .bloque-doble,#elcos-inicio .nosotros-grid,#elcos-inicio .contacto-grid{
        grid-template-columns: 1fr;
      }

      #elcos-inicio .orden-movil-1{
        order: 1;
      }

      #elcos-inicio .orden-movil-2{
        order: 2;
      }

      #elcos-inicio .equipo-foto{
        min-height: 400px;
      }
    }

    @media (max-width: 700px) {
      #elcos-inicio .seccion{
        padding: 68px 0;
      }

      #elcos-inicio .barra-superior .contenedor{
        padding: 8px 0;
        align-items: flex-start;
      }

      #elcos-inicio .datos-superiores{
        gap: 8px 14px;
      }

      #elcos-inicio .estado-24{
        display: none;
      }

      #elcos-inicio .dato-fijo,
      #elcos-inicio .dato-correo{
        display: none;
      }

      #elcos-inicio .texto-instagram{
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      #elcos-inicio .barra-superior .contenedor{
        min-height: 34px;
        align-items: center;
      }

      #elcos-inicio .marca{
        width: min(190px, 62vw);
      }

      #elcos-inicio section[id]{
        scroll-margin-top: 112px;
      }

      #elcos-inicio .navegacion{
        min-height: 68px;
      }

      #elcos-inicio .hero{
        min-height: 660px;
      }

      #elcos-inicio .hero::before{
        background:
          linear-gradient(90deg, rgba(3, 26, 53, 0.97), rgba(3, 26, 53, 0.75)),
          url("../images/hero-elcos-optimizado.webp") center / cover no-repeat;
      }

      #elcos-inicio .hero-contenido{
        padding: 60px 0 72px;
      }

      #elcos-inicio .hero-layout{
        gap: 34px;
      }

      #elcos-inicio .hero-video-card{
        padding: 8px;
        border-radius: 16px;
      }

      #elcos-inicio .datos-hero{
        grid-template-columns: 1fr;
      }

      #elcos-inicio .dato-hero{
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.17);
      }

      #elcos-inicio .dato-hero:last-child{
        border-bottom: 0;
      }

      #elcos-inicio .franja-emergencia .contenedor,#elcos-inicio .pie .contenedor{
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
      }

      #elcos-inicio .franja-emergencia-grid{
        grid-template-columns: 1fr;
      }

      #elcos-inicio .franja-emergencia-media{
        width: 100%;
        justify-self: stretch;
      }

      #elcos-inicio .telefonos-emergencia,#elcos-inicio .acciones-hero,#elcos-inicio .acciones-seccion{
        width: 100%;
      }

      #elcos-inicio .telefonos-emergencia .boton,#elcos-inicio .acciones-hero .boton,#elcos-inicio .acciones-seccion .boton{
        flex: 1 1 100%;
      }

      #elcos-inicio .imagen-marco::before{
        display: none;
      }

      #elcos-inicio .imagen-emergencia,#elcos-inicio .imagen-emergencia img{
        min-height: 380px;
      }

      #elcos-inicio .campos-dobles{
        grid-template-columns: 1fr;
      }

      #elcos-inicio .instagram-qr-card{
        grid-template-columns: 1fr;
      }

      #elcos-inicio .instagram-qr-imagen{
        margin-left: 0;
        width: min(100%, 170px);
        height: auto;
        aspect-ratio: 1 / 1;
      }

      #elcos-inicio .equipo-foto{
        min-height: 300px;
      }

      #elcos-inicio .flotante{
        right: 14px;
        bottom: 14px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      #elcos-inicio{
        scroll-behavior: auto;
      }

      #elcos-inicio,#elcos-inicio *,#elcos-inicio *::before,#elcos-inicio *::after{
        transition: none !important;
      }
    }
  

/* Integración con WordPress y Divi */
body.elcos-full-width-page {
  margin: 0;
  padding: 0;
  background: #ffffff;
}
body.elcos-full-width-page #page-container,
body.elcos-full-width-page #main-content,
body.elcos-full-width-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}
body.admin-bar #elcos-inicio .cabecera-fija {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar #elcos-inicio .cabecera-fija {
    top: 46px;
  }
}
#elcos-inicio {
  width: 100%;
  max-width: none;
  margin: 0;
  isolation: isolate;
}

/* Formulario de contacto por correo */
#elcos-inicio .campo-trampa {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#elcos-inicio .estado-formulario {
  min-height: 1.5em;
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

#elcos-inicio .estado-formulario.enviando {
  opacity: 0.85;
}

#elcos-inicio .estado-formulario.exito {
  color: #b9f6ca;
}

#elcos-inicio .estado-formulario.error {
  color: #ffb4b4;
}

#elcos-inicio .formulario button[disabled] {
  cursor: wait;
  opacity: 0.7;
}
