/* ====== Global ====== */

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 10px;
}

::-webkit-scrollbar-corner {
  border: none;
  background: none;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(61, 60, 66);
  border-radius: 3px;
  cursor: default;
}

::-webkit-scrollbar-track {
  background-color: rgb(18, 18, 20);
  border: none;
  cursor: pointer;
}

:root {
  --red-500: #dc3545;
  --red-600: #b02a37;
  --red-700: #842029;
  --red-800: #58151c;
  --red-900: #2c0b0e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  background: var(--gray-200);
  font-family: "Poppins", sans-serif;
}

header,
main,
footer {
  width: 100%;
  margin: 0 auto;
}

/* ====== Utilidades ====== */

#btn-back-to-top {
  display: none;
  position: fixed;
  bottom: 3rem;
  right: 1rem;
  z-index: 50;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0 0.4rem;
  background: transparent;
  transition: all 0.3s ease-in-out;
}

#btn-back-to-top i {
  font-size: 2.5rem;
  color: var(--red-700);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

p {
  margin: 0;
  padding: 0;
  font-weight: 300;
}

i {
  font-size: 1.7rem;
  margin: 0;
  padding: 0;
  color: black;
}

a {
  color: black;
  text-decoration: none;
  font-size: 0.8rem;
}

/* ====== Header ====== */

header {
  background: var(--gray-200);
  z-index: 1000;
}

.header-divider {
  border-bottom: 1px solid var(--gray-500);
}

.u-header {
  height: 2.5rem;
  max-width: 90rem;
}

.u-header-contact i,
.u-header-contact span {
  font-size: 0.8rem;
  font-weight: 300;
}

.u-header-contact span:hover {
  font-weight: 400;
  cursor: pointer;
}

.u-header-links i {
  font-size: 1.4rem;
}

.u-header-links span {
  font-weight: 300;
}

.u-header-links span:hover {
  font-weight: 400;
}

.d-header {
  max-width: 90rem;
}

.navbar-brand img {
  width: 3rem;
}

.navbar .wpp-btn {
  border-color: green;
  color: green;
  transition: all 0.5s ease-in-out;
  background-color: transparent;
}

.navbar .wpp-btn:hover {
  border-color: white;
  color: white;
  background-color: green;
}

.navbar .shop-btn {
  transition: all 0.5s ease-in-out;
  background-color: transparent;
}

.navbar .shop-btn:hover {
  border-color: black;
  background-color: var(--gray-300);
}

.navbar .system-btn {
  transition: all 0.5s ease-in-out;
  background-color: transparent;
}

.navbar .system-btn:hover {
  border-color: black;
  background-color: var(--gray-300);
}

.dropdown-item.active {
  background-color: var(--red-600);
}

/* ====== Main ====== */

/* ==== Box-1 ==== */
.box-1 {
  z-index: 0;
}

.box-1 div.carousel {
  border-bottom: 1rem solid var(--red-700);
}

.box-1 .d-md-block {
  display: block !important;
}

.box-1 .carousel-item {
  max-height: 35rem;
}

.box-1 .carousel-item img {
  object-fit: cover;
  object-position: center;
}

.box-1 div.carousel-caption {
  margin-bottom: 10rem;
  background-color: rgba(0, 0, 0, 0.35);
  max-width: fit-content;
  padding: 1.5rem 1rem;
  border-radius: 0.5rem;
}

/* ==== Box-2 ==== */

.box-2 {
  height: 100%;
  background: var(--gray-200);
  padding-bottom: 2rem;
  z-index: 0;
}

.box-2 div.card {
  width: 100%;
  max-width: 20rem;
  border: none;
  z-index: 10;
  background: var(--gray-100);
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 6px 6px 19px 1px var(--gray-700);
  height: 100%;
}

