:root {
  --tpv2-black: #121212;
  --tpv2-black-soft: #231815;
  --tpv2-orange: #f97316;
  --tpv2-orange-deep: #d9480f;
  --tpv2-yellow: #facc15;
  --tpv2-yellow-soft: #ffe082;
  --tpv2-white: #ffffff;
  --tpv2-off: #fff7ef;
  --tpv2-text: #26160e;
  --tpv2-muted: #73503a;
  --tpv2-border: rgba(0, 0, 0, .08);
  --tpv2-radius: 24px;
  --tpv2-shadow: 0 18px 50px rgba(45, 19, 4, .14);
  --tpv2-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--tpv2-text);
  background: #fffcf7;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
.container { width: min(calc(100% - 32px), var(--tpv2-container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(90deg, rgba(18,18,18,.96), rgba(53,20,8,.94) 52%, rgba(217,72,15,.95) 100%);
  color: var(--tpv2-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 88px;
}
.site-branding { display: flex; align-items: center; min-width: 0; }
.site-logo-link, .custom-logo-link { display: inline-flex; align-items: center; }
.site-logo-image, .custom-logo-link img { max-height: 58px; width: auto; }
.site-branding__text {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.site-branding__title {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  color: var(--tpv2-yellow);
  text-transform: uppercase;
}
.site-branding__subtitle {
  font-size: .86rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.site-header__toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--tpv2-yellow);
  color: var(--tpv2-black);
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}
.site-nav { justify-self: end; }
.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: 999px;
  transition: .25s ease;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav .current-menu-item > a {
  background: var(--tpv2-yellow);
  color: var(--tpv2-black);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--tpv2-yellow), #ffb703);
  color: var(--tpv2-black);
  box-shadow: 0 10px 20px rgba(250, 204, 21, .22);
}

.hero {
  color: var(--tpv2-white);
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero__content {
  padding: 100px 0 92px;
  max-width: 700px;
}
.hero__eyebrow,
.section__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .77rem;
  font-weight: 800;
  color: var(--tpv2-yellow);
}
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: .95;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero p {
  font-size: 1.06rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: .25s ease;
  border: 2px solid transparent;
}
.button:hover { transform: translateY(-1px); }
.button--primary {
  background: linear-gradient(135deg, var(--tpv2-yellow), #ffb703);
  color: var(--tpv2-black);
  box-shadow: 0 10px 24px rgba(250, 204, 21, .28);
}
.button--dark {
  background: var(--tpv2-black);
  color: var(--tpv2-white);
}
.button--outline {
  border-color: rgba(255,255,255,.84);
  color: var(--tpv2-white);
}

.stats-strip {
  background: linear-gradient(180deg, #2b1209 0%, #1a0f0d 100%);
  color: var(--tpv2-white);
  padding: 20px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--tpv2-yellow);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card span {
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

.section { padding: 78px 0; }
.section--light { background: #fffdf9; }
.section--light-alt { background: var(--tpv2-off); }
.section--dark {
  background: linear-gradient(180deg, var(--tpv2-black) 0%, #2a1209 100%);
  color: var(--tpv2-white);
}
.section--accent {
  background: linear-gradient(120deg, #fff3d6 0%, #fff7ec 46%, #ffe1b8 100%);
}
.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section__summary {
  margin: 0;
  max-width: 720px;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  margin: 0 0 10px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 36px;
  align-items: center;
}
.rounded-image {
  width: 100%;
  border-radius: var(--tpv2-radius);
  box-shadow: var(--tpv2-shadow);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.cards-grid--sponsors-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--tpv2-white);
  border-radius: var(--tpv2-radius);
  overflow: hidden;
  box-shadow: var(--tpv2-shadow);
  border: 1px solid var(--tpv2-border);
  height: 100%;
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card__body { padding: 24px; }
.card__body h2,
.card__body h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.15;
}
.card__body p { color: var(--tpv2-muted); }
.meta-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--tpv2-text);
}
.meta-list--single { margin: 28px 0; }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sponsor-card {
  background: rgba(255,255,255,.85);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  box-shadow: 0 12px 26px rgba(54, 25, 5, .08);
  border: 1px solid rgba(0,0,0,.06);
}
.sponsor-card img {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}
.sponsor-card__title {
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
}
.sponsor-page-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sponsor-page-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}
.sponsor-page-card__logo img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.page-banner {
  padding: 84px 0 62px;
  color: var(--tpv2-white);
  background:
    linear-gradient(90deg, rgba(18,18,18,.95), rgba(65,24,9,.88) 48%, rgba(217,72,15,.82) 100%),
    radial-gradient(circle at top right, rgba(250,204,21,.18), transparent 40%);
}
.page-banner h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}
.page-banner p {
  max-width: 760px;
  color: rgba(255,255,255,.86);
  margin: 0;
}
.single-layout { max-width: 860px; }
.single-content { display: grid; gap: 24px; }
.content-default h1,
.content-default h2,
.content-default h3 { line-height: 1.2; }
.content-default > *:last-child { margin-bottom: 0; }

.donation-box {
  background: linear-gradient(135deg, #fff6cf, #ffe5b4);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(0,0,0,.08);
  margin-bottom: 16px;
}
.donation-note {
  color: var(--tpv2-muted);
  margin-bottom: 20px;
}
.donation-qr {
  max-width: 420px;
  background: #fff;
  padding: 16px;
}
.placeholder-box {
  min-height: 280px;
  border-radius: var(--tpv2-radius);
  background: linear-gradient(135deg, #fff7db, #ffe7bc);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px;
  border: 2px dashed rgba(0,0,0,.1);
  color: var(--tpv2-muted);
}

.site-footer {
  background: linear-gradient(180deg, var(--tpv2-black) 0%, #190e09 100%);
  color: var(--tpv2-white);
  padding-top: 54px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1fr;
  gap: 28px;
  padding-bottom: 38px;
}
.footer-grid h3 { margin-top: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--tpv2-yellow); }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  color: rgba(255,255,255,.8);
}

.empty-state {
  padding: 18px 22px;
  background: rgba(255,255,255,.86);
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.12);
  color: var(--tpv2-muted);
}
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

@media (max-width: 1040px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
  }
  .site-nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #22110a;
    padding: 14px 16px 18px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav a { justify-content: flex-start; }
  .site-header__toggle { display: inline-flex; }
  .header-cta { display: none; }
  .grid-two,
  .cards-grid,
  .cards-grid--sponsors-page,
  .sponsor-grid,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .section__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero__content {
    padding: 82px 0 74px;
  }
}

@media (max-width: 560px) {
  .site-logo-image, .custom-logo-link img { max-height: 46px; }
  .site-branding__title { font-size: 1.3rem; }
  .hero h1 { font-size: 2.4rem; }
  .card img { height: 220px; }
  .section { padding: 64px 0; }
}
