/* ===========================================================
   OnlyFuego.com — Mission & Donations
   "Fluffy" warm, friendly, community theme (Goodwill-inspired)
   Deep friendly blue + sunny/coral/mint warm blocks, rounded, soft
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* brand */
  --blue: #1c4fa0;
  --blue-dark: #163e80;
  --blue-deep: #11295a;
  --blue-soft: #e9f1fc;
  /* warm accents */
  --sun: #ffc845;
  --sun-soft: #fff4d6;
  --coral: #f4836a;
  --coral-soft: #ffe7e0;
  --mint: #5bb98c;
  --mint-soft: #e3f5ec;
  /* neutrals */
  --cream: #fffaf1;
  --paper: #ffffff;
  --ink: #2c2b33;
  --ink-soft: #56545f;
  --line: #efe7d8;

  /* legacy inline-style vars from ported pages now map to the new palette */
  --primary-black: #2c2b33;
  --soft-black: #56545f;
  --warm-white: #ffffff;
  --accent-gold: #1c4fa0;        /* inline gold buttons/links -> friendly blue */
  --accent-gold-bright: #ffc845; /* inline bright accents -> sunny yellow */
  --light-gray: #f3eee2;
  --medium-gray: #6f6c79;

  --r: 18px;
  --r-lg: 30px;
  --pill: 999px;
  --shadow: 0 14px 38px rgba(20,40,80,.10);
  --shadow-sm: 0 6px 18px rgba(20,40,80,.07);
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-weight: 800; line-height: 1.18; color: var(--ink); letter-spacing: -.2px; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.fuel-gauge { display: none !important; visibility: hidden; }

/* ---------- Buttons ---------- */
/* base layout shared by ALL button variants (so .btn-outline works on its own) */
.btn, .form-submit, .btn-outline {
  display: inline-block; border: 0; padding: 14px 30px; border-radius: var(--pill);
  font-weight: 800; font-size: 15px; letter-spacing: .2px; line-height: 1.2;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn, .form-submit { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(28,79,160,.22); }
.btn:hover, .form-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(28,79,160,.3); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); box-shadow: none; }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 0 var(--line); }
.header-top {
  background: var(--blue); color: #fff; text-align: center;
  padding: 9px 16px; font-size: 13px; letter-spacing: .4px; font-weight: 700;
}
.header-top a { color: var(--sun); text-decoration: none; font-weight: 800; }
nav.main-nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 5%; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.brand .brand-name { font-size: 25px; font-weight: 900; letter-spacing: .5px; color: var(--blue); }
.brand .brand-sub { font-size: 10.5px; letter-spacing: 1.5px; color: var(--coral); text-transform: uppercase; margin-top: 3px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 700; padding: 8px 0; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--sun); color: var(--ink) !important; padding: 11px 24px !important;
  border-radius: var(--pill); font-weight: 900 !important; font-size: 14px !important;
  box-shadow: 0 8px 16px rgba(255,200,69,.35);
}
.nav-cta:hover { background: #ffbe24; transform: translateY(-1px); }
.dropdown-content {
  display: none; position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 240px; box-shadow: var(--shadow); border-radius: var(--r); padding: 10px 0; z-index: 1001;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 10px 20px; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.dropdown-content a:hover { background: var(--blue-soft); color: var(--blue); }
.dropdown > a .arrow { font-size: 9px; margin-left: 4px; color: var(--coral); }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--blue); }

/* ---------- Generic page hero (ported pages keep inline white text) ---------- */
.page-hero {
  background: var(--blue);
  background-image: radial-gradient(circle at 12% 18%, rgba(255,255,255,.10), transparent 40%),
                    radial-gradient(circle at 88% 80%, rgba(255,200,69,.18), transparent 45%);
  color: #fff !important; padding: 60px 5% 64px; border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.page-hero > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.page-hero h1 { color: #fff !important; font-size: clamp(28px, 4vw, 40px) !important; margin-bottom: 12px !important; }
.page-hero p { color: rgba(255,255,255,.92) !important; font-size: 17px !important; max-width: 760px; }
.page-hero a[style] { border-radius: var(--pill) !important; }

/* ---------- Page content ---------- */
.page-content { padding: 48px 5%; }
.page-content > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.two-col-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 48px; align-items: start; }
.content-col { min-width: 0; }
.sidebar-col { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }

.content-section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 2px dotted var(--line); }
.content-section:last-child { border-bottom: none; }
.content-section h2 { font-size: 27px; margin-bottom: 14px; }
.content-section h3 { font-size: 18px; margin: 16px 0 6px; }
.content-section h4 { font-size: 16px; margin-bottom: 6px; }
.content-section p { margin-bottom: 13px; color: var(--ink-soft); }
.content-section ul, .content-section ol { margin: 0 0 13px 22px; color: var(--ink-soft); }
.content-section li { margin-bottom: 6px; }
.content-section a { color: var(--blue); font-weight: 700; }

.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.content-card h4 { color: var(--ink); }
.content-card p { font-size: 15px; margin-bottom: 0; }

