/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0f0f0f;
  color: #e5e5e5;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;

  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  border-radius: 50%;
}

.logo span {
  font-weight: 600;
  color: #c9a96e;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #ccc;
  position: relative;
  font-weight: 500;
  transition: 0.3s;
}

nav a::after {
  content: "";
  width: 0;
  height: 2px;
  background: #c9a96e;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #c9a96e;
}

/* 🔥 PRECIOS EN HEADER PRO */
.header-precios {
  display: flex;
  gap: 8px;
  margin-left: 15px;
}

.header-precios span {
  background: #c9a96e;
  color: black;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
}

.header-precios span:hover {
  background: #b8965a;
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* ANIMACIÓN SUAVE */
@keyframes pulsePrecio {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.header-precios span:first-child {
  animation: pulsePrecio 2s infinite;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
              url('fopodord.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content h2,
.hero-content p {
  color: #f5f5f5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* BENEFICIOS HERO */
.hero-beneficios {
  margin-top: 20px;
  color: #ddd;
  font-size: 14px;
}

.hero-beneficios p {
  margin: 5px 0;
}

/* SECCIONES */
section {
  padding: 100px 20px;
  text-align: center;
}

/* TITULOS */
h2 {
  margin-bottom: 30px;
  color: #c9a96e;
}

/* GRID */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* CARDS */
.card {
  background: #1c1c1c;
  padding: 20px;
  width: 280px;
  border-radius: 12px;
  border-left: 3px solid #c9a96e;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);

  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }

.card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* -------- PRECIOS -------- */

#precios {
  background: linear-gradient(to right, #111, #1c1c1c);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.precio-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.precio-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  background: rgba(201, 169, 110, 0.1);
  top: 0;
  left: 0;
  transition: 0.4s;
}

.precio-card:hover::before {
  height: 100%;
}

.precio {
  font-size: 32px;
  font-weight: 600;
  color: #c9a96e;
  margin: 10px 0;
  transition: 0.3s;
}

.precio-card:hover .precio {
  transform: scale(1.1);
}

.subtitulo {
  color: #aaa;
  margin-bottom: 20px;
}

.nota-precio {
  margin-top: 25px;
  font-size: 14px;
  color: #999;
  max-width: 500px;
}

.precio-card:nth-child(2) {
  transform: scale(1.05);
}

/* NOSOTROS */
.nosotros-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.texto {
  max-width: 400px;
  text-align: left;
}

.imagen img {
  width: 300px;
  border-radius: 15px;
}

/* MAPA */
.mapa-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.mapa-container iframe {
  width: 90%;
  max-width: 700px;
  height: 350px;
  border-radius: 15px;
}

/* BOTONES */
button {
  background: #c9a96e;
  color: black;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

button:hover {
  background: #b8965a;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1f1f1f;
  padding: 15px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

/* FOOTER */
footer {
  background: #111;
  color: #ccc;
  padding: 20px;
}

/* ANIMACIONES */
.fade {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: all 0.8s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .nosotros-container {
    flex-direction: column;
  }

  .imagen img {
    width: 90%;
  }

  .header-precios {
    display: none;
  }
}

/* 🔥🔥🔥 NUEVO (AGREGADO SIN BORRAR NADA) 🔥🔥🔥 */

/* SCROLL SUAVE */
html {
  scroll-behavior: smooth;
}

/* HEADER DINÁMICO */
header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 10px 40px;
  border-bottom: 1px solid rgba(201,169,110,0.3);
}

/* LINK ACTIVO */
nav a.active {
  color: #c9a96e;
}

/* BOTÓN BIENVENIDA */
.nav-home {
  border: 1px solid #c9a96e;
  padding: 5px 12px;
  border-radius: 20px;
  transition: 0.3s;
}

.nav-home:hover {
  background: #c9a96e;
  color: black;
}

/* HERO EFECTO PRO */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.8));
  pointer-events: none;
}

/* CARDS MÁS PREMIUM */
.card:hover {
  border-left: 3px solid #e0c48f;
}

/* BOTÓN MÁS PRO */
button:hover {
  box-shadow: 0 5px 20px rgba(201,169,110,0.4);
}

/* WHATSAPP HOVER PRO */
.whatsapp:hover {
  background: #c9a96e;
  color: black;
  transform: scale(1.1);
  transition: 0.3s;
}
/* ========================= */
/* 🔥 MEJORAS PREMIUM 🔥 */
/* ========================= */

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Header dinámico */
header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 10px 40px;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  transition: 0.3s;
}

/* NAV COMPLETO ESTILO PRO */
nav a {
  border: 1px solid transparent;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* Hover elegante */
nav a:hover {
  background: #c9a96e;
  color: black;
  box-shadow: 0 5px 15px rgba(201,169,110,0.3);
}

/* Link activo */
nav a.active {
  background: #c9a96e;
  color: black;
}

/* Botón bienvenida destacado */
.nav-home {
  border: 1px solid #c9a96e;
}

/* Hero overlay más pro */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.8));
  pointer-events: none;
}

/* Cards más premium */
.card:hover {
  border-left: 3px solid #e0c48f;
}

/* Botones con glow */
button:hover {
  box-shadow: 0 5px 20px rgba(201,169,110,0.4);
}

/* WhatsApp pro */
.whatsapp:hover {
  background: #c9a96e;
  color: black;
  transform: scale(1.1);
  transition: 0.3s;
}