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

html, body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #0d0d0d;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   CONTAINER LAYOUT
--------------------------------------------------------- */
.container {
  width: 92%;
  max-width: 1120px;
  margin: auto;
}

.page,
.page-alt {
  padding: 80px 0;
}

.page-alt {
  background: #f7f9fc;
}

/* ---------------------------------------------------------
   NAVIGATION
--------------------------------------------------------- */
.nav {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  width: 92%;
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: #1d4ed8;
  color: #ffffff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-title {
  font-weight: 700;
  font-size: 20px;
}

.logo-sub {
  font-size: 13px;
  color: #6b7280;
  margin-top: -4px;
}

.nav-links a {
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
  color: #374151;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1d4ed8;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-pill {
  font-size: 14px;
  color: #6b7280;
}

.lang-pill .active-lang {
  font-weight: 700;
  color: #1d4ed8;
}

.nav-cta {
  background: #1d4ed8;
  color: #ffffff;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.nav-cta:hover {
  background: #153eac;
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */
.hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #f8fbff, #ecf3ff);
}

.hero-inner {
  width: 92%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.eyebrow {
  color: #1d4ed8;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 600px;
}

.hero-title-spanish {
  font-size: 20px;
  font-weight: 600;
  margin-top: 6px;
  color: #374151;
}

.hero-sub {
  margin-top: 18px;
  max-width: 560px;
  font-size: 17px;
  color: #4b5563;
}

.hero-sub-es {
  margin-top: 10px;
  max-width: 560px;
  font-size: 16px;
  color: #6b7280;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.btn-primary {
  background: #1d4ed8;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: 0.2s;
}

.btn-primary:hover {
  background: #1641b5;
}

.btn-outline {
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid #1d4ed8;
  background: transparent;
  color: #1d4ed8;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.hero-footnote {
  margin-top: 20px;
  font-size: 14px;
  color: #6b7280;
}

/* ---------------------------------------------------------
   HERO SIDE CARD
--------------------------------------------------------- */
.hero-card {
  width: 360px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
  padding: 24px;
  border-radius: 16px;
}

.hero-card-label {
  font-size: 15px;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 10px;
}

/* ---------------------------------------------------------
   SECTIONS & CARDS
--------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: auto;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
}

.section-title-es {
  font-size: 18px;
  color: #4b5563;
  margin-top: 4px;
}

.section-sub,
.section-sub-es {
  font-size: 16px;
  color: #6b7280;
  margin-top: 10px;
}

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

.card {
  background: #ffffff;
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
}

.card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
  color: #2563eb;
}

.card p {
  margin-top: 10px;
  color: #4b5563;
}

.card-list {
  margin-top: 14px;
  padding-left: 18px;
}

.card-list li {
  margin-bottom: 6px;
  color: #4b5563;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 26px 0;
  margin-top: 60px;
}

.footer-inner {
  width: 92%;
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.footer-right {
  text-align: right;
}

/* ---------------------------------------------------------
   RESPONSIVE (MOBILE & TABLET)
--------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
  }

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

  .hero-card {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
