/* ============================================
   VÉRTICE COMUNICACIÓN — GLOBAL STYLESHEET
   FONTS, RESET, HEADER, NAV & FOOTER
   ============================================ */

/* --- TIPOGRAFÍA POPPINS (LOCAL ASSETS) --- */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #1d1d1b;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- EVITAR QUE LOS WRAPPERS DE CADA PÁGINA RECORTEN EL MENÚ MÓVIL --- */
.hero-top-wrapper,
.nosotros-top-wrapper,
.servicios-top-wrapper,
.weeks-top-wrapper,
.clientes-top-wrapper {
  overflow: visible !important;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  width: 100%;
  position: relative;
  z-index: 9999;
}

.header-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(30px, 3.65vw, 70px) clamp(20px, 7.22vw, 138.6px) 0 clamp(20px, 7.22vw, 138.6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: block;
  flex-shrink: 0;
}

.header-logo {
  width: clamp(180px, 18.5vw, 355px);
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.header-logo:hover {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 48px);
}

.main-nav a {
  text-decoration: none;
  font-size: clamp(1rem, 1.78vw, 34.3px);
  font-weight: 400;
  color: #000000;
  transition: opacity 0.2s, transform 0.2s;
  line-height: 1;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 0.7;
}

.main-nav .btn-contacto {
  color: #353535;
  border: 4px solid #ffffff;
  padding: clamp(4px, 0.4vw, 6px) clamp(18px, 1.87vw, 36px);
  border-radius: 50px;
  display: inline-block;
  line-height: 1.1;
  margin-left: 10px;
  transition: all 0.25s ease;
}

.main-nav .btn-contacto:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  opacity: 1;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: #1d1d1b;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

/* ============================================
   FOOTER (ELEMENTOR-STYLE SEAMLESS GRADIENT)
   ============================================ */
.site-footer {
  width: 100%;
  margin-top: clamp(80px, 10.5vw, 202px);
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #fcf3fc 12%, 
    #f0c7f4 35%, 
    #c4a7e2 70%, 
    #a684cd 100%
  );
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/bg-footer.png') no-repeat center bottom;
  background-size: cover;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
  pointer-events: none;
  opacity: 0.85;
}

.footer-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(60px, 7.44vw, 142.9px) clamp(20px, 6.92vw, 132.9px) clamp(40px, 5.2vw, 100px) clamp(20px, 6.92vw, 132.9px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.footer-left-col {
  flex: 1 1 65%;
  max-width: 1107.8px;
}

.footer-title {
  font-size: clamp(2rem, 3.12vw, 60px);
  font-weight: 600;
  line-height: 1.2;
  color: #000000;
  margin-bottom: clamp(16px, 1.35vw, 26px);
}

.footer-phone {
  margin-bottom: 6px;
  color: #000000;
  line-height: 1.2;
}

.phone-prefix {
  font-size: clamp(14px, 1.14vw, 22px);
  font-weight: 400;
}

.phone-number {
  font-size: clamp(20px, 1.92vw, 37px);
  font-weight: 400;
}

.footer-email {
  font-size: clamp(16px, 1.37vw, 26.4px);
  font-weight: 400;
  color: #000000;
}

.footer-right-col {
  flex: 0 0 clamp(280px, 28.4vw, 546px);
  max-width: 546px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav-grid {
  display: flex;
  gap: clamp(30px, 3.5vw, 60px);
  margin-bottom: clamp(24px, 2.29vw, 44px);
}

.footer-nav-col:first-child {
  width: clamp(140px, 13.1vw, 252px);
}

.footer-nav-col a {
  display: block;
  font-size: clamp(1.2rem, 1.92vw, 37px);
  font-weight: 400;
  color: #000000;
  text-decoration: none;
  margin-bottom: clamp(8px, 0.72vw, 14px);
  transition: opacity 0.2s, transform 0.2s;
  line-height: 1.15;
}

.footer-nav-col a:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

.footer-social-icons {
  display: flex;
  gap: clamp(8px, 0.6vw, 11.5px);
  justify-content: flex-start;
}

.social-circle-link {
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.social-circle-link:hover {
  opacity: 0.85;
  transform: translateY(-3px) scale(1.08);
}

.social-icon-img {
  width: clamp(28px, 1.85vw, 35.5px);
  height: auto;
  display: block;
}

/* ============================================
   RESPONSIVE BREAKPOINTS (GLOBAL)
   ============================================ */
@media (max-width: 992px) {
  .site-header {
    position: relative;
    z-index: 9999 !important;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    padding: 32px 20px !important;
    gap: 22px !important;
    align-items: center;
    z-index: 9999 !important;
  }

  .main-nav.nav-open {
    display: flex !important;
  }

  .main-nav a {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .main-nav .btn-contacto {
    margin-left: 0 !important;
    border: 3px solid #353535 !important;
    padding: 10px 36px !important;
    font-size: 22px !important;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
  .footer-left-col,
  .footer-right-col {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-nav-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav-col:first-child {
    width: 100%;
  }
}