:root {
  --blue: #1a789e;
  --orange: #e2831e;
  --purple: #761354;
  --red: #a21e00;
  --teal: #139da3;
  --cream: #f7f3ec;
  --light: #f5f5f5;
  --text: #17333d;
  --font-title: 'Cabinet Grotesk', 'Anton SC', 'Arial Black', system-ui, sans-serif;
  --font-body: 'General Sans', 'Inter', system-ui, sans-serif;

  /* Custom blue shades matching the #1a789e color theme */
  --avante-dark: #1a789e;
  --avante-medium: #135d7c;
  --avante-light: #208dbb;
  --avante-charcoal: #0e455c;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-body), sans-serif;
  overflow-x: hidden;
}

/* Subpage Hero Styles */
.hero {
  min-height: 400px;
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.18), transparent 26%),
              radial-gradient(circle at 80% 70%, rgba(226,131,30,.28), transparent 30%);
  opacity: .8;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/textura%20fondo.png') center/cover;
  opacity: 0.05;
  z-index: 2;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(38px, 6vw, 60px);
  line-height: .85;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.03em;
}

/* Support Cards Section */
.support-section {
  padding: 90px 24px;
  background: #ffffff;
  position: relative;
}

.support-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/textura%20fondo.png') center/cover;
  opacity: 0.04;
  z-index: 1;
  pointer-events: none;
}

.support-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.support-card.amigo,
.support-card.actor,
.support-card.dramaturgo {
  grid-column: span 2;
}

.support-card.director {
  grid-column: 2 / span 2;
}

.support-card.productor {
  grid-column: 4 / span 2;
}

.support-card {
  border-radius: 20px;
  padding: 40px 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(26, 120, 158, 0.15);
}

/* Specific background colors matching the mockup layout (using Blue shades) */
.support-card.amigo {
  background: var(--avante-charcoal);
}

.support-card.actor {
  background: var(--avante-medium);
}

.support-card.dramaturgo {
  background: var(--avante-dark);
}

.support-card.director {
  background: var(--avante-dark);
}

.support-card.productor {
  background: var(--avante-light);
}

.support-card .card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.card-top h3 {
  font-family: var(--font-title);
  font-size: 28px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.card-top .price {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 25px;
  font-weight: 600;
}

.card-top ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.card-top li.has-icon {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  margin-bottom: 16px;
}

.card-top li.has-icon::before {
  display: none;
}

.card-top li.has-icon svg.card-icon,
.card-top li.has-icon img.card-icon {
  width: 36px;
  height: auto;
  flex-shrink: 0;
  margin-top: -2px;
}

.card-top li {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}

.card-top li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 18px;
}

.btn-donate {
  width: 100%;
  padding: 14px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  box-sizing: border-box;
  text-decoration: none;
}

/* Crimson solid button */
.btn-donate.solid {
  background: #ffffff;
  color: var(--avante-dark);
  border: 1px solid #ffffff;
}

.btn-donate.solid:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* White background / outline button */
.btn-donate.outline {
  background: #ffffff;
  color: var(--avante-dark);
  border: 1px solid #ffffff;
}

.btn-donate.outline:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Sponsor Logos Section: Background handled by footer-wrapper */
.sponsors-section {
  padding: 80px 24px 20px 24px; /* Reduced bottom padding slightly since it flows into footer */
  background: transparent;
  position: relative;
  z-index: 2; /* To sit above footer texture */
}

.sponsors-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.sponsors-section h2 {
  color: #ffffff;
  margin-bottom: 50px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.sponsor-logo-card {
  width: 100%;
  max-width: 200px;
  height: 120px;
  background: transparent;
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.sponsor-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s;
}

.sponsor-logo-card img[src*="4.avif"] {
  transform: scale(1.4);
}

.sponsor-logo-card:hover {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .support-card.amigo,
  .support-card.actor,
  .support-card.dramaturgo,
  .support-card.director,
  .support-card.productor {
    grid-column: auto;
  }
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }
}

/* Fix newsletter background gradient bleeding into sponsors */
.newsletter {
  overflow: hidden;
}


/* Adjust hero height on mobile to match teatros.html */
@media (max-width: 900px) {
  .hero {
    min-height: 260px !important;
    padding: 70px 18px !important;
  }
}
