:root {
  --cream: #fbf6ef;
  --sand: #f1e6d6;
  --sand-deep: #e6d6bf;
  --ink: #1a1614;
  --ink-soft: #4a423d;
  --muted: #7a6f67;
  --red: #941b1e;
  --red-deep: #6e1215;
  --red-tint: #f6e3e1;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(26, 22, 20, .06), 0 8px 24px rgba(26, 22, 20, .07);
  --wrap: 1140px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.accent { color: var(--red); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 112px) 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.section-head { max-width: 680px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--white); color: var(--red-deep); }
.btn-light:hover { background: var(--cream); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 239, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(26, 22, 20, .07);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-family: var(--font-head);
  font-weight: 500; font-size: .98rem;
}
.nav a:not(.btn):hover { color: var(--red); }
@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .brand img { height: 38px; }
}

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lede { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: .92rem; color: var(--muted); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 5 / 5.6; max-height: 600px; object-fit: cover; object-position: 50% 35%;
  border-radius: 28px 28px 28px 120px; box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -18px; bottom: 36px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 250px;
}
.hero-badge img { width: 44px; height: auto; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.hero-badge span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
  .hero-badge { left: 12px; }
}

/* Pillars */
.pillars { background: var(--white); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding: 32px; border-radius: var(--radius); background: var(--cream); }
.pillar-num {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--red);
  width: 40px; height: 40px; border-radius: 50%; background: var(--red-tint);
  display: grid; place-items: center; margin-bottom: 20px;
}
.pillar p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } }

/* Webinars */
.featured {
  display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white);
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px;
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.featured-body { padding: clamp(28px, 4vw, 48px); }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  background: var(--red-tint); color: var(--red-deep); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured-media img { max-height: 280px; } }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topic {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(26,22,20,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.topic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.topic-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.topic-body p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.topic-link {
  font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
}
.topic-link:hover { gap: 10px; }
@media (max-width: 960px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .topic-grid { grid-template-columns: 1fr; } }

/* About */
.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media img { border-radius: 24px; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; box-shadow: var(--shadow); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.mv div { background: var(--cream); border-radius: var(--radius-sm); padding: 22px; }
.mv h3 { font-size: 1.05rem; color: var(--red-deep); }
.mv p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .about-grid, .mv { grid-template-columns: 1fr; } .about-media { max-width: 520px; } }

/* Community band */
.community { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.community::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 360px; height: 260px;
  background: url("img/mark.png") center / contain no-repeat; opacity: .1; filter: brightness(0) invert(1);
}
.community-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; position: relative; z-index: 1; }
.community h2 { color: var(--white); margin-bottom: .3em; }
.community p { color: rgba(255,255,255,.85); margin: 0; max-width: 52ch; }
@media (max-width: 760px) { .community-inner { flex-direction: column; align-items: flex-start; } }

/* FAQ */
.faq-list { max-width: 820px; display: grid; gap: 12px; }
.faq-list details { background: var(--white); border-radius: var(--radius-sm); padding: 0 24px; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--red); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: 28px;
  text-decoration: none; color: var(--ink); display: block; transition: border-color .2s ease, background .2s ease;
}
.contact-card:hover { border-color: var(--red); background: var(--cream); }
.contact-card .label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card .value { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin-top: 6px; word-break: break-word; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.socials a {
  text-decoration: none; color: var(--ink); border: 1px solid var(--sand-deep); border-radius: 999px;
  padding: 9px 18px; font-weight: 500; font-size: .95rem;
}
.socials a:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(251, 246, 239, .72); padding: 48px 0 40px; font-size: .92rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 40px; width: auto; }
.site-footer a { color: rgba(251, 246, 239, .9); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(251,246,239,.12); }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.wa-float svg { width: 30px; height: 30px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound img { width: 140px; margin: 0 auto 24px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
