/* Huerto FCA — Premium landing */
:root {
  --g-950: #0d2818;
  --g-900: #1b4332;
  --g-800: #2d6a4f;
  --g-600: #40916c;
  --g-400: #74c69d;
  --g-300: #95d5b2;
  --g-200: #b7e4c7;
  --g-100: #d8f3dc;
  --g-50: #f0faf2;
  --cream: #fefae0;
  --cream-2: #fff9e6;
  --white: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #d97706;
  --accent-hover: #b45309;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.04);
  --shadow: 0 4px 24px -4px rgb(27 67 50 / 0.12);
  --shadow-lg: 0 24px 48px -12px rgb(27 67 50 / 0.18);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--g-800);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 720px; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header.is-over-hero {
  background: transparent;
  box-shadow: none;
}
.site-header.is-over-hero .logo-name { color: var(--white); }
.site-header.is-over-hero .nav-link {
  color: rgb(255 255 255 / 0.92);
}
.site-header.is-over-hero .nav-link:hover,
.site-header.is-over-hero .nav-link--active {
  background: rgb(255 255 255 / 0.15);
  color: var(--white);
}
.site-header.is-over-hero .menu-toggle {
  background: rgb(255 255 255 / 0.15);
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 0.25);
}
.site-header.is-over-hero .logo-mark {
  background: rgb(255 255 255 / 0.2);
  border: 1px solid rgb(255 255 255 / 0.35);
  box-shadow: none;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.site-header.is-scrolled .logo-name { color: var(--g-900); }
.site-header.is-scrolled .nav-link { color: var(--g-800); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link--active {
  background: var(--g-100);
  color: var(--g-900);
}
.site-header.is-scrolled .menu-toggle {
  background: var(--g-100);
  color: var(--g-800);
  border: none;
}
.site-header.is-scrolled .logo-mark {
  background: linear-gradient(135deg, var(--g-800), var(--g-600));
  border: none;
  box-shadow: 0 4px 12px rgb(45 106 79 / 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--header-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.inst-logo-wrap {
  display: flex;
  justify-content: center;
}
.inst-logo-combo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.inst-logo-wrap--hero {
  margin-bottom: 1.25rem;
}
.inst-logo-wrap--hero .inst-logo-combo {
  height: clamp(2.75rem, 7vw, 3.75rem);
}
.inst-logo-wrap--footer .inst-logo-combo {
  height: 3.5rem;
}
.footer-logos-wrap {
  padding: 1.75rem 1.25rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.signup-modal-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 1rem;
}
.signup-modal-logos .signup-logo-combo {
  display: block;
  height: 3.75rem;
  width: auto;
  max-width: min(100%, 260px);
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.25));
}
.signup-modal-logos .inst-logo--fca,
.signup-modal-logos .inst-logo--uabc,
.signup-modal-logos .inst-logos {
  display: none !important;
}
.logo { display: flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 1.0625rem; color: var(--g-900); }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--g-800), var(--g-600));
  color: var(--white);
  box-shadow: 0 4px 12px rgb(45 106 79 / 0.35);
}
.logo-mark svg { width: 1.125rem; height: 1.125rem; }
.logo-mark--sm { width: 1.75rem; height: 1.75rem; }
.nav-desktop { display: none; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--g-800);
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--g-100); color: var(--g-900); }
.nav-link--active { background: var(--g-100); color: var(--g-900); font-weight: 600; }
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: none; background: var(--g-100);
  border-radius: var(--radius);
  color: var(--g-800); cursor: pointer;
}
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--g-100);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile .nav-link { padding: 0.75rem 1rem; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* ─── Buttons ─── */
button.btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem; font-weight: 600;
  border-radius: var(--radius-full);
  border: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--white);
  color: var(--g-900);
  box-shadow: var(--shadow);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 0.35);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgb(255 255 255 / 0.2); }
.btn-dark {
  background: var(--g-900);
  color: var(--white);
  box-shadow: 0 8px 24px rgb(27 67 50 / 0.35);
}
.btn-dark:hover { background: var(--g-800); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: var(--white);
  box-shadow: 0 8px 20px rgb(217 119 6 / 0.35);
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost {
  background: var(--white);
  color: var(--g-800);
  border: 1px solid var(--g-200);
}
.btn-ghost:hover { border-color: var(--g-400); background: var(--g-50); }
.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.8125rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ─── Pills & labels ─── */
.pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--g-100);
  color: var(--g-800);
}
.pill--glass {
  background: rgb(255 255 255 / 0.15);
  border: 1px solid rgb(255 255 255 / 0.25);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g-400); }