/* ---------- Sidebar widgets ---------- */
.sidebar-form, .sidebar-address, .sidebar-contact, .sidebar-cta {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.sidebar-cta { background: var(--sun-soft); border-color: #f5e3b4; text-align: center; }
.sidebar-form h3 { font-size: 19px; margin-bottom: 10px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 13px; margin-bottom: 6px; color: var(--ink-soft); font-weight: 700; }
.form-group input, .form-group textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; font-size: 15px; font-family: inherit;
}

/* ---------- Homepage ---------- */
.home-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--cream) 100%);
  padding: 84px 5% 92px;
}
.home-hero::before { content:""; position:absolute; top:-80px; right:-60px; width:340px; height:340px; border-radius:50%; background: var(--sun-soft); z-index:0; }
.home-hero::after { content:""; position:absolute; bottom:-90px; left:-50px; width:260px; height:260px; border-radius:50%; background: var(--coral-soft); z-index:0; }
.home-hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.home-hero .eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; font-weight: 900; color: var(--blue); margin-bottom: 16px; }
.home-hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; max-width: 900px; margin-bottom: 20px; color: var(--ink); }
.home-hero p.lead { font-size: 20px; line-height: 1.7; color: var(--ink-soft); max-width: 660px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges span {
  font-size: 14px; font-weight: 800; color: var(--blue-dark);
  background: #fff; border: 1.5px solid var(--blue-soft); border-radius: var(--pill); padding: 9px 18px; box-shadow: var(--shadow-sm);
}

.section { padding: 72px 5%; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section.alt { background: #fff; }
/* warm alternating color blocks, Goodwill-style */
.section:nth-of-type(even):not(.impact-band):not(.cta-band):not(.alt) { background: var(--mint-soft); }
.section h2.section-title { font-size: clamp(27px,3.6vw,38px); text-align: center; margin-bottom: 12px; }
.section p.section-sub { text-align: center; color: var(--ink-soft); max-width: 660px; margin: 0 auto 44px; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step:nth-child(2) .num { background: var(--coral); color:#fff; }
.step:nth-child(3) .num { background: var(--mint); color:#fff; }
.step:nth-child(4) .num { background: var(--blue); color:#fff; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-soft); }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease; position: relative;
}
.card::before { content:""; display:block; width:46px; height:8px; border-radius:var(--pill); background:var(--sun); margin-bottom:16px; }
.card:nth-child(3n+2)::before { background: var(--coral); }
.card:nth-child(3n)::before { background: var(--mint); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-soft); }
.card .more { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 800; font-size: 15px; }

.impact-band { background: var(--blue); border-radius: 0; }
.impact-band .section-title, .impact-band .section-sub { color: #fff !important; }
.impact-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; text-align: center; }
.impact-stats .stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); padding: 28px 18px; }
.impact-stats .stat .big { font-size: 46px; font-weight: 900; color: var(--sun); }
.impact-stats .stat p { color: rgba(255,255,255,.9); font-size: 16px; margin-top: 6px; }

.cta-band { background: linear-gradient(135deg, var(--sun-soft), var(--coral-soft)); text-align: center; }
.cta-band h2 { font-size: clamp(27px,3.6vw,38px); margin-bottom: 14px; color: var(--ink); }
.cta-band p { color: var(--ink-soft); max-width: 600px; margin: 0 auto 28px; font-size: 18px; }

.pill-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill-links a { background: #fff; border: 1.5px solid var(--blue-soft); border-radius: var(--pill); padding: 10px 20px; font-size: 15px; text-decoration: none; color: var(--blue-dark); font-weight: 700; box-shadow: var(--shadow-sm); }
.pill-links a:hover { border-color: var(--blue); background: var(--blue-soft); }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 28px; margin: 32px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 8px; }
.prose p { margin-bottom: 15px; color: var(--ink-soft); }
.prose ul { margin: 0 0 15px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 7px; }

/* ---------- Mission strip (injected atop item pages: good first, receipt second) ---------- */
.mission-strip { background: var(--blue-soft); padding: 38px 5%; }
.mission-strip .inner { max-width: var(--maxw); margin: 0 auto; }
.mission-strip .eyebrow { font-weight: 900; color: var(--blue); text-transform: uppercase; letter-spacing: 1.2px; font-size: 13px; margin-bottom: 6px; }
.mission-strip h2 { font-size: 25px; margin-bottom: 18px; }
.mission-strip .ms-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mission-strip .ms-note { font-size: 13px; color: var(--medium-gray); margin-top: 12px; }
.mini3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mini3 .m { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.mini3 .m .ico { font-size: 26px; display: block; margin-bottom: 6px; }
.mini3 .m h4 { font-size: 16px; margin-bottom: 4px; }
.mini3 .m p { font-size: 14px; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px){ .mini3 { grid-template-columns: 1fr; } }

/* ---------- Give form ---------- */
.give-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); margin-top: 6px; }
.give-form .form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.give-form textarea { min-height: 120px; resize: vertical; }
.give-form .form-submit { width: 100%; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--medium-gray); margin-top: 12px; text-align: center; }
@media (max-width: 600px){ .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #cdd8ee; padding: 60px 5% 30px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 38px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cdd8ee; text-decoration: none; font-size: 15px; font-weight: 600; }
.site-footer a:hover { color: var(--sun); }
.footer-about p { font-size: 15px; color: #b7c4dd; margin-bottom: 12px; }
.footer-ein { font-size: 12.5px; color: #8ea0c2; }
.footer-bottom { max-width: var(--maxw); margin: 34px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #8ea0c2; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.footer-bottom a { color: #8ea0c2; text-decoration: none; }
.footer-bottom a:hover { color: var(--sun); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links > li { padding: 0 5%; }
  .nav-links a { padding: 13px 0; display: block; }
  .dropdown-content { position: static; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; }
  .dropdown:hover .dropdown-content { display: block; }
  .nav-toggle { display: block; }
  .two-col-layout { grid-template-columns: 1fr; }
  .sidebar-col { position: static; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .cards { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .home-hero { padding: 60px 5% 70px; }
}
