/* Spanish homepage only. Shared styles, English pages and guide pages are unchanged. */
.es-home {
  --es-ink: #1c263a;
  --es-muted: #505d73;
  --es-blue: #233fbd;
  --es-lavender: #f3f2fc;
  color: var(--es-ink);
  background: #fff;
}
.es-home .wrap { width: min(1120px, calc(100% - 64px)); }
.es-home .nav { height: 96px; }
.es-home .brand { color: #0a0b0d; }
.es-home .navlinks { gap: 10px; }
.es-home .navlinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; font-size: .875rem; font-weight: 650; }
.es-home .navlinks .home-link { border-color: #dce0f1; background: #f4f5fb; color: var(--es-blue); }
.es-home a:focus-visible { outline: 3px solid #233fbd; outline-offset: 4px; }
.es-home .hero {
  display: block;
  border: 1px solid #e3e6f2;
  border-radius: 24px;
  padding: 40px 44px;
  background: linear-gradient(110deg, #f7f8fd 0%, #f1effb 100%);
  box-shadow: none;
}
.es-home .hero-copy { max-width: 940px; }
.es-home .hero .eyebrow { color: var(--es-blue); font-size: .75rem; font-weight: 700; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 14px; }
.es-home .hero h1 { color: var(--es-ink); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 750; line-height: 1.16; letter-spacing: -.035em; margin: 0 0 18px; }
.es-home .hero h1 span { color: var(--es-blue); }
.es-home .hero .hero-description { max-width: 730px; color: var(--es-muted); font-size: 1.0625rem; line-height: 1.65; margin: 0; }
.es-home .hero-action { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; margin-top: 18px; color: var(--es-blue); font-size: .9375rem; font-weight: 650; text-decoration: none; }
.es-home .hero-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.es-home .section { padding: 52px 0 42px; scroll-margin-top: 24px; }
.es-home .section-head { display: block; margin: 0 0 26px; }
.es-home .section h2 { color: var(--es-ink); font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.22; letter-spacing: -.025em; margin: 0; }
.es-home .section-head p { max-width: none; margin: 10px 0 0; color: var(--es-muted); font-size: 1rem; }
.es-home .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.es-home .guide { min-width: 0; background: #fff; border: 1px solid #dfe4ee; border-radius: 16px; box-shadow: 0 2px 6px rgba(26, 40, 74, .025); transition: border-color .16s ease, box-shadow .16s ease; }
.es-home .guide:hover { transform: none; border-color: #a8b3dc; box-shadow: 0 7px 20px rgba(39, 53, 92, .08); }
.es-home .guide > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #f1f4f9; border-bottom: 1px solid #edf0f6; }
.es-home .guide-copy { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 24px; }
.es-home .guide span { margin: 0; }
.es-home .guide .guide-category { color: #53628b; font-size: .6875rem; font-weight: 750; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.es-home .guide h3 { margin: 10px 0 12px; color: var(--es-ink); font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.018em; }
.es-home .guide p { margin: 0 0 20px; color: var(--es-muted); font-size: .9375rem; line-height: 1.6; }
.es-home .guide .guide-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 5px; color: var(--es-blue); font-size: .9375rem; font-weight: 700; }
.es-home .guide .guide-link > span { color: inherit; }
.es-home .guide:hover .guide-link { text-decoration: underline; text-underline-offset: 4px; }
.es-home .guide .privacy-note { display: flex; align-items: center; gap: 7px; margin: -4px 0 18px; color: #52617a; font-size: .75rem; line-height: 1.5; }
.es-home .privacy-note svg { width: 16px; height: 16px; flex: none; }
.es-home .guides-note { margin: 20px 0 0; color: var(--es-muted); font-size: .8125rem; line-height: 1.6; }
.es-home .callout { display: flex; align-items: center; gap: 22px; margin-bottom: 56px; padding: 28px 30px; border: 1px solid #e2e3f1; border-radius: 18px; background: var(--es-lavender); }
.es-home .callout-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 14px; color: #4b58aa; background: #e5e6f7; }
.es-home .callout-icon svg { width: 34px; height: 34px; }
.es-home .callout-copy { flex: 1; }
.es-home .callout h2 { margin: 0 0 7px; color: var(--es-ink); font-size: 1.25rem; line-height: 1.35; letter-spacing: -.02em; }
.es-home .callout p { max-width: 650px; margin: 0; color: var(--es-muted); font-size: .875rem; line-height: 1.6; }
.es-home .callout > a { display: inline-flex; align-items: center; gap: 16px; flex: none; min-height: 44px; color: var(--es-blue); font-size: .875rem; font-weight: 700; text-decoration: none; }
.es-home .callout > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.es-home .footer { color: var(--es-muted); background: #fafbfe; padding: 32px 0 40px; }
.es-home .footerline { align-items: baseline; }
.es-home .footerline strong { flex: none; font-size: .7rem; }
.es-home .footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.es-home .footer a { margin: 0; line-height: 1.6; }
.es-home .legal { max-width: 920px; margin-top: 20px; font-size: .75rem; line-height: 1.7; }
@media (max-width: 1000px) {
  .es-home .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-home .callout { flex-wrap: wrap; }
  .es-home .callout > a { margin-left: 76px; }
  .es-home .footerline { display: block; }
  .es-home .footer nav { justify-content: flex-start; margin-top: 14px; }
}
@media (max-width: 640px) {
  .es-home .wrap { width: calc(100% - 32px); }
  .es-home .nav { height: 78px; gap: 12px; }
  .es-home .brand { gap: 8px; font-size: .75rem; }
  .es-home .mark { width: 31px; height: 39px; }
  .es-home .navlinks { gap: 0; }
  .es-home .navlinks a { display: inline-flex; padding: 8px 11px; font-size: .75rem; }
  .es-home .hero { border-radius: 18px; padding: 28px 24px; }
  .es-home .hero .eyebrow { font-size: .625rem; letter-spacing: .07em; margin-bottom: 13px; }
  .es-home .hero h1 { font-size: clamp(1.75rem, 6.8vw, 2.125rem); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 16px; }
  .es-home .hero h1 br { display: none; }
  .es-home .hero h1 span::before { content: " "; }
  .es-home .hero .hero-description { font-size: .9375rem; line-height: 1.65; }
  .es-home .hero-action { margin-top: 15px; font-size: .875rem; gap: 12px; }
  .es-home .section { padding: 36px 0 32px; }
  .es-home .section h2 { font-size: 1.5rem; line-height: 1.25; max-width: 360px; }
  .es-home .section-head { margin-bottom: 22px; }
  .es-home .section-head p { font-size: .9375rem; margin-top: 9px; }
  .es-home .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .es-home .guide-copy { padding: 23px; }
  .es-home .guide h3 { font-size: 1.25rem; }
  .es-home .guide p { margin-bottom: 19px; }
  .es-home .callout { display: block; padding: 24px; margin-bottom: 36px; }
  .es-home .callout-icon { width: 45px; height: 45px; margin-bottom: 16px; }
  .es-home .callout-icon svg { width: 29px; height: 29px; }
  .es-home .callout > a { margin: 16px 0 0; }
  .es-home .footer { padding: 26px 0 32px; }
  .es-home .footer nav { gap: 2px 14px; }
  .es-home .footer a { padding: 5px 0; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .es-home .guide { transition: none; }
}
