body {
  font-family: 'Roboto', sans-serif;
  color: #312783;
}

.h1, h1 {
        font-weight: 900;
    }

section {
    padding: 40px 0;
}    
.main-nav {
  background: linear-gradient(to right, #312783, #009fe3);
  opacity: 0.75;
  transition: 0.3s;
}

#inicio {
    padding: 0px!important;
}

.text-right {
    text-align: right!important;
}

.main-nav.scrolled {
  opacity: 1;
}

.nav-link {
  color: white;
  text-transform: uppercase;
}

.navbar-brand img {
    width: 200px;
}

.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


.btn-main {
  background: #e6a444;
  color: white;
  border-radius: 50px;
  padding: 10px 30px;
    margin-top: 20px;
}
.btn-main:hover,
.btn-main:active,
.btn-main:focus {
    background-color: #2f2b86;
    color: white;
}

.product-box .btn-main {
    font-size: 12px;
}
.product-box .btn-main:hover,
.product-box .btn-main:active,
.product-box .btn-main:focus {
    background-color: #2f2b86;
    color: white;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}

.carousel-caption h1 {
    font-size: clamp(2.2rem, 3.5vw, 5rem);
    font-weight: 900;
}

.slider-arrows {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.parallax {
  padding: 40px 0;
  background-attachment: fixed;
  background-size: cover;
}

.parallax-1 {
  background-image: url('../imagenes/parallax-1.png');
}

.parallax-2 {
  background-image: url('../imagenes/parallax2.jpg');
}

.parallax-3 {
  background-image: url('../imagenes/parallax3.png');
}

.parallax-footer {
  background-image: url('../imagenes/parallax2.jpg');
  padding: 60px 0;
}

.title-line::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #e6a444;
  margin-top: 5px;
}

.title-line-center::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #e6a444;
  margin: 10px auto;
}

.highlight {
  color: #e6a444;
}

#productos .row {
    display: flex;
    flex-wrap: wrap;
}

.product-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 410px;
}
span.small {
    font-size: 14px;
}

.product-box img {
    width: 100%;
}

.contact-section {
  background: #f9f8ff;
  padding: 60px 0;
}

.contact-box {
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  min-height: 130px;
}

.icon-main {
  color: #e6a444;
  font-size: 24px;
}

.social i {
  background: #312783;
  color: white;
  padding: 10px;
  border-radius: 50%;
  margin: 0 5px;
  min-width: 37px;
}



/**********************
Ws botón redondo con tooltip ws-tooltip
***********************/
#chat-ws-redondo.ws.tooltip {
  position: fixed;
  bottom: 13px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%!important;
  cursor: pointer;
  display: block;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
          box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
  z-index: 999;
  background: #1ca550;
  padding: 8px 4px;
  opacity: 1;
}

#chat-ws-redondo.ws.tooltip img {
  padding-left: 0px;
  padding-top: 0px;
  width: 100%;
}

#chat-ws-redondo.ws.tooltip i {
  font-size: 44px;
  color: white;
}

.ws.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #1ca550;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.ws.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1ca550 transparent transparent transparent;
}

.ws.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Contacto */

a, a:hover, a:focus, a:active, .form-control:focus, .form-control:active, .form-control:hover, [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled), .btn-success.focus, .btn-success:focus, .form-select,
button:hover, button:active, button:focus, .btn-success, .btn, [type=button], [type=reset], [type=submit], button,
.btn:hover, .btn:active, .btn:focus {
    outline: 0!important;
    box-shadow: none!important;
    text-decoration:none!important;
}

textarea.form-control {    
    min-height: 140px;
    margin-bottom: 20px;
}

.no-margin {
  margin:0px!important;
}
.help-block.with-errors {
  color: #2e2f89;
  margin-top: 5px;
  }
  
  .alert-success {
  color: #fff;
  background-color: transparent;
  border-color: #f1f0f5;
  }
