@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* =========================
   VARIABLES
========================= */

:root {
  --navy: #142744;
  --orange: #f6a000;
  --light-gray: #f3f3f3;
  --text: #101010;
}


/* =========================
   BODY
========================= */

body {
  background: #ffffff;
  color: var(--text);

  font-family: "Roboto", Arial, sans-serif;

  min-height: 100vh;
}


/* =========================
   BARRA DE NAVEGACIÓN (portafolio)
========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

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

  padding: 15px 30px;

  background: #344E41;

  box-shadow: 0 4px 12px rgba(52, 78, 65, 0.35);
}

.nav-logo {
  color: #A3B18A;

  font-size: 22px;

  letter-spacing: 1px;

  text-decoration: none;
}

.nav-logo:hover {
  color: #ffffff;
}

.nav-links {
  display: flex;

  gap: 20px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.nav-links a {
  display: block;

  padding: 5px 12px;

  color: #A3B18A;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: 20px;

  letter-spacing: 1px;

  text-decoration: none;

  border-radius: 8px;

  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background: #52796F;

  color: #ffffff;
}

.nav-links a.activo {
  background: #A3B18A;

  color: #344E41;
}


/* =========================
   SECCIÓN SUPERIOR
========================= */

.intro {
  width: min(700px, calc(100% - 80px));

  margin: 19px auto 43px;

  display: grid;

  grid-template-columns: 250px 1fr;

  gap: 39px;

  align-items: start;
}


/* =========================
   TEXTO PRINCIPAL
========================= */

.intro-texto h1 {
  font-family: "Montserrat", Arial, sans-serif;

  font-size: 23px;

  line-height: 1.12;

  font-weight: 700;

  letter-spacing: -0.4px;
}


/* Línea naranja */

.orange-line {
  width: 27px;

  height: 3px;

  background: var(--orange);

  margin: 15px 0 13px;
}


/* Párrafo */

.intro-texto p {
  font-size: 9px;

  line-height: 1.45;

  margin-bottom: 17px;
}


/* =========================
   BOTONES
========================= */

.button {
  display: inline-flex;

  align-items: center;

  gap: 5px;

  background: var(--orange);

  color: #111111;

  text-decoration: none;

  padding: 5px 8px;

  border-radius: 2px;

  font-size: 10px;

  font-weight: 500;

  line-height: 1;
}

.button span {
  font-size: 12px;
}


/* =========================
   TARJETAS
========================= */

.service-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 7px 8px;
}

.service-card {
  min-height: 87px;

  background: var(--light-gray);

  padding: 17px;
}


/* Categoría */

.category {
  color: var(--navy);

  font-size: 9px;

  font-weight: 500;

  display: block;

  margin-bottom: 7px;
}


/* Título de las tarjetas */

.service-card h2 {
  font-family: "Montserrat", Arial, sans-serif;

  font-size: 14px;

  line-height: 1.18;

  font-weight: 700;

  letter-spacing: -0.2px;
}


/* =========================
   SECCIÓN DEPORTES
========================= */

.sports {
  width: 100%;

  background: #f4f4f4;

  padding: 44px 0 1px;

  display: flex;

  justify-content: center;
}


/* =========================
   BLOQUE AZUL
========================= */

.sports-content {
  width: 294px;

  min-height: 304px;

  background: var(--navy);

  color: #ffffff;

  padding: 27px 27px 23px;
}


/* Unidad */

.unit {
  font-family: "Montserrat", Arial, sans-serif;

  font-size: 9px;

  font-weight: 600;
}


/* Línea separadora */

.separator {
  height: 1px;

  background: #29415f;

  margin: 11px 0 21px;
}


/* Título */

.sports-content h2 {
  font-family: "Montserrat", Arial, sans-serif;

  font-size: 22px;

  line-height: 1.1;

  font-weight: 600;

  margin-bottom: 13px;
}


/* Línea azul clara */

.small-line {
  width: 27px;

  height: 3px;

  background: #8194b6;

  margin-bottom: 20px;
}


/* Texto */

.sports-content p {
  font-size: 9px;

  line-height: 1.45;

  margin-bottom: 22px;
}


/* =========================
   IMAGEN
========================= */

.sports-image {
  width: 405px;

  min-height: 304px;

  overflow: hidden;
}

.sports-image img {
  display: block;

  width: 100%;

  height: 304px;

  object-fit: cover;

  object-position: center;
}


/* =========================
   RESPONSIVE / TABLET
========================= */

@media (max-width: 760px) {

  .intro {
    width: min(92%, 520px);

    grid-template-columns: 1fr;

    gap: 25px;

    margin-bottom: 35px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sports {
    padding: 30px 4%;

    flex-direction: column;

    align-items: center;
  }

  .sports-content,
  .sports-image {
    width: min(100%, 520px);
  }

  .sports-image,
  .sports-image img {
    height: 300px;
  }
}


/* =========================
   RESPONSIVE / CELULAR
========================= */

@media (max-width: 480px) {

  .service-grid {
    grid-template-columns: 1fr;
  }

  .intro-texto h1 {
    font-size: 21px;
  }

  .sports-content {
    min-height: auto;
  }
}
