/*
Theme Name: Wired IT Theme - Landing GRUBA
Author: Wired IT
Description: Template Wired IT 2025 (versión optimizada landing)
Version: 1.0
*/

/* ===========================
   1. VARIABLES & BASE
   =========================== */

:root {
  --main-color: #0d6efd;
  --second-color: #0d6efd;

  --font-size-titulo-Desktop: 35px;
  --font-size-titulo-Mobile: 30px;
  --font-size-subtitulo-Desktop: 32px;
  --font-size-subtitulo-Mobile: 16px;
  --font-size-texto-Desktop: 16px;
  --font-size-texto-Mobile: 14px;

  --custom-rojo: #ff0054;
  --custom-blanco: #ffffff;
  --custom-azul: #486290;
  --custom-negro: #444444;

  --fuente-Montserrat: "Montserrat", sans-serif;
  --fuente-Playfair-Display: "Playfair Display", serif;
  --fuente-Raleway: "Raleway", sans-serif;

  --custom-regular-font: 400;
  --custom-semibold-font: 600;
  --custom-bold-font: 700;
  --custom-black-font: 900;
  --custom-italic-font: italic;
}

/* Base tipografía / reset suave */

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  position: relative;
  font-size: 1rem;
  margin: 0;
}

h1, .h1 { font-size: 2rem; }
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 0.75rem; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
}

a,
a:hover {
  text-decoration: none;
}

ul, ol, dl {
  margin-bottom: 0;
  padding-left: 0;
}

.section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.text-justify {
  text-align: justify;
}

/* ===========================
   2. UTILIDADES TIPOGRAFÍA / COLOR
   =========================== */

.custom-montserrat { font-family: var(--fuente-Montserrat); }
.custom-regular { font-weight: var(--custom-regular-font); }
.custom-semibold { font-weight: var(--custom-semibold-font); }
.custom-bold { font-weight: var(--custom-bold-font); }
.custom-black { font-weight: var(--custom-black-font); }
.custom-italic { font-style: var(--custom-italic-font); }

.custom-titulo {
  font-size: var(--font-size-titulo-Mobile);
}
@media (min-width: 992px) {
  .custom-titulo { font-size: var(--font-size-titulo-Desktop); }
}

.custom-subtitulo {
  font-size: var(--font-size-subtitulo-Mobile);
}
@media (min-width: 992px) {
  .custom-subtitulo { font-size: var(--font-size-subtitulo-Desktop); }
}

.custom-texto {
  font-size: var(--font-size-texto-Mobile);
}
@media (min-width: 992px) {
  .custom-texto { font-size: var(--font-size-texto-Desktop); }
}

.custom-color-blanco { color: var(--custom-blanco); }
.custom-color-negro { color: var(--custom-negro); }
.custom-color-azul { color: var(--custom-azul); }

/* helpers posicionamiento */

.custom-relative { position: relative; }
.custom-absolute { position: absolute; }

.main-color { color: var(--main-color); }
.second-color { color: var(--second-color); }

.generic-border {
  border-radius: 3px;
}

/* ===========================
   3. HEADER & NAVBAR
   =========================== */

header {
  position: fixed;
  top: 0;
  z-index: 2;
  background-color: transparent;
  transition: background-color ease 0.6s;
}

header.white-background {
  background-color: var(--custom-blanco) !important;
}
header.white-background li.nav-item a.nav-link{color: black !important;}
header.white-background li.nav-item:last-child a.nav-link{color: white !important;}
/* Logo */

.navbar-brand img {
  width: 100% !important;
  max-width: 60px;
  height: auto;
}

header.white-background .navbar-brand img {
  filter: invert(100%);
}

/* Navbar colapsable */

.navbar-collapse {
  position: absolute;
  width: 260px;
  top: 61px;
  right: 0;
  z-index: 3;
  background: var(--custom-blanco);
  padding: 0;
  text-align: center;
}

header.white-background .navbar-collapse {
  background: var(--custom-blanco);
}

