* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
}

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

/* HEADER */
.header {
  background: #000;
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
  padding: 18px 0 12px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  width: 150px;
  max-width: 45vw;
  margin: 0 auto 14px;
  display: block;
}

/* BOTÓN IDIOMA */
.top-controls {
  margin-bottom: 14px;
}

.lang-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #ff1a1a;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}

/* MENÚ */
.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* HERO */
.hero {
  text-align: center;
  padding: 70px 20px;
}

.accent {
  color: #ff1a1a;
}

.hero-buttons {
  margin-top: 20px;
}

/* BOTONES */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px;
}

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

.btn-secondary {
  border: 2px solid #ff1a1a;
  color: #fff;
}

/* SECCIONES */
.section {
  padding: 60px 20px;
  text-align: center;
}

.alt-section {
  background: #111;
}

/* CARDS */
.cards {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
}

/* TELÉFONO */
.masked-phone {
  margin-top: 15px;
  color: #aaa;
}

/* 🔥 BOTÓN FLOTANTE WHATSAPP (MEJORADO Y MÁS PEQUEÑO) */
.floating-whatsapp {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #25D366;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.floating-whatsapp img {
  width: 24px;
  height: 24px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    gap: 18px;
  }

  .floating-whatsapp {
    width: 44px;
    height: 44px;
    bottom: 12px;
    right: 12px;
  }

  .floating-whatsapp img {
    width: 22px;
    height: 22px;
  }
}
