:root {
  --color-white: #ffffff;
  --color-silver: #c0c0c0;
  --color-red: #b71c1c;
  --color-dark: #1f1f1f;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 192, 192, 0.4);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand span {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: normal;
  color: var(--color-red);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-red);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 4rem 1.5rem;
}

.home .hero {
  min-height: 85vh;
  background: linear-gradient(120deg, rgba(183, 28, 28, 0.9), rgba(192, 192, 192, 0.8)),
    url('../images/BetFondo.png') center/cover no-repeat;
}

.bienvenido .hero {
  min-height: 70vh;
  background: linear-gradient(120deg, rgba(183, 28, 28, 0.9), rgba(192, 192, 192, 0.8)),
    url('../images/BetFondo2.png') center/cover no-repeat;
}

.hero-content {
  max-width: 700px;
}

.bienvenido .hero-content {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.bienvenido .hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.cta-group {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.bienvenido .cta-group {
  justify-content: center;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--color-red);
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

section {
  padding: 4.5rem 1.5rem;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-transform: uppercase;
  color: var(--color-red);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 700;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.vision-card {
  background: linear-gradient(145deg, #ffffff, rgba(192, 192, 192, 0.15));
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(192, 192, 192, 0.3);
  box-shadow: 0 20px 45px rgba(31, 31, 31, 0.08);
}

.vision-card h3 {
  color: var(--color-red);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.vision-card p {
  color: #555;
  font-size: 0.95rem;
}

.welcome {
  background-color: #f8f8f8;
  border-top: 1px solid rgba(192, 192, 192, 0.4);
  border-bottom: 1px solid rgba(192, 192, 192, 0.4);
}

.welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.welcome-card {
  background: var(--color-white);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(192, 192, 192, 0.4);
}

.bienvenido .welcome-card {
  margin-bottom: 1.5rem;
}

.welcome-card strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-card {
  border-left: 3px solid var(--color-red);
  padding: 1.25rem 1.5rem;
  background-color: var(--color-white);
  box-shadow: inset 0 0 0 1px rgba(192, 192, 192, 0.4);
  border-radius: 12px;
}

.detail-card span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-silver);
  margin-bottom: 0.35rem;
}

.testimonial-section {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(183, 28, 28, 0.1));
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(192, 192, 192, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
  color: #555;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card h4 {
  color: var(--color-red);
  font-weight: 700;
  font-size: 1rem;
}

.cta-section {
  text-align: center;
  background-color: var(--color-red);
  color: var(--color-white);
  border-radius: 18px;
  padding: 3rem 2rem;
  margin-top: 3rem;
  box-shadow: 0 20px 50px rgba(183, 28, 28, 0.45);
}

.cta-section p {
  margin-bottom: 1.25rem;
}

.cta-section .btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.service-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(192, 192, 192, 0.4);
}

.service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-item strong {
  color: var(--color-red);
}

.contact-section {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(183, 28, 28, 0.1));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.qr-card {
  background-color: var(--color-white);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(192, 192, 192, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 1rem auto;
  display: block;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(31, 31, 31, 0.12);
}

footer {
  background-color: #101010;
  color: var(--color-white);
  padding: 2.5rem 1.5rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-container h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.footer-container ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .cta-group {
    width: 100%;
    justify-content: center;
  }
}
