:root {
  --yellow: #ffca30;
  --yellow-deep: #f5b900;
  --green: #4eb45e;
  --green-dark: #278f42;
  --burgundy: #53170c;
  --burgundy-light: #7d2818;
  --ink: #241f1d;
  --muted: #6f6864;
  --surface: #ffffff;
  --surface-soft: #fffaf0;
  --line: rgba(83, 23, 12, 0.12);
  --shadow: 0 18px 55px rgba(83, 23, 12, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fffdf9;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--burgundy);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--surface-soft); }
.section-heading { max-width: 780px; margin-bottom: 38px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--burgundy); line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.55rem, 7vw, 5.6rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.7rem); margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
.lead { color: #403936; font-size: clamp(1.07rem, 2vw, 1.28rem); line-height: 1.65; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(83,23,12,0.08);
  background: rgba(255,255,255,0.91);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--burgundy); font-weight: 900; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-text { display: grid; row-gap: 4px; line-height: 1.05; }
.brand-text small { color: var(--green-dark); font-size: 0.73rem; font-weight: 650; letter-spacing: 0.11em; line-height: 1; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 11px 14px; border-radius: 999px; color: #4a413d; font-weight: 760; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { background: rgba(78,180,94,0.12); color: var(--green-dark); }
.nav .nav-cta { background: var(--burgundy); color: #fff; }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible { background: var(--burgundy-light); color: #fff; }
.menu-button { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(83,23,12,0.08); cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { display: block; width: 23px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--burgundy); content: ""; transition: .25s ease; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 66px 0;
  overflow: hidden;
  background: var(--yellow) url('/assets/brand-background.webp') center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,202,48,.05), rgba(255,255,255,.14)); }
