/*
Theme Name:     Industris Child
Theme URI:      http://wp.oceanthemes.net/industris/
Description:    Tema hijo personalizado para Visco Power con nuevo Header y Footer de alto impacto.
Author:         Visco Power Dev Team
Author URI:     http://viscopower.corp
Version:        1.1.0
Template:       industris
*/

@import url("../industris/style.css");

/* ==========================================================================
   0. VARIABLES & TOKENS DE DISEÑO VISCO POWER
   ========================================================================== */
:root {
  --vp-navy-deep:    #001a44;  /* Azul marino corporativo */
  --vp-navy-dark:    #031738;  /* Azul oscuro base */
  --vp-gold:         #ffb800;  /* Amarillo / Dorado corporativo */
  --vp-gold-hover:   #e5a500;  /* Amarillo hover */
  --vp-green-wa:     #00a859;  /* Verde WhatsApp */
  --vp-text-dark:    #0a1c36;  /* Texto principal oscuro */
  --vp-text-muted:   #4a5568;  /* Texto descriptivo gris */
  --vp-white:        #ffffff;  /* Blanco puro */
  --vp-font-heading: 'Montserrat', sans-serif;
  --vp-font-body:    'Montserrat', 'Outfit', sans-serif;
}

/* ==========================================================================
   1. HEADER INDUSTRIS (VISCO POWER)
   ========================================================================== */

/* Ocultar barra superior por requerimiento de diseño limpio */
#site-header .top-bar,
.top-bar {
  display: none !important;
}

/* Contenedor principal del Header */
.site-header.site-header-viscopower,
#site-header {
  background-color: var(--vp-navy-deep) !important;
  border-bottom: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 999;
}

.site-header.site-header-viscopower .main-header,
#site-header .main-header {
  background-color: transparent !important;
  padding: 12px 0;
  border-bottom: none;
}

.header-flex-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.header-logo-col {
  flex-shrink: 0;
}

.header-logo-col img,
#site-logo img {
  max-height: 64px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.header-logo-col img:hover,
#site-logo img:hover {
  transform: scale(1.02);
}

/* Navegación Principal */
.main-navigation.site-navigation,
#site-navigation {
  margin: 0;
  padding: 0;
}

#primary-menu,
.viscopower-menu {
  display: flex !important;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

#primary-menu > li,
.viscopower-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
}

#primary-menu > li > a,
.viscopower-menu > li > a {
  display: inline-block;
  color: var(--vp-white) !important;
  font-family: var(--vp-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

#primary-menu > li > a:hover,
.viscopower-menu > li > a:hover {
  color: var(--vp-gold) !important;
}

/* Botón Destacado en Menú: "¿POR QUÉ ELEGIRNOS?" */
#primary-menu > li.menu-btn-pill > a,
#primary-menu > li:first-child > a,
.viscopower-menu > li.menu-btn-pill > a,
a.menu-btn-pill {
  background-color: var(--vp-gold) !important;
  color: var(--vp-navy-deep) !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.35);
}

#primary-menu > li.menu-btn-pill > a:hover,
#primary-menu > li:first-child > a:hover,
.viscopower-menu > li.menu-btn-pill > a:hover,
a.menu-btn-pill:hover {
  background-color: var(--vp-gold-hover) !important;
  color: var(--vp-navy-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 184, 0, 0.45);
}

/* Buscador en forma de píldora a la derecha */
.header-search-wrap {
  flex-shrink: 0;
  margin-left: 10px;
}

.search-pill-toggle {
  background-color: var(--vp-gold);
  border-radius: 50px;
  padding: 4px 6px 4px 18px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.35);
}

.search-pill-toggle:focus-within,
.search-pill-toggle:hover {
  box-shadow: 0 6px 16px rgba(255, 184, 0, 0.45);
}

.search-pill-form {
  display: flex;
  align-items: center;
  margin: 0;
}

.search-pill-input {
  border: none;
  background: transparent;
  color: var(--vp-navy-deep);
  font-family: var(--vp-font-body);
  font-size: 13px;
  font-weight: 600;
  width: 70px;
  outline: none;
  transition: width 0.3s ease;
}

.search-pill-input::placeholder {
  color: rgba(0, 26, 68, 0.7);
}

.search-pill-input:focus {
  width: 140px;
}

.search-pill-btn {
  background: transparent;
  border: none;
  color: var(--vp-navy-deep);
  font-size: 16px;
  cursor: pointer;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.search-pill-btn:hover {
  transform: scale(1.15);
}


/* ==========================================================================
   2. FOOTER INDUSTRIS (VISCO POWER)
   ========================================================================== */

#site-footer.site-footer-viscopower,
footer#site-footer {
  background-color: var(--vp-white) !important;
  color: var(--vp-text-dark);
  position: relative;
  overflow: hidden;
  padding-top: 55px;
  padding-bottom: 140px; /* Espacio para no tapar la ola de aceite inferior */
  border-top: 1px solid #f0f0f0;
}

.main-footer-viscopower {
  position: relative;
  z-index: 2;
}

