/* ============================================================
   CAMPAÑA LEILA GARELLO — Shared Stylesheet
   Used by: campaña-leila.html & campaign-en.html
   ============================================================ */

/* ── Reset & Variables ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:       #FDF6EE;
  --warm-white:  #FFFBF7;
  --coral:       #E8614A;
  --coral-light: #F5D5CF;
  --coral-dark:  #C04030;
  --blue:        #3A7CA5;
  --blue-dark:   #1A3550;
  --blue-mid:    #2A5A82;
  --blue-light:  #D0E8F5;
  --text-dark:   #2A1F1A;
  --text-mid:    #5A4038;
  --text-soft:   #8A6E64;
  --border:      #ECD9CF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #1A3550 0%, #2A5A82 60%, #3A7CA5 100%);
  color: white;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #A8D8F0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: italic;
  color: #A8D8F0;
}

.hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
  background: var(--coral);
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(232,97,74,0.4);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: background 0.2s;
  display: inline-block;
}

.btn-secondary:hover { background: rgba(255,255,255,0.22); }

/* ── Stats Bar ── */
.stats-bar {
  background: white;
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.stats-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--coral);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Sections ── */
.section {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-tag {
  display: inline-block;
  background: var(--coral-light);
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

/* ── Story Quote ── */
.story-quote {
  border-left: 4px solid var(--coral);
  padding: 1.2rem 1.5rem;
  background: white;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ── T1D Badge ── */
.t1d-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  color: var(--blue);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  border: 1.5px solid var(--border);
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.info-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0;
}

/* ── Pump Section wrapper ── */
.pump-section {
  background: white;
  padding: 0;
}

.pump-section .wave-top {
  height: 50px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 0%);
  margin-top: -2px;
}

/* ── Needs Section ── */
.needs-section {
  background: white;
  padding: 4rem 2rem;
}

.needs-inner {
  max-width: 820px;
  margin: 0 auto;
}

.needs-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.need-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.need-row:last-of-type { border-bottom: none; }

.need-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  min-width: 130px;
  white-space: nowrap;
}

.need-amount.blue  { color: var(--blue); }
.need-amount.soft  { color: var(--text-soft); }

.need-desc h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.need-desc p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

/* ── Progress Bar ── */
.progress-wrap {
  background: var(--blue-light);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.progress-bar-bg {
  background: rgba(255,255,255,0.6);
  border-radius: 50px;
  height: 14px;
  overflow: hidden;
}

.progress-bar-fill {
  background: var(--blue);
  height: 100%;
  border-radius: 50px;
  width: 0%;
  animation: growBar 2s 0.5s ease forwards;
}

@keyframes growBar { to { width: 12%; } }

.progress-meta {
  display: flex;
  gap: 2rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.progress-meta div { text-align: center; }

.progress-meta .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
}

.progress-meta .lbl {
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-note {
  font-size: 0.9rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 0.5rem;
}

/* ── How to Help ── */
.help-section {
  background: var(--blue-dark);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.help-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 0.8rem;
}

.help-section > p {
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.help-options {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}

.help-card {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
}

.help-card .icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.help-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
}

.help-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}

/* ── Donate Box ── */
.donate-box {
  margin: 3rem auto 0;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 2rem;
  max-width: 520px;
}

.donate-box .donate-title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.donate-box .donate-row {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.donate-box .donate-row strong { color: white; }

.donate-box code {
  font-family: monospace;
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.donate-box .donate-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ── Share Section ── */
.share-section {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--cream);
}

.share-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.share-section .share-sub {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.share-btns {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Nunito', sans-serif;
}

.share-btn:hover { transform: translateY(-2px); }
.share-btn.fb { background: #1877F2; color: white; }
.share-btn.wa { background: #25D366; color: white; }
.share-btn.tw { background: #1DA1F2; color: white; }
.share-btn.cp { background: var(--text-dark); color: white; }

/* ── Footer ── */
footer {
  background: #111;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

footer strong { color: white; }
footer a { color: rgba(255,255,255,0.7); }
footer .footer-sub { margin-top: 0.5rem; }

/* ── Scroll Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Utilities ── */
.highlight {
  color: var(--coral);
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero            { padding: 3.5rem 1.5rem 3rem; }
  .section         { padding: 3rem 1.5rem; }
  .needs-section   { padding: 3rem 1.5rem; }
  .need-row        { flex-direction: column; gap: 0.4rem; }
  .need-amount     { font-size: 1.2rem; min-width: unset; }
  .help-section    { padding: 3rem 1.5rem; }
  .help-card       { max-width: 100%; }
  .share-section   { padding: 2.5rem 1.5rem; }
}
