:root {
  --green: #0e2f1f;
  --green-700: #123826;
  --accent: #f39c12;
  --bg: #0f1a14;
  --card: #122117;
  --text: #e9f1ee;
  --muted: #b8c7c1;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Montserrat, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #0a0f0d;
  color: var(--text)
}


.hero {
  position: relative;
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(180deg, #123826, rgba(0, 0, 0, .75));
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45) saturate(1.1);
  z-index: -2
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .65));
  z-index: -1
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: .12em
}

.links {
  list-style: none;
  display: none;
  /* oculto inicialmente */
  flex-direction: column;
  /* apilados verticalmente */
  gap: 12px;
  position: absolute;
  /* se despliega debajo del nav */
  top: 60px;
  /* ajusta según la altura de tu nav */
  right: 20px;
  /* alineado con el botón */
  background: #0a0f0d;
  /* fondo para que resalte */
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.links.show {
  display: flex;
}

.links a {
  color: #eaf2ef;
  text-decoration: none;
  font-weight: 600;
  opacity: .9
}

a {
  color: #fff;
}

.links a:hover {
  opacity: 1
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.75rem
}

.hero-content {
  margin: auto;
  max-width: 1200px;
  padding: 32px;
  text-align: center
}

.hero h1 {
  font-family: 'Baloo 2', medium;
  font-weight: 600;
  font-size: 80px;
  margin: 0 0 12px;
  letter-spacing: .04em
}

.hero p {
  margin: 0 0 20px;
  color: #dce7e2;
  font-weight: 500;
  font-size: 1.2rem;
}

.cta {
  background: var(--accent);
  color: #111;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(243, 156, 18, .25)
}

.section {
  padding: 64px 24px;
  background: #0b1511
}

.section.alt {
  background: #0d1914
}

.section-head {
  max-width: 1000px;
  margin: 0 auto 28px
}

.section h2 {
  font-size: clamp(22px, 3.8vw, 38px);
  margin: 0 0 6px
}

.section p {
  margin: 0;
  color: var(--muted)
}

.grid {
  max-width: 1100px;
  margin: 24px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.card {
  background: #111b16;
  border: 1px solid #193126;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25)
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05)
}

.card h3 {
  margin: 14px 14px 6px;
  font-size: 1.05rem
}

.card ul {
  margin: 0 18px 18px 26px;
  padding: 0;
  color: #cfe0da;
  line-height: 1.6
}

.gallery {
  max-width: 1100px;
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  opacity: .92
}

.contact {
  padding: 72px 24px;
  background: #0a120e;
  text-align: center
}

.contact h2 {
  font-size: clamp(22px, 3.6vw, 34px);
  margin: 0 0 10px
}

.contact p {
  color: var(--muted)
}

.contact form {
  max-width: 780px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.contact textarea {
  grid-column: span 2;
  min-height: 120px;
  resize: vertical
}

.contact input,
.contact textarea {
  background: #0f1b15;
  border: 1px solid #1c2f25;
  color: #e6f2ee;
  padding: 12px 14px;
  border-radius: 12px
}

.contact button {
  grid-column: span 2;
  background: var(--accent);
  border: 0;
  color: #111;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer
}

.form-msg {
  margin-top: 10px;
  color: #a6f0c6
}

.footer {
  padding: 18px 24px;
  background: #08100d;
  color: #9fb5ad;
  text-align: center;
  font-size: .9rem
}

@media (max-width:900px) {
  .grid {
    grid-template-columns: 1fr 1fr
  }

  .gallery {
    grid-template-columns: 1fr
  }

  .links {
    display: none
  }

  .menu-btn {
    display: block
  }

  .contact form {
    justify-content: center;
    max-width: 80%;
  }
}

@media (max-width:560px) {
  .grid {
    grid-template-columns: 1fr
  }

  .card img {
    height: 200px
  }

  .contact form {
    grid-template-columns: 1fr
  }

  .contact button {
    grid-column: span 1
  }

  .hero-content {
    margin: auto;
    max-width: 400px;
    font-size: 20px;
  }

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