/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  background: var(--bg);
}

.servicios-header {
  text-align: center;
  margin-bottom: 56px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.servicio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.servicio-card-bg {
  width: 100%;
  height: 100%;
  background: var(--surface);
  transition: transform 0.5s ease;
}

/* Placeholder gradients per card */
.servicio-card:nth-child(1) .servicio-card-bg {
  background: linear-gradient(160deg, #1a0a0a 0%, #2d0808 100%);
}
.servicio-card:nth-child(2) .servicio-card-bg {
  background: linear-gradient(160deg, #0a0a1a 0%, #0d1a2d 100%);
}
.servicio-card:nth-child(3) .servicio-card-bg {
  background: linear-gradient(160deg, #0a1a0a 0%, #0d2d1a 100%);
}

.servicio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 60%, transparent 100%);
  transition: opacity 0.3s ease;
}

.servicio-card:hover .servicio-card-bg,
.servicio-card:hover img {
  transform: scale(1.05);
}

.servicio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  z-index: 1;
}

.servicio-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.servicio-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.servicio-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.servicio-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .servicio-card {
    aspect-ratio: 4/3;
  }
}


/* ============================================
   POR QUÉ DRAAK
   ============================================ */
.porque {
  background: var(--surface);
}

.porque-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.porque-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--surface-high);
}

.porque-visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a0505 0%, #2d0808 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.porque-visual-placeholder span {
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(224,30,30,0.15);
  letter-spacing: 4px;
}

.porque-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.porque-accent {
  position: absolute;
  top: 24px;
  left: -12px;
  width: 4px;
  height: 80px;
  background: var(--red);
}

.porque-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.porque-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.porque-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.porque-item-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  min-width: 48px;
  opacity: 0.6;
}

.porque-item-title {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.porque-item-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .porque-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .porque-visual {
    aspect-ratio: 4/5;
  }
}


/* ============================================
   SEDES PREVIEW
   ============================================ */
.sedes-preview {
  background: var(--bg);
}

.sedes-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}

.sedes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sede-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.sede-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.sede-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: var(--surface-high);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sede-nombre {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sede-zona {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .sedes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sedes-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   NAV CARDS (Equipo + Merch)
   ============================================ */
.nav-cards {
  background: var(--bg);
  padding: 0;
}

.nav-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.nav-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.nav-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.65);
}

.nav-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.74) 100%);
}

.nav-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.75);
}

.nav-card-content {
  position: absolute;
  inset: 0;
  padding: 32px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.nav-card-content > * {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.nav-card-tag {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}

.nav-card-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.nav-card-arrow {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.nav-card:hover .nav-card-arrow {
  color: var(--red);
}

/* Mobile: los tiles quedan LADO A LADO (2 columnas, no apilados) en formato
   vertical 3/4 — la página se acorta y las fotos (retratos) se siguen leyendo */
@media (max-width: 640px) {
  .nav-card {
    aspect-ratio: 3/4;
  }
  .nav-card-content { padding: 16px; gap: 6px; }
  .nav-card-tag { font-size: 10px; letter-spacing: 1.2px; }
  .nav-card-title { font-size: clamp(26px, 8vw, 40px); }
  .nav-card-arrow { font-size: 11px; letter-spacing: 0.6px; }
}


/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--surface);
}

/* La FAQ del Home usa estilo "chat conversacional" (.faq-chat / .chat-msg),
   definido inline en index.html. La de preguntas.html también vive inline en esa
   página. Acá no queda nada: el bloque .faq-inner/.faq-item que había era CSS
   muerto (ninguna pagina lo usaba). */


/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  background: var(--red);
  padding: 80px 0;
  text-align: center;
}

.cta-final .section-title {
  color: #fff;
  font-size: clamp(36px, 7vw, 72px);
}

.cta-final p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin: 16px auto 36px;
  max-width: 480px;
}

.btn-white {
  background: #fff;
  color: var(--red);
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050505;
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
}

