/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
}

/* Colors */
:root {
  --background-color: #ffffff;
  --default-color: #000000;
  --contrast-color: #ffffff;
  --muted-color: #8FB4C2;
  --primary-color: #1e4356;
  --secondary-color: #68a4c4;
}

.light-background {
  --background-color: #f4f8fb;
}

.dark-background {
  --background-color: #1e4356;
  --default-color: #ffffff;
  --primary-color: #ffffff;
}

/*--------------------------------------------------------------
# General styling & shared classes
--------------------------------------------------------------*/
body {
  font-family: var(--default-font);
  color: var(--default-color);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: 0.3s;
}

a:hover {
  color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

.centered-items {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Sections */
section {
  padding: 50px 0;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--default-color);
  background-color: var(--background-color);
}

/* Buttons */
.btn-outline-custom {
  margin-top: 20px;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  font-size: 20px;
  color: var(--secondary-color);
  background-color: transparent;
  border: 1px solid var(--secondary-color);
}

.btn-outline-custom:hover {
  color: var(--contrast-color);
  background-color: var(--secondary-color);
}

/* Social links */
.social-links {
  list-style: none;
  display: flex;
  gap: 30px;
  text-align: center;
}

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  color: var(--default-color);
  border: 1px solid var(--default-color);
  transition: 0.3s;
}

.social-links a:hover {
  transition-duration: 0.3s;
}

.whatsapp:hover {
  background-color: #25d366;
}

.facebook:hover {
  background-color: #1877F2;
}

.instagram:hover {
  background-color: #d62976;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.social-links a:hover i {
  animation: slide-in-top 0.3s both;
}

/* Show/hide element */
.hidden-in-desktop {
  display: none;
}

.hidden-in-mobile {
  display: block;
}

@media (max-width: 1023px) {
  .hidden-in-desktop {
    display: block;
  }

  .hidden-in-mobile {
    display: none;
  }
}

/*--------------------------------------------------------------
# Section titles
--------------------------------------------------------------*/
.section-title h1 {
  margin-bottom: 80px;
  padding-bottom: 18px;
  position: relative;
  text-align: center;
  font-size: 32px;
}

.section-title h1:before {
  content: "";
  width: 160px;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
  position: absolute;
  display: block;
  background: var(--muted-color);
}

.section-title h1::after {
  content: "";
  width: 60px;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  position: absolute;
  display: block;
  background: var(--secondary-color);
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar {
  padding: 15px 0;
  color: var(--contrast-color);
  background-color: rgba(255, 255, 255, 0);
}

.navbar-menu {
  display: flex;
  justify-content: space-between;
}

.navbar-menu .sitename {
  line-height: 1;
  font-size: clamp(25px, 5vw, 30px);
  font-weight: bold;
  color: var(--contrast-color);
  font-family: var(--heading-font);
}

.navbar-menu ul li a {
  color: var(--contrast-color);
}

.navbar-menu .sitename:hover,
.navbar-menu ul li:hover>a {
  color: var(--secondary-color);
}

.scrolled .navbar {
  background-color: var(--primary-color);
}

/* Mobile navbar */
.mobile-navbar .nav-item {
  display: flex;
  align-items: center;
}

.mobile-navbar a,
.mobile-navbar i {
  font-size: 20px;
  color: var(--secondary-color);
}

.mobile-navbar i {
  margin-right: 15px;
}

.mobile-navbar ul li:hover>a,
.mobile-navbar ul li a:hover>i {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  position: relative;
  color: var(--default-color);
  background-color: var(--background-color);
}

.footer h4 {
  position: relative;
  padding-bottom: 12px;
  font-size: 16px;
}

/* Footer links */
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links ul li {
  padding: 5px 0;
}

.footer-links ul i {
  line-height: 0;
  margin-right: 3px;
  font-size: 12px;
}

.footer-links ul a {
  line-height: 1;
  color: var(--muted-color);
}

.footer-links ul a:hover {
  color: var(--secondary-color);
}

/* Copyright & credits*/
.footer .copyright {
  margin-top: 22px;
  padding: 25px 5px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid var(--default-color);
}

.footer .credits {
  margin-top: 6px;
}

.footer .credits a {
  color: var(--muted-color);
}

.footer .credits a:hover {
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#preloader:before {
  content: "";
  width: 60px;
  height: 60px;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border-radius: 50%;
  position: fixed;
  border: 6px solid var(--contrast-color);
  border-color: var(--secondary-color) transparent var(--secondary-color) transparent;
  animation: animate-preloader 1.5s linear infinite;
}

/*--------------------------------------------------------------
# Scroll top button & WhatsApp widgets
--------------------------------------------------------------*/
.fixed-widget {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  position: fixed;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
}

.fixed-widget i {
  line-height: 0;
  font-size: 24px;
  color: var(--contrast-color);
}

.scroll-top {
  visibility: hidden;
  opacity: 0;
  right: 65px;
  bottom: 15px;
  background-color: var(--secondary-color);
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--secondary-color), transparent 20%);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

