/*
Theme Name: Fundación 4You
Theme URI: https://example.com
Author: ChatGPT + Usuario
Description: Tema one-page para Fundación 4-You, compatible con Elementor.
Version: 1.0
Text Domain: fundacion-4you
*/

:root {
  --color-bg-soft: #f3faf3;
  --color-bg-card: #f2fbf4;
  --color-primary: #8f2fd2;
  --color-primary-dark: #761eb3;
  --color-secondary: #ffb347;
  --color-text-main: #222222;
  --color-text-muted: #64748b;
  --color-footer: #222831;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text-main);
  background: #ffffff;
}

/* Layout */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-area img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.logo-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 500;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(143, 47, 210, 0.4);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

/* Hero */

.hero-section {
  background: radial-gradient(circle at top left, #fbeeff 0, #f3faf3 40%, #ffffff 100%);
  padding: 4rem 1.5rem 5rem;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6ac1, #8f2fd2);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.1;
  margin: 1.2rem 0 0.8rem;
}

.hero-title span.highlight {
  color: var(--color-primary);
}

.hero-text {
  color: var(--color-text-muted);
  max-width: 32rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Hero image */

.hero-media {
  position: relative;
}

.hero-main-image {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.hero-stat-card {
  position: absolute;
  left: 10%;
  bottom: -12%;
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-soft);
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f5ff;
}

.hero-stat-text strong {
  display: block;
  font-size: 1.1rem;
}

/* Bloque título secciones */

.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  color: var(--color-text-muted);
}

/* Valores */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.value-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.value-name {
  font-weight: 700;
}

.value-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Misión / Visión */

.mission-vision-section {
  padding: 4rem 1.5rem 4.5rem;
  background: radial-gradient(circle at top left, #f5a2ff 0, #7123b1 35%, #4a1389 80%);
  color: #ffffff;
}

.mv-grid {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.mv-card,
.mv-quote {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}

.mv-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.mv-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.mv-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.mv-quote p {
  margin-bottom: 1.5rem;
}

/* Programas */

.programs-grid {
  display: grid;
  gap: 2rem;
}

.program-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.program-row.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.program-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.program-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.program-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.program-title span.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ff784e;
  color: #ffffff;
}

.program-text {
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
}

.program-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

/* CTA Sé parte del cambio */

.change-section {
  padding: 4rem 1.5rem 4.5rem;
  background: radial-gradient(circle at top left, #f3ccff 0, #8f2fd2 45%, #6318a3 90%);
  color: #ffffff;
}

.change-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.change-cards {
  margin: 2.5rem auto 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.change-card {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.change-card h3 {
  margin-top: 0.4rem;
}

.change-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.change-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.change-note {
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  background: var(--color-footer);
  color: #e5e7eb;
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 18rem;
  color: #cbd5f5;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.4rem;
}

.footer-col a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-contact p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #111827;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
}

/* Responsive */

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .program-row,
  .program-row.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 2.2rem;
  }
}
