/**
 * skala.css
 * Estilos personalizados para Skala
 * Compatible con el theme Axis de BootstrapMade (no modifica clases existentes)
 * Prefijo de clases: vtl-
 */

/* =============================================
   VARIABLES skala
   Paleta: acero / cristal / carbón
   ============================================= */
:root {
  --vtl-acero:    #1d71b8;   /* azul acero – color marca principal */
  --vtl-inox:     #6c7a89;   /* gris inoxidable */
  --vtl-dark:     #0d1b2a;   /* carbón oscuro */
  --vtl-cristal:  #d6eaf8;   /* azul cristal muy claro */
  --vtl-gold:     #c0a040;   /* dorado sutil para detalles premium */
  --vtl-wa-green: #25d366;   /* WhatsApp green */
  --vtl-radius:   8px;
  --vtl-shadow:   0 4px 20px rgba(0,0,0,0.10);
}

/* Sobreescribir accent-color del theme por el azul acero de Skala */
:root {
  --accent-color: #f7bc37;
}

/* =============================================
   LOGO EN HEADER
   ============================================= */
.skala-logo {
  max-height: 42px;
  width: auto;
  border-radius: 0px;
}

.skala-logo2 {
  max-height: 70px;
  width: auto;
  border-radius: 0px;
}

.skala-logos {
  max-height: 70px;
  width: auto;
  border-radius: 0px;
}

.skala-logos2 {
  max-height: 150px;
  width: auto;
  padding-bottom: 30px;
  padding-top: 30px;
  border-radius: 0px;
}

/* =============================================
   BOTÓN COTIZAR EN NAVBAR
   ============================================= */
.vtl-btn-cotizar {
  background: var(--vtl-acero) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 2px; !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s !important;
}
.vtl-btn-cotizar:hover {
  background: var(--vtl-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* =============================================
   FILTROS ISOTOPE – NOMBRES LARGOS EN ES
   ============================================= */
.portfolio-filters li {
  font-size: 0.82rem;
}

/* =============================================
   CARACTERÍSTICAS DE PRODUCTO
   Dentro de portfolio-card
   ============================================= */
.vtl-product-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vtl-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #444;
}
.vtl-feature i {
  color: var(--vtl-acero);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* =============================================
   BOTÓN PRODUCTO (CTA dentro de tarjeta)
   ============================================= */
.vtl-btn-producto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vtl-acero);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--vtl-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none;
}
.vtl-btn-producto:hover {
  background: var(--vtl-dark);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* =============================================
   GRID DE PROVEEDORES
   ============================================= */
.vtl-proveedores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.vtl-proveedor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 18px;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: var(--vtl-radius);
  text-align: center;
  box-shadow: var(--vtl-shadow);
  transition: box-shadow 0.3s, transform 0.2s;
}
.vtl-proveedor-item:hover {
  box-shadow: 0 6px 28px rgba(26,111,160,0.14);
  transform: translateY(-3px);
}
.vtl-proveedor-icon {
  width: 56px;
  height: 56px;
  background: var(--vtl-cristal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--vtl-acero);
}
.vtl-proveedor-item span {
  font-size: 0.83rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

/* =============================================
   TARJETAS DE PROYECTOS (Swiper/Testimonials)
   ============================================= */
.vtl-proyecto-card {
  /* Hereda estilos de .testimonial-item */
}
.vtl-proyecto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.vtl-proyecto-icon {
  width: 52px;
  height: 52px;
  background: var(--vtl-cristal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--vtl-acero);
  flex-shrink: 0;
}

/* =============================================
   BOTÓN WHATSAPP (en sección contacto)
   ============================================= */
.vtl-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--vtl-wa-green);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--vtl-radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
}
.vtl-whatsapp-btn i {
  font-size: 1.3rem;
}
.vtl-whatsapp-btn:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* =============================================
   BOTÓN WHATSAPP FLOTANTE
   ============================================= */
.vtl-whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 54px;
  height: 54px;
  background: var(--vtl-wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  z-index: 9998;
  box-shadow: 0 4px 18px rgba(37,211,102,0.40);
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
  animation: vtlWaPulse 2.5s ease-in-out infinite;
}
.vtl-whatsapp-float:hover {
  background: #1da851;
  color: #fff;
  transform: scale(1.10);
  text-decoration: none;
}
@keyframes vtlWaPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.40); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.70); }
}

/* =============================================
   SELECT EN FORMULARIO DE CONTACTO
   ============================================= */
.vtl-select {
  width: 100%;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  background: transparent;
  padding: 10px 0;
  font-family: var(--default-font);
  font-size: 0.95rem;
  color: #555;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.vtl-select:focus {
  border-bottom-color: var(--vtl-acero);
}

/* =============================================
   FOOTER LOGO
   ============================================= */
.vtl-footer-logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 14px;
}

/* =============================================
   BOTÓN CATÁLOGO EN FOOTER
   ============================================= */
