/* ============================================================
   DermIA BioTechNat — Propuesta 3
   Estilo: minimalista, inspirado en sunpharma.com
   Paleta: naranja Sun Pharma (#F7941E) + neutros (blanco, gris claro)
   Tipografía: Inter (300/400/500/600/700)
   Layout: hero a pantalla completa, mucho whitespace, cards sin sombra
   ============================================================ */

:root {
  /* Color principal: naranja Sun Pharma */
  --primary: #F7941E;
  --primary-dark: #D97706;
  --primary-light: #FCC89B;
  --primary-foreground: #ffffff;
  /* Acento secundario */
  --accent: #F7941E;
  /* Neutros */
  --background: #ffffff;
  --surface: #ffffff;
  --foreground: #1a1a1a;
  --foreground-soft: #4a4a4a;
  --muted: #f7f7f7;
  --muted-2: #f0f0f0;
  --muted-foreground: #6b6b6b;
  --border: #e8e8e8;
  --border-strong: #d4d4d4;
  /* Auxiliares */
  --emerald: #2d8659;
  --violet: #7c68b0;
  /* Sombras muy sutiles (minimalista) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  /* Radios pequeños (minimalista corporativo) */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --container: 1200px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--foreground);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-foreground); }

p { color: var(--foreground-soft); }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-dark); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--primary); color: var(--primary-foreground); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow-x: hidden;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

section { scroll-margin-top: 80px; }

/* ===== Botones — minimalistas, sin sombra ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-link {
  background: transparent;
  color: var(--primary);
  padding: 0.625rem 0;
  border: none;
}
.btn-link:hover { color: var(--primary-dark); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.4rem 0.875rem; font-size: 0.8125rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; border-radius: var(--radius-sm); }

.icon-svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ===== Header — minimalista, blanco, sin sombra visible ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--background);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.625rem; color: var(--foreground); }
.brand:hover { color: var(--foreground); }
.brand-logo {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background-image: url("../assets/logo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: none; flex-direction: column; line-height: 1.2; }
@media (min-width: 640px) { .brand-text { display: flex; } }
.brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.brand-name .accent-text { color: var(--primary); }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground-soft);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-desktop a:hover { color: var(--foreground); background: var(--muted); }
.nav-desktop a.active { color: var(--primary); }

/* Enlace "HeberFeron" del menú: usa el magenta oficial de la marca HeberFeron
   (#b85ba2) en lugar del naranja Sun Pharma, para reforzar visualmente la
   identidad de la página de destino. */
.nav-heberferon { color: #b85ba2 !important; }
.nav-heberferon:hover { color: #8a4479 !important; background: rgba(184, 91, 162, 0.08) !important; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .btn-primary { display: inline-flex; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  color: var(--foreground);
}
.menu-toggle:hover { background: var(--muted); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu .container {
  padding-top: 0.5rem; padding-bottom: 0.5rem;
  display: flex; flex-direction: column; gap: 0;
}
.mobile-menu a {
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground-soft);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); }

/* ===== Hero — imagen completa de fondo, estilo Sun Pharma ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a3d4a;
  /* Patrón SVG sutil: gradientes que evocan mar Caribe + cielo */
  background-image:
    linear-gradient(135deg, rgba(15, 77, 92, 0.95) 0%, rgba(45, 134, 89, 0.85) 60%, rgba(247, 148, 30, 0.7) 100%),
    radial-gradient(ellipse at top right, rgba(247, 148, 30, 0.4), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(13, 77, 92, 0.6), transparent 60%);
  background-blend-mode: overlay;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: -1;
}
.hero-content {
  position: relative;
  max-width: 720px;
  color: #ffffff;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}
.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.hero-content h1 br { display: none; }
@media (min-width: 768px) { .hero-content h1 br { display: block; } }
.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
  margin-bottom: 2rem;
}
.hero-sub em { color: var(--primary-light); font-style: italic; font-weight: 500; }
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; align-items: center; } }
.hero-cta .btn-link {
  color: #ffffff;
  padding: 0.625rem 0;
}
.hero-cta .btn-link:hover { color: var(--primary-light); }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}
.hero-scroll .icon-svg { width: 16px; height: 16px; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ===== Numbers — franja minimalista ===== */
.numbers {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
@media (min-width: 768px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); } }
.num-item { text-align: left; }
.num-value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.025em;
}
.num-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ===== Secciones genéricas ===== */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }
.section-tint { background: var(--muted); }

.section-head { max-width: 50rem; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-head h2 { margin-bottom: 0.875rem; }
.section-sub {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 44rem;
}

/* ===== Proyecto — dos columnas ===== */
.section-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .section-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }
.section-side h2 { margin-top: 0.5rem; }
.section-main p { font-size: 1rem; line-height: 1.75; margin-bottom: 1.25rem; }
.section-main .lead {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.7;
}
.section-main strong { color: var(--foreground); font-weight: 600; }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) { .meta-grid { grid-template-columns: repeat(4, 1fr); } }
.meta-grid > div { display: flex; flex-direction: column; gap: 0.25rem; }
.meta-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.meta-value { font-size: 0.9375rem; font-weight: 600; color: var(--foreground); }