.alert-dismissable .close, .alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0px;
    color: white;
    font-weight: 300;
    background: black;
    border: 0;
}
  .alert {
    position: relative;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 0px solid transparent;
    border-radius: 0px;
}
  
  .text-muted {
  color: #2e2f89;
  }
  .history-text p.text-muted {
  color: #2e2f89;
  }
  .messages {background: #2e2f89; color: white;}
  
  .btn.disabled, .btn[disabled],  .btn-send, .btn-success,
  fieldset[disabled] .btn  {
  background: #e6a444;
  color: white;
  text-transform: uppercase;
  width: 165px;
  border: none;
  height: 46px;
  cursor: pointer;
  font-size: calc(12px + 0.4vw);
  opacity: 1;
  line-height: 1;
  border-radius: 50px;
  }
  .btn.disabled:hover,  .btn.disabled:active, .btn.disabled:focus, .btn-success:hover, .btn-success:active, .btn-success:focus,
  .btn[disabled]:hover, .btn[disabled]:active, .btn[disabled]:focus,
  fieldset[disabled] .btn:hover, fieldset[disabled] .btn:active, fieldset[disabled] .btn:focus,
    .btn-send:hover, .btn-send:active, .btn-send:focus
  {
    background: #e6a444;
    color: white;
    opacity: 1;
    border-radius: 50px;
    }
  
.alert-danger {
    color: black;
    background-color: #f1f0f5;
    border-color: #f1f0f5;
}
.form-group {
  margin-top:10px;
  margin-bottom: 10px;  
}
.form-group input {
      min-height: 45px;
    border-color: #e8e8e8;
}
  .d-none {
    display: none!important;
}
.nice-select.wide {
    width: 100%;
    border-radius: 0;
}
.input-group-addon {
  position: absolute;
    right: 10px;
    z-index: 1;
    top: 8px;
}

  /* Termina Contacto */

  /* ===== SLIDER MEJORADO ===== */

#slider {
    position: relative;
}

#slider,
#slider .carousel-inner,
#slider .carousel-item {
    height: 100vh;
}

.slider-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 6s ease;
}

.carousel-item.active .slider-image {
    transform: scale(1.08);
}

.carousel-caption {
    top: 50%;
    left: 10%;
    right: auto;
    transform: translateY(-50%);
    max-width: 600px;
    text-shadow: 0 0 15px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.8s ease;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
}

.carousel-caption h1 {
    font-size: clamp(2.2rem, 3.5vw, 5rem);
    font-weight: 900;
    margin-bottom: 10px;
}

.carousel-caption h2 {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 400;
    margin-bottom: 20px;
}

/* FLECHAS PERSONALIZADAS */

.slider-arrows {
    position: absolute;
    bottom: 40px;
    left: 10%;
    display: flex;
    gap: 20px;
    z-index: 20;
}

.custom-arrow {
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(0,0,0,0.3) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
    opacity: 1 !important;
}

.custom-arrow i {
    color: white;
    font-size: 26px;
    transition: all 0.3s ease;
}

.custom-arrow:hover {
    background: #e6a444 !important;
    border-color: #e6a444;
    transform: scale(1.1);
}

.custom-arrow:hover i {
    color: white;
}

/* CORRECCIONES BOOTSTRAP DEFAULT */

.carousel-control-prev,
.carousel-control-next {
    position: relative !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none !important;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    #slider,
    #slider .carousel-inner,
    #slider .carousel-item {
        height: 100vh;
    }

    .slider-image {
        background-position: 85% center;
    }

    .carousel-caption {
        left: 5%;
        max-width: 90%;
    }

    .slider-arrows {
        left: 5%;
        bottom: 25px;
    }

    .custom-arrow {
        width: 50px !important;
        height: 50px !important;
    }

    .custom-arrow i {
        font-size: 20px;
    }
    
}

/* Animaciones */

.scroll-animate {
    opacity: 0;
    transition: all 0.8s ease;
}

.fade-left {
    transform: translateX(-60px);
}

.fade-right {
    transform: translateX(60px);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateX(0);
}

/* delays automáticos */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