.vtl-catalogo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.30);
  color: #ccc;
  padding: 9px 18px;
  border-radius: var(--vtl-radius);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.vtl-catalogo-btn:hover {
  background: var(--vtl-acero);
  border-color: var(--vtl-acero);
  color: #fff;
  text-decoration: none;
}

/* =============================================
   BOTÓN WHATSAPP EN FOOTER
   ============================================= */
.vtl-wa-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vtl-wa-green);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.3s;
}
.vtl-wa-footer:hover {
  opacity: 0.8;
  color: var(--vtl-wa-green);
  text-decoration: none;
}
.vtl-wa-footer i {
  font-size: 1.1rem;
}

/* =============================================
   TARJETAS DE MODELO – PÁGINAS INTERNAS
   ============================================= */
.vtl-model-card {
  background: var(--surface-color, #fff);
  border: 1px solid #e4e8ef;
  border-radius: var(--vtl-radius);
  overflow: hidden;
  box-shadow: var(--vtl-shadow);
  transition: box-shadow 0.3s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.vtl-model-card:hover {
  box-shadow: 0 8px 32px rgba(26,111,160,0.14);
  transform: translateY(-4px);
}
.vtl-model-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f0f4f8;
}
.vtl-model-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.vtl-model-card:hover .vtl-model-img img {
  transform: scale(1.05);
}
.vtl-model-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--vtl-acero);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.vtl-model-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vtl-model-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color, #000);
}
.vtl-model-uso {
  font-size: 0.82rem;
  color: var(--vtl-inox);
  margin-bottom: 10px;
  line-height: 1.4;
}
.vtl-model-uso i { margin-right: 5px; color: var(--vtl-acero); }
.vtl-model-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  flex: 1;
}
.vtl-model-specs li {
  font-size: 0.82rem;
  color: #555;
  padding: 3px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 14px;
  position: relative;
}
.vtl-model-specs li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--vtl-acero);
  font-weight: 700;
}

/* =============================================
   OCULTAR PRECIOS
   ============================================= */
