/* ============================================================
   Ayni Bionics — main.css
   Vanilla CSS (sin frameworks) — listo para XAMPP
   ============================================================ */

/* -------------------------
   Design tokens
------------------------- */
:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --surface2: #f0f4ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, .10);

  --primary: #306ee8;
  --primary-2: #1b8cff;
  --ok: #16a34a;
  --warn: #f59e0b;
  --bad: #ef4444;

  --shadow: 0 14px 35px rgba(2, 8, 23, .08);
  --shadow2: 0 22px 55px rgba(2, 8, 23, .12);

  --radius: 16px;
  --radius2: 22px;

  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease2: cubic-bezier(.2, .9, .1, 1);

  --header-h: 74px;
}

/* Dark theme: se activa con html.theme-dark */
html.theme-dark {
  --bg: #0b1220;
  --surface: #0f172a;
  --surface2: #101b34;
  --ink: #e5e7eb;
  --muted: #a3b1c6;
  --line: rgba(148, 163, 184, .18);
  --shadow: 0 14px 35px rgba(0, 0, 0, .35);
  --shadow2: 0 22px 55px rgba(0, 0, 0, .55);
}

/* -------------------------
   Reset + base
------------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(48, 110, 232, .35);
  outline-offset: 2px;
}

.no-js [data-nav-panel] {
  display: block !important;
}

/* Accessibility helpers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-140%);
  transition: transform .2s var(--ease);
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
}

/* -------------------------
   Layout
------------------------- */
.container {
  width: min(92vw, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(34px, 5vw, 72px) 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .grid--2 {
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.grid--2-mob1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .grid--2-mob1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.card__pad {
  padding: 20px;
}

@media (min-width: 860px) {
  .card__pad {
    padding: 26px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(48, 110, 232, .12);
  color: var(--primary);
  border: 1px solid rgba(48, 110, 232, .18);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 12px;
  text-transform: uppercase;
}

/* -------------------------
   Header + Nav
------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in oklab, var(--surface) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__row {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 480px) {
  .brand {
    min-width: 220px;
  }
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(48, 110, 232, .10);
  border: 1px solid rgba(48, 110, 232, .18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-weight: 900;
  letter-spacing: -.2px;
}

.brand__tag {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.nav {
  justify-self: center;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 10px 22px rgba(2, 8, 23, .06);
  cursor: pointer;
}

.nav__toggle .material-symbols-outlined {
  font-size: 22px;
}

.nav__panel {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav__link {
  font-size: 14px;
  font-weight: 800;
  color: color-mix(in oklab, var(--ink) 86%, var(--muted));
  padding: 10px 12px;
  border-radius: 14px;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.nav__link:hover {
  background: color-mix(in oklab, var(--surface2) 70%, var(--surface));
  color: var(--primary);
}

.nav__link.is-active {
  background: rgba(48, 110, 232, .12);
  color: var(--primary);
  border: 1px solid rgba(48, 110, 232, .18);
}

.nav__cta {
  display: none;
  gap: 10px;
  align-items: center;
  margin-left: 10px;
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

@media (min-width: 980px) {
  .nav__toggle {
    display: none;
  }

  .nav__panel {
    display: flex;
  }

  .nav__cta {
    display: flex;
  }
}

/* Mobile panel */
.nav__panel.is-open {
  display: flex;
  position: fixed;
  inset: calc(var(--header-h) + 10px) 12px auto 12px;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  max-width: 560px;
}

.nav__panel.is-open .nav__cta {
  display: flex;
}

@media (min-width: 980px) {
  .nav__panel.is-open {
    position: static;
    inset: auto;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}


/* =========================================
   Material Symbols — color en dark mode
   ========================================= */

/* 1) Asegura que los íconos sigan el color del texto del contenedor */
.material-symbols-outlined {
  color: currentColor;
}

/* 2) En modo oscuro, fuerza blanco SOLO en el header (iconos visibles) */
html.theme-dark .site-header {
  color: #fff;
  /* define el "currentColor" del header */
}

html.theme-dark .site-header .material-symbols-outlined {
  color: #fff;
  /* por si algún estilo externo los fija */
}

/* -------------------------
   Buttons
------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  user-select: none;
  white-space: nowrap;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 14px 26px rgba(48, 110, 232, .22);
}

.btn--primary:hover {
  box-shadow: 0 18px 38px rgba(48, 110, 232, .28);
}

.btn--soft {
  background: rgba(48, 110, 232, .10);
  color: var(--primary);
  border-color: rgba(48, 110, 232, .18);
}

.btn--soft:hover {
  background: rgba(48, 110, 232, .14);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  background: color-mix(in oklab, var(--surface2) 55%, var(--surface));
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(2, 8, 23, .06);
  transition: background .18s var(--ease), transform .18s var(--ease);
}

.icon-btn:hover {
  background: color-mix(in oklab, var(--surface2) 60%, var(--surface));
}

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

.icon-btn .material-symbols-outlined {
  font-size: 22px;
}

/* -------------------------
   Hero
------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 56vh, 640px);
  display: grid;
  place-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(950px 420px at 18% 20%, rgba(48, 110, 232, .45), transparent 58%),
    radial-gradient(760px 440px at 88% 30%, rgba(27, 140, 255, .32), transparent 55%),
    linear-gradient(180deg, rgba(2, 6, 23, .65), rgba(2, 6, 23, .80)),
    url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
  transform: scale(1.02);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 52px 0 56px;
  color: #fff;
  width: min(92vw, var(--container));
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero__h1 {
  margin: 16px 0 10px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.1px;
  font-weight: 950;
}

.hero__h1 span {
  color: #7fb6ff;
}

.hero__p {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255, 255, 255, .88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* -------------------------
   Stats strip
------------------------- */
.stats {
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.stats__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
}

@media (min-width: 560px) {
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .stats__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
  }

  .stats__inner .stat {
    border-right: 1px solid var(--line);
  }

  .stats__inner .stat:last-child {
    border-right: 0;
  }
}

.stat {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(48, 110, 232, .10);
  border: 1px solid rgba(48, 110, 232, .18);
  color: var(--primary);
}

.stat__num {
  font-weight: 950;
  font-size: 28px;
  letter-spacing: -.5px;
}

.stat__lbl {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
}

/* -------------------------
   Sections: titles
------------------------- */
.h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.5px;
  font-weight: 950;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}



/* -------------------------
   Campaigns
------------------------- */

.camp-layout {
  display: grid;
  gap: 18px;
}

@media (min-width: 980px) {
  .camp-layout {
    grid-template-columns: 340px 1fr;
    gap: 26px;
    align-items: start;
  }
}

.camp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.camp-main {
  min-width: 0;
}

.impact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.impact-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.2px;
}

.impact-head .material-symbols-outlined {
  color: var(--primary);
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 92%, var(--bg));
}

.impact-ic {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.impact-ic.is-green {
  background: rgba(22, 163, 74, .12);
  color: var(--ok);
  border-color: rgba(22, 163, 74, .18);
}

.impact-ic.is-purple {
  background: rgba(147, 51, 234, .12);
  color: #7c3aed;
  border-color: rgba(147, 51, 234, .18);
}

.impact-ic.is-orange {
  background: rgba(245, 158, 11, .14);
  color: var(--warn);
  border-color: rgba(245, 158, 11, .18);
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.impact-item p {
  margin: 0;
}

.impact-k {
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
}

.impact-v {
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.2px;
}

.impact-v small {
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
}

.impact-btn {
  width: 100%;
  margin-top: 14px;
}

.cats-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cats-head {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.2px;
}

.cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-row .material-symbols-outlined {
  font-size: 18px;
  color: color-mix(in oklab, var(--ink) 62%, var(--muted));
}

.camp-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 760px) {
  .camp-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.camp-top h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.8px;
}

.camp-top p {
  margin: 8px 0 0;
}

.camp-top__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (min-width: 760px) {
  .camp-top__actions {
    justify-content: flex-end;
  }
}

.camp-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.camp-sort span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.camp-sort select {
  height: 44px;
}

.campaign-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .campaign-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1180px) {
  .campaign-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.campaign {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.campaign:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow2);
}

.campaign__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}