/* ─── Typography ─── */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--g-900);
}
.display--light { color: var(--white); }
.display--accent { color: var(--g-300); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 36rem; }
.lead--light { color: rgb(255 255 255 / 0.88); }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--g-600);
  margin-bottom: 0.75rem;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── Hero (home) ─── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 1.5rem) 0 5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(13 40 24 / 0.72) 0%, rgb(27 67 50 / 0.5) 45%, rgb(27 67 50 / 0.35) 70%, rgb(254 250 224 / 0.88) 92%, var(--cream) 100%);
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: -20%; right: -10%;
  background: radial-gradient(circle, rgb(116 198 157 / 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 1.25rem;
  text-align: center;
}
.hero h1.display {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  margin: 1rem 0;
}
.hero .lead { margin: 0 auto 2rem; }
.hero-cta { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; justify-content: center; }
}

/* ─── Sections ─── */
.section { padding: 5rem 0; }
.section--tight-top { padding-top: 2.5rem; }
.section--alt { background: var(--white); }
.section--green { background: linear-gradient(165deg, var(--g-900) 0%, #0d2818 100%); color: var(--white); }
.section-header { margin-bottom: 2.5rem; }
.section-header h2.display { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin: 0 auto; }

/* ─── Growth bento ─── */
.growth-panel {
  background: linear-gradient(145deg, var(--g-100) 0%, var(--g-200) 50%, var(--g-100) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid rgb(255 255 255 / 0.6);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.growth-panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 50%; height: 80%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%232d6a4f' fill-opacity='0.06' d='M50 10c-5 20-25 35-25 55 0 15 12 25 25 25s25-10 25-25c0-20-20-35-25-55z'/%3E%3C/svg%3E") no-repeat;
  background-size: contain;
  pointer-events: none;
}
.growth-panel h2 { font-family: var(--font-display); font-size: 1.75rem; color: var(--g-900); margin: 1rem 0; }
.growth-panel p { color: rgb(45 106 79 / 0.85); margin-bottom: 0.75rem; max-width: 52ch; }
.bento-actions {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0;
}
@media (min-width: 768px) { .bento-actions { grid-template-columns: repeat(3, 1fr); } }
.bento-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgb(216 243 220 / 0.8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.bento-icon {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--g-100);
  border-radius: var(--radius);
  color: var(--g-800);
}
.bento-icon svg { width: 1.25rem; height: 1.25rem; }
.bento-card strong { display: block; color: var(--g-900); font-size: 0.9375rem; }
.bento-card span { font-size: 0.8125rem; color: var(--muted); }

/* ─── Video cards ─── */
.video-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.video-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.video-scroll::-webkit-scrollbar { display: none; }
.video-scroll .video-card { flex: 0 0 min(280px, 85vw); scroll-snap-align: start; }
@media (min-width: 1024px) {
  .video-scroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .video-scroll .video-card { flex: none; }
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.video-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card-media { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.video-card--tall .video-card-media { aspect-ratio: 9/14; }
.video-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.page-talleres .video-card-media:has(img[src*="workshops/"]) {
  background: #d8f3dc;
}
.page-talleres .video-card-media img[src*="workshops/"] {
  object-fit: cover;
  object-position: center top;
}
.video-card:hover .video-card-media img { transform: scale(1.05); }
.video-card-cat {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase;
  background: rgb(255 255 255 / 0.9);
  color: var(--g-800);
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.video-card-time {
  position: absolute; top: 0.75rem; right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem; font-weight: 600;
  background: rgb(0 0 0 / 0.6);
  color: var(--white);
  border-radius: 6px;
}
.video-card-time svg { width: 0.75rem; height: 0.75rem; }
.video-card-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.95);
  color: var(--g-800);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s;
  pointer-events: none;
}
.video-card:hover .video-card-play { transform: translate(-50%, -50%) scale(1.08); }
.video-card-play svg { width: 1.25rem; height: 1.25rem; margin-left: 2px; }
.video-card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.75) 0%, transparent 50%);
  pointer-events: none;
}
.video-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  color: var(--white);
  z-index: 1;
}
.video-card-content h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.25rem; line-height: 1.3; }
.video-card-content p { font-size: 0.8125rem; opacity: 0.9; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Page video grid (talleres) - cards show content below */
.page-talleres .video-card-media { aspect-ratio: 3/4; }
.page-talleres .video-card-content {
  position: relative;
  color: var(--g-900);
  background: var(--white);
  padding: 1rem;
}
.page-talleres .video-card-content p { color: var(--muted); opacity: 1; }

/* ─── Features grid ─── */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--g-100);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--g-300);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--g-100), var(--g-200));
  border-radius: var(--radius);
  color: var(--g-800);
  margin-bottom: 1rem;
}
.feature-icon svg { width: 1.375rem; height: 1.375rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--g-900); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }

