@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap");

/* Reset styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Font variables */
:root {
  --font-montserrat: "Montserrat", sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* Friko brand colors */
  --azul-friko: #001689;
  --rojo-friko: #e1251b;
  --amarillo-friko: #ffd100;
  --texto-riko: #383838;
}

/* Basic resets */
html {
  font-size: 90%;
}

body {
  font-family: "Montserrat" !important;
  line-height: 1.6;
  font-size: 1.6rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none !important;
  color: inherit importat !important;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* Friko custom container */
.container-friko {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Friko text color classes */
.text-azul-friko {
  color: var(--azul-friko);
  font-family: "Montserrat" !important;
}

.text-rojo-friko {
  color: var(--rojo-friko);
  font-family: "Montserrat" !important;
}

.text-amarillo-friko {
  color: var(--amarillo-friko);
  font-family: "Montserrat" !important;
}

.text-gris-friko {
  color: var(--texto-riko);
  font-family: "Montserrat" !important;
}

/* Font weight classes */
.fw-light {
  font-weight: var(--fw-light) !important;
}

.fw-regular {
  font-weight: var(--fw-regular) !important;
}

.fw-medium {
  font-weight: var(--fw-medium) !important;
}

.fw-semibold {
  font-weight: var(--fw-semibold) !important;
}

.fw-bold {
  font-weight: var(--fw-bold) !important;
}

.fw-black {
  font-weight: var(--fw-black) !important;
}

.font-size-s {
  font-size: 1.2rem;
}
.font-size-m {
  font-size: 1.4rem;
}
.font-size-l {
  font-size: 1.6rem;
}
.font-size-xl {
  font-size: 1.8rem;
}
.font-size-xxl {
  font-size: 2rem;
}
.font-size-xxxl {
  font-size: 2.4rem;
}

.half-rounded-end {
  border-radius: 0 50px 50px 0;
}

/* ===== Banner Principal ===== */

.ax-slider__list {
  margin: 0;
}

.ax-slider__list--item {
  position: relative;
}

.ax-slider__image {
  width: 100%;
}

.ax-page-ct .ax-section.ax-main-banner {
  padding: 0;
}

.ax-main-banner .ax-slider .slick-slider .ax-slider__image {
  background-size: cover !important;
  display: table;
  height: 60vh;
  min-height: 400px;
  min-height: 400px;
}

.ax-main-banner ul.slick-dots li {
  margin-bottom: -10px;
}

.ax-main-banner .ax-slider .slick-slider .ax-slider__image .ax-slider__info {
  display: table-cell;
  padding-top: 5%;
  vertical-align: middle;
  padding-left: 0%;
}

.ax-main-banner .ax-slider .slick-slider .ax-slider__image .ax-slider__info h2 {
  color: #fff;
  font-size: 4rem;
  line-height: 0.7em;
  text-shadow: 4px 4px 20px #000;
}

.ax-main-banner
  .ax-slider
  .slick-slider
  .ax-slider__image
  .ax-slider__info
  h2
  .ax-light-txt {
  display: block;
  font-size: 2rem;
  font-weight: 400;
}

.ax-main-banner .ax-slider .slick-slider .ax-slider__image .ax-slider__info p {
  color: #fff;
}

.ax-main-banner .ax-slider .slick-slider .ax-slider__image .ax-slider__info a {
  box-shadow: rgba(0, 0, 0, 0.65) 0px 5px 7px;
}

/* ===== FOOTER STYLES ===== */
.footer {
  background: white;
  margin-top: auto;
}

/* Sección superior del footer */
.footer-top {
  padding: 60px 0 50px;
  background: white;
  border-top: 1px solid #e9ecef;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logos section - ahora dentro de la primera columna */
.logos-column {
  display: flex;
  align-items: flex-start;
}

.footer-logos-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  margin-top: 20%;
}

.footer-logo {
  height: 60px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

/* Columnas de doble fila */
.double-row-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-row {
  /* Cada fila dentro de las columnas 2 y 3 */
}

/* Contenido principal del footer */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Primera columna más ancha, dos más pequeñas */
  gap: 60px;
  align-items: start;
}

.footer-column h3 {
  color: var(--azul-friko);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Montserrat";
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--texto-gris);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  font-family: "Montserrat";
}

.footer-column ul li a:hover {
  color: var(--azul-friko);
  text-decoration: underline;
}

/* Información de contacto */
.footer-column p {
  color: var(--texto-oscuro);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-column .phone {
  font-weight: 600;
  color: var(--azul-friko);
}

.footer-column .email {
  color: var(--azul-friko);
  text-decoration: none;
}

.footer-column .email:hover {
  text-decoration: underline;
}

/* Redes sociales */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link.facebook {
  background: #1877f2;
  color: white;
}

.social-link.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.social-link.youtube {
  background: #ff0000;
  color: white;
}

.social-link.tiktok {
  background: #000;
  color: white;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Sección inferior del footer */
.footer-bottom {
  background: #010e52;
  padding: 25px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .logos-column {
    grid-column: 1 / -1; /* Ocupa toda la fila superior */
    justify-content: center;
    margin-bottom: 20px;
  }

  .footer-logos-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .footer-logo {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 40px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .logos-column {
    order: -1; /* Los logos van arriba */
  }

  .footer-logos-content {
    justify-content: center;
    gap: 20px;
  }

  .footer-logo {
    height: 45px;
  }

  .double-row-column {
    gap: 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-links {
    gap: 20px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-container {
    padding: 0 15px;
  }

  .footer-logos-content {
    gap: 15px;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }
}

@media screen and (min-width: 1920px) {
  .text-gris-friko {
    font-size: 1.6rem !important;
  }

  .font-size-s {
    font-size: 1.6rem !important;
  }

  .text-white {
    font-size: 1.6rem !important;
  }

  .destacado-titulo {
    font-size: 1.4rem !important;
  }

  .campo-azul-button {
    font-size: 1.6rem !important;
  }

  .recetas-descripcion {
    font-size: 1.6rem !important;
  }

  .recetas-beneficios li {
    font-size: 1.4rem !important;
  }

  .ocasiones-descripcion {
    font-size: 1.6rem !important;
  }

  .ocasiones-cta-button {
    font-size: 1.6rem !important;
  }

  .main-slider-dots {
    left: 10%;
  }

  .main-slider {
    height: 700px;
  }

  .destacados-swiper {
    height: 500px;
  }

  .destacado-card {
    height: 460px;
  }

  .ax-main-banner .ax-slider .slick-slider .ax-slider__image {
    height: 80vh;
  }
}

@media screen and (min-width: 1920px) {
  .main-slider-dots {
    left: 14% !important;
  }
}
