:root {
  --accent: #ff66b2;
  --bg: #1a1a1a;
  --text: #ffffff;
  --colores: #1e90ff;
  --belen: #ff8c00;
  --promo: #e53935;
  --online: #00c853;
}

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

html,
body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Flotantes */
.telegram-float,
.instagram-float {
  position: fixed;
  right: 20px;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.telegram-float {
  bottom: 20px;
  background: #0088cc;
}

.instagram-float {
  bottom: 90px;
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.instagram-float:hover,
.telegram-float:hover {
  opacity: 0.92;
}

.telegram-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
}

.telegram-tooltip {
  position: absolute;
  bottom: 0;
  right: 70px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0;
  transform: translateX(20px);
  animation: slideInTooltip 5s ease 1s forwards;
}

@keyframes slideInTooltip {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  20% {
    opacity: 1;
    transform: translateX(0);
  }
  60% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(20px);
  }
}

/* Hero */
header.hero {
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(255, 102, 178, 0.15) 70%), var(--bg);
  padding: 2.5rem 1rem 3.5rem;
  text-align: center;
}

.lang-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

.lang-toggle:hover {
  opacity: 0.9;
}

.logo-box {
  display: inline-block;
  background: rgba(26, 26, 26, 0.85);
  padding: 1.1rem 1.7rem;
  border-radius: 14px;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.6rem;
}

.hero .logo {
  width: 300px;
  height: auto;
}

.hero h1 {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.hero h1 .fa-heart {
  color: var(--accent);
}

.hero-btn {
  margin-top: 1.8rem;
  display: inline-block;
  padding: 1rem 2.2rem;
  background: var(--bg);
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.25s;
}

.hero-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Main */
main {
  max-width: 800px;
  margin: -2rem auto 0;
  padding: 0 1rem 3rem;
}

section {
  margin: 2.2rem 0;
}

.subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}

/* Prices */
.price-list {
  display: grid;
  gap: 0.75rem;
}

.price-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.price-item strong {
  font-size: 1.1rem;
  color: var(--accent);
}

/* Lists */
.info-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.info-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.info-list i {
  color: var(--accent);
  margin-top: 0.2rem;
}

/* Disponibles */
#disponibles {
  margin-top: 1rem;
}

#disponibles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

#disponibles li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  flex-wrap: nowrap;
}

#disponibles i.fa-user {
  color: var(--accent);
  flex: 0 0 auto;
}

.nombre-modelo {
  font-weight: 700;
  line-height: 1.2;
}

.estado-texto {
  white-space: nowrap;
}

.tachado {
  text-decoration: line-through;
  color: gray;
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 rgba(0, 200, 83, 0.65);
  animation: onlinePulse 2s ease-in-out infinite;
  flex: 0 0 auto;
  margin-left: auto;
}

@keyframes onlinePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.45);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(0, 200, 83, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
  }
}

.badge {
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}

.badge.colores {
  background: var(--colores);
}

.badge.belen {
  background: var(--belen);
}

.badge.promo {
  background: var(--promo);
}

.item-spacer {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hours {
  margin-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.hours strong {
  color: var(--accent);
}

.catalog-note {
  text-align: center;
  margin-bottom: 1.2rem;
}

/* Branch cards */
.branch-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.3rem 1rem;
  margin-bottom: 2rem;
}

.branch-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.8rem;
}

.map-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  margin-top: 1rem;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.btn-branch,
.btn-accent {
  display: block;
  text-align: center;
  margin: 1.4rem auto 0;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  border-radius: 10px;
  text-transform: uppercase;
  max-width: 320px;
  transition: opacity 0.25s;
}

.btn-accent {
  margin-top: 2rem;
}

.btn-branch:hover,
.btn-accent:hover {
  opacity: 0.9;
}

@media (max-width: 480px) {
  #disponibles li {
    font-size: 0.86rem;
    padding: 0.45rem 0.6rem;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .logo-box {
    padding: 0.8rem 1.25rem;
  }

  .hero .logo {
    width: 240px;
  }

  .price-item {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }

  .item-spacer {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hours {
    font-size: 0.95rem;
  }
}