.btn-whatsapp {
  right: 15px;
  bottom: 15px;
  background-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #1DA955;
}

/*--------------------------------------------------------------
# Page titles
--------------------------------------------------------------*/
.page-title {
  padding: 160px 0 80px 0;
  position: relative;
  text-align: center;
  color: var(--default-color);
  background-color: var(--background-color);
}

.page-title p {
  margin-top: 32px;
}

/*--------------------------------------------------------------
# Swiper
--------------------------------------------------------------*/
.swiper {
  padding: 10px;
}

.swiper-wrapper {
  height: auto;
  align-items: center;
}

.swiper-slide img {
  transition: transform 0.3s;
}

.swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
.carousel {
  width: 100%;
  min-height: 200px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
}

.carousel-item .content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.carousel-item .content h2 {
  margin-bottom: 30px;
  font-size: clamp(28px, 2vw, 38px);
  display: block;
}

.carousel-indicators {
  bottom: -30px;
}

.carousel .carousel-indicators li {
  cursor: pointer;
  background: var(--default-color);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.3;
  transition: 0.3s;
}

.carousel .carousel-indicators li.active {
  opacity: 1;
  background: var(--secondary-color);
}

/*--------------------------------------------------------------
# Hero section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  background-color: transparent;
}

.hero::after {
  content: "";
  width: 110%;
  height: 120%;
  left: 50%;
  top: -20%;
  z-index: 0;
  border-radius: 0 0 50% 50%;
  border-bottom: 40px solid color-mix(in srgb, var(--secondary-color) 50%, transparent);
  position: absolute;
  background: linear-gradient(to right, color-mix(in srgb, var(--background-color), transparent 100%), var(--background-color)), url("../img/congelaoriente-zacapa.webp") center top no-repeat;
  background-size: cover;
  transform: translateX(-50%) rotate(0deg);
}

@media (max-width: 1023px) {
  .hero {
    min-height: 60vh;
  }

  .hero::after {
    width: 130%;
    height: 100%;
    left: 46%;
    top: 0;
    border-bottom: 30px solid color-mix(in srgb, var(--secondary-color) 50%, transparent);
    background-size: 172%;
  }
}

/*--------------------------------------------------------------
# Services section
--------------------------------------------------------------*/
.services {
  --cyan-color: #0dcaf0;
  --teal-color: #20c997;
  --orange-color: #fd7e14;
  --red-color: #df1529;
  padding-bottom: 100px;
}

.service-item {
  height: 100%;
  padding: 40px 15px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease-in-out;
}

.service-item .icon i {
  position: relative;
  font-size: 28px;
  transition: 0.5s;
}

