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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: #fff;
  background: #111;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
}

.navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 38px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 10px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width .3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("../img/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.28)),
    linear-gradient(0deg, rgba(0,0,0,.45), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

.eyebrow,
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 18px;
  opacity: .85;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  font-weight: 600;
  max-width: 800px;
}

.hero h1 span {
  font-weight: 400;
}

.hero-text {
  max-width: 580px;
  margin-top: 25px;
  line-height: 1.8;
  font-size: 16px;
  color: rgba(255,255,255,.88);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .3s;
}

.btn-primary {
  background: #fff;
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.8);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

.scroll-down {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
}

/* ===== SECTIONS ===== */
.section {
  background: #f5f3ef;
  color: #222;
  padding: 110px 0;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.section-label {
  color: #777;
}

.section h2,
.contact-card h2 {
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 500;
}

.section-text {
  color: #555;
  line-height: 1.9;
  font-size: 16px;
}

.section-text p + p {
  margin-top: 20px;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 0;
  background: #1b1b1b;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: right;
}

.contact-info a,
.contact-info span {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background: #0d0d0d;
  padding: 25px 0;
  color: #999;
  font-size: 12px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    min-height: 76px;
  }

  .logo span {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 30;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 5%;
    width: 90%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 15px 20px;
    border-radius: 15px;
    background: rgba(15,15,15,.96);
    backdrop-filter: blur(10px);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .nav-menu li:last-child {
    border-bottom: 0;
  }

  .nav-menu a {
    display: block;
    padding: 15px 5px;
  }

  .hero {
    background-attachment: scroll;
    min-height: 92vh;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 60px);
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section {
    padding: 75px 0;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info {
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-text {
    font-size: 14px;
  }
}
