/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-dark: #003366;
  --blue-mid: #1d3557;
  --blue-light: #4a90e2;
  --gold: #f4c20d;
  --gold-hover: #f9d03a;
  --bg: #f4f7fb;
  --text: #333;
  --muted: #5a6a7e;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Krub", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.donar-page {
  width: 100%;
}

/* =============================================
       INTRO STRIP — "Apoya nuestra causa"
    ============================================= */
.donar-intro {
  padding: 72px 24px 56px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donar-intro::before {
  content: "DONAR";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 700;
  color: rgba(0, 51, 102, 0.03);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
  user-select: none;
}

.donar-intro__inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.donar-intro__block {
  margin-bottom: 48px;
}
.donar-intro__block:last-child {
  margin-bottom: 0;
}

.donar-intro__icon {
  font-size: 2rem;
  display: inline;
  margin-right: 10px;
  vertical-align: middle;
}

.donar-intro__title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.donar-intro__text {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto;
}

/* Separator between the two blocks */
.donar-intro__sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 51, 102, 0.1),
    transparent
  );
  margin: 40px 0;
}

/* Donataria link */
.donar-intro__text a {
  color: var(--blue-light);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.donar-intro__text a:hover {
  color: var(--blue-dark);
}

/* =============================================
       IFRAME SECTION — Portal Afrus
    ============================================= */
.donar-portal {
  padding: 56px 24px 80px;
  background: var(--bg);
  position: relative;
}

.donar-portal__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.donar-portal__header {
  text-align: center;
  margin-bottom: 36px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.donar-portal__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.donar-portal__title span {
  color: var(--gold);
}

.gold-bar {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto;
}

.donar-portal__wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(0, 51, 102, 0.14);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.4s;
  background: var(--white);
}
.donar-portal__wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 51, 102, 0.2);
}

.donar-portal__wrap iframe {
  display: block;
  border: none;
  border-radius: 20px;
  width: 100%;
}

/* =============================================
       TRUST STRIP
    ============================================= */
.trust-strip {
  padding: 80px 24px;
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}
.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 10% 50%,
      rgba(244, 194, 13, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 70% at 90% 50%,
      rgba(74, 144, 226, 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.trust-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease;
  cursor: default;
}
.trust-item:hover {
  transform: translateY(-4px);
}

.trust-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.trust-item:hover .trust-item__icon {
  background: rgba(244, 194, 13, 0.18);
  border-color: rgba(244, 194, 13, 0.4);
}

.trust-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.trust-item__desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* =============================================
       CTA FINAL
    ============================================= */
.cta-section {
  padding: 80px 24px 100px;
  background: var(--white);
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 28px;
  padding: 60px 48px;
  box-shadow: 0 16px 60px rgba(0, 51, 102, 0.08);
  position: relative;
  overflow: hidden;
  animation: ctaBreath 5s ease-in-out infinite;
}
@keyframes ctaBreath {
  0%,
  100% {
    box-shadow: 0 16px 60px rgba(0, 51, 102, 0.08);
  }
  50% {
    box-shadow: 0 24px 80px rgba(0, 51, 102, 0.14);
  }
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--blue-dark), var(--gold));
}

.cta-box .cta-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 20px;
}
.cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-box p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--blue-mid);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(244, 194, 13, 0.35);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244, 194, 13, 0.5);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 160%;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-dark);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--blue-dark);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-outline:hover::after {
  left: 160%;
}

/* =============================================
       SCROLL REVEAL
    ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 0.68, 0, 1.2),
    transform 0.72s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.68, 0, 1.2),
    transform 0.75s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.68, 0, 1.2),
    transform 0.75s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.22s;
}
.reveal-d3 {
  transition-delay: 0.34s;
}
.reveal-d4 {
  transition-delay: 0.46s;
}

.donar-intro__title {
  font-size: 1.3rem;
}

.donar-intro__text {
  font-size: 0.95rem;
}

/* =============================================
       RESPONSIVE
    ============================================= */
@media (max-width: 768px) {
  .trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cta-box {
    padding: 40px 24px;
  }
  .donar-intro {
    padding: 56px 20px 40px;
  }
  .donar-portal {
    padding: 40px 20px 64px;
  }
}
