:root {
  --red: #CF0408;
  --red-dark: #A90005;
  --red-soft: #FFF0F0;
  --ink: #201D1D;
  --muted: #6E6666;
  --line: #E9E2E2;
  --paper: #FFFDFB;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(93, 0, 4, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 860px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(207, 4, 8, 0.08);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 72px;
  height: 58px;
  object-fit: cover;
  object-position: center 52%;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #443D3D;
  transition: color .2s ease;
}

.main-nav a:hover { color: var(--red); }

.language-switcher {
  display: inline-flex;
  padding: 4px;
  background: #F5EFEF;
  border-radius: 999px;
  gap: 2px;
}

.lang-btn {
  width: 38px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #746B6B;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.78rem;
}

.lang-btn.active {
  background: var(--red);
  color: var(--white);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  padding: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 92px;
  background:
    radial-gradient(circle at 20% 20%, rgba(207,4,8,.08), transparent 24%),
    linear-gradient(135deg, #FFF9F8 0%, #FFFDFC 48%, #FFF6F4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1,
.section h2 {
  font-family: "Nunito", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(207,4,8,.22);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--red);
  border: 1px solid #F1DADA;
}

.hero-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.logo-frame {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.logo-frame img {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
}

.hero-card-caption {
  display: grid;
  gap: 4px;
  padding: 18px 4px 2px;
}

.hero-card-caption strong {
  font-family: "Nunito", sans-serif;
  font-size: 1.3rem;
}

.hero-card-caption span {
  color: var(--muted);
  font-size: .96rem;
}

.hero-shape {
  position: absolute;
  border: 3px solid rgba(207, 4, 8, .12);
  border-radius: 50%;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  right: -130px;
  top: 30px;
}

.hero-shape-2 {
  width: 160px;
  height: 160px;
  left: -70px;
  bottom: -60px;
}

.section { padding: 96px 0; }

.section h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  max-width: 900px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 24px 0 0;
}

.section-lead.small { max-width: 520px; }

.intro-section { background: var(--white); }

.program-section { background: #F9F5F4; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 44px;
}

.section-heading > p {
  width: min(390px, 100%);
  color: var(--muted);
  margin: 0 0 6px;
}

.section-heading.compact { margin-bottom: 32px; }

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

.program-card {
  min-height: 360px;
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.program-card::after {
  content: "";
  width: 110px;
  height: 110px;
  position: absolute;
  right: -30px;
  bottom: -30px;
  background: var(--red-soft);
  border-radius: 50%;
}

.card-number {
  color: #BEAAAA;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.icon-wrap {
  width: 54px;
  height: 54px;
  margin: 45px 0 24px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-size: 1.1rem;
}

.program-card h3 {
  font-family: "Nunito", sans-serif;
  font-size: 1.7rem;
  margin: 0 0 12px;
}

.program-card p {
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 1;
}

.how-section { background: var(--white); }

.split-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}

.steps {
  border-left: 1px solid #E8DADA;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 0 0 34px 26px;
  position: relative;
}

.step:last-child { padding-bottom: 0; }

.step > span {
  position: relative;
  left: -51px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 0 0 8px var(--white);
}

.step h3 {
  font-family: "Nunito", sans-serif;
  font-size: 1.35rem;
  margin: 3px 0 5px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.about-section {
  background: var(--red);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.about-section .section-kicker { color: #FFD3D4; }

.about-section p {
  max-width: 700px;
  color: #FFEAEA;
  font-size: 1.06rem;
}

.about-visual {
  min-height: 390px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.peru-block {
  font-family: "Nunito", sans-serif;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -.08em;
}

.swiss-cross {
  position: absolute;
  right: 32px;
  top: 30px;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--red);
  font-size: 2.4rem;
  font-weight: 900;
}

.bridge-line {
  position: absolute;
  width: 140%;
  height: 120px;
  left: -20%;
  bottom: -70px;
  border: 3px solid rgba(255,255,255,.32);
  border-radius: 50%;
}

.partner-section {
  background: #FFF6F4;
  padding-bottom: 54px;
}

.partner-box {
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--red);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 60px;
}

.partner-box h2 { max-width: 700px; }

.partner-box p {
  max-width: 700px;
  color: #FFE9E9;
}

.section-kicker.light { color: #FFD6D6; }

.partner-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.email-note {
  font-size: .78rem;
  opacity: .75;
  margin: 0 !important;
}

.support-section {
  background: #FFF6F4;
  padding-top: 38px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.support-item {
  min-height: 180px;
  padding: 26px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid #F2E5E5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-item strong {
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
}

.support-item span {
  color: var(--muted);
  font-size: .95rem;
}

.site-footer {
  background: #1E1A1A;
  color: #D7CFCF;
  padding: 46px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.footer-brand img {
  width: 68px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
}

.footer-brand p { margin: 0; }

.footer-meta {
  display: grid;
  gap: 3px;
  text-align: right;
  font-size: .85rem;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    padding: 18px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 10px; }

  .menu-toggle { display: block; }

  .language-switcher { margin-left: 0; }

  .hero-grid,
  .split-grid,
  .about-grid,
  .partner-box {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 46px; }

  .hero-card {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .cards-grid { grid-template-columns: 1fr; }
  .program-card { min-height: auto; }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .split-grid { gap: 54px; }

  .about-grid { gap: 42px; }

  .support-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .site-header .container { width: min(100% - 22px, 1120px); }

  .nav-wrap { min-height: 72px; gap: 12px; }
  .brand img { width: 58px; height: 48px; }

  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .hero-lead { font-size: 1.08rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }

  .section { padding: 72px 0; }
  .section h2 { font-size: 2.55rem; }

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

  .partner-box { gap: 34px; }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta { text-align: left; }

  .about-visual { min-height: 300px; }
}