.hero-card {
  width: min(850px, 100%);
  padding: clamp(28px, 5vw, 62px);
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 48px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 34px 90px rgba(83,23,12,.24);
  backdrop-filter: blur(15px);
}
.hero-logo { width: clamp(110px, 16vw, 165px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 24px; filter: drop-shadow(0 10px 18px rgba(83,23,12,.16)); }
.hero-badge { display: inline-flex; max-width: 100%; align-items: center; gap: 10px; margin-bottom: 18px; padding: 9px 14px; border-radius: 999px; background: rgba(255,202,48,.24); color: var(--burgundy); font-size: .83rem; font-weight: 850; line-height: 1.25; }
.hero-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(78,180,94,.16); }
.hero-copy { max-width: 720px; }
.hero h1 .accent { color: var(--green-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 16px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 12px 25px rgba(39,143,66,.22); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { background: var(--burgundy); color: #fff; box-shadow: 0 12px 25px rgba(83,23,12,.20); }
.button-secondary:hover { background: var(--burgundy-light); }
.button-light { border-color: rgba(83,23,12,.16); background: #fff; color: var(--burgundy); }
.button-light:hover { border-color: var(--yellow); background: #fffaf0; }
.button svg { width: 20px; height: 20px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 34px; }
.stat { padding: 16px 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.stat strong { display: block; color: var(--burgundy); font-size: clamp(1.4rem,3vw,2rem); line-height: 1; }
.stat span { color: var(--muted); font-size: .84rem; font-weight: 680; }

.community-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.community-card {
  grid-column: span 4;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 40px rgba(83,23,12,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.community-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.community-card.featured { grid-column: span 6; background: linear-gradient(145deg, #fff 0%, #fff7df 100%); }
.platform-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; background: rgba(78,180,94,.12); color: var(--green-dark); }
.platform-icon.burgundy { background: rgba(83,23,12,.10); color: var(--burgundy); }
.platform-icon.yellow { background: rgba(255,202,48,.28); color: var(--burgundy); }
.platform-icon svg { width: 26px; height: 26px; }
.platform-label { margin-bottom: 9px; color: var(--green-dark); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.community-card p { color: var(--muted); }
.card-spacer { flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--burgundy); font-weight: 850; text-decoration: none; }
.card-link:hover { color: var(--green-dark); }
.card-link::after { content: "↗"; }

.action-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--burgundy); color: #fff; box-shadow: var(--shadow); }
.action-band::before { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -120px; border-radius: 50%; background: var(--yellow); opacity: .96; }
.action-band::after { content: ""; position: absolute; width: 210px; height: 210px; right: 130px; bottom: -140px; border-radius: 50%; background: var(--green); }
.action-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; align-items: center; padding: clamp(32px,6vw,68px); }
.action-band h2 { color: #fff; }
.action-band p { max-width: 680px; color: rgba(255,255,255,.80); }
.action-cta { justify-self: end; padding: 18px 26px; border-radius: 18px; background: #fff; color: var(--burgundy); font-weight: 900; text-decoration: none; box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.action-cta:hover { transform: translateY(-2px); }

.directory-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; padding: clamp(30px,5vw,58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.directory-visual { position: relative; display: grid; min-height: 350px; place-items: center; overflow: hidden; padding: 30px; border-radius: 28px; background: var(--yellow) url('/assets/brand-background.webp') center / cover; }
.directory-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(83,23,12,.08)); }
.directory-ui { position: relative; z-index: 1; width: min(100%, 390px); padding: 20px; border: 1px solid rgba(255,255,255,.78); border-radius: 26px; background: rgba(255,255,255,.95); box-shadow: 0 24px 54px rgba(83,23,12,.24); transform: rotate(-1.2deg); }
.directory-ui-head { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-bottom: 15px; color: var(--burgundy); }
.directory-ui-head strong { font-size: 1rem; }
.directory-ui-mark { width: 13px; height: 13px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(78,180,94,.14); }
.directory-ui-menu { color: #9b908b; font-weight: 900; letter-spacing: .08em; }
.directory-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(83,23,12,.10); border-radius: 14px; background: #fffaf0; color: #8a7e78; font-size: .88rem; }
.directory-search svg { width: 20px; height: 20px; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; }
.directory-categories { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }
.directory-categories span { display: grid; min-width: 0; place-items: center; gap: 5px; padding: 9px 5px; border-radius: 12px; background: rgba(255,202,48,.20); color: var(--burgundy); font-size: .68rem; font-weight: 800; text-align: center; }
.directory-categories svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.directory-map { position: relative; height: 150px; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, #ecf7e9 0%, #f8f1d7 55%, #e6f2e2 100%); }
.map-road { position: absolute; border-radius: 999px; background: rgba(255,255,255,.98); box-shadow: 0 0 0 1px rgba(83,23,12,.03); }
.road-one { width: 230px; height: 15px; left: -35px; top: 51px; transform: rotate(-18deg); }
.road-two { width: 225px; height: 13px; right: -46px; bottom: 33px; transform: rotate(20deg); }
.road-three { width: 13px; height: 185px; left: 57%; top: -30px; transform: rotate(8deg); }
.map-pin { position: absolute; display: grid; width: 34px; height: 34px; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--burgundy); color: #fff; box-shadow: 0 8px 16px rgba(83,23,12,.25); }
.map-pin svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.pin-one { left: 20%; top: 23%; }
.pin-two { right: 18%; top: 16%; background: var(--green-dark); }
.pin-three { right: 31%; bottom: 16%; background: var(--yellow-deep); color: var(--burgundy); }
.map-result { position: absolute; left: 12px; bottom: 11px; max-width: 190px; padding: 10px 12px; border-radius: 13px; background: rgba(255,255,255,.95); box-shadow: 0 10px 24px rgba(83,23,12,.13); }
.map-result strong { display: block; color: var(--burgundy); font-size: .82rem; }
.map-result span { display: block; margin-top: 2px; color: #766b65; font-size: .62rem; line-height: 1.35; }
.coming-soon { display: inline-flex; margin-bottom: 16px; padding: 8px 13px; border-radius: 999px; background: rgba(255,202,48,.25); color: var(--burgundy); font-size: .77rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.feature-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: #4a413d; }
.feature-list li::before { content: "✓"; display: grid; flex: 0 0 25px; height: 25px; place-items: center; border-radius: 50%; background: rgba(78,180,94,.14); color: var(--green-dark); font-weight: 950; }

.price-teaser-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 34px 0; }
.price-teaser { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.price-teaser.highlight { border-color: rgba(78,180,94,.55); box-shadow: 0 14px 36px rgba(39,143,66,.12); }
.price-teaser small { color: var(--green-dark); font-weight: 850; }
.price-teaser strong { display: block; margin: 8px 0 10px; color: var(--burgundy); font-size: 2rem; line-height: 1; }
.price-teaser p { color: var(--muted); margin-bottom: 0; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 60px; height: 60px; }
.footer-brand strong { display: block; color: var(--burgundy); }
.footer-brand span { color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.footer-links a { padding: 9px 12px; border-radius: 12px; color: var(--muted); font-weight: 740; text-decoration: none; }
.footer-links a:hover { background: rgba(78,180,94,.10); color: var(--green-dark); }
.copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }

/* Advertising page */
.page-hero { padding: 86px 0 68px; background: var(--yellow) url('/assets/brand-background.webp') center / cover; }
.page-hero-card { padding: clamp(30px,6vw,64px); border-radius: 40px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.6rem,7vw,5.2rem); }
.page-hero .lead { max-width: 850px; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 32px; }
.metric { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.metric strong { display: block; color: var(--green-dark); font-size: 1.65rem; line-height: 1.1; }
.metric span { color: var(--muted); font-size: .86rem; }
.quick-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.quick-nav a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--burgundy); font-weight: 800; text-decoration: none; }
.quick-nav a:hover { border-color: var(--green); color: var(--green-dark); }

.platforms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.platform-card { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.platform-card h3 a { color: inherit; text-decoration: none; }
.platform-card h3 a:hover, .platform-card h3 a:focus-visible { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.platform-card ul, .pricing-card ul, .info-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.platform-link { display: inline-flex; align-items: center; gap: 8px; align-self: end; justify-self: start; margin-top: 22px; color: var(--burgundy); font-weight: 850; text-decoration: none; }
.platform-link::after { content: "↗"; }
.platform-link:hover, .platform-link:focus-visible { color: var(--green-dark); }
.platform-card li, .pricing-card li, .info-card li { position: relative; margin: 9px 0; padding-left: 22px; color: #554b46; }
.platform-card li::before, .pricing-card li::before, .info-card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.pricing-card.featured { border: 2px solid var(--green); transform: translateY(-8px); box-shadow: 0 20px 48px rgba(39,143,66,.14); }
.price-tag { margin: 8px 0 16px; color: var(--burgundy); font-size: 2.45rem; font-weight: 950; line-height: 1; letter-spacing: -.04em; }
.price-tag small { color: var(--muted); font-size: .87rem; font-weight: 750; letter-spacing: 0; }
.pricing-card .button { margin-top: auto; }
.popular { position: absolute; top: 18px; right: 18px; padding: 7px 10px; border-radius: 999px; background: var(--yellow); color: var(--burgundy); font-size: .70rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.note-box { margin-top: 22px; padding: 22px; border-left: 5px solid var(--yellow); border-radius: 0 18px 18px 0; background: #fff8dc; color: #52483f; }
.extras { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 22px; }
.extra-card { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.extra-card strong { color: var(--burgundy); }

.donation-card { padding: clamp(30px,6vw,58px); border-radius: 30px; background: linear-gradient(145deg, var(--burgundy), #7b2a19); color: #fff; box-shadow: var(--shadow); }
.donation-card h2 { color: #fff; }
.donation-card p, .donation-card li { color: rgba(255,255,255,.80); }
.donation-card ul { margin-bottom: 0; }
.donation-card li::before { background: var(--yellow); }
.donation-platform-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 2px 0 22px; }
.donation-audience { display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.10); color: #fff; font-size: .9rem; font-weight: 750; }
.donation-audience strong { color: var(--yellow); font-size: 1.2rem; line-height: 1; }
.donation-group-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: #fff; color: var(--burgundy); font-weight: 900; text-decoration: none; }
.donation-group-link::after { content: "↗"; }
.donation-group-link:hover, .donation-group-link:focus-visible { background: var(--yellow); }
.info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 18px 0; color: var(--burgundy); font-weight: 900; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--green-dark); }
details[open] summary::after { content: "−"; }
details > div { padding: 0 0 20px; color: var(--muted); }
.order-panel { padding: clamp(32px,6vw,64px); border-radius: 32px; background: var(--yellow) url('/assets/brand-background.webp') center / cover; }
.order-panel-inner { max-width: 780px; padding: clamp(28px,5vw,52px); border-radius: 26px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.order-panel ol { padding-left: 22px; color: #4e4541; }
.order-panel li { margin: 8px 0; }

@media (max-width: 900px) {
  .section { padding: 74px 0; }
  .menu-button { display: block; }
  .nav { position: fixed; inset: 79px 20px auto 20px; display: none; flex-direction: column; align-items: stretch; padding: 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; }
  .hero { min-height: auto; }
  .community-card, .community-card.featured { grid-column: span 6; }
  .action-inner, .directory-card { grid-template-columns: 1fr; }
  .action-cta { justify-self: start; }
  .directory-visual { min-height: 280px; order: -1; }
  .price-teaser-grid, .pricing-grid, .platforms-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .metrics { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 46px; height: 46px; }
  .brand-text { font-size: .92rem; }
  .brand-text small { font-size: .62rem; }
  .nav { inset-top: 71px; }
  .hero { padding: 24px 0; }
  .hero-card { border-radius: 30px; }
  .hero-actions .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .community-card, .community-card.featured { grid-column: 1 / -1; min-height: 220px; }
  .action-band::before { right: -190px; }
  .action-inner { padding: 34px 24px; }
  .directory-card { padding: 22px; }
  .directory-visual { min-height: 250px; padding: 18px; }
  .directory-ui { padding: 16px; border-radius: 22px; transform: none; }
  .directory-map { height: 138px; }
  .price-teaser-grid, .info-grid, .extras { grid-template-columns: 1fr; }
  .page-hero { padding: 30px 0; }
  .page-hero-card { border-radius: 28px; }
  .footer-links { display: grid; grid-template-columns: repeat(2,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