.campaign__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease2);
}

.campaign:hover .campaign__media img {
  transform: scale(1.05);
}

.campaign__chip {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.campaign__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
}

.campaign__t {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.2px;
  line-height: 1.2;
}

.campaign__d {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.camp-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.camp-pct {
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .02em;
}

.camp-pct.is-blue {
  color: var(--primary);
}

.camp-pct.is-orange {
  color: #f97316;
}

.camp-pct.is-green {
  color: var(--ok);
}

.camp-pct.is-red {
  color: var(--bad);
}

.camp-meta-right {
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
}

.progress {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 999px;
}

.camp-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.price {
  font-size: 18px;
  font-weight: 950;
}

.small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.camp-cta {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}

.camp-load {
  display: flex;
  justify-content: center;
  padding: 22px 0 6px;
}

.camp-sticky {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  align-self: start;
}

/* Mobile: sidebar as drawer */
.camp-filtersInline {
  display: none;
}

.camp-overlay {
  display: none;
}

.camp-drawer-head {
  display: none;
}

@media (max-width: 979.98px) {
  .camp-filtersInline {
    display: inline-flex;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    white-space: nowrap;
  }

  .camp-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, .45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s var(--ease);
    z-index: 130;
  }

  .camp-sidebar {
    position: fixed;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    padding: 14px;
    left: 12px;
    top: calc(var(--header-h) + 12px);
    bottom: 12px;
    width: min(92vw, 380px);
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow: auto;
    transform: translateX(-115%);
    transition: transform .22s var(--ease);
    z-index: 135;
    box-shadow: var(--shadow2);
  }

  .camp-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    top: 0;
    padding: 14px 14px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    z-index: 1;
  }

  .camp-drawer-head strong {
    font-weight: 950;
    letter-spacing: -.2px;
  }

  html.camp-filters-open .camp-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  html.camp-filters-open .camp-sidebar {
    transform: translateX(0);
  }

  html.camp-filters-open body {
    overflow: hidden;
  }
}