.box-2 .card-body {
  color: var(--gray-800);
  background-image: linear-gradient(
    135deg,
    var(--gray-100) 50%,
    var(--red-800) 50%
  );
  background-size: 300% 100%; /* Make background wider than container */
  background-position: left bottom;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.box-2 div.card:hover .card-body {
  background-position: right top;
  color: var(--gray-100) !important;
}

.box-2 .card-img-box-2 {
  filter: brightness(30%);
}

.box-2 div.card:hover .card-img-box-2 {
  filter: brightness(100%);
  transform: scale(1.1);
}

.box-2 .card-img-top {
  transition: all 0.5s ease-in-out;
}

.box-2 div.container-fluid {
  margin-top: -8rem;
}

.box-2 .card-title {
  font-weight: 600;
}

.box-2 .card-text {
  text-align: justify;
  font-size: 0.9rem;
  font-weight: 400;
}

/* ==== Box-3 ==== */

.box-3 {
  height: 100%;
  padding: 3rem 0;
  background: var(--gray-300);
}

.box-3 div.container-fluid {
  height: 100%;
}

.box-3 .about-card-img {
  border-radius: 0 100% 100% 100%;
  padding: 1rem;
  width: 100%;
  transition:
    filter 0.3s ease-in-out,
    padding 0.3s ease-in-out;
}

.box-3 .about-card-img:hover {
  filter: brightness(115%);
  padding: 0;
}

.box-3 div.col.text-end {
  width: 100%;
  max-width: 35rem;
  padding-right: 1rem;
}

.box-3 div.col.text-start {
  width: 100%;
  max-width: 35rem;
  padding-left: 1rem;
}

.box-3 div.col.text-start h5 {
  color: var(--red-700);
  font-weight: 400;
  margin: 0;
  width: 100%;
}

.box-3 div.col.text-start h1 {
  color: var(--gray-800);
  font-weight: 600;
  padding-bottom: 1rem;
  margin: 0;
  width: 100%;
}

.box-3 div.col.text-start p {
  color: var(--gray-800);
  font-weight: 300;
  padding-top: 1rem;
  text-align: justify;
  width: 100%;
}

.box-3 div.separator {
  min-height: 1px;
  max-height: 1px;
  min-width: 100%;
  max-width: 100%;
  background-color: var(--gray-500);
}

/* ==== Box-4 ==== */

.box-4 {
  background: var(--gray-200);
}

.box-4 div.container-fluid {
  width: 100%;
  max-width: 70rem;
  height: 100%;
}

.box-4 .container-fluid img {
  width: 100%;
  max-width: 8rem;
}

.box-4 div.col {
  padding: 0;
  max-width: fit-content;
  transition: transform 0.3s ease-in-out;
}

.box-4 div.col:hover {
  transform: scale(1.2);
}

/* ==== Box-5 ==== */

.box-5 {
  background: radial-gradient(var(--red-800) 0%, var(--red-900) 70%);
  height: 100%;
  padding: 2rem 0;
  z-index: 0;
}

.box-5 div.container-fluid {
  width: 100%;
  max-width: 90rem;
  height: 100%;
}

.box-5 h3 {
  text-align: center;
  color: var(--red-500);
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  max-width: 40rem;
  width: fit-content;
}

.box-5 h1 {
  text-align: center;
  color: var(--gray-100);
  margin: 0;
  text-transform: capitalize;
  font-weight: 700;
  font-size: 3rem;
  width: fit-content;
  max-width: 50rem;
}

.box-5 div.col {
  padding-top: calc(var(--bs-gutter-x) * 0.25);
  padding-bottom: calc(var(--bs-gutter-x) * 0.25);
}

.box-5 div.card {
  width: 100%;
  max-width: 100%;
  border: none;
  overflow: hidden;
  border-radius: 3rem;
}

.box-5 div.card:hover {
  cursor: pointer;
}

.box-5 div.card:hover .card-img-box-5 {
  filter: brightness(115%);
  transform: scale(1.05);
}

.box-5 .card-img-box-5 {
  transition: all 0.5s ease-in-out;
}

.box-5 .card-body {
  padding-bottom: 2rem;
  background: var(--gray-200);
  z-index: 1;
}

.box-5 .bx5-card-title {
  transition: all 0.5s ease-in-out;
}

.box-5 div.card:hover .bx5-card-title {
  color: var(--red-700);
}

.box-5 .bx5-card-text {
  transition: all 0.5s ease-in-out;
}

.box-5 div.card:hover .bx5-card-text {
  color: var(--gray-900);
}

.box-5 .card-title {
  text-align: center;
  color: var(--red-600);
  font-weight: 600;
  font-size: 1.2rem;
}

.box-5 .card-text {
  text-align: center;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 400;
}

.box-5 h2 {
  color: var(--gray-100);
  font-size: 1.5rem;
}

.box-5 button {
  font-size: 1.2rem;
}

.box-5 button span {
  transition: color 0.15s ease-in-out;
}

.box-5 .cs-btn {
  background: var(--red-600);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 20rem;
  border-style: dotted;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  transition: all 0.5s ease-in-out;
}

.box-5 .cs-btn:hover {
  transform: scale(1.1);
  background: var(--red-700);
}

/* ====== Box-6 ====== */

.box-6 {
  background: var(--red-900);
  padding: 0;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.box-6 .b6-header {
  max-width: 75rem;
  padding: 1rem;
}

.box-6 .b6-header h3 {
  color: var(--red-600);
  text-transform: uppercase;
  font-size: 1.2rem;
}

.box-6 .b6-header h1 {
  color: var(--gray-100);
  font-weight: 600;
  font-size: 2.8rem;
}

.box-6 .b6-header p {
  color: var(--gray-300);
  padding-top: 0.8rem;
  font-size: 1.2rem;
}

.box-6 .b6-body {
  max-width: 73rem;
}

.box-6 .info-box {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-600);
  border-bottom: 1px solid var(--gray-600);
  margin-top: -1px;
}

.box-6 .info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 0;
}