@media (min-width: 992px) {
  .navbar-collapse,
  header.white-background .navbar-collapse {
    position: relative;
    width: auto;
    top: initial;
    right: initial;
    background: transparent;
  }

  a.navbar-brand {
    margin-left: 20px !important;
    margin-right: 0 !important;
  }

  body header.container-fluid {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }
}

/* Altura full en desktop para el nav-wrapper */

@media (min-width: 992px) {
  .h-lg-100 { height: 100%; }
}

/* Items de menú */

ul.navbar-nav {
  margin-bottom: 0 !important;
}

a.nav-link {
  font-size: var(--font-size-texto-Mobile);
}
@media (min-width: 992px) {
  a.nav-link { font-size: var(--font-size-texto-Desktop); }
}

header li.nav-item {
  transition: color ease 0.6s;
}

@media (min-width: 992px) {
  li.nav-item {
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  li.nav-item:last-child {
    margin-left: 25px;
  }
}

header li.nav-item a {
  color: var(--custom-blanco);
  font-family: var(--fuente-Montserrat);
  border-bottom: 3px solid transparent;
  transition: border ease 0.6s, color ease 0.6s;
}

/* En desktop el menú sobre el hero va en blanco */

@media (min-width: 992px) {
  header li.nav-item a {
    color: var(--custom-blanco);
  }
}

li.nav-item:hover a,
header.white-background li.nav-item:hover a {
  color: var(--custom-rojo);
  border-bottom: 3px solid var(--custom-rojo);
}

/* Botón “¡Necesito una grúa!” */

li.button-navbar,
header.white-background li.button-navbar {
  padding: 0;
}

header.white-background li.button-navbar a,
li.button-navbar a {
  color: var(--custom-blanco);
  background-color: var(--custom-rojo);
  border-bottom: 1px solid transparent;
  margin: 0;
  padding: 10px 20px !important;
  border-bottom-left-radius: 25px;
  text-decoration: none !important;
  height: max-content;
  transition: background-color 0.6s ease;
}

@media (min-width: 576px) {
  header.white-background li.button-navbar a,
  li.button-navbar a {
    padding: 10px 30px !important;
  }
}

li.button-navbar:hover a,
header.white-background li.button-navbar:hover a {
  background-color: var(--custom-azul);
}

/* Ícono en botón */

.navbar-button-image {
  margin-bottom: 13px;
}

/* Toggler icon (hamburguesa blanca / negra) */

.navbar-toggler-icon:nth-child(1) { display: block; }
.navbar-toggler-icon:nth-child(2) { display: none; }

header.white-background .navbar-toggler-icon:nth-child(1) { display: none; }
header.white-background .navbar-toggler-icon:nth-child(2) { display: block; }

/* Fix menú móvil superpuesto */

@media (max-width: 991px) {
  .navbar-collapse {
    top: 50px;
    background: #ffffff;
    padding: 10px;
  }
  header li.nav-item a{color: black;}
  header li.nav-item:last-child a{color: white;}
}

/* ===========================
   4. HERO / BANNER PRINCIPAL
   =========================== */

#home {
  position: relative;
}
/* Contenedor del texto sobre el banner */
.navbar-toggler{border: none;}
.custom-absolute-position {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 84%;
  min-height: 155px;
  padding: 90px 0;
}

@media (min-width: 450px) {
  .custom-absolute-position { min-height: 459px; }
}

@media (min-width: 576px) {
  .custom-absolute-position {
    min-height: 350px;
    width: calc(100% - 40px);
  }
}

@media (max-width: 625px)
{
  #home .carousel-item picture img{min-height: 700px;}
}
.custom-min-height-width { height: min-content; }

@media (min-width: 1000px) {
  .custom-min-height-width { width: 580px !important; }
}

.logo-slider {
  width: 100% !important;
  max-width: 400px !important;
}

/* Botones WhatsApp hero */

#banner-slider-testimoniales .carousel-control-prev-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#banner-slider-testimoniales .carousel-control-next-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath d='M4.646 1.646a.5.5 0 0 0 0 .708L10.293 8l-5.647 5.646a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708l-6-6a.5.5 0 0 0-.708 0z'/%3e%3c/svg%3e");
}