.vtl-model-price {
  display: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vtl-acero);
  margin-bottom: 10px;
  padding: 6px 0;
  border-top: 1px solid #e4e8ef;
}
.vtl-model-price strong { font-size: 1rem; }
.vtl-model-price small { font-weight: 400; color: #888; }

/* =============================================
   GRID DE DISEÑOS (canceles de baño)
   ============================================= */
.vtl-designs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vtl-design-tag {
  display: inline-block;
  background: var(--vtl-cristal);
  color: var(--vtl-acero);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(26,111,160,0.20);
}

/* =============================================
   FAQ — ACCORDION
   ============================================= */
.vtl-faq-accordion {
  border: none;
}
.vtl-accordion-item {
  border: none;
  border-bottom: 1px solid #e4e8ef;
  background: transparent;
  margin-bottom: 0;
}
.vtl-accordion-item:first-of-type {
  border-top: 1px solid #e4e8ef;
}
.vtl-accordion-btn {
  background: transparent;
  color: var(--heading-color, #000);
  font-family: var(--heading-font, 'Montserrat', sans-serif);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 18px 40px 18px 0;
  border: none;
  box-shadow: none !important;
  position: relative;
}
.vtl-accordion-btn:not(.collapsed) {
  color: var(--vtl-acero);
  background: transparent;
}
.vtl-accordion-btn::after {
  /* Reemplaza el chevron de Bootstrap con ícono propio */
  content: "\f282"; /* bi-plus-circle */
  font-family: "bootstrap-icons";
  font-size: 1.1rem;
  color: var(--vtl-inox);
  background-image: none;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.3s;
  width: auto;
  height: auto;
}
.vtl-accordion-btn:not(.collapsed)::after {
  content: "\f282"; /* bi-dash-circle */
  color: var(--vtl-acero);
  transform: translateY(-50%);
}
.vtl-accordion-body {
  padding: 0 0 18px 0;
  font-size: 0.93rem;
  color: #555;
  line-height: 1.7;
}
.vtl-accordion-body p { margin-bottom: 10px; }
.vtl-accordion-body p:last-child { margin-bottom: 0; }

/* Lista dentro de respuestas */
.vtl-faq-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vtl-faq-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}
.vtl-faq-list li i {
  color: var(--vtl-acero);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Dirección dentro de respuesta */
.vtl-faq-address {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--vtl-cristal);
  border-left: 3px solid var(--vtl-acero);
  border-radius: 0 var(--vtl-radius) var(--vtl-radius) 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.vtl-faq-address i {
  color: var(--vtl-acero);
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* CTA al pie de las FAQ */
.vtl-faq-cta {
  background: linear-gradient(135deg, var(--vtl-cristal) 0%, #eaf4fb 100%);
  border: 1px solid rgba(26,111,160,0.15);
  border-radius: var(--vtl-radius);
  padding: 28px 32px;
}
.vtl-faq-cta h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color, #000);
  margin-bottom: 6px;
}
.vtl-faq-cta p { color: #555; }

/* =============================================
   PASOS NUMERADOS EN SIDEBAR
   ============================================= */
.vtl-step-item {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0 !important;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none !important;
  cursor: default;
  font-size: 0.87rem;
  color: #555 !important;
}
.vtl-step-item:last-child { border-bottom: none; }
.vtl-step-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--vtl-acero);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   ESCALERAS INDUSTRIALES — TIPO HEADER
   ============================================= */
.vtl-tipo-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.vtl-tipo-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--vtl-cristal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--vtl-acero);
  flex-shrink: 0;
}
.vtl-tipo-tag {
  display: inline-block;
  background: var(--vtl-acero);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}
.vtl-tipo-header h3 {
  margin: 0;
  font-size: 1.35rem;
}

/* ── Imagen del tipo ── */
.vtl-tipo-img-wrap {
  border-radius: var(--vtl-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f0f4f8;
}
.vtl-tipo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.vtl-tipo-img-wrap:hover .vtl-tipo-img {
  transform: scale(1.04);
}

/* ── Divisor entre secciones ── */
.vtl-section-divider {
  border: none;
  border-top: 2px dashed #e4e8ef;
  margin: 40px 0 0;
}

/* =============================================
   ESCALERAS — SWIPER DE PROYECTOS
   ============================================= */
.vtl-proyectos-swiper {
  padding-bottom: 50px !important;
}
.vtl-proyecto-slide {
  border: 1px solid #e4e8ef;
  border-radius: var(--vtl-radius);
  overflow: hidden;
  background: var(--surface-color, #fff);
  box-shadow: var(--vtl-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.2s;
}
.vtl-proyecto-slide:hover {
  box-shadow: 0 8px 28px rgba(26,111,160,0.14);
  transform: translateY(-3px);
}
.vtl-proyecto-slide-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f4f8;
}
.vtl-proyecto-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.vtl-proyecto-slide:hover .vtl-proyecto-slide-img img {
  transform: scale(1.05);
}
.vtl-proyecto-slide-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vtl-proyecto-slide-tag {
  display: inline-block;
  background: var(--vtl-cristal);
  color: var(--vtl-acero);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.vtl-proyecto-slide-body h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-color, #000);
}
.vtl-proyecto-slide-body p {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* =============================================
   SIDEBAR — MATERIALES GRID
   ============================================= */
.vtl-mat-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vtl-mat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: #444;
}
.vtl-mat-item i {
  font-size: 0.5rem;
  color: var(--vtl-acero);
  flex-shrink: 0;
}

/* =============================================
   SIDEBAR — ENLACE ANCHOR
   ============================================= */
.vtl-sidebar-anchor {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.vtl-sidebar-anchor:hover {
  color: var(--vtl-acero);
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 768px) {
  .vtl-proveedores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vtl-whatsapp-float {
    bottom: 70px;
    right: 15px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
  .skala-logo {
    max-height: 34px;
    border-radius: 0px;
  }
  .portfolio-filters li {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}
@media (max-width: 480px) {
  .vtl-proveedores-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .vtl-proveedor-item {
    padding: 18px 10px;
  }
}

/* ── Deep dropdown Residencial: fuerza apertura a la izquierda ─────────────
   El 3er nivel hereda el offset del 2do nivel. Se ancla con right:100%
   respecto al padre li.dropdown del 2do nivel.
   ──────────────────────────────────────────────────────────────────────── */
@media (min-width: 1200px) {

  .navmenu .dropdown .dropdown ul {
    top: 0;
    right: unset !important;
    left: calc(100% + 0px) !important;
    visibility: hidden;
    opacity: 0;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    top: 0;
    right: unset !important;
    left: calc(100% + 0px) !important;
    visibility: visible;
    opacity: 1;
  }

}

.vtl-model-img a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.vtl-model-img a::after {
  content: "\f52a"; /* bi-zoom-in */
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(26, 111, 160, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.vtl-model-img a:hover::after {
  opacity: 1;
}

/* =========================
   1. IMÁGENES REDONDEADAS
========================= */
img {
  border-radius: 12px;
}


/* =========================
   2. SLIDER HERO MOBILE FULL WIDTH
========================= */
@media (max-width: 767.98px) {

  #heroSliderMobile .col-8 {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #heroSliderMobile img {
    width: 100%;
    border-radius: 0; /* opcional: full edge-to-edge */
  }

}

@media (max-width: 767.98px) {

  #heroSliderMobile .col-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

}

@media (max-width: 1199px) {
  .navmenu .dropdown > a {
    justify-content: flex-start !important;
    gap: 8px;
  }

  .navmenu .dropdown > a .toggle-dropdown {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    line-height: 28px !important;
    margin-left: 0 !important;
    animation: pulse-arrow 1.5s ease-in-out infinite;
  }

  @keyframes pulse-arrow {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.5); }
    50%  { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(240, 165, 0, 0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(240, 165, 0, 0); }
  }

  /* Detiene la animación cuando el submenú está abierto */
  .navmenu .dropdown.active > a .toggle-dropdown {
    animation: none;
  }
}