:root {
  --cream: #f4efe7;
  --paper: #faf7f2;
  --ink: #201d1a;
  --ink-soft: #4a4540;
  --gold: #a9803f;
  --gold-soft: #d9c39d;
  --line: rgba(32, 29, 26, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.narrow { max-width: 720px; }
.center { text-align: center; }

img { max-width: 100%; display: block; }

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

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  min-width: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: var(--line);
  flex-shrink: 0;
}

.brand-cause {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cause-logo {
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 560px) {
  .brand span { display: none; }
  .brand-logo { height: 26px; }
  .cause-logo { height: 32px; }
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.nav-links a:hover { opacity: 1; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #211d19 0%, #2c2620 55%, #201c18 100%);
  color: var(--cream);
  padding: 158px 0 64px;
}

.hero-windows {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  opacity: 0.35;
}

.hero-windows span {
  border: 1px solid rgba(244, 239, 231, 0.18);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 56px;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.pse-banner {
  background: #ffffff;
  padding: 64px 28px;
  display: flex;
  justify-content: center;
}

.pse-banner-logo {
  display: block;
  width: 100%;
  max-width: 440px;
}

.pse-banner-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  line-height: 1.02;
  font-style: italic;
  font-weight: 500;
}

.hero-author {
  margin: 22px 0 14px;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.hero-support {
  max-width: 460px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: rgba(244, 239, 231, 0.75);
  font-weight: 300;
}

.hero-support strong { color: var(--gold-soft); font-weight: 500; }

.hero-cta {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  font-family: var(--sans);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #211d19;
}

.btn-primary:hover { background: var(--cream); border-color: var(--cream); }

.btn-ghost {
  color: var(--cream);
  border-color: rgba(244, 239, 231, 0.4);
}

.btn-ghost:hover {
  background: rgba(244, 239, 231, 0.08);
  border-color: var(--cream);
}

.section .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}
.section .btn-ghost:hover { background: rgba(32,29,26,0.05); }

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.text-link:hover { opacity: 0.7; }

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
}

.section.alt {
  background: var(--cream);
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.kicker.small { font-size: 0.72rem; margin-bottom: 10px; }

.section h1,
.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-style: italic;
  margin-bottom: 26px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.lead.narrow-text { max-width: 640px; }

.section p { font-weight: 300; }

/* ---------- Schedule ---------- */
.schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 50px;
}

.schedule-card {
  background: var(--cream);
  padding: 38px 28px;
  text-align: center;
}

.schedule-card .day {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.schedule-card .hours {
  font-size: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  margin: 0 0 8px;
}

.schedule-card .detail {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

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

.venue {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.venue-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.venue-address {
  color: var(--ink-soft);
  margin: 0 0 6px;
}

/* ---------- Collaborate ---------- */
.collab-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.collab-card {
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.collab-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  margin: 0 0 10px;
  color: var(--ink);
}

.collab-text {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Página de pago ---------- */
.pay-page .section { padding-top: 160px; }

.pay-card {
  max-width: 460px;
  margin: 40px auto 34px;
  text-align: left;
}

.pay-method + .pay-method {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.pay-method .pay-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.pay-method .pay-holder {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.pay-method .pay-value {
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.pay-value span {
  display: inline-block;
  white-space: nowrap;
}

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

/* ---------- Share ---------- */
.share-buttons {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #211d19;
  color: rgba(244, 239, 231, 0.65);
  padding: 46px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner p { margin: 4px 0; }

.footer-cause {
  color: var(--gold-soft);
  margin-top: 12px !important;
}