/* -------------------------
   Forms
------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

label {
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 900;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--ink) 70%, var(--muted));
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 92%, var(--bg));
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(48, 110, 232, .45);
  box-shadow: 0 0 0 4px rgba(48, 110, 232, .14);
  outline: none;
}

.help {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .inline {
    flex-direction: row;
  }

  .inline>* {
    flex: 1;
  }
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 92%, var(--bg));
}

.check input {
  width: 18px;
  height: 18px;
}

.check span {
  font-weight: 750;
}

/* -------------------------
   Tabs / chips (donation)
------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  font-size: 13px;
}

.chip.is-active {
  background: rgba(48, 110, 232, .12);
  border-color: rgba(48, 110, 232, .22);
  color: var(--primary);
}

/* -------------------------
   Accordion (FAQ)
------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acc {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}

.acc__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 950;
  color: var(--ink);
}

.acc__btn .material-symbols-outlined {
  opacity: .8;
}

.acc__panel {
  padding: 0 18px 16px;
  color: var(--muted);
  font-weight: 650;
  display: none;
}

html.theme-dark .acc__panel {
  color: var(--ink);
}

.acc.is-open .acc__panel {
  display: block;
}

.acc.is-open .acc__btn .material-symbols-outlined {
  transform: rotate(180deg);
}


/* -------------------------
   Voluntariado
------------------------- */

.section--compact {
  padding-top: 18px;
}

.vol-lead {
  max-width: 72ch;
}

.vol-note {
  margin-top: 16px;
}

.vol-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

@media (min-width: 1020px) {
  .vol-layout {
    grid-template-columns: 2fr 1fr;
    gap: 28px;
  }
}

.vol-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vol-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Stepper */
.vol-stepper {
  padding: 18px 20px;
}

@media (min-width: 860px) {
  .vol-stepper {
    padding: 20px 22px;
  }
}

.vol-stepper__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.vol-stepper__k {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}

.vol-stepper__s {
  font-size: 12px;
  font-weight: 850;
  color: var(--muted);
}

.vol-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface2) 60%, var(--surface));
  overflow: hidden;
  border: 1px solid var(--line);
}

.vol-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 999px;
}

/* Wizard steps */
.vol-step {
  display: none;
}

.vol-step.is-active {
  display: block;
}

.field-error {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(239, 68, 68, .22);
  background: rgba(239, 68, 68, .08);
  color: var(--bad);
  font-size: 12px;
  font-weight: 800;
  display: none;
}

.field-error.is-show {
  display: block;
}

/* Form */
.vol-form label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.vol-form input,
.vol-form select,
.vol-form textarea {
  border-radius: 14px;
}

.vol-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .vol-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.vol-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.vol-section--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.vol-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.2px;
}

.vol-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .vol-choices {
    grid-template-columns: 1fr 1fr;
  }
}

.vol-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 92%, var(--bg));
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.vol-choice:hover {
  background: rgba(48, 110, 232, .08);
  border-color: rgba(48, 110, 232, .22);
}

.vol-choice:active {
  transform: translateY(1px);
}

.vol-choice input {
  width: 18px;
  height: 18px;
}

.vol-choice span {
  font-size: 13px;
  font-weight: 850;
}

/* Actions */
.vol-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 86%, var(--bg));
  border-bottom-left-radius: var(--radius2);
  border-bottom-right-radius: var(--radius2);
}

.vol-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 620px) {
  .vol-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vol-actions-right {
    justify-content: stretch;
  }

  .vol-form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.vol-prev,
.vol-submit {
  display: none;
}

/* Summary + success */
.vol-summary {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in oklab, var(--surface) 92%, var(--bg));
  padding: 12px 14px;
}

.vol-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed color-mix(in oklab, var(--line) 70%, transparent);
}