/* ===== Formulaciones — lista limpia ===== */
.formulations-list { display: flex; flex-direction: column; }
.form-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.form-item:first-child { padding-top: 0; }
.form-item:last-child { border-bottom: none; }
.form-item:hover { background: rgba(247, 148, 30, 0.03); }
@media (min-width: 768px) {
  .form-item { grid-template-columns: 100px 1fr; gap: 2rem; padding: 2.25rem 0; }
}
.form-num {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.form-content h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.form-content h3 em { font-style: italic; color: var(--primary-dark); }
.form-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground-soft);
}
.form-content p em { font-style: italic; color: var(--foreground); }

/* ===== IA (AMIA) ===== */
.ia-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .ia-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.ia-text > p { font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem; }
.ia-steps { display: flex; flex-direction: column; gap: 1rem; }
.ia-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ia-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 0.5rem;
  background: var(--muted);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
}
.ia-steps li strong {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}
.ia-steps li p { font-size: 0.875rem; line-height: 1.6; }

.ia-visual {
  background: var(--muted);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .ia-visual { padding: 2rem; }
}
.ia-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.ia-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.ia-card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
}
.ia-card-body {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.ia-stage {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 0.875rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ia-stage-output {
  background: var(--primary);
  border-color: var(--primary);
}
.ia-stage-output .ia-stage-label { color: rgba(255, 255, 255, 0.8); }
.ia-stage-output .ia-stage-value { color: #ffffff; }
.ia-stage-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}
.ia-stage-value {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.ia-flow {
  display: flex;
  align-items: center;
  color: var(--primary);
}
.ia-flow .icon-svg { width: 20px; height: 20px; }
.ia-card-foot {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== Equipo ===== */
.leaders-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .leaders-grid { grid-template-columns: repeat(2, 1fr); } }

.leader-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s ease;
}
.leader-card:hover { border-color: var(--primary); }
.leader-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.leader-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.leader-role {
  font-size: 0.8125rem;
  color: var(--primary);
  margin-bottom: 0.875rem;
}
.leader-bio {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.leader-meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.leader-meta span { font-size: 0.75rem; color: var(--muted-foreground); }
.leader-meta strong { color: var(--foreground); font-weight: 500; }

.entities-block { margin-top: 3rem; }
.entities-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}
.entities-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) { .entities-grid { grid-template-columns: repeat(3, 1fr); } }
.entity-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.entity-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}
.entity-full {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.entity-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.875rem;
  display: inline-block;
}
.entity-detail { font-size: 0.8125rem; line-height: 1.6; color: var(--muted-foreground); }

/* ===== Publicaciones — lista minimalista ===== */
.pub-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .pub-filters { flex-direction: row; align-items: center; } }
.search-box { position: relative; flex: 1; }
.search-box .icon-svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.625rem 0.875rem 0.625rem 2.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}
.search-input:focus { outline: none; border-color: var(--primary); }
.filter-pills {
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
}
.filter-pill {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--muted-foreground);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.filter-pill:hover { border-color: var(--primary); color: var(--foreground); }
.filter-pill.active { background: var(--foreground); color: var(--background); border-color: var(--foreground); }

.pub-list {
  display: flex;
  flex-direction: column;
  counter-reset: pub-counter;
}
.pub-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .pub-item {
    grid-template-columns: 110px 1fr 110px;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.75rem 0;
  }
}
.pub-item:first-child { padding-top: 0; }
.pub-item:last-child { border-bottom: none; }
.pub-year-block { display: flex; flex-direction: column; align-items: flex-start; gap: 0.375rem; }
.pub-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.015em;
  line-height: 1;
}
.pub-type {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  padding: 0.25rem 0.5rem;
  background: var(--muted);
  border-radius: var(--radius-sm);
  align-self: flex-start;
  white-space: nowrap;
}
.pub-info h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.pub-meta {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}
.pub-meta strong { color: var(--foreground); font-weight: 500; }
.pub-journal {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-style: italic;
}
.pub-link-block { display: flex; align-items: flex-start; justify-content: flex-end; }
.pub-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  padding: 0.25rem 0;
  white-space: nowrap;
}
.pub-link:hover { color: var(--primary-dark); }
.pub-empty { text-align: center; padding: 3rem 0; color: var(--muted-foreground); }