/* Columnas del Footer */
.footer-grid-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.footer-col {
  margin-bottom: 30px;
}

/* Columna 1: Brand & Hero Title */
.footer-brand-wrap .footer-logo {
  margin-bottom: 20px;
}

.footer-brand-wrap .footer-logo img {
 max-width: 80%;
  height: auto;
}

.footer-hero-title {
  font-family: var(--vp-font-heading);
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
}

.footer-hero-title .title-navy {
  color: var(--vp-navy-deep);
}

.footer-hero-title .title-gold {
  color: var(--vp-gold);
}

.footer-desc {
  font-family: var(--vp-font-body);
  font-size: 13.5px;
  color: var(--vp-text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 280px;
}

/* Títulos de Columna & Línea Amarilla */
.footer-col-title {
  font-family: var(--vp-font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--vp-navy-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
}

.footer-yellow-line {
  width: 38px;
  height: 3px;
  background-color: var(--vp-gold);
  border-radius: 2px;
  margin-bottom: 22px;
}

/* Columna 2: Contacto (Teléfono y Email) */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--vp-navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vp-navy-deep);
  font-size: 17px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-box {
  background-color: var(--vp-navy-deep);
  color: var(--vp-white);
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-family: var(--vp-font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--vp-navy-deep);
  line-height: 1.2;
}

.contact-value {
  font-family: var(--vp-font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vp-navy-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: var(--vp-gold);
}

/* Columna 3: Enlaces de Navegación */
.footer-arrow-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-arrow-menu li {
  margin-bottom: 10px;
}

.footer-arrow-menu li a {
  font-family: var(--vp-font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vp-navy-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.footer-arrow-menu .menu-arrow {
  color: var(--vp-gold);
  font-weight: 900;
  font-size: 15px;
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.footer-arrow-menu li a:hover {
  color: var(--vp-gold);
  transform: translateX(3px);
}

.footer-arrow-menu li a:hover .menu-arrow {
  transform: translateX(2px);
}

/* Columna 4: Botón WhatsApp & Redes */
.whatsapp-cta-box {
  margin-bottom: 28px;
}

.footer-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--vp-navy-deep);
  background-color: var(--vp-white);
  border-radius: 50px;
  padding: 5px 6px 5px 22px;
  text-decoration: none;
  min-width: 220px;
  box-shadow: 0 4px 14px rgba(0, 26, 68, 0.08);
  transition: all 0.3s ease;
}

.footer-whatsapp-pill .pill-text {
  font-family: var(--vp-font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--vp-navy-deep);
}

.footer-whatsapp-pill .pill-icon-circle {
  width: 38px;
  height: 38px;
  background-color: var(--vp-green-wa);
  color: var(--vp-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  transition: transform 0.3s ease;
}

.footer-whatsapp-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 168, 89, 0.25);
  border-color: var(--vp-green-wa);
}

.footer-whatsapp-pill:hover .pill-icon-circle {
  transform: scale(1.08) rotate(5deg);
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-label {
  font-family: var(--vp-font-heading);
  font-size: 12.5px;
  font-weight: 800;
  font-style: italic;
  color: var(--vp-navy-deep);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-circle {
  width: 34px;
  height: 34px;
  background-color: var(--vp-navy-deep);
  color: var(--vp-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon-circle:hover {
  background-color: var(--vp-gold);
  color: var(--vp-navy-deep);
  transform: translateY(-2px);
}

/* Barra de Legales */
.footer-legal-bar {
  border-top: 1px solid #ededed;
  padding-top: 18px;
  margin-top: 10px;
}

.legal-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-title {
  font-family: var(--vp-font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--vp-navy-deep);
  border-bottom: 2px solid var(--vp-gold);
  padding-bottom: 2px;
}

.legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.legal-links li a {
  font-family: var(--vp-font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vp-navy-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-arrow {
  color: var(--vp-gold);
  font-weight: 900;
  font-size: 13px;
  margin-right: 4px;
}

.legal-links li a:hover {
  color: var(--vp-gold);
}

/* Salpicadura de Aceite Decorativa en Fondo */
.footer-oil-splash-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   3. REGLAS RESPONSIVAS (@media max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Header Mobile */
  .header-flex-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-logo-col img,
  #site-logo img {
    max-height: 48px;
  }

  #primary-menu,
  .viscopower-menu {
    gap: 8px;
    flex-wrap: wrap;
  }

  #primary-menu > li > a,
  .viscopower-menu > li > a {
    font-size: 12px;
    padding: 6px 10px;
  }

  #primary-menu > li.menu-btn-pill > a,
  #primary-menu > li:first-child > a,
  .viscopower-menu > li.menu-btn-pill > a {
    padding: 8px 16px !important;
    font-size: 12px !important;
  }

  /* Footer Mobile */
  #site-footer.site-footer-viscopower,
  footer#site-footer {
    padding-top: 40px;
    padding-bottom: 100px;
  }

  .footer-col {
    margin-bottom: 25px;
  }

  .footer-hero-title {
    font-size: 20px;
  }

  .legal-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-oil-splash-bg {
    height: 80px;
  }
}