.custom-button-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fuente-Montserrat);
  color: var(--custom-blanco);
  padding: 10px 10px 10px 35px;
  width: 122px;
  background-image: url("/assets/images/boton-whats.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 122px 34px;
  border-radius: 999px;
  animation: wa-glow 1s infinite;
  transition: transform 0.25s ease;
}

/* .custom-button-green:hover {
  color: var(--custom-blanco);
} */

.custom-button-green:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  animation-play-state: paused;
  color: #fff !important;
}

@keyframes wa-glow {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .custom-button-green { animation: none; }
}

.wa-sticky-wrapper {
  position: sticky;
  top: 20px;       /* qué tan abajo del viewport se queda pegado */
  z-index: 10;     /* que no quede tapado por otros elementos */
}

.why-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.why-icon {
  font-size: 36px;
  color: #f5c518; /* o tu color principal */
}

.why-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-text {
  font-size: 15px;
  color: #555;
}

.custom-green-button-margin {
  margin-left: 20px !important;
}

@media (min-width: 450px) {
  .custom-button-green {
    padding: 10px 20px 10px 45px;
    width: 149px;
    background-size: 149px 41px;
  }
}

@media (min-width: 576px) {
  .custom-button-green {
    width: 185px;
    padding: 10px 20px 10px 40px;
    background-size: 170px 41px;
  }
}

@media (min-width: 992px) {
  .custom-button-green {
    background-size: 180px 44px;
  }
}

/* Título adaptado al banner */

.custom-titulo-slider {
  font-size: var(--font-size-texto-Mobile);
}
@media (min-width: 450px) {
  .custom-titulo-slider { font-size: 21px; }
}
@media (min-width: 768px) {
  .custom-titulo-slider { font-size: var(--font-size-titulo-Desktop); }
}

/* ===========================
   5. TESTIMONIALES
   =========================== */

#testimoniales {
  background: #f5f7fa;
  margin: 0 0 50px 0;
  padding: 50px 0;
}

/* Ajuste para que no se vea la sombra cortada */
#testimoniales .carousel-item {
  overflow: hidden;
}

/* Flechas del carrusel */

button.carousel-control-prev,
button.carousel-control-next {
  width: 10%;
}

/* Indicadores (si los habilitas con .testimonial-indicators) */

.testimonial-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #c4c9d1;
  border: none;
  margin: 0 4px;
}

.testimonial-indicators .active {
  background-color: #00b050;
}

/* Tarjeta testimonial */

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 26px 24px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.7s ease;
    opacity: 0;
    transform: translateY(20px);
    margin: 20px 0;
}





/* Animación al estar activo el slide */

.carousel-item.active .testimonial-card {
  opacity: 1;
  transform: translateY(0);
}

/* Hover */

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/* Nombre */

.testimonial-name {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Texto */

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 18px;
}

/* Estrellas */

.testimonial-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.testimonial-stars i {
  font-size: 1.2rem;
  color: #ffb400;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}

/* Responsive testimonios */

@media (max-width: 575.98px) {
  .testimonial-card {
    padding: 22px 18px 20px;
  }
  .testimonial-text {
    font-size: 0.98rem;
  }
}

/* ===========================
   6. TRASLADO DE VEHÍCULOS
   =========================== */

.custom-list-regular {
  list-style: none;
  padding-left: 0;
}

.custom-container-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: fit-content;
  margin-top: 20px;
}

.custom-container-buttons a {
  margin-bottom: 20px;
}

@media (min-width: 576px) {
  .custom-container-buttons {
    justify-content: flex-start;
  }
  .custom-container-buttons a:nth-child(2) {
    margin-left: 20px;
  }
}

@media (min-width: 768px) {
  .custom-container-buttons a:nth-child(2) {
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .custom-container-buttons a:nth-child(2) {
    margin-left: 20px;
  }
}

.custom-container-images-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.custom-container-images-gallery img {
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .custom-container-images-gallery img {
    width: 48%;
  }
}

/* ===========================
   7. AUXILIO VIAL
   =========================== */
/* Solo se apoya en utilidades existentes; el fondo gris va inline en el HTML */

/* ===========================
   8. FOOTER
   =========================== */

section#footer-top {
  background-image: url("/assets/images/section/footer/footer.jpg");
  background-position: center 100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
}