.box-6 .info-box:hover::before {
  opacity: 0.15;
  cursor: pointer;
}

.box-6 .info-box-body {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  color: var(--gray-600);
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

.box-6 .info-box:hover .info-box-body {
  padding: 0 2.5rem;
  color: var(--gray-100);
}

.box-6 .info-box-title {
  width: 100%;
}

.box-6 .info-box-title h1 {
  width: fit-content;
  font-size: 2rem;
}

.box-6 .info-box-text {
  width: 100%;
  max-width: 25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.box-6 .info-box-text p {
  max-width: 17rem;
  font-weight: 200;
}

.box-6 .info-box-text i {
  color: var(--gray-600);
  width: 3rem;
  height: 3rem;
  text-align: center;
  align-content: center;
  border: 1px solid var(--gray-600);
  background-image: linear-gradient(
    135deg,
    var(--red-700) 50%,
    var(--red-800) 50%
  );
  background-size: 500% 100%; /* Make background wider than container */
  background-position: left;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.box-6 .info-box:hover .info-box-text i {
  color: var(--gray-100);
  border-color: var(--gray-100);
  background-position: right;
  background-size: 400% 100%;
}

.box-6 .info-box-bg-1::before {
  background-image: url("../img/bg-info-box1.jpg");
}

.box-6 .info-box-bg-2::before {
  background-image: url("../img/bg-info-box2.jpg");
}

.box-6 .info-box-bg-3::before {
  background-image: url("../img/bg-info-box3.jpg");
}

.box-6 .info-box-bg-4::before {
  background-image: url("../img/bg-info-box4.jpg");
}

/* ====== Footer ====== */

footer {
  padding: 1.5rem 0;
  border-top: 3px solid var(--red-600);
}

.u-footer {
  max-width: 90rem;
  margin: 0 auto;
}

.u-footer .container-fluid {
  max-width: 90rem;
}

.u-footer .footer-logo {
  max-width: 7rem;
  margin-left: -0.8rem;
}

.u-footer .footer-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.u-footer .footer-title span {
  color: var(--red-700);
  font-weight: 600;
}

.u-footer .footer-text {
  text-align: justify;
  margin-bottom: 2rem;
}

.u-footer .footer-link {
  height: fit-content;
}

.u-footer .footer-link:hover span.ms-1 {
  color: var(--gray-900);
}

.u-footer .footer-link i {
  color: var(--red-700);
}

.u-footer .footer-col-contact .footer-link i {
  color: var(--red-700);
  font-size: 0.9rem;
}

.u-footer .footer-col-contact .footer-link span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.5s ease-in-out;
}

.u-footer .footer-col-links .footer-link {
  margin-bottom: 3rem;
}

.u-footer .footer-col-links .footer-link i {
  color: var(--red-700);
  font-size: 1.2rem;
}

.u-footer .footer-col-links .footer-link span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.5s ease-in-out;
}

.u-footer .footer-col-links .footer-link:hover span.ms-1 {
  color: var(--gray-900);
  margin-left: 1rem !important;
}

.d-footer {
  margin-top: 1rem;
}

.d-footer p {
  font-size: 0.8rem;
}

/* ====== Mobile ====== */

@media (max-width: 991px) {
  html {
    font-size: 87.5%;
  }

  .u-header {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }

  .box-2 div.col {
    margin-bottom: 1.5rem;
  }

  .box-2 div.card {
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
  }

  .box-2 div.card img {
    width: 100%;
  }

  .box-4 div.row {
    justify-content: space-evenly !important;
    padding: 0 !important;
  }

  .box-4 div.col {
    padding: 0 1rem !important;
  }

  .box-6 .info-box::before {
    opacity: 0.15;
  }

  .box-6 .info-box:hover .info-box-body {
    padding: 0 1rem;
  }

  .box-6 .info-box-body {
    color: var(--gray-100);
  }

  .box-6 .info-box-text i {
    color: var(--gray-100);
    border-color: var(--gray-100);
    background-position: right;
    background-size: 400% 100%;
  }
}

@media (max-width: 767px) {
  .box-1 div.carousel-caption {
    margin-bottom: 0;
  }

  .box-2 {
    height: 100%;
  }

  .box-2 div.card {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
  }

  .box-2 div.container-fluid {
    margin: 0;
  }

  .box-3 {
    padding: 0;
  }

  .box-3 div.row {
    flex-direction: column;
  }

  .box-3 .about-card-img {
    max-height: 20rem;
    width: fit-content;
    max-width: 100%;
  }

  .box-3 div.col.text-end {
    text-align: center !important;
    padding-top: 2rem;
  }

  .box-3 div.col.text-start {
    max-width: 100%;
    padding: 2rem 0.5rem;
  }

  .box-5 h3 {
    font-size: 1rem;
  }

  .box-5 h1 {
    font-size: 2rem;
  }

  .box-6 .b6-header {
    padding-bottom: 2rem !important;
  }

  .box-6 .b6-header h3 {
    font-size: 1rem;
    margin: 0;
  }

  .box-6 .b6-header h1 {
    font-size: 2rem;
  }

  .box-6 .b6-header p {
    padding-top: 0.5rem;
    font-size: 1rem;
  }

  .box-6 .info-box::before {
    opacity: 0.15;
  }

  .box-6 .info-box-body {
    flex-direction: column;
    padding: 0 1rem;
    color: var(--gray-100);
  }

  .box-6 .info-box-title {
    display: flex;
    justify-content: center;
  }

  .box-6 .info-box-title h1 {
    text-align: center;
  }

  .box-6 .info-box-text {
    flex-direction: column;
  }

  .box-6 .info-box-text p {
    text-align: center;
  }

  .box-6 .info-box-text i {
    margin-top: 1rem;
    color: var(--gray-100);
    border-color: var(--gray-100);
    background-position: right;
    background-size: 400% 100%;
  }

  .u-footer {
    padding-bottom: 1rem;
  }

  .u-footer .container-fluid {
    max-width: 30rem;
  }

  .u-footer .footer-logo {
    margin: 0;
  }

  .u-footer .row {
    text-align: center;
  }

  .u-footer .col {
    margin-top: 1.5rem;
  }

  .u-footer .footer-title {
    margin-bottom: 0.2rem;
  }

  .u-footer .footer-text {
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575px) {
  .box-6 .b6-header h3 {
    text-align: center;
  }

  .box-6 .b6-header h1 {
    text-align: center;
  }

  .box-6 .b6-header p {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
