* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  width: min(1180px, 92%);
  margin: auto;
  padding: 22px 0 12px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 30;
}

.logo {
  width: 180px;
  height: auto;
  display: block;
}

/* =========================
   HAMBURGER
========================= */

.menu-toggle {
  width: 44px;
  height: 44px;

  background: transparent;
  border: 0;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 6px;

  position: relative;
  z-index: 40;
}

.menu-toggle span {
  width: 28px;
  height: 2px;

  background: #fff;

  display: block;

  transition: 0.3s ease;
}

/* X cuando abre */

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   MOBILE / FULL SCREEN MENU
========================= */

.mobile-menu {
  position: fixed;
  inset: 0;

  background: rgba(3, 3, 3, 0.98);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 30px;

  opacity: 0;
  visibility: hidden;

  transition: 0.35s ease;

  z-index: 25;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: #fff;

  text-decoration: none;

  font-size: clamp(34px, 7vw, 66px);

  font-weight: 700;

  transition: 0.25s ease;
}

.mobile-menu a:hover {
  opacity: 0.6;
}

/* =========================
   VIDEO
========================= */

.hero-video-box {
  width: min(1180px, 92%);
  margin: 5px auto 0;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: auto;

  display: block;

  object-fit: contain;
}

/* =========================
   HERO CONTENT
========================= */

.hero-content {
  width: min(1180px, 92%);
  margin: auto;

  padding: 45px 0 80px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-small {
  font-size: 13px;

  font-weight: 700;

  letter-spacing: 3px;

  margin-bottom: 18px;

  opacity: 0.8;
}

.hero-content h1 {
  max-width: 850px;

  font-size: clamp(44px, 7vw, 86px);

  line-height: 1;

  letter-spacing: -3px;

  margin-bottom: 24px;
}

.hero-content h1 span {
  display: block;

  font-weight: 300;

  opacity: 0.82;
}

.hero-description {
  max-width: 650px;

  font-size: 19px;

  line-height: 1.7;

  color: #ccc;

  margin-bottom: 30px;
}

/* =========================
   BUTTON
========================= */

.btn {
  display: inline-block;

  padding: 15px 27px;

  border-radius: 50px;

  text-decoration: none;

  font-size: 15px;

  font-weight: 700;

  transition: 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #e9e9e9;
}

/* =========================
   SERVICES
========================= */

.services {
  background: #f5f5f5;

  color: #111;

  padding: 110px 5%;
}

.section-header {
  width: min(1180px, 100%);

  margin: 0 auto 55px;
}

.section-header p {
  font-size: 13px;

  font-weight: 700;

  letter-spacing: 3px;

  margin-bottom: 15px;
}

.section-header h2 {
  max-width: 760px;

  font-size: clamp(36px, 5vw, 62px);

  line-height: 1.05;

  letter-spacing: -2px;
}

.services-grid {
  width: min(1180px, 100%);

  margin: auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.service-card {
  background: #fff;

  min-height: 285px;

  padding: 34px 28px;

  border-radius: 18px;

  transition: 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card h3 {
  font-size: 24px;

  margin-bottom: 18px;
}

.service-card p {
  color: #555;

  font-size: 16px;

  line-height: 1.65;
}

/* =========================
   GENERIC SECTIONS
========================= */

.section {
  padding: 110px 5%;
}

.section-light {
  background: #f5f5f5;
  color: #111;
}

.section-dark {
  background: #0a0a0a;
  color: #fff;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    letter-spacing: -2px;
  }
}

.page-section {
  display: none;
  min-height: 100vh;
  padding: 100px 6%;
}

.page-section.active {
  display: block;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .navbar {
    width: 88%;
    padding: 26px 0 18px;
  }

  .logo {
    width: 150px;
  }

  .hero-video-box {
    width: 92%;
    margin: 38px auto 0;
  }

  .hero-content {
    width: 88%;
    padding: 48px 0 70px;
    align-items: center;
    text-align: center;
  }

  .hero-small {
    font-size: 11px;
    letter-spacing: 2.2px;
  }

  .hero-content h1 {
    max-width: 420px;
    font-size: 40px;
    line-height: 1.07;
    letter-spacing: -1px;
    margin-bottom: 26px;
  }

  .hero-content h1 span {
    display: block;
    font-weight: 300;
    opacity: 0.85;
  }

  .hero-description {
    max-width: 390px;
    font-size: 16px;
    line-height: 1.6;
  }

  .services {
    padding: 80px 6%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .mobile-menu a {
    font-size: 38px;
  }
}
