:root {
  color-scheme: light;
  --bg: #fcfcfd;
  --surface: #ffffff;
  --surface-alt: #eef4fb;
  --text: #0f172a;
  --muted: #52617a;
  --primary: #0c2d5b;
  --primary-soft: #1d4380;
  --accent: #c9a65c;
  --accent-soft: #e4c78b;
  --border: rgba(14, 30, 59, 0.08);
  --shadow: 0 20px 60px rgba(12, 45, 91, 0.1);
  --radius: 28px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(201, 166, 92, 0.15), transparent 35%), linear-gradient(180deg, #f7fafd 0%, #fcfcfd 100%);
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(12, 45, 91, 0.1);
  box-shadow: 0 4px 20px rgba(12, 45, 91, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.95rem 0;
  max-width: 1440px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
}

.brand-mark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
  margin-right: 0.85rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.header-actions {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.mobile-actions {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a78645);
  color: white;
  box-shadow: 0 18px 40px rgba(201, 166, 92, 0.18);
}

.btn-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(201, 166, 92, 0.4);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  border-color: transparent;
}

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 24px 50px rgba(37, 211, 102, 0.25);
  font-weight: 700;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: rgba(12, 45, 91, 0.05);
  border: 1px solid rgba(12, 45, 91, 0.12);
  border-radius: 16px;
  width: 2.6rem;
  height: 2.6rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.55rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

.section {
  padding: 4rem 0;
}

.section-hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: grid;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 15% 10%, rgba(201, 166, 92, 0.16), transparent 20%),
    radial-gradient(circle at 90% 20%, rgba(12, 45, 91, 0.14), transparent 15%),
    linear-gradient(180deg, #f9fafc 0%, #fcfcfd 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-copy {
  max-width: 720px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1.5rem;
  justify-items: end;
  width: min(460px, 100%);
}

.hero-visual-image {
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(12, 45, 91, 0.16);
}

.hero-card {
  width: 100%;
  padding: 2.4rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(12, 45, 91, 0.94), rgba(12, 45, 91, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(12, 45, 91, 0.17);
  color: white;
}

.hero-pill {
  display: inline-flex;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 1.4rem;
}

.hero-card h3 {
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.hero-card-list {
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
}

.hero-card-list div {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1rem 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.hero-card-list span {
  display: inline-flex;
  margin-top: 0.15rem;
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-copy h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-subtext {
  margin-top: 1rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-verse {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border-left: 4px solid var(--accent);
  background: rgba(205, 172, 99, 0.08);
  color: var(--primary);
  border-radius: 24px;
}

.hero-verse span {
  display: block;
  font-size: 1rem;
  line-height: 1.9;
}

.hero-verse cite {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.section-label {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.79rem;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--primary);
}

.section-copy p,
.vision-card p,
.section-intro,
.community-copy p,
.impact-section p,
.quote-panel p,
.footer-links a,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form .form-note {
  color: var(--muted);
}

.section-grid {
  display: grid;
  gap: 2.5rem;
}

.feature-card,
.pilar-card,
.teaching-card,
.program-card,
.action-card,
.community-card,
.impact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.pilar-card:hover,
.teaching-card:hover,
.program-card:hover,
.action-card:hover,
.community-card:hover,
.impact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 166, 92, 0.28);
}

.feature-icon,
.pilar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(12, 45, 91, 0.06);
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.feature-icon svg,
.pilar-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.feature-card h3,
.pilar-card h3,
.teaching-card h3,
.program-card h3,
.action-card h3,
.community-card h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.cards-grid,
.pilar-grid,
.teachings-grid,
.programs-grid,
.actions-grid,
.impact-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pilar-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.teachings-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.programs-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.actions-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.vision-list {
  display: grid;
  gap: 1.25rem;
}

.vision-item {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.vision-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.vision-quote,
.hero-verse {
  font-style: normal;
}

.community-benefits {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.community-benefits li {
  padding-left: 1.5rem;
  position: relative;
}

.community-benefits li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.community-cta {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.community-card {
  padding: 3rem;
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(12, 45, 91, 0.96), rgba(12, 45, 91, 0.84));
  color: white;
}

.community-visual img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 22px 56px rgba(12, 45, 91, 0.18);
}

.section-media {
  border-radius: 28px;
  overflow: hidden;
}

.section-media img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

.community-card h3 {
  color: white;
}

.program-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(201, 166, 92, 0.16);
  color: var(--primary);
  font-weight: 700;
}

.teaching-card .card-link,
.action-card .card-link {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.impact-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.impact-number {
  display: block;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 800;
  color: var(--primary);
}

.impact-note {
  margin-top: 1.5rem;
  text-align: center;
}

.quote-section {
  background: linear-gradient(135deg, #0c2d5b 0%, #132f5c 48%, #1f4a81 100%);
  color: white;
}

.quote-panel {
  border-radius: 32px;
  padding: 4rem;
  text-align: center;
}

.quote-panel h2 {
  color: white;
}

.actions-section {
  background: rgba(243, 246, 253, 0.9);
}

.action-card {
  min-height: 240px;
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-copy {
  max-width: 560px;
}

.contact-form {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(14, 30, 59, 0.14);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: #ffffff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(201, 166, 92, 0.4);
  outline-offset: 2px;
}

.form-submit {
  width: fit-content;
  margin-top: 1rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-status {
  margin-top: 0.5rem;
  color: var(--primary-soft);
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(14, 30, 59, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a,
.social-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--primary);
}

.footer-tag {
  margin-top: 1rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0.6rem 0;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
}

.animate-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .js-enabled .animate-up {
    opacity: 0;
    transform: translateY(2rem);
  }

  .js-enabled .animate-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav {
    gap: 0.9rem;
  }
  .quote-panel {
    padding: 3rem;
  }
}

@media (max-width: 860px) {
  .hero-content,
  .section-grid,
  .reverse-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    justify-content: flex-start;
  }
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 5.5rem 1.5rem 2rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(22px);
    box-shadow: none;
    z-index: 150;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .site-nav.open {
    display: flex;
    opacity: 1;
    transform: translateX(0);
  }
  .menu-close {
    align-self: flex-end;
    display: inline-flex;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 16px;
    border: 1px solid rgba(12, 45, 91, 0.14);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .menu-close:hover,
  .menu-close:focus-visible {
    background: rgba(12, 45, 91, 0.08);
    transform: translateY(-1px);
  }
  .site-nav a {
    padding: 0.95rem 0;
    font-size: 1.04rem;
    color: var(--primary);
    border-bottom: 1px solid rgba(14, 30, 59, 0.08);
  }
  .mobile-actions {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .header-actions {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3rem 0;
  }
  .section-hero {
    min-height: auto;
    padding-top: 4.5rem;
  }
  .hero-copy h1 {
    font-size: 2.5rem;
  }
  .cards-grid,
  .pilar-grid,
  .teachings-grid,
  .programs-grid,
  .actions-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.75rem 0;
  }
  .header-inner {
    justify-content: space-between;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .contact-form {
    padding: 1.8rem;
  }
}
