:root {
  /* Paleta de colores */
  --color-primary: #4669e2;
  --color-secondary: #ff6f61;
  --color-accent: #4a4a4a;
  --color-background: #f9f9f9;
  --color-white: #ffffff;
  --color-black: #000000;

  /* Tipografía */
  --font-primary: "Open Sans", sans-serif;
  --font-secondary: "Roboto Condensed", sans-serif;
  --font-tertiary: "Oswald", sans-serif;

  /* Espaciados */
  --spacing-small: 10px;
  --spacing-medium: 20px;
  --spacing-large: 40px;

  /* Breakpoints */
  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
}

body {
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
}

.container {
  max-width: 1200px;
  min-width: 200px;
  margin: 0 auto;
  padding: 0 var(--spacing-medium);
}

header {
  position: fixed;
  width: 100%;
  height: 70px;
  background-color: var(--color-primary);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
}

header .logo {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
}

header .logo a img {
  height: 5rem;
}

header .logo a .header-mobil-logo {
  height: 5rem;
  display: none;
}

header .logo a .header-desktop-logo {
  height: 5rem;
  display: block;
}

header .logo a .header-desktop-logo,
header .logo a .header-mobil-logo {
  filter: brightness(2.8);
}

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

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 5%;
}

header nav ul li {
  margin: 0 auto;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

header .menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

main {
  padding-top: 110px;
}

.hero {
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 48px;
}

.hero .cta {
  background-color: #2e5a88;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  border-radius: 5px;
}

.productos {
  padding: 50px 20px;
  text-align: center;
}

.productos h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 36px;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.producto {
  background-color: white;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.producto img {
  max-width: 100%;
  height: auto;
}

.producto h3 {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
}

.producto .precio {
  color: #ff6f61;
  font-size: 20px;
  font-weight: bold;
}

.producto .comprar {
  background-color: #2e5a88;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  background-color: var(--color-primary);
  color: white;
  padding: 20px;
  text-align: center;
}

footer a {
  color: white !important;
}

footer .contacto h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
}

footer .footer-section ul {
  list-style: none;
  padding: 0;
}

footer .footer-section ul li a {
  color: white;
}

footer .redes-sociales a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

.fa-chevron-right:before {
  content: "\f054";
  color: white;
}

.fa-chevron-left:before {
  content: "\f054";
  color: white;
}

#bolsa-trabajo, #aviso-privacidad{
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 70%;
  max-height: 80vh;
  overflow: auto;
}

.close {
  cursor: pointer;
  color: red;
  font-weight: bold;
  float: right;
  font-size: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .header .logo a img {
    height: 3.5rem;
  }

  .header .btn-gradient {
    padding: 12px 16px;
  }
}

@media (max-width: 875px) {
  header .menu-toggle {
    display: block;
  }

  header {
    position: fixed;
    width: 100%;
    height: 70px;
    color: white;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 20px;
  }

  header nav ul.active {
    display: flex;
  }

  header nav ul li {
    margin: 0 auto;
  }

  header nav ul li a {
    font-size: 18px;
  }

  nav#mainNav.nav.open ul.nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .productos-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 512px) {
  header .logo a .header-mobil-logo {
    height: 3rem;
    display: block;
  }

  header .logo a .header-desktop-logo {
    height: 5rem;
    display: none;
  }

  .hero .container {
    padding: 0 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .logo-img {
    max-width: 65%;
  }
}

.btn-floating {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #03af1e;
  z-index: 1000;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  text-align: center;
  box-shadow: -3px 3px 0 #00000030;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.btn-floating i {
  font-size: 2rem;
  color: #ffffff;
}
.btn-floating:hover {
  box-shadow: -4px 4px 2px rgba(140,140,140,0.5);
}