@media (min-width: 768px) {
  section#footer-top {
    padding: 50px 24px;
  }
}

/* Listas con ícono circular */

.custom-bullets {
  list-style: none;
  padding-left: 0;
}

.custom-bullets li {
  position: relative;
  padding-left: 60px;
  text-align: justify;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .custom-bullets li {
    padding-left: 70px;
    margin-bottom: 58px;
  }
}

.custom-bullets li::before {
  content: "";
  width: 50px;
  height: 50px;
  position: absolute;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Lista de datos de contacto */

.custom-icon-list-footer {
  list-style: none;
  width: 100%;
}

@media (min-width: 768px) {
  .custom-icon-list-footer {
    padding-left: 3px;
    margin-top: 18px;
  }
}

@media (min-width: 992px) {
  .custom-icon-list-footer {
    width: 50%;
  }
}

.custom-icon-list-footer li,
.footer-links {
  text-decoration: none;
  padding-left: 35px;
  transition: color 0.6s ease;
}

/* Iconos específicos */

.custom-icon-list-footer li:nth-child(2)::before {
  background-image: url("/assets/images/icons/telefono.svg");
}

.custom-icon-list-footer li:nth-child(3)::before {
  background-image: url("/assets/images/icons/whats.svg");
}

.custom-icon-list-footer li:nth-child(4)::before {
  background-image: url("/assets/images/icons/correo.svg");
}

/* Correos pequeños en móvil */

ul.custom-correo-center li a {
  font-size: 14px !important;
}

@media (min-width: 450px) {
  ul.custom-correo-center li a {
    font-size: var(--font-size-texto-Mobile) !important;
  }
}

@media (min-width: 992px) {
  .custom-correo-center {
    font-size: var(--font-size-texto-Desktop) !important;
  }
}

@media (min-width: 768px) {
  .custom-bullets li::before {
    width: 60px;
    height: 60px;
  }
}

/* Hover de links de contacto */

.custom-icon-list-footer li a:hover,
.footer-links:hover {
  color: var(--custom-rojo);
}

.custom-padding-footer {
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 768px) {
  .custom-padding-footer {
    padding-left: 21px;
    padding-right: 20px;
  }
}

/* Caja de formulario en footer */

.footer-form .box-contact {
  color: var(--custom-blanco);
  background-color: rgba(0, 0, 0, 0.4);
  padding: 25px !important;
  border-radius: 5px;
}

/* Footer bottom */

footer #footer-bottom {
  background-color: #000;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer #footer-bottom span,
footer #footer-bottom a,
footer #footer-bottom p {
  color: #ffffff;
}

/* ===========================
   9. FORMULARIOS (CONTACTO)
   =========================== */

.form-control {
  color: var(--custom-negro);
  font-family: var(--fuente-Montserrat);
  font-weight: 400 !important;
  font-style: italic !important;
  font-size: var(--font-size-texto-Desktop);
}

/* Placeholders sin transformaciones raras */

::placeholder,
::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  text-transform: none;
}

/* Estados de envío */

.sendmail_form .sendmail_ajax_loader {
  display: none;
}

.sendmail_form .sendmail_result {
  display: none;
  margin-bottom: 0;
}

.faq-section .accordion-button {
  font-size: 1.05rem;
}

.faq-section .accordion-button:not(.collapsed) {
  background-color: #000;
  color: #fff;
}

.faq-section .accordion-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #e9ecef;
}


/* ===========================
   10. OTROS / UTILIDADES
   =========================== */

/* Chat flotante (por si reactivas los botones) */

.chat-whatsapp,
.chat-facebook {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 40px;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  z-index: 999;
}

.chat-whatsapp { bottom: 40px; }
.chat-facebook { bottom: 123px; }

.my-chat { margin-top: 22px; }

/* Breadcrumb genérico (si algún día lo usas) */

#breadcrumb {
  background: #fbfbfb;
}
