:root {
  --azul: #0a2342;
  --turquesa: #00a8b5;
  --amarillo: #ffc700;
  --blanco: #fff;
}

html {
  color: var(--azul);
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: #fdfaf0;
  color: var(--azul);
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
.logo-text {
  font-family: "Bangers", cursive;
  letter-spacing: 2px;
}

header {
  background: var(--azul);
  color: white;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--turquesa);
  height: 80px;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mini {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 2rem;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 700;
}

header nav a:hover {
  color: var(--amarillo);
}

.hero {
  background: radial-gradient(circle at center, #ffd54f 0%, #ffc700 60%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 40px 5%;
  min-height: 85vh;
  overflow: hidden;
}

.badge {
  color: var(--azul);
  background: white;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  border: 2px solid var(--azul);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 5rem;
  line-height: 0.9;
  color: var(--azul);
  word-wrap: break-word;
}

.hero-text h1 span {
  color: white;
  -webkit-text-stroke: 2px var(--azul);
  text-shadow: 4px 4px 0 var(--azul);
}

.desc {
  font-size: 1.3rem;
  margin: 20px 0;
  font-weight: 700;
}

.btn {
  display: inline-block;
  background: var(--azul);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Bangers";
  font-size: 1.5rem;
  letter-spacing: 1px;
  border: 3px solid var(--turquesa);
  transition: 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: rotate(-2deg) scale(1.05);
  background: var(--turquesa);
}

.btn-amarillo {
  background: var(--amarillo);
  color: var(--azul);
  border-color: var(--azul);
}

.hero-img img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(10px 10px 0 var(--azul));
  padding-top: 15px;
}

.section {
  padding: 30px 5%;
  scroll-margin-top: 130px;
}

.titulo {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.subtitulo {
  text-align: center;
  color: var(--turquesa);
  font-weight: 700;
  margin-bottom: 40px;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.card {
  background: white;
  border: 4px solid var(--azul);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  box-shadow: 8px 8px 0 var(--azul);
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--azul);
}

.card h3 {
  font-size: 2rem;
  color: var(--azul);
  margin-top: 5px;
}

.precio {
  font-family: "Bangers";
  font-size: 2rem;
  color: var(--turquesa);
  margin-top: 10px;
}

.etiqueta {
  background: var(--amarillo);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.galeria-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.galeria-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.modal-menu-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 10px;
  align-items: center;
}

.img-menu {
  width: 100%;
  max-width: 600px;
  border: 4px solid var(--amarillo);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.franja {
  background: var(--azul);
  color: white;
  text-align: center;
  padding: 30px;
  font-family: "Bangers";
  font-size: 2rem;
}

.oscuro {
  background: var(--azul);
  color: white;
  border-radius: 40px;
  margin-top: 0;
  margin-bottom: 0;
}

.nosotros-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.nosotros-box p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.amarillo {
  color: var(--amarillo);
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-card {
  background: white;
  border: 4px solid var(--azul);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--azul);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0 var(--azul);
}

.promo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-bottom: 4px solid var(--azul);
}

.promo-info {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
  justify-content: space-between;
}

.promo-info h3 {
  font-family: "Bangers", cursive;
  font-size: 2rem;
  color: var(--azul);
  margin: 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 35, 66, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  max-width: 90%;
  max-height: 90vh;
  border: 5px solid var(--amarillo);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.cerrar-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--amarillo);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Bangers', cursive;
}

footer {
  background: var(--azul);
  color: white;
  text-align: center;
  padding: 40px 5%;
  border-top: 8px solid var(--turquesa);
  scroll-margin-top: 80px;
}

.footer-title {
  font-size: 3rem;
  font-family: "Bangers";
}

.footer-desc {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.contacto-info h3 {
  font-family: "Bangers";
  font-size: 2.5rem;
  color: var(--amarillo);
  margin-bottom: 10px;
}

.contacto-info p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
}

.contacto-acciones {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: var(--amarillo);
  color: var(--azul);
  border: 3px solid var(--azul);
  border-radius: 50%;
  font-size: 1.8rem;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: 0 4px 0 var(--azul);
}

.btn-social:hover {
  transform: rotate(-5deg) scale(1.1);
  background: var(--turquesa);
}

.sucursales-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.sucursal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.sucursal-item .mapa {
  width: 100%;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid var(--amarillo);
  box-shadow: 8px 8px 0 var(--azul);
  background: white;
}

.sucursal-item .mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.sucursal-item h4 {
  font-family: "Bangers", cursive;
  font-size: 1.4rem;
  color: #fff;
  margin: 5px 0 0 0;
  text-align: center;
}

.sucursal-item .btn-group {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.sucursal-item .btn-group .btn {
  padding: 8px 12px;
  font-size: 0.85rem;
  flex: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.copy {
  margin-top: 30px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  header nav {
    display: none;
  }
  .contacto-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contacto-acciones {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .sucursales-container {
    grid-template-columns: 1fr;
  }
  .titulo {
    font-size: 2.5rem;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
}