/* ─── Events banner & cards ─── */
.events-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, var(--cream-2), var(--white));
  border: 1px solid var(--g-200);
  border-radius: var(--radius-xl);
  margin-top: 2.5rem;
}
.events-cta-emoji { font-size: 2.5rem; }
.events-cta h3 { font-size: 1.0625rem; color: var(--g-900); margin-bottom: 0.25rem; }
.events-cta p { font-size: 0.875rem; color: var(--muted); flex: 1; min-width: 200px; }

.event-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--g-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
@media (min-width: 640px) {
  .event-card { grid-template-columns: 180px 1fr; align-items: start; }
}
.event-card-date { display: flex; flex-direction: column; gap: 0.5rem; }
.event-type {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase;
  background: var(--g-100);
  color: var(--g-800);
  border-radius: var(--radius-full);
}
.event-card-date time { font-size: 0.875rem; font-weight: 600; color: var(--g-900); }
.event-date-note {
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
}
.event-time {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--g-900);
}
.event-time svg { width: 0.875rem; height: 0.875rem; color: var(--g-600); }
.event-date-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.event-date-hint a {
  font-weight: 600;
  color: var(--g-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.event-date-hint a:hover { color: var(--g-900); }
.event-card-body h3 { font-size: 1.125rem; color: var(--g-900); margin-bottom: 0.5rem; }
.event-card-body p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.event-location { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--g-600); margin-bottom: 0.75rem; }
.event-location svg { width: 1rem; height: 1rem; }
.event-spots { margin-bottom: 1rem; }
.event-progress {
  height: 6px;
  background: var(--g-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.375rem;
}
.event-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--g-600), var(--g-400));
  border-radius: var(--radius-full);
  transition: width 0.5s var(--ease);
}
.event-spots > span:last-child { font-size: 0.75rem; color: var(--muted); }
.events-grid { display: flex; flex-direction: column; gap: 1rem; }

/* ─── QR section ─── */
.qr-section {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(145deg, var(--g-900), var(--g-950));
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.qr-section::after {
  content: "";
  position: absolute;
  right: -10%; bottom: -30%;
  width: 50%; height: 100%;
  background: radial-gradient(circle, rgb(116 198 157 / 0.15), transparent 60%);
  pointer-events: none;
}
.qr-section h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2rem); color: var(--white); margin-bottom: 1rem; }
.qr-section p { color: rgb(255 255 255 / 0.8); margin-bottom: 1.5rem; max-width: 42ch; }
.qr-visual {
  display: flex; justify-content: center;
}
.qr-mock {
  width: 11rem; height: 11rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.qr-mock svg { width: 5rem; height: 5rem; color: var(--g-900); }
@media (min-width: 768px) { .qr-section { grid-template-columns: 1fr auto; } }

/* ─── Page hero (inner pages) ─── */
/* ─── Page hero (inner pages) ─── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  text-align: center;
  overflow: hidden;
  min-height: 42vh;
  display: flex;
  align-items: center;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(13 40 24 / 0.55) 0%,
    rgb(27 67 50 / 0.45) 50%,
    rgb(27 67 50 / 0.35) 100%
  );
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1.display {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--white);
}
.page-hero .lead {
  margin: 0 auto;
  color: rgb(255 255 255 / 0.9);
}
.page-hero .pill {
  background: rgb(255 255 255 / 0.15);
  border: 1px solid rgb(255 255 255 / 0.25);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.page-hero .filter-bar { margin-top: 1.75rem; }
.page-hero .filter-btn {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.3);
  color: var(--white);
}
.page-hero .filter-btn:hover { background: rgb(255 255 255 / 0.22); }
.page-hero .filter-btn.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--g-900);
}

/* ─── Search ─── */
.search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}
.search-wrap svg {
  position: absolute; left: 1.25rem; top: 50%;
  transform: translateY(-50%);
  width: 1.25rem; height: 1.25rem;
  color: var(--muted);
}
.search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  font-size: 1rem;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
  outline: none;
  border-color: var(--g-600);
  box-shadow: 0 0 0 4px rgb(64 145 108 / 0.15);
}

