.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS *//* ============================================================
   HEADER URBANDRIVE SOLUTIONS
   ============================================================ */

:root {
  --ud-primary: #00081e;
  --ud-primary-container: #0a1f44;
  --ud-secondary: #0058be;
  --ud-electric-blue: #3b82f6;
  --ud-white: #ffffff;
  --ud-background: #f7f9fb;
  --ud-text: #191c1e;
  --ud-text-secondary: #44464e;
  --ud-border: #e6e8ea;
  --ud-soft-gray: #f8fafc;
  --ud-font-heading: "Montserrat", sans-serif;
  --ud-font-body: "Inter", sans-serif;
  --ud-header-height: 80px;
  --ud-header-scrolled-height: 64px;
}

/* ============================================================
   RESET DEL COMPONENTE
   ============================================================ */

.ud-root,
.ud-root *,
.ud-mobile-nav,
.ud-mobile-nav * {
  box-sizing: border-box;
}

.ud-root {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible !important;
  font-family: var(--ud-font-body);
}

.ud-root a,
.ud-mobile-nav a {
  text-decoration: none;
}

.ud-root button {
  font-family: inherit;
}

.ud-root img {
  display: block;
  max-width: 100%;
}

/* Evita que Elementor recorte el header o el desplegable */
.elementor-widget-html,
.elementor-widget-html > .elementor-widget-container,
.elementor-widget-html .elementor-widget-container,
.e-con,
.e-con-inner {
  overflow: visible;
}

/* ============================================================
   HEADER
   ============================================================ */

.ud-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999990;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: var(--ud-header-height);
  padding: 0 16px;

  overflow: visible !important;

  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 8, 30, 0.08);
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.06);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    height 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ud-header.ud-header--scrolled {
  height: var(--ud-header-scrolled-height);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(10, 31, 68, 0.1);
}