.footer-brand-name em {
  color: var(--red);
  font-style: normal;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-col-title {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--red);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   GALERÍA
   ============================================ */
.galeria {
  padding: 0;
  overflow: hidden;
}

.galeria-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
  height: 564px;
}

.galeria-item {
  overflow: hidden;
  position: relative;
}

.galeria-item-tall {
  grid-row: 1 / 3;
}

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

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

@media (max-width: 640px) {
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    height: 404px;
  }
  .galeria-item-tall {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  background: var(--surface);
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.contacto-info .section-subtitle {
  margin-top: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.form-success {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(224,30,30,0.08);
  border: 1px solid var(--red);
  border-radius: 2px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contacto-info {
    position: static;
  }
}


/* ============================================
   PRICING MODAL
   ============================================ */
.pricing-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.pricing-overlay.open {
  opacity: 1; pointer-events: all;
}
.pricing-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 100%;
  max-width: 500px;
  padding: 40px 36px 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.pricing-overlay.open .pricing-modal {
  transform: translateY(0);
}
.pricing-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--surface-high); border: none; border-radius: 50%;
  color: var(--text-muted); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.pricing-close:hover { background: var(--border); color: var(--text); }
.pricing-header { margin-bottom: 28px; }
.pricing-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.pricing-title {
  font-family: var(--font-display);
  font-size: 38px; letter-spacing: 1px; text-transform: uppercase;
  line-height: 1; margin-bottom: 8px;
}
.pricing-subtitle { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.pricing-plans { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.pricing-plan {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  user-select: none;
}
.pricing-plan:hover { border-color: var(--text-muted); }
.pricing-plan.highlight { border-color: var(--red); }
.pricing-plan.selected {
  border-color: var(--red) !important;
  background: rgba(224,30,30,0.07);
}
.pricing-plan-row { display: flex; align-items: center; gap: 12px; }
.pricing-plan-radio {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: border-color 0.18s, background 0.18s;
  position: relative;
}
.pricing-plan:hover .pricing-plan-radio { border-color: var(--text-muted); }
.pricing-plan.selected .pricing-plan-radio { border-color: var(--red); background: var(--red); }
.pricing-plan.selected .pricing-plan-radio::after {
  content: ''; position: absolute;
  inset: 3px; background: #fff; border-radius: 50%;
}
.pricing-plan-left { display: flex; flex-direction: column; gap: 2px; }
.pricing-plan-name {
  font-family: var(--font-sub); font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-plan.highlight .pricing-plan-name { color: var(--red); }
.pricing-plan-detail { font-size: 12px; color: var(--text-muted); }
.pricing-plan-price {
  font-family: var(--font-display); font-size: 24px;
  color: var(--red); letter-spacing: 0.5px; white-space: nowrap;
}
.pricing-actions { display: flex; flex-direction: column; gap: 10px; }
.pricing-actions .btn { text-align: center; justify-content: center; width: 100%; }
.pricing-note {
  font-size: 12px; color: var(--text-muted);
  text-align: center; margin-top: 16px; line-height: 1.5;
}

@media (max-width: 480px) {
  .pricing-modal { padding: 32px 20px 28px; }
  .pricing-title { font-size: 30px; }
}


/* ============================================
   LIGHTBOX
   ============================================ */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb-overlay.open {
  opacity: 1; pointer-events: all;
}
.lb-img {
  max-width: 92vw; max-height: 86vh;
  object-fit: contain; border-radius: 2px;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  user-select: none;
}
.lb-overlay.open .lb-img {
  transform: scale(1);
}
.lb-close {
  position: absolute; top: 16px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border-radius: 50%;
  font-size: 20px; color: rgba(255,255,255,0.6);
  cursor: pointer; border: none;
  transition: background 0.2s, color 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.18); color: #fff; }
.galeria-item { cursor: zoom-in; }
[data-lightbox] { cursor: zoom-in; }
