/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #232d3f;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

:root {
  --color-primary: #020048;
  --color-primary-dark: #010030;
  --color-secondary: #020070;
  --color-accent: #4a36ca;
  --color-base: #ffffff;
  --color-contrast: #232d3f;
  --color-tertiary: #ebebf8;
  --color-text-muted: #64748b;
  
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  
  --border-radius-card: 28px;
  --border-radius-button: 999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-accent:  linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);

  /* Extended shadows — brand-tinted */
  --shadow-accent: 0 4px 24px rgba(74,54,202,0.32);
  --color-border:  #dde3f0;
  --color-error:   #dc2626;
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 1rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 2rem;
    --font-size-5xl: 2.5rem;
  }
}

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

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: var(--font-size-4xl);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--color-primary);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--color-base);
  border-radius: var(--border-radius-button);
  padding: 0.85rem 2rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: white;
  opacity: 0.92;
}

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

.btn-white:hover {
  background: var(--color-tertiary);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  display: inline-block;
  border-radius: var(--border-radius-button);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: white;
}

.btn-outline-light {
  border: 2px solid var(--color-base);
  color: var(--color-base);
  background: transparent;
  padding: 0.7rem 1.5rem;
  border-radius: var(--border-radius-button);
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-2px);
}

.btn-nav {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius-button);
  color: white;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ========== HEADER / HERO ========== */
.hero-cover {
  position: relative;
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Brand-tinted depth layer */
.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1,0,48,0.68) 0%,
    rgba(1,0,48,0.20) 45%,
    rgba(1,0,48,0.84) 100%
  );
  z-index: 1;
}

/* Aurora — two indigo radial glows that drift slowly */
.hero-cover::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 70% 60% at 22% 55%, rgba(74,54,202,0.42) 0%, transparent 30%),
    radial-gradient(ellipse 52% 48% at 78% 28%, rgba(154, 153, 183, 0.48) 0%, transparent 10%);
  animation: auroraFloat 14s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

@keyframes auroraFloat {
  from { transform: translate(0, 0) scale(1);     opacity: 0.5; }
  50%  {                                           opacity: 0.9; }
  to   { transform: translate(8%, -6%) scale(1.1); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cover::after { animation: none; opacity: 0.55; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-2xl);
  color: white;
}

.navbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  text-decoration: underline;
}

.mobile-menu-icon {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-logo {
  width: 9rem;
  margin-bottom: 0.5rem;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: white;
}

.hero-headline {
  text-align: center;
  margin-top: auto;
  margin-bottom: 3rem;
}

.hero-headline h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  opacity: 0.9;
}

.hero-scroll {
  text-align: center;
  margin-top: auto;
  padding-bottom: 2rem;
}

.hero-scroll p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.arrow-down {
  font-size: 2rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ========== SECTIONS ========== */
section {
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.bg-tertiary {
  background-color: var(--color-tertiary);
}

.bg-primary-dark {
  background-color: var(--color-primary);
  color: white;
}

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

.quote-text {
  font-size: var(--font-size-2xl);
  font-weight: 400;
  color: var(--color-primary);
}

/* ========== CARDS GRID ========== */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  flex: 1 1 300px;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.featured-card {
  flex: 1.2;
}

.card-cover {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  border-radius: var(--border-radius-card);
  position: relative;
  color: white;
}

.card-cover.large {
  min-height: 720px;
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
  border-radius: var(--border-radius-card);
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-content h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: 1rem;
}

.card-content ul {
  margin: 1rem 0 1.5rem 1.2rem;
  list-style: disc;
}

.cards-stack {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.two-cards-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.two-cards-row > div {
  flex: 1;
}

.solid-card {
  background-color: var(--color-primary);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(2,0,72,0.22);
}

.solid-card.primary-bg {
  background-color: var(--color-primary);
}

.solid-card.tertiary-bg {
  background-color: var(--color-tertiary);
  color: var(--color-primary);
}


.solid-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
}

.solid-card p {
  margin: 1rem 0;
}

.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.two-columns > div {
  flex: 1 1 45%;
}

.no-gap {
  gap: 0;
}

.image-card img,
.image-full img {
  border-radius: var(--border-radius-card);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-full img {
  border-radius: 0;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

/* ========== REMESAS ROW ========== */
.remesas-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2rem;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  min-height: 300px;
}

.remesas-text {
  background: var(--color-primary);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.remesas-text h3 {
  font-size: var(--font-size-2xl);
  color: white;
  margin: 0;
  line-height: 1.2;
}

.remesas-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-md);
  line-height: 1.65;
  margin: 0;
}

.remesas-image {
  position: relative;
  overflow: hidden;
}

.remesas-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.remesas-row--reverse {
  direction: rtl;
  margin-top: 1.5rem;
}

.remesas-row--reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .remesas-row {
    grid-template-columns: 1fr;
  }
  .remesas-row--reverse { direction: ltr; }
  .remesas-image { min-height: 220px; }
  .remesas-image img { min-height: 220px; }
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 0;
}

.cta-content-dark {
  padding: var(--spacing-xl) 10%;
  background-color: var(--color-primary);
  color: white;
}

.cta-content-dark h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: 1rem;
  color: white;
}

.cta-content-dark p {
  margin: 1rem 0 1.5rem;
  font-size: var(--font-size-lg);
}

.contact-bar {
  background: var(--gradient-primary);
  padding: 2.5rem 1.5rem;
}

.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-inner p {
  font-size: var(--font-size-2xl);
  font-weight: 400;
  color: var(--color-primary);
}


/* ========== STATS BAND ========== */
.stats-band {
  background: var(--color-primary);
  padding: 2.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-row {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.48);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
}

/* ========== UTILITIES — SECTION EYEBROW ========== */
.section-eyebrow {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* ========== SITE FOOTER ========== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  padding: 4rem 1.5rem 0;
  border-top: 3px solid var(--color-accent);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer__logo {
  width: 110px;
  margin-bottom: 1.25rem;
  display: block;
}

.site-footer__tagline {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.site-footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.site-footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__list li,
.site-footer__list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__list a:hover {
  color: white;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1rem;
}

.site-footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.site-footer__social-link:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .site-footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__brand {
    grid-column: span 1;
  }
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .navbar-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    background: rgba(2, 0, 72, 0.95);
    padding: 1rem;
    border-radius: 20px;
    margin-top: 0.5rem;
  }
  
  .nav-menu.show {
    display: flex;
  }
  
  .mobile-menu-icon {
    display: block;
    align-self: flex-end;
  }
  
  .two-columns {
    flex-direction: column;
  }
  
  .cards-grid {
    flex-direction: column;
  }
  
  .two-cards-row {
    flex-direction: column;
  }
  
  .hero-headline h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }

  .stat-divider { display: none; }
  .stats-row    { gap: 1.5rem; }
  .stat-number  { font-size: 1.8rem; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeInUp 0.6s ease forwards;
}