.vol-summary__row:last-child {
  border-bottom: 0;
}

.vol-summary__row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.vol-summary__row strong {
  font-weight: 950;
  text-align: right;
  max-width: 62%;
}

.vol-success {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(22, 163, 74, .22);
  background: rgba(22, 163, 74, .08);
  display: none;
}

.vol-success.is-show {
  display: block;
}

/* Sidebar */
.vol-side__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.4px;
}

.vol-why__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vol-why-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(2, 8, 23, .06);
}

.vol-why-ic {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(48, 110, 232, .10);
  border: 1px solid rgba(48, 110, 232, .18);
  color: var(--primary);
  flex: 0 0 auto;
}

.vol-why-card h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -.1px;
}

.vol-why-card p {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}

/* Testimonial */
.vol-testimonial {
  position: relative;
  padding: 18px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(48, 110, 232, .25);
  border: 1px solid rgba(255, 255, 255, .12);
}

.vol-testimonial::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -90px;
  background: rgba(255, 255, 255, .14);
  border-radius: 999px;
  filter: blur(6px);
}

.vol-testimonial__quote {
  font-size: 42px;
  opacity: .55;
  position: relative;
  z-index: 1;
}

.vol-quote {
  margin: 10px 0 16px;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.vol-author {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.vol-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 950;
  letter-spacing: -.3px;
  background: rgba(255, 255, 255, .22);
  border: 2px solid rgba(255, 255, 255, .35);
}

.vol-author__meta strong {
  display: block;
  font-weight: 950;
}

.vol-author__meta small {
  display: block;
  font-size: 11px;
  opacity: .85;
}

/* Stat */
.vol-stat {
  text-align: center;
}

.vol-stat strong {
  display: block;
  font-size: 38px;
  font-weight: 950;
  color: var(--primary);
  line-height: 1;
}

.vol-stat p {
  margin: 8px 0 0;
  font-weight: 950;
  letter-spacing: -.2px;
}

.vol-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

/* -------------------------
   Footer
------------------------- */
.site-footer {
  margin-top: 36px;
  padding: 42px 0 20px;
  background: color-mix(in oklab, var(--surface) 88%, var(--bg));
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .footer__grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 26px;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo strong {
  font-weight: 950;
}

.footer__newsletter {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer__newsletter input {
  flex: 1;
  height: 44px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 560px) {
  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__col h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 950;
  color: color-mix(in oklab, var(--ink) 70%, var(--muted));
}

.footer__col a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-weight: 750;
}

.footer__col a:hover {
  color: var(--primary);
}

.footer__bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 860px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer__social {
  display: flex;
  gap: 10px;
}

.muted {
  color: var(--muted);
}

/* -------------------------
   Page helpers
------------------------- */
.page-head {
  padding: 30px 0 8px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
  border: 0;
}

.note {
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--surface2) 70%, var(--surface));
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
}

/* -------------------------
   Toast
------------------------- */
.toast {
  position: fixed;
  inset: auto 14px 14px 14px;
  z-index: 9999;
  max-width: 560px;
  padding: 14px 14px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toast.is-open {
  display: flex;
}

.toast__t {
  font-weight: 900;
}

.toast__p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.toast__close {
  height: 40px;
  width: 40px;
}


/* Body lock for mobile nav */
body.no-scroll {
  overflow: hidden;
}

.flex-between-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}


/* Dashboard cards: estilo "Transparency Dashboard" (local a esta página) */
.tdash-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 14px;
}

@media (min-width: 860px) {
  .tdash-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.tstat {
  padding: 18px 18px;
  border-radius: var(--radius2);
}

.tstat__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.tstat__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--surface2) 70%, var(--surface));
  border: 1px solid var(--line);
  color: var(--primary);
  flex: 0 0 auto;
}

.tstat__icon .material-symbols-outlined {
  font-size: 22px;
}

.tstat__main {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 2px;
}

.tstat__label {
  color: color-mix(in oklab, var(--ink) 72%, var(--muted));
  font-weight: 850;
  font-size: 14px;
  letter-spacing: -.1px;
  margin: 2px 0 8px;
}

.tstat__value {
  font-size: 40px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  margin: 0;
}

@media (max-width: 420px) {
  .tstat__value {
    font-size: 34px;
  }
}

.tstat__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  border: 1px solid transparent;
  white-space: nowrap;
}

.tstat__pill--ok {
  background: rgba(22, 163, 74, .12);
  color: var(--ok);
  border-color: rgba(22, 163, 74, .18);
}

.tstat__pill--brand {
  background: rgba(48, 110, 232, .12);
  color: var(--primary);
  border-color: rgba(48, 110, 232, .18);
}