/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Josefin Sans", Helvetica, sans-serif;
  color: #000;
}

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

/* HEADER */
.header {
  background: #000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 60px;
}

.navigation {
  display: flex;
  gap: 24px;
}

.navigation a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

/* HERO */
.hero-section {
  background-image: url("./img/rectangle-1.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(218, 205, 62, 0.55),
    rgba(82, 80, 61, 0.55)
  );
  padding: 120px 24px;
  text-align: center;
}

/* OBJETIVO */
.objective-section {
  background: #f7b200;
  color: #fff;
  padding: 60px 24px;
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

/* SERVICIOS */
.services-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.services-content ul {
  padding-left: 20px;
  line-height: 1.6;
}

/* PRODUCTOS */
.products-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.product-item {
  text-align: center;
}

/* SEGURIDAD */
.security-section {
  background: url("./img/rectangle-7.png") center / cover;
  padding: 120px 24px;
  color: #fff;
  text-align: center;
}

.security-section h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

/* ABOUT */
.about-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}

.about-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* FOOTER */
.footer-section {
  background: rgba(81, 81, 81, 0.4);
  padding: 60px 24px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;

  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  max-width: 300px;
}

/* MOBILE */
@media (max-width: 768px) {
  .navigation {
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