/* ===== Tracks (inversión) ===== */
.tracks-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .tracks-grid { grid-template-columns: repeat(3, 1fr); } }
.track-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s ease;
}
.track-card:hover { border-color: var(--primary); }
.track-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.track-tag-accent { color: var(--primary); }
.track-tag-emerald { color: var(--emerald); }
.track-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.track-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--foreground-soft);
  flex: 1;
}
.track-desc em { color: var(--foreground); font-style: italic; }
.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.track-list li {
  font-size: 0.8125rem;
  color: var(--foreground-soft);
  padding-left: 1.25rem;
  position: relative;
}
.track-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.75rem;
}
.track-cta {
  align-self: flex-start;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

/* Partner form */
.partner-form-wrap {
  margin-top: 3rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
}
@media (min-width: 1024px) { .partner-form-wrap { padding: 2.5rem; } }
.partner-form-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .partner-form-grid { grid-template-columns: 1fr 1.2fr; } }
.partner-info h3 { font-size: 1.5rem; font-weight: 600; margin: 0.5rem 0 0.75rem; }
.partner-info > p { font-size: 0.9375rem; line-height: 1.7; }
.partner-contacts {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  align-items: baseline;
}
.contact-row .label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}
.contact-row .value { font-weight: 500; color: var(--foreground); text-align: right; }

.form-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground-soft);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--background);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--foreground);
  transition: border-color 0.2s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  padding-right: 2rem;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}
.form-disclaimer { font-size: 0.75rem; color: var(--muted-foreground); }

/* ===== Donaciones ===== */
.don-tiers {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .don-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .don-tiers { grid-template-columns: repeat(4, 1fr); } }
.don-tier {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: border-color 0.2s ease;
}
.don-tier:hover { border-color: var(--primary); }
.don-tier.selected {
  border-color: var(--primary);
  border-width: 2px;
  padding: calc(1.5rem - 1px);
}
.don-tier.featured:not(.selected) {
  border-color: var(--primary);
}
.featured-badge {
  position: absolute;
  top: 0;
  right: 1rem;
  transform: translateY(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}
.don-tier-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
}
.don-tier-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.don-tier-impact {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--foreground-soft);
  flex: 1;
}
.don-tier-perks {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border);
}
.don-tier-perks li {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  padding-left: 1rem;
  position: relative;
}
.don-tier-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.6875rem;
}

.don-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) { .don-grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }

.don-summary {
  background: var(--muted);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1024px) { .don-summary { position: sticky; top: 90px; } }
.don-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.don-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.025em;
  margin-top: 0.25rem;
}
.don-tier-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  margin-top: 0.25rem;
}
.don-impact-box {
  padding: 0.875rem;
  background: var(--background);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.don-impact-box p { font-size: 0.8125rem; line-height: 1.6; color: var(--foreground); margin-top: 0.25rem; }
.don-perks ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.5rem;
}
.don-perks li {
  font-size: 0.8125rem;
  color: var(--foreground);
  padding-left: 1rem;
  position: relative;
}
.don-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.75rem;
}

.don-form {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.don-form h3 { font-size: 1.25rem; font-weight: 600; }
.don-form > p { font-size: 0.875rem; }

.freq-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.freq-btn {
  text-align: left;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border-strong);
  background: var(--background);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.freq-btn:hover { border-color: var(--primary); }
.freq-btn.active {
  border-color: var(--primary);
  background: rgba(247, 148, 30, 0.05);
}
.freq-btn .label { font-size: 0.8125rem; font-weight: 500; color: var(--foreground); }
.freq-btn .hint { font-size: 0.6875rem; color: var(--muted-foreground); margin-top: 0.125rem; }

.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.payment-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.5rem;
  border: 1px solid var(--border-strong);
  background: var(--background);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s ease;
}
.payment-opt:hover { border-color: var(--primary); }
.payment-opt.active {
  border-color: var(--primary);
  background: rgba(247, 148, 30, 0.05);
  color: var(--primary);
}
.payment-opt .icon-svg { font-size: 1rem; }

/* ===== Footer — minimalista ===== */
.site-footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 4rem 0 1.5rem;
}
.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 2fr; }
}
.footer-brand .brand-name { color: #ffffff; }
.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 28rem;
}
.footer-newsletter-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.625rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 28rem;
}
.newsletter-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.8125rem;
}
.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-input:focus { outline: none; border-color: var(--primary); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
@media (min-width: 768px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
.footer-col h4 {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.875rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}
.footer-legal-links a { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; }
.footer-legal-links a:hover { color: rgba(255, 255, 255, 0.85); }

/* ===== Toast — minimalista ===== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: 380px;
}
.toast {
  background: var(--background);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { border-left-color: var(--emerald); }
.toast.error { border-left-color: #dc2626; }
.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(45, 134, 89, 0.12);
  color: var(--emerald);
  flex-shrink: 0;
  font-size: 0.75rem;
}
.toast.error .toast-icon { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.toast-body { flex: 1; }
.toast-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.toast-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
  line-height: 1.5;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-menu, .toast-container, .hero-scroll { display: none !important; }
  body { background: white; color: black; }
}
