/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://houstonmultiservices.com
 Description:  Child theme for Hello Elementor — Adelante Go Ahead | Marcy Valdez
 Author:       Marcy Valdez Multiservicios
 Author URI:   https://houstonmultiservices.com
 Template:     hello-elementor
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-elementor-child
*/

/* ============================================================
   VARIABLES GLOBALES — Paleta Corporativa
   ============================================================ */
:root {
  --mv-navy:        #0b1d35;
  --mv-navy-mid:    #132a4a;
  --mv-gold:        #c8973f;
  --mv-gold-light:  #e6bf78;
  --mv-cream:       #f7f3ec;
  --mv-white:       #ffffff;
  --mv-gray:        #7a8698;
  --mv-text:        #1a2535;
  --mv-radius:      10px;
  --mv-transition:  0.25s ease;
}

/* ============================================================
   TIPOGRAFÍA GLOBAL
   ============================================================ */
body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--mv-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--mv-navy);
}

p { line-height: 1.75; }

a {
  color: var(--mv-gold);
  transition: color var(--mv-transition);
}
a:hover { color: var(--mv-navy); text-decoration: none; }

/* ============================================================
   HEADER — Mejorado
   ============================================================ */
#site-header.site-header {
  background-color: var(--mv-navy) !important;
  border-bottom: 2px solid rgba(200, 151, 63, 0.25);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

/* Logo / Nombre del sitio en header */
#site-header .site-title a,
#site-header .site-title {
  color: var(--mv-white) !important;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

#site-header .site-description {
  color: var(--mv-gold-light) !important;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Menú de navegación en header */
#site-header .site-navigation ul.menu li a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color var(--mv-transition), background var(--mv-transition);
}
#site-header .site-navigation ul.menu li a:hover {
  color: var(--mv-gold-light) !important;
  background: rgba(200, 151, 63, 0.1);
}

/* Ítem activo del menú */
#site-header .site-navigation ul.menu li.current-menu-item > a {
  color: var(--mv-gold-light) !important;
}

/* Submenús */
#site-header .site-navigation ul.menu li ul {
  background: var(--mv-navy-mid);
  border: 1px solid rgba(200, 151, 63, 0.2);
  border-radius: var(--mv-radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
}
#site-header .site-navigation ul.menu li ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#site-header .site-navigation ul.menu li ul li a {
  padding: 0.6rem 1.2rem !important;
}

/* Hamburger icon en móvil */
#site-header .site-navigation-toggle {
  color: var(--mv-white) !important;
  background-color: rgba(200, 151, 63, 0.15) !important;
  border-radius: 6px;
}
.site-navigation-dropdown ul.menu li a {
  background: var(--mv-navy-mid) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.site-navigation-dropdown ul.menu li a:hover {
  color: var(--mv-gold-light) !important;
  background: rgba(200, 151, 63, 0.1) !important;
}

/* ============================================================
   FOOTER — Mejorado
   ============================================================ */
#site-footer.site-footer {
  background-color: var(--mv-navy) !important;
  border-top: 2px solid rgba(200, 151, 63, 0.2);
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

#site-footer .site-title a,
#site-footer .site-title {
  color: var(--mv-white) !important;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

#site-footer .site-description {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.78rem;
}

#site-footer .site-navigation ul.menu li a {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.86rem;
  padding: 4px 12px;
  transition: color var(--mv-transition);
}
#site-footer .site-navigation ul.menu li a:hover {
  color: var(--mv-gold-light) !important;
}

#site-footer .copyright p {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 0.78rem;
}

/* ============================================================
   BOTONES GLOBALES — Para usar en Elementor
   ============================================================ */
.elementor-button.elementor-button-primary,
.elementor-button[class*="elementor-size"] {
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  transition: transform var(--mv-transition), box-shadow var(--mv-transition) !important;
}
.elementor-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================================
   SECCIONES ELEMENTOR — Mejoras generales
   ============================================================ */

/* Scroll suave en toda la página */
html { scroll-behavior: smooth; }

/* Imágenes responsivas */
.elementor img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Headings dentro de Elementor */
.elementor h1, .elementor h2, .elementor h3, .elementor h4 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}

/* ============================================================
   UTILIDADES — Clases extra para usar en Elementor
   ============================================================ */

/* Tarjeta con sombra suave */
.mv-card {
  background: var(--mv-white);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(11, 29, 53, 0.08);
  box-shadow: 0 4px 20px rgba(11, 29, 53, 0.06);
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 29, 53, 0.12);
}

/* Barra dorada decorativa arriba de sección */
.mv-gold-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mv-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.mv-gold-bar::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--mv-gold);
  border-radius: 2px;
}

/* Badge de certificación */
.mv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 151, 63, 0.1);
  border: 1px solid rgba(200, 151, 63, 0.3);
  color: var(--mv-gold);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Texto dorado */
.mv-text-gold { color: var(--mv-gold) !important; }
.mv-text-navy { color: var(--mv-navy) !important; }

/* Fondo navy */
.mv-bg-navy { background-color: var(--mv-navy) !important; }
.mv-bg-cream { background-color: var(--mv-cream) !important; }

/* ============================================================
   RESPONSIVE — Ajustes móvil
   ============================================================ */
@media (max-width: 767px) {
  #site-header.site-header {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