/* ─── Plant cards ─── */
.plants-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.plant-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--g-100);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.plant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plant-card-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.plant-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.plant-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.plant-card:hover .plant-card-img img { transform: scale(1.06); }
.plant-card-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem; font-weight: 600;
  background: rgb(255 255 255 / 0.95);
  color: var(--g-800);
  border-radius: var(--radius-full);
}
.plant-card-body { padding: 1.25rem; }
.plant-card-body h3 { font-size: 1.125rem; font-weight: 700; color: var(--g-900); margin-bottom: 0.25rem; }
.plant-scientific { font-size: 0.875rem; color: var(--g-600); margin-bottom: 0.75rem; }
.plant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.plant-chip {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  background: var(--g-50);
  color: var(--g-800);
  border-radius: var(--radius-full);
  border: 1px solid var(--g-100);
  white-space: nowrap;
}
#plantFilterBar { margin: 1.25rem 0 1.75rem; }

/* ─── Plant detail modal ─── */
body.modal-open { overflow: hidden; }
.plant-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.plant-modal[hidden] { display: none; }
.plant-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(13 40 24 / 0.55);
  backdrop-filter: blur(4px);
}
.plant-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-lg);
  animation: plantModalIn 0.35s var(--ease);
}
@media (min-width: 640px) {
  .plant-modal {
    align-items: center;
    padding: 1.5rem;
  }
  .plant-modal-dialog {
    border-radius: var(--radius-xl);
    max-height: 88vh;
  }
}
@keyframes plantModalIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.plant-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.95);
  color: var(--g-900);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s;
}
.plant-modal-close:hover { background: var(--white); }
.plant-modal-close svg { width: 1.125rem; height: 1.125rem; }
.plant-detail-hero {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.plant-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plant-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(13 40 24 / 0.88) 0%, rgb(13 40 24 / 0.2) 55%, transparent 100%);
}
.plant-detail-hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  color: var(--white);
}
.plant-detail-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgb(255 255 255 / 0.2);
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-full);
}
.plant-detail-hero-text h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.plant-detail-scientific {
  font-size: 0.9375rem;
  opacity: 0.92;
  margin-bottom: 0.25rem;
}
.plant-detail-family {
  font-size: 0.8125rem;
  opacity: 0.8;
}
.plant-detail-body { padding: 1.25rem 1.25rem 1.75rem; }
.plant-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 480px) {
  .plant-stats { grid-template-columns: repeat(4, 1fr); }
}
.plant-stat {
  padding: 0.75rem;
  background: var(--g-50);
  border: 1px solid var(--g-100);
  border-radius: var(--radius);
  text-align: center;
}
.plant-stat-icon { display: block; font-size: 1.125rem; margin-bottom: 0.25rem; }
.plant-stat-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.125rem;
}
.plant-stat strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--g-900);
  line-height: 1.3;
}
.plant-detail-section {
  margin-bottom: 1.25rem;
}
.plant-detail-section h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--g-600);
  margin-bottom: 0.5rem;
}
.plant-detail-section p {
  font-size: 0.9375rem;
  color: var(--g-800);
  line-height: 1.65;
}
.plant-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.plant-benefits li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--g-800);
}
.plant-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-600);
}
.plant-detail-section--grow {
  padding: 1rem 1.125rem;
  background: linear-gradient(135deg, var(--g-50), var(--cream));
  border: 1px solid var(--g-100);
  border-radius: var(--radius-lg);
  margin-bottom: 0;
}
.plant-detail-section--grow h3 { color: var(--g-800); }
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.empty-state svg { width: 3rem; height: 3rem; margin: 0 auto 1rem; opacity: 0.4; }

/* ─── Filters ─── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--g-800);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--g-400); }
.filter-btn.is-active {
  background: var(--g-900);
  border-color: var(--g-900);
  color: var(--white);
}

/* ─── CTA panel ─── */
.cta-panel {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--g-100), var(--g-50));
  border-radius: var(--radius-xl);
  border: 1px solid var(--g-200);
  margin-top: 3rem;
}
.cta-panel h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--g-900); margin-bottom: 0.5rem; }
.cta-panel p { color: var(--muted); margin-bottom: 1.5rem; }

