html[data-translating] body { visibility:hidden; animation:site-show 0s linear 3s forwards; }
@keyframes site-show { to { visibility:visible; } }

.skip-link { position:fixed; z-index:1000; top:-80px; left:16px; padding:12px 24px; color:#080b24; background:#8deaff; border-radius:999px; font:600 16px/1.2 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-decoration:none; }
.skip-link:focus { top:12px; outline:2px solid #fbfcff; outline-offset:2px; }

[data-en][data-es] { display:inline-flex; flex-direction:column; justify-content:center; }
[data-en][data-es]::before { content:attr(data-en); }
[data-en][data-es]::after { content:attr(data-es); }
[data-en][data-es]::before, [data-en][data-es]::after { display:block; height:0; overflow:hidden; visibility:hidden; white-space:nowrap; pointer-events:none; }

.site-footer, html[data-theme="dark"] .site-footer { --sf-ground:#080b24; --sf-text:#fbfcff; --sf-soft:#c8cce0; --sf-line:rgba(251,252,255,.14); --sf-edge:rgba(251,252,255,.4); --sf-focus:#8deaff; }
html[data-theme="light"] .site-footer { --sf-ground:#f2f4fb; --sf-text:#080b24; --sf-soft:#656980; --sf-line:rgba(8,11,36,.16); --sf-edge:rgba(8,11,36,.4); --sf-focus:#3f50e0; }
.site-footer, .site-footer *, .site-footer *::before, .site-footer *::after { box-sizing:border-box; }
.site-footer { color:var(--sf-soft); background:var(--sf-ground); border-top:1px solid var(--sf-line); font:400 14px/20px Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:0; text-transform:none; }
.site-footer-bar { display:grid; grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr)); gap:32px 48px; width:min(calc(100% - 48px),1240px); margin:0 auto; padding:48px 0 32px; }
.site-footer-place { min-width:0; }
.site-footer-place span { display:block; }
.site-footer-place .site-footer-name { margin-bottom:4px; color:var(--sf-text); font:400 24px/32px Georgia,serif; }
.site-footer-links { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.site-footer-heading { margin:0 0 8px; color:var(--sf-text); font-weight:600; }
.site-footer-links a { display:inline-flex; align-items:center; min-height:32px; color:inherit; text-decoration:none; }
.site-footer-links a[hidden] { display:none; }
.site-footer-links a[data-en][data-es] { align-items:flex-start; }
.site-footer-links a:hover { color:var(--sf-text); text-decoration:underline; text-underline-offset:3px; }
.site-footer-strip { display:flex; justify-content:flex-end; width:min(calc(100% - 48px),1240px); margin:0 auto; padding:16px 0; border-top:1px solid var(--sf-line); }
.site-footer-links a:focus-visible, .site-switch button:focus-visible { outline:2px solid var(--sf-focus); outline-offset:2px; }
.site-switches { display:flex; gap:8px; }
.site-switch { display:flex; flex:none; padding:2px; border:1px solid var(--sf-edge); border-radius:999px; }
.site-switch button { flex:none; width:44px; height:44px; min-width:0; min-height:0; margin:0; padding:0; color:var(--sf-text); background:none; border:0; border-radius:999px; font:600 14px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:0; text-transform:none; box-shadow:none; transition:none; cursor:pointer; }
.site-switch button[data-theme-choice] { width:72px; }
html[data-theme="dark"] .site-switch [data-theme-choice="dark"],
html[data-theme="light"] .site-switch [data-theme-choice="light"],
html[lang="en"] .site-switch [data-lang="en"],
html[lang="es"] .site-switch [data-lang="es"] { color:var(--sf-ground); background:var(--sf-text); }
.privacy-note { grid-column:1/-1; margin:0; font-size:14px; line-height:1.5; }
.privacy-note a, .check-privacy { color:inherit; text-decoration:underline; text-underline-offset:3px; }

@media (max-width:980px) {
  .site-footer-bar { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .site-footer-place { grid-column:1/-1; }
}
@media (max-width:700px) {
  .site-footer-bar { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; width:calc(100% - 32px); padding:32px 0 24px; }
  .site-footer-place .site-footer-name { font-size:20px; line-height:28px; }
  .site-footer-links a { min-height:40px; }
  .site-footer-links:nth-of-type(1) { grid-row:span 2; }
  .site-footer-strip { width:calc(100% - 32px); }
  .site-switches { justify-content:space-between; width:100%; }
}

.field-error { margin: 8px 0 0; color: #ffb3bf; font-size: 14px; font-weight: 500; line-height: 1.4; }
.field-error[hidden] { display: none; }
[aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) { border-color: #ffb3bf !important; }
[type="checkbox"][aria-invalid="true"] { outline: 2px solid #ffb3bf; outline-offset: 2px; }
html[data-theme="light"] .field-error { color: #b3123a; }
html[data-theme="light"] [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) { border-color: #b3123a !important; }
html[data-theme="light"] [type="checkbox"][aria-invalid="true"] { outline-color: #b3123a; }