@media (min-width: 768px) {
  .ud-header {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (min-width: 1280px) {
  .ud-header {
    padding-right: 64px;
    padding-left: 64px;
  }
}

/* ============================================================
   LOGOTIPO
   ============================================================ */

.ud-logo {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;

  flex-shrink: 0;
  height: 100%;
}

.ud-logo img {
  width: auto !important;
  max-width: none !important;
  height: 150px !important;
  max-height: 150px !important;
}

/* ============================================================
   NAVEGACIÓN DE ESCRITORIO
   ============================================================ */

.ud-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.ud-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 8px 0 5px;

  border-bottom: 2px solid transparent;

  font-family: var(--ud-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ud-text-secondary);

  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.ud-nav-link:hover {
  color: var(--ud-secondary);
}

.ud-nav-link--active {
  color: var(--ud-secondary);
  font-weight: 700;
  border-bottom-color: var(--ud-secondary);
}

@media (min-width: 1024px) {
  .ud-nav {
    display: flex;
  }
}

/* ============================================================
   SUBMENÚ DE ESCRITORIO
   ============================================================ */

.ud-has-submenu {
  position: relative;
}

.ud-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 100;

  min-width: 190px;
  margin: 0;
  padding: 8px;

  list-style: none;

  background: var(--ud-white);
  border: 1px solid rgba(0, 8, 30, 0.06);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(10, 31, 68, 0.13);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(7px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.ud-submenu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;

  height: 14px;

  content: "";
}

.ud-has-submenu:hover .ud-submenu,
.ud-has-submenu:focus-within .ud-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ud-submenu li {
  margin: 0;
  padding: 0;
}

.ud-submenu a {
  display: block;
  padding: 11px 12px;

  border-radius: 6px;

  font-size: 14px;
  color: var(--ud-text-secondary);

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.ud-submenu a:hover {
  color: var(--ud-secondary);
  background: var(--ud-soft-gray);
}

/* ============================================================
   ACCIONES DEL HEADER
   ============================================================ */

.ud-header-actions {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 16px;

  margin-left: auto;

  pointer-events: auto;
}

.ud-lang-switch {
  display: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0, 8, 30, 0.65);
}

.ud-lang-switch:hover {
  color: var(--ud-secondary);
}

.ud-btn-header {
  display: none;
  align-items: center;
  justify-content: center;

  padding: 12px 22px;

  border-radius: 4px;

  font-family: var(--ud-font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--ud-white) !important;

  background: var(--ud-primary);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.ud-btn-header:hover {
  background: var(--ud-secondary);
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  .ud-lang-switch {
    display: inline-block;
  }

  .ud-btn-header {
    display: inline-flex;
  }
}

/* ============================================================
   BOTÓN HAMBURGUESA
   ============================================================ */

.ud-mobile-toggle {
  position: relative;
  z-index: 999999;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;

  color: var(--ud-primary);
  background: transparent;
  border: 0;
  border-radius: 5px;

  appearance: none;
  -webkit-appearance: none;

  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.ud-mobile-toggle:hover {
  background: rgba(0, 88, 190, 0.08);
}

.ud-mobile-toggle:active {
  transform: scale(0.96);
}

.ud-hamburger-line {
  display: block;
  width: 24px;
  height: 2px;

  background: currentColor;
  border-radius: 5px;

  pointer-events: none;

  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* Animación hamburguesa a X */
.ud-mobile-toggle[aria-expanded="true"] .ud-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ud-mobile-toggle[aria-expanded="true"] .ud-hamburger-line:nth-child(2) {
  opacity: 0;
}

.ud-mobile-toggle[aria-expanded="true"] .ud-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .ud-mobile-toggle {
    display: none !important;
  }
}

/* ============================================================
   MENÚ MÓVIL
   Este elemento será trasladado al body mediante JavaScript.
   ============================================================ */

.ud-mobile-nav {
  position: fixed !important;
  top: var(--ud-header-height) !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 999980 !important;

  display: block !important;

  width: 100% !important;
  height: calc(100vh - var(--ud-header-height)) !important;
  height: calc(100dvh - var(--ud-header-height)) !important;
  margin: 0 !important;
  padding: 0 !important;

  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;

  background: var(--ud-white) !important;
  box-shadow: 0 18px 40px rgba(10, 31, 68, 0.15) !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-12px) !important;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease !important;
}

.ud-mobile-nav.ud-mobile-nav--open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

body.ud-header-scrolled .ud-mobile-nav {
  top: var(--ud-header-scrolled-height) !important;

  height: calc(
    100vh - var(--ud-header-scrolled-height)
  ) !important;

  height: calc(
    100dvh - var(--ud-header-scrolled-height)
  ) !important;
}

.ud-mobile-nav-inner {
  width: 100%;
  max-width: 700px;
  min-height: 100%;
  margin: 0 auto;
  padding: 18px 20px 40px;
}

.ud-mobile-nav-inner > a,
.ud-mobile-submenu a {
  display: block !important;

  width: 100%;
  padding: 16px 4px;

  border-bottom: 1px solid var(--ud-border);

  font-family: var(--ud-font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ud-text) !important;

  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.ud-mobile-nav-inner > a:hover,
.ud-mobile-submenu a:hover {
  padding-left: 9px;
  color: var(--ud-secondary) !important;
}

.ud-mobile-submenu {
  margin: 0;
  padding: 0;
}

.ud-mobile-submenu a {
  padding-left: 20px;

  font-size: 16px;
  color: var(--ud-text-secondary) !important;
  background: var(--ud-soft-gray);
}

.ud-mobile-submenu a:hover {
  padding-left: 25px;
}

.ud-mobile-nav .ud-mobile-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;

  margin-top: 24px;
  padding: 16px 24px !important;

  border: 0;
  border-radius: 4px;

  font-family: var(--ud-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ud-white) !important;

  background: var(--ud-primary);
}

.ud-mobile-nav .ud-mobile-cta:hover {
  padding-left: 24px;
  color: var(--ud-white) !important;
  background: var(--ud-secondary);
}

/* Bloquea el scroll de la página cuando el menú está abierto */
html.ud-mobile-menu-open,
body.ud-mobile-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* El menú no debe aparecer en escritorio */
@media (min-width: 1024px) {
  .ud-mobile-nav {
    display: none !important;
  }

  html.ud-mobile-menu-open,
  body.ud-mobile-menu-open {
    overflow: auto !important;
  }
}

/* ============================================================
   ACCESIBILIDAD
   ============================================================ */

.ud-mobile-toggle:focus-visible,
.ud-root a:focus-visible,
.ud-mobile-nav a:focus-visible {
  outline: 2px solid var(--ud-secondary);
  outline-offset: 3px;
}/* End custom CSS */