/* ─── Volunteer page ─── */
/* ─── Voluntariado ─── */
.audience-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.audience-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--g-100);
  box-shadow: var(--shadow-sm);
}
.audience-card h3 {
  font-size: 1.125rem;
  color: var(--g-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.audience-card h3 svg { width: 1.25rem; height: 1.25rem; color: var(--g-600); }
.audience-card p { font-size: 0.9375rem; color: var(--muted); }

.signup-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .signup-block { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.signup-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
}
.signup-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.signup-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(13 40 24 / 0.75), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.signup-visual__overlay p {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.signup-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.signup-card {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--g-100);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.signup-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.signup-card h3 {
  font-size: 1.0625rem;
  color: var(--g-900);
  margin-bottom: 0.375rem;
}
.signup-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.signup-card .btn { width: 100%; }

/* ─── Student signup modal ─── */
.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.signup-modal[hidden] { display: none; }
.signup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(13 40 24 / 0.6);
  backdrop-filter: blur(6px);
}
.signup-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: plantModalIn 0.35s var(--ease);
}
.signup-modal-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.15);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s;
}
.signup-modal-close:hover { background: rgb(255 255 255 / 0.28); }
.signup-modal-close svg { width: 1.125rem; height: 1.125rem; }
.signup-modal-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 92vh;
}
.signup-modal-header {
  flex-shrink: 0;
  padding: 1.75rem 1.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(160deg, var(--g-950) 0%, var(--g-800) 55%, var(--g-700, #357a5c) 100%);
  color: var(--white);
  border-bottom: 3px solid var(--accent);
}
.signup-modal-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.375rem;
}
.signup-modal-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.signup-modal-sub {
  font-size: 0.8125rem;
  opacity: 0.88;
}
.signup-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--cream-2);
}
.signup-modal-intro {
  font-size: 0.9375rem;
  color: var(--g-800);
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.signup-steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 720px) {
  .signup-steps { grid-template-columns: 1fr 1fr; gap: 1.125rem; }
}
.signup-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}
.signup-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  background: var(--g-900);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgb(27 67 50 / 0.35);
}
.signup-step-card {
  background: var(--white);
  border: 1px solid var(--g-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease);
}
.signup-step-card:hover { box-shadow: var(--shadow); }
.signup-step-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--g-50);
  border-bottom: 1px solid var(--g-100);
}
.signup-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.signup-step-text {
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--g-800);
}
.signup-step-text a {
  color: var(--g-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.signup-step-text a:hover { color: var(--g-900); }
.signup-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.125rem;
  background: var(--g-900);
  color: var(--white);
  border-radius: 4px;
}
.signup-step-icon svg { width: 0.75rem; height: 0.75rem; }
.signup-modal-footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--g-200);
  text-align: center;
}
.signup-modal-footer .btn {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 0.75rem;
}
.signup-modal-note {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}
.benefits-grid {
  display: grid;
  gap: 1.25rem;
  margin: 3rem 0;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--g-100);
  text-align: center;
}
.benefit-card svg { width: 2rem; height: 2rem; color: var(--g-600); margin: 0 auto 1rem; }
.benefit-card h3 { font-size: 1rem; color: var(--g-900); margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: var(--muted); }

.schedule-list { list-style: none; }
.schedule-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--g-100);
}
.schedule-list li:last-child { border-bottom: none; }
.schedule-day { font-weight: 700; color: var(--g-900); min-width: 140px; }
.schedule-time { color: var(--g-600); font-weight: 500; }
.schedule-activity { flex: 1; color: var(--muted); font-size: 0.9375rem; }

.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--g-100);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--g-900); margin-bottom: 0.375rem; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--g-200);
  border-radius: var(--radius);
  background: var(--g-50);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--g-600);
  background: var(--white);
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-toast {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 1rem 1.5rem;
  background: var(--g-900);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  z-index: 200;
}
.form-toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ─── Footer ─── */
.site-footer {
  background: var(--g-950);
  color: rgb(255 255 255 / 0.75);
  margin-top: 4rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}
.footer-brand { display: flex; align-items: center; gap: 0.625rem; font-weight: 600; color: var(--white); }
.footer-meta { font-size: 0.8125rem; text-align: right; max-width: 420px; }
.footer-bottom {
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  text-align: center;
}
.footer-bottom p { font-size: 0.75rem; opacity: 0.6; }

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Utilities ─── */
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; color: var(--g-700); }
.link-arrow:hover { color: var(--g-900); }
.link-arrow svg { width: 1rem; height: 1rem; }
