/* IMPORTAR FUENTE DE CÓDIGO 'FIRA CODE' */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&display=swap');

/* VARIABLES Y PALETA BEARSOFT */
:root {
  --blue-main: #0F4C9A;
  --blue-dark: #0A346B;
  --yellow-main: #FFD600;
  --yellow-hover: #E6C200;
  --purple-accent: #6B21A8;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-gray: #64748B;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  --radius: 12px;
  --font-code: 'Fira Code', monospace; /* FUENTE GLOBAL DE CÓDIGO */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-code) !important; /* APLICA A TODA LA WEB */
}

body {
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  background: var(--white);
  /* border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100; */
  background-color: var(--blanco) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  max-height: 80px;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 60px;
  overflow: hidden;
}
.logo-img {
  height: 160px;
  width: auto;
  /* display: block;
  object-fit: contain;
  flex-shrink: 0; */
  transition: all 0.3s ease;
  margin-top: -15px;    /* Eleva ligeramente el logo para centrarlo */
  margin-bottom: -20px; /* Deja que el sobrante sobresalga sin estirar el navbar */
  object-fit: contain;
}
.logo-img:hover {
    transform: scale(1.05);
}
/* BOTONES ESTILO CÓDIGO */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: var(--font-code);
}
.btn-primary {
  background-color: var(--yellow-main);
  color: var(--text-dark);
}
.btn-primary:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--blue-main);
  color: var(--white);
}
.btn-secondary:hover {
    /* background-color: var(--blue-dark);  */
    background-color: #6f21d1 !important; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 33, 209, 0.3) !important;
}
.btn-outline {
  border: 2px solid var(--blue-main);
  color: var(--blue-main);
  background: transparent;
}
.btn-outline:hover {
  background: var(--blue-main);
  color: var(--white);
}
.btn-full {
  width: 100%;
}

/* HERO SECTION / PORTADA (CON IMAGEN DE FONDO Y MENOS AZUL) */
.hero {
  background-image: linear-gradient(rgba(15, 76, 154, 0.55), rgba(10, 52, 107, 0.65)), url('fondo_contactanos_2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}
.hero-content {
  max-width: 850px;
}
.badge {
  background-color: var(--purple-accent);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 2.2rem;
  margin: 20px 0;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Sombra para resaltar texto sobre el fondo */
}
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.micro-text {
  font-size: 0.85rem;
  margin-top: 10px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* HIGHLIGHTS BAR */
.bar-highlights {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}
.bar-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
}
.bar-item strong {
  color: var(--purple-accent);
  font-size: 1.2rem;
}

/* SECCIÓN CARTA DE RESTAURANTE + CÓDIGO */
.menu-theme {
  background-color: #0b132b;
  color: #e0e6ed;
  padding: 80px 0;
}
.menu-header {
  text-align: center;
  margin-bottom: 50px;
}
.menu-tag {
  color: var(--yellow-main);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
}
.menu-theme .section-title {
  color: #ffffff;
  font-weight: 700;
  margin-top: 10px;
}
.menu-theme .section-subtitle {
  color: #94a3b8;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}
.menu-card {
  background: #1c2541;
  border: 1px solid #3a506b;
  border-top: 4px solid var(--yellow-main);
  border-radius: 8px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  min-width: 0;
}
.menu-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow-main);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.dish-number {
  font-size: 0.75rem;
  color: #5bc0be;
  font-weight: 700;
  letter-spacing: 1px;
}
.code-title {
  color: var(--yellow-main);
  font-size: 1.1rem;
  margin-bottom: 5px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.badge-tech {
  display: inline-block;
  background: rgba(107, 33, 168, 0.3);
  color: #d8b4fe;
  border: 1px solid var(--purple-accent);
  padding: 2px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-bottom: 15px;
}
.code-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed #3a506b;
}
.code-comment {
  color: #64748b;
  font-style: italic;
}
.dish-dots {
  color: #3a506b;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 2px;
  margin: 0 5px;
}
.dish-price {
  color: #5bc0be;
  font-weight: 700;
}

/* PLANES Y TARIFAS */
.pricing {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--blue-main);
  margin-bottom: 10px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 50px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 850px;
  margin: 0 auto;
}
.pricing-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 30px;
  position: relative;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--yellow-main);
  box-shadow: 0 10px 25px -5px rgba(15, 76, 154, 0.15);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow-main);
  color: var(--text-dark);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 10px;
}
.plan-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-main);
}
.period {
  font-size: 0.85rem;
  color: var(--text-gray);
}
.price-sub {
  font-size: 0.85rem;
  color: var(--purple-accent);
  font-weight: 600;
  margin-bottom: 25px;
}
.features-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}
.features-list li {
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.9rem;
}

/* SECCIÓN DE CONTACTO CON FONDO MÁS VISIBLE (MENOS AZUL) */
.contact {
  padding: 90px 0;
  background-image: linear-gradient(rgba(15, 76, 154, 0.55), rgba(10, 52, 107, 0.65)), url('fondo_contactanos_2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.contact-container {
  max-width: 550px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.contact-container h2 {
  color: var(--blue-main);
  margin-bottom: 10px;
  text-align: center;
}
.contact-container p {
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.9rem;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-code);
}
.form-group input:focus {
  outline: none;
  border-color: var(--blue-main);
}
.btn-submit {
  font-size: 1rem;
  margin-top: 10px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.7rem; }
  .bar-grid { flex-direction: column; gap: 10px; }
  .logo-img { height: 80px; }
}

/* ALTA Y PUESTA EN MARCHA (pago único) */
.setup-banner {
  max-width: 850px;
  margin: 0 auto 20px;
  background: var(--blue-main);
  border-radius: var(--radius);
  padding: 30px 35px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
}
.setup-tag {
  color: var(--yellow-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
}
.setup-banner-text h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin: 6px 0 8px;
}
.setup-banner-text p {
  color: #dbeafe;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.setup-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.setup-list li {
  font-size: 0.88rem;
  color: var(--white);
}
.setup-banner-price {
  text-align: center;
  flex-shrink: 0;
}
.setup-banner-price .amount {
  color: var(--yellow-main);
  display: block;
}
.setup-banner-price .period {
  color: #dbeafe;
}
.setup-arrow {
  margin-bottom: 30px !important;
  font-weight: 600;
  color: var(--text-dark) !important;
}
@media (max-width: 600px) {
  .setup-banner {
    flex-direction: column;
    text-align: center;
  }
  .setup-list {
    justify-content: center;
  }
}

/* CLUB BEARSOFT: 3 mesas/niveles */
.club-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1000px;
}
.club-grid .pricing-card {
  padding: 32px 24px;
}
.pricing-footnote {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-top: 24px;
}
.pricing-footnote a {
  color: var(--blue-main);
  font-weight: 600;
}


/* OFERTA POR TIEMPO LIMITADO */
.limited-offer {
  display: inline-block;
  background: rgba(255, 214, 0, 0.18);
  color: var(--accent-strong, #8a6a1f);
  border: 1px solid var(--yellow-main);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 14px;
}
.amount-old {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-gray);
  text-decoration: line-through;
  margin-right: 8px;
}
