:root {
  --bg: #0a0a0b;
  --panel: rgba(15, 15, 18, 0.88);
  --panel-solid: #111216;
  --text: #f7f2e8;
  --muted: #d3c7b4;
  --line: rgba(255,255,255,0.08);
  --red: #c91818;
  --gold: #d9b06f;
  --gold-soft: #f2d7a2;
  --shadow: 0 24px 60px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(201, 24, 24, 0.18), transparent 32%),
    linear-gradient(180deg, #090909 0%, #0d0d10 45%, #090909 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

.language-switcher {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 50;
  display: flex;
  background: rgba(10,10,11,0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(10px);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.lang-btn.active { background: var(--red); }

.hero {
  position: relative;
  min-height: 100vh;
  background: url('assets/portada.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.75) 0%, rgba(5,5,5,0.55) 35%, rgba(5,5,5,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 55%, rgba(0,0,0,0.55) 100%);
}
.nav, .hero-content { position: relative; z-index: 2; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 460px;
}
.brand img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.brand strong { display: block; font-size: 1.1rem; }
.brand span { color: var(--gold-soft); font-size: 0.95rem; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 0 72px;
  max-width: 760px;
}
.eyebrow, .section-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f6ead6;
  max-width: 680px;
  background: rgba(0,0,0,0.34);
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  border-radius: 14px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--red), #ea3737);
  color: white;
  box-shadow: 0 12px 26px rgba(201,24,24,0.25);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: white;
}

.card-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  margin-top: -72px;
  position: relative;
  z-index: 3;
}
.intro-card, .stat-box, .social-card, .contact-form, .contact-info, .map-wrapper {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.intro-card {
  border-radius: 28px;
  padding: 30px;
}
.accent-card h2, .section-head h2, .contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 14px;
}
.accent-card p, .section-head p, .contact-info p {
  color: var(--muted);
  line-height: 1.8;
}
.feature-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 18px;
}
.feature-item strong { display: block; margin-bottom: 10px; }
.feature-item span { color: var(--muted); font-size: 0.95rem; }
.logo-card {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo-large {
  width: min(100%, 440px);
  border-radius: 24px;
}
.stats-section { padding: 80px 0 20px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-box {
  border-radius: 22px;
  padding: 26px 22px;
}
.stat-box span {
  display: block;
  font-family: 'Anton', sans-serif;
  color: var(--red);
  font-size: 2rem;
  margin-bottom: 10px;
}
.stat-box strong { font-size: 1.02rem; }

.gallery-section, .video-section, .social-section, .map-section { padding: 72px 0 10px; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.video-wrapper, .map-wrapper {
  border-radius: 28px;
  overflow: hidden;
}
.video-wrapper iframe, .map-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.social-card {
  border-radius: 24px;
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217,176,111,0.35);
}
.social-card span {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
.social-card strong {
  display: block;
  font-size: 1.5rem;
  margin: 14px 0 8px;
}
.social-card small { color: var(--muted); }

.contact-section { padding: 80px 0 30px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.contact-info, .contact-form {
  border-radius: 28px;
  padding: 30px;
}
.contact-list { display: grid; gap: 14px; margin-top: 22px; }
.contact-list a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  color: white;
  border-radius: 16px;
  padding: 15px 16px;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #c7b8a2; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1cb35c;
  color: white;
  box-shadow: 0 16px 35px rgba(0,0,0,0.35);
}
.whatsapp-float svg { width: 31px; height: 31px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
.site-footer {
  text-align: center;
  padding: 34px 18px 90px;
  color: #cdbca5;
}
.site-footer a { color: var(--gold-soft); }

@media (max-width: 980px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-links { flex-wrap: wrap; gap: 12px 18px; }
  .card-grid, .contact-grid, .stats-grid, .gallery-grid, .social-grid, .feature-list {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content { padding-top: 70px; }
}

@media (max-width: 720px) {
  .language-switcher { top: 12px; right: 12px; }
  .brand { max-width: 100%; padding-right: 86px; }
  .nav-links { display: none; }
  .hero { min-height: 88vh; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero p { font-size: 1rem; padding: 14px; }
  .card-grid, .contact-grid, .stats-grid, .gallery-grid, .social-grid, .feature-list {
    grid-template-columns: 1fr;
  }
  .intro-section.container { width: min(1140px, calc(100% - 20px)); }
  .intro-card, .contact-form, .contact-info, .social-card, .stat-box { padding: 22px; }
  .gallery-item img { min-height: 190px; }
}