.service-item h3 {
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.service-item p {
  line-height: 24px;
  margin-bottom: 0;
  font-size: 15px;
}

/* Cyan */
.service-item.cyan {
  --service-color: var(--cyan-color);
}

.service-item.cyan:hover {
  border: 2px solid var(--service-color);
}

/* Teal */
.service-item.teal {
  --service-color: var(--teal-color);
}

.service-item.teal:hover {
  border: 2px solid var(--service-color);
}

/* Orange */
.service-item.orange {
  --service-color: var(--orange-color);
}

.service-item.orange:hover {
  border: 2px solid var(--service-color);
}

/* Red */
.service-item.red {
  --service-color: var(--red-color);
}

.service-item.red:hover {
  border: 2px solid var(--service-color);
}

/* All colors */
.service-item.cyan .icon,
.service-item.orange .icon,
.service-item.teal .icon,
.service-item.red .icon {
  background-color: color-mix(in srgb, var(--service-color) 10%, var(--background-color) 95%);
  border: 2px solid var(--service-color);
}

.service-item.cyan .icon i,
.service-item.orange .icon i,
.service-item.teal .icon i,
.service-item.red .icon i {
  color: var(--service-color);
}

.service-item.cyan:hover .icon,
.service-item.orange:hover .icon,
.service-item.teal:hover .icon,
.service-item.red:hover .icon {
  background-color: var(--service-color);
}

.service-item.cyan:hover .icon i,
.service-item.orange:hover .icon i,
.service-item.teal:hover .icon i,
.service-item.red:hover .icon i {
  border: none;
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Features section
--------------------------------------------------------------*/
.feature-item,
.feature-item-desktop {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f4f8fb;
}

.feature-item-mobile {
  display: none;
}

.feature-item ul {
  list-style: none;
  padding-inline: 18px;
}

.feature-item li {
  display: flex;
  align-items: center;
  font-size: 20px;
}

.feature-item li i {
  margin-right: 10px;
  font-size: 25px;
  color: var(--secondary-color);
}

.feature-item-desktop p,
.feature-item-mobile p {
  padding: 0 25px;
  text-align: center;
  font-size: clamp(18px, 4vw, 22px);
  color: var(--primary-color);
}

@media (max-width: 1023px) {
  .feature-item {
    padding: 40px 5%;
  }

  .feature-item-desktop {
    display: none;
  }

  .feature-item-mobile {
    margin: 0;
    padding: 40px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f4f8fb;
  }
}

@media (max-width: 767px) {
  .feature-item li {
    margin-top: 15px;
  }

  .feature-item-mobile {
    padding: 40px 4px;
  }
}

/*--------------------------------------------------------------
# Stats section
--------------------------------------------------------------*/
.stats-item {
  width: 100%;
  height: 100%;
  padding: 0 30px 30px 30px;
  text-align: center;
}

.stats-item span {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary-color);
}

.stats-item p {
  font-size: 18px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Brands section
--------------------------------------------------------------*/
.brand-title {
  width: 60%;
  margin: 0 auto 25px auto;
}

@media (max-width: 1023px) {
  .brand-title {
    width: 90%;
  }
}

/*--------------------------------------------------------------
# Branches section
--------------------------------------------------------------*/
.branch-item {
  height: 100%;
  padding: 0 30px 30px 30px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.branch-item img {
  margin-top: -110px;
  transition: transform 0.3s;
}

.branch-item:hover img {
  transform: scale(1.1);
}

.branch-item .content {
  margin-top: -20px;
}

.branch-item .content h2 {
  margin-bottom: 24px;
}

.branch-item .content i {
  line-height: 1.2;
  margin-right: 8px;
  font-size: 20px;
  color: var(--primarry-color);
}

@media (max-width: 1023px) {
  .branch-item {
    padding: 0 15px 15px 15px;
  }
}

/*--------------------------------------------------------------
# Products section
--------------------------------------------------------------*/
.product-item {
  overflow: hidden;
  position: relative;
}

.product-item:hover .product-info {
  opacity: 1;
  cursor: pointer;
}

.product-item img {
  transition: transform 0.3s;
}

.product-item:hover img {
  transform: scale(1.1);
}

.product-item .product-info {
  opacity: 0;
  padding: 15px;
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  transition: all ease-in-out 0.3s;
}

.product-item .product-info h4 {
  left: 0;
  right: 0;
  bottom: 10px;
  position: absolute;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.product-item .product-info i {
  top: 50%;
  left: 50%;
  line-height: 1.2;
  position: absolute;
  font-size: 40px;
  color: var(--contrast-color);
  transition: 0.3s;
  transform: translate(-50%, -50%);
}

.product-item .product-info i:hover {
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Contact section
--------------------------------------------------------------*/
.contact-item {
  height: 100%;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background-color: var(--background-color);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.contact-item:hover {
  transform: scale(1.02);
}

.contact-item i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: var(--secondary-color);
  border: 2px dotted var(--secondary-color);
}

.contact-item h2 {
  margin: 15px 0;
  font-size: 18px;
  color: var(--default-color);
}

.contact-item a {
  margin-bottom: 0;
  padding: 0;
  font-size: 14px;
}