:root {
  --fondo: #fffaf4;
  --marron: #5c2e15;
  --amarillo: #f4b400;
  --blanco: #ffffff;
  --sombra: rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #f8efe4, #fff5ea);
  color: var(--marron);
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 95%;
  max-width: 1200px;
  height: 95vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background-color: var(--blanco);
  border-radius: 20px;
  box-shadow: 0 10px 25px var(--sombra);
  overflow: hidden;
}

header.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  background-color: var(--amarillo);
  color: var(--blanco);
  box-shadow: 0 2px 10px var(--sombra);
  text-align: center;
}

header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--blanco);
  object-fit: cover;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra texto verticalmente */
  justify-content: center;
  text-align: center;
}

.brand h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 4px;
}

.lema {
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
}

main.content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 30px;
  gap: 20px;
  height: 100%;
}

.card {
  background-color: var(--blanco);
  border-radius: 14px;
  box-shadow: 0 5px 15px var(--sombra);
  padding: 15px 20px;
  width: 30%;
  min-width: 300px;
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--sombra);
}

.card h2 {
  color: var(--amarillo);
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card ul {
  list-style: none;
  margin: 10px 0;
}

.card li {
  margin-bottom: 5px;
}

.precio {
  margin-top: 8px;
  font-weight: 600;
  color: var(--marron);
}

.contacto {
  width: 30%;
  min-width: 280px;
  text-align: center;
}

.botones {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--blanco);
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.btn.whatsapp {
  background-color: #25d366;
}

.btn.instagram {
  background-color: #2b5ab0;
}

.btn:hover {
  transform: scale(1.05);
}

footer {
  text-align: center;
  background-color: var(--marron);
  color: var(--blanco);
  font-size: 0.85rem;
  padding: 10px;
}
/* --- Video de fondo --- */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6) blur(2px); /* lo hace suave y no distrae */
}


/* --- RESPONSIVE DESIGN --- */

/* 🔹 Tablets (pantallas medianas) */
@media (max-width: 1024px) {
  .container {
    height: auto;
    min-height: 100vh;
  }

  main.content {
    flex-wrap: wrap;
    padding: 20px;
    gap: 25px;
  }

  .card,
  .contacto {
    width: 45%;
    min-width: 280px;
  }

  header.logo {
    flex-direction: column;
    padding: 25px 0;
  }

  header img {
    width: 80px;
    height: 80px;
  }

  .brand h1 {
    font-size: 2.2rem;
  }
}

/* 🔹 Celulares (pantallas chicas) */
@media (max-width: 768px) {
  body {
    overflow-y: auto; /* permite scroll si hace falta */
  }

  .container {
    height: auto;
    width: 95%;
    margin: 20px auto;
    border-radius: 15px;
  }

  header.logo {
    flex-direction: column;
    text-align: center;
    padding: 25px 10px;
  }

  header img {
    width: 70px;
    height: 70px;
  }

  .brand h1 {
    font-size: 2rem;
  }

  .lema {
    font-size: 1rem;
  }

  main.content {
    flex-direction: column;
    align-items: center;
    padding: 25px 10px;
  }

  .card,
  .contacto {
    width: 90%;
    min-width: unset;
  }

  .card h2 {
    font-size: 1.3rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 12px;
  }
}

/* 🔹 Celulares pequeños (menos de 480px) */
@media (max-width: 480px) {
  .brand h1 {
    font-size: 1.8rem;
  }

  .lema {
    font-size: 0.9rem;
  }

  .btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .card {
    padding: 15px;
  }
}
