.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-416dfc2 *//* ===========================
   HEADER RJ SERV — Ajustado
   =========================== */

.rj-header {
  width: 100vw;
  background: #000;
   color: #fff;
  font-family: 'Inter', sans-serif;
}

/* Imagen + bloque de teléfonos */
.rj-header-top {
  position: relative;
  width: 100%;
}

.rj-header-img {
  width: 100%;
  height: auto;
  display: block;
}

.rj-contact-block {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  text-align: right;
}

.rj-contact-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.rj-icon {
  width: 30px;
  height: auto;
}

/* Texto contacto */
.rj-contact-row p,
.rj-contact-row a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

/* Línea naranja más delgada */
.rj-divider {
  width: 100%;
  height: 2px;
  background: #e65700;
}

/* Título + menú */
.rj-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
}

.rj-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 6px #e65700;
  margin-left: 120px; /* más adentro */
  position: relative;
  top: -10px;
}

/* Menú */
.rj-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.rj-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}

.rj-nav a:hover,
.rj-nav .active {
  color: #e65700;
}

/* Submenú */
.submenu {
  position: relative;
}

.submenu-items {
  display: none;
  position: absolute;
  right: 0;
  background: #000; /* fondo negro para evitar el cuadro blanco */
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  width: 220px;
  z-index: 999;
}

.submenu:hover .submenu-items {
  display: block;
}

.submenu-items a {
  display: block;
  padding: 8px;
  color: #fff;
  font-size: 1.3rem; /* igual que el menú principal */
}

.submenu-items a:hover {
  background: #e65700;
  color: #fff;
}

/* ===========================
   HEADER RJ SERV — Corrección submenú fijo
   =========================== */

.submenu-items {
  display: none !important; /* fuerza ocultar al cargar */
  position: absolute;
  right: 0;
  background: #000;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  width: 220px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Mostrar solo al hover */
.submenu:hover .submenu-items {
  display: block !important;
  opacity: 1;
}

/* Letras del submenú igual que el menú principal */
.submenu-items a {
  display: block;
  padding: 8px;
  color: #fff;
  font-size: 1.3rem; /* igual que el menú */
  font-weight: 600;
}

.submenu-items a:hover {
  background: #e65700;
  color: #fff;
}

/* ===========================
   RESPONSIVE MÓVIL — versión buena
   =========================== */

@media (max-width: 768px) {

  .rj-header {
    overflow-x: hidden;
  }

  /* Imagen más grande y centrada */
  .rj-header-img {
    transform: scale(1.30);
    transform-origin: center;
    border-bottom: 2px solid #e65700;
  }

  /* Bloque de contacto centrado */
  .rj-contact-block {
    position: static;
    transform: none;
    margin-top: 12px;
    text-align: center;
  }

  /* Filas en una sola línea */
  .rj-inline {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  /* Iconos más pequeños */
  .rj-icon {
    width: 20px;
  }

  /* Textos blancos y legibles */
  .rj-contact-row p,
  .rj-address p {
    font-size: 1rem;
    color: #fff;
  }

  /* Dirección en dos líneas */
  .rj-address {
    display: flex;
    flex-direction: column;
    text-align: center;
   
  }

  /* Línea naranja */
  .rj-divider {
    height: 2px;
    margin: 10px 0;
    background: #e65700;
  }

  /* Título centrado y con brillo */
  .rj-header-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
  }

  .rj-title {
    font-size: 1.8rem;
    margin: 10px 0 20px 0;
    margin-left: 0;
    top: 0;
    color: #fff;
    text-shadow: 0 0 4px #e65700;
  }

  /* Menú vertical */
  .rj-nav ul {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .rj-nav a {
    font-size: 1.2rem;
    color: #fff;
  }

  .rj-nav a:hover {
    color: #e65700;
  }

  /* Submenú oculto por defecto */
  .submenu-items {
    display: none !important;
    position: static;
    width: 100%;
    background: #000;
    border-top: 2px solid #e65700;
    padding: 10px 0;
  }

  /* Mostrar al tocar */
  .submenu:focus-within .submenu-items,
  .submenu:active .submenu-items {
    display: block !important;
  }

  .submenu-items a {
    font-size: 1.2rem;
    padding: 10px;
    color: #fff;
  }

  .submenu-items a:hover {
    background: #e65700;
    color: #fff !important;
  }

  /* Hover general */
  a:hover,
  p:hover {
    color: #e65700 !important;
  }
  /* ===========================
   CORRECCIÓN DESBORDE MÓVIL
   =========================== */

@media (max-width: 768px) {

  /* Evita que se pegue al borde derecho */
  .rj-contact-block {
    width: 100%;
    padding: 0 20px; /* margen lateral */
    box-sizing: border-box;
    text-align: center !important; /* fuerza centrado */
  }

  /* Filas centradas y sin desbordes */
  .rj-inline {
    justify-content: center;
    flex-wrap: wrap; /* permite que baje si no cabe */
  }

  /* Dirección centrada y sin desbordes */
  .rj-address {
    width: 100%;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .rj-address p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

}/* End custom CSS */