/* Public Aiuda actions and typography, fitted to this local proposal. */
body { font-optical-sizing: auto; font-synthesis: none; }
.welcome-hero h1 { font-weight: 560; letter-spacing: -.045em; }
.button { gap: 10px; letter-spacing: -.01em; }
.button svg, .text-link svg { width: 17px; height: 17px; }
.button-secondary { color: #edf2ef; background: #171b19e8; border-color: #454e48; }
.button-secondary:hover { color: #fff; background: #252c28; border-color: #6b7b70; }
.button:active { filter: brightness(.94); }
.header .nav-shell { gap: 26px; }
.desktop-nav { gap: 24px; align-items: center; font-size: 13px; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; flex-shrink: 0; }
.header-login { display: inline-flex; align-items: center; min-height: 44px; color: #b6beb9; font-size: 13px; white-space: nowrap; }
.header-login:hover { color: #f4f4f5; }
.header-actions .nav-cta { margin-left: 0; min-height: 44px; }
@media (min-width: 1001px) {
  .header .nav-shell { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 26px; }
  .header .brand { justify-self: start; }
  .desktop-nav { margin: 0; justify-self: center; }
  .header-actions { margin-left: 0; justify-self: end; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  .header .nav-shell { column-gap: 16px; }
  .desktop-nav { gap: 14px; }
  .header-actions { gap: 12px; }
}
.mobile-nav { display: none; }
.welcome-hero .hero-actions { gap: 14px; }
.welcome-hero .hero-actions > .button { min-height: 50px; }
.offer-note { text-align: center; font-size: 14px; line-height: 1.6; color: #aebfb4; }
.offer-note strong, .offer-note > span { display: block; }
:root { --trial-duration-size: 24px; }
.offer-note strong, .trial-duration { font-size: var(--trial-duration-size); font-weight: 590; line-height: 1.35; color: #e4eee8; }
.faq-list summary > .faq-question-text { min-width: 0; font: inherit; line-height: inherit; color: inherit; transform: none; transition: none; }
.welcome-hero .offer-note { margin-top: 19px; }
.start-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.start-actions .text-link { min-height: 44px; }
.start-actions .text-link:hover, .faq-more:hover { color: #66e9b2; }
.faq-contact > p { font-size: 15px; line-height: 1.6; }
.faq-contact .button { margin-top: 17px; font-size: 14px; text-decoration: none; color: #edf2ef; }
.faq-contact .faq-email { display: block; width: fit-content; margin-top: 13px; min-height: 36px; }
.faq-list p a { text-decoration: underline; text-underline-offset: 4px; color: #d4e9dd; }
.faq-more { margin-top: 18px; width: fit-content; min-height: 44px; color: #d4e9dd; }
.closing { padding-block: 70px 80px; }
.closing-offer { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 12px; margin-top: 18px; }
.closing-offer strong, .closing-offer > span { display: inline; }
.closing-actions > .button-secondary { min-height: 44px; font-size: 14px; padding: 10px 17px; }
.public-footer { display: block; padding-block: 55px 27px; color: #a5b3aa; text-align: left; isolation: isolate; }
.public-footer::before { content: ''; position: absolute; z-index: -1; inset: 0 -20px; background: radial-gradient(ellipse at center, #0a0a0af0, #0a0a0ac4 70%, transparent 100%); pointer-events: none; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 36px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 17px; }
.public-footer .footer-main > nav { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 3px; width: auto; }
.public-footer h2 { font-size: 13px; line-height: 1.5; font-weight: 590; letter-spacing: 0; color: #e3ece7; margin: 7px 0 13px; }
.public-footer nav a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.public-footer nav a:hover { color: #f4f4f5; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; font-size: 12px; }
.public-footer .footer-bottom > nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; width: auto; }
.footer-bottom > nav a { font-size: 12px; }
@media (max-width: 1000px) {
  .header .nav-shell { width: calc(100% - 48px); height: 72px; gap: 16px; }
  .desktop-nav, .header-login { display: none; }
  .header-actions { gap: 10px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; color: #c2d7ca; }
  .menu-toggle span { display: block; height: 1px; width: 22px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: grid; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100svh - 73px); overflow-y: auto; gap: 0; background: #111412; border-bottom: 1px solid #454e48; padding: 10px 24px 18px; box-shadow: 0 18px 25px #0005; }
  .mobile-nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 7px; font-size: 15px; }
  .mobile-login { border-top: 1px solid #454e48; margin-top: 8px; }
  .start-decision { flex-direction: column; gap: 19px; }
  .footer-main { gap: 25px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .welcome-hero { padding-top: 23px; }
  .hero-welcome { margin-bottom: 14px; }
  .welcome-hero .eyebrow { margin-bottom: 10px; }
  .welcome-hero h1 { letter-spacing: -.04em; }
  .welcome-hero .hero-description { margin-top: 16px; line-height: 1.55; }
  .welcome-hero .hero-actions { gap: 9px; margin-top: 19px; }
  .welcome-hero .hero-actions > .button { min-height: 47px; font-size: 14px; padding: 12px 18px; }
  .welcome-hero .cta-context { margin-top: 8px; }
  .offer-note { font-size: 13px; line-height: 1.55; }
  .welcome-hero .offer-note { margin-top: 12px; }
  .start-decision { align-items: flex-start; }
  .start-actions { justify-content: flex-start; gap: 12px 21px; }
  .start-actions > .button { font-size: 14px; min-height: 46px; padding: 11px 17px; }
  .start-actions > .text-link { font-size: 14px; }
  .faq-more { grid-column: auto; margin-top: 20px; }
  .faq-contact .button { min-height: 46px; }
  .closing { padding-block: 55px 60px; }
  .closing-offer { margin-top: 15px; }
  .public-footer { padding-top: 38px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 22px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-main > nav[aria-label="Hablemos"] { grid-column: 1/-1; }
  .public-footer nav a { min-height: 40px; font-size: 14px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 30px; padding-top: 20px; gap: 11px; }
  .public-footer .footer-bottom > nav { justify-content: flex-start; gap: 8px 22px; }
  .footer-bottom > nav a { font-size: 12px; }
}
@media (max-width: 640px) {
  .header .nav-shell { width: calc(100% - 40px); height: 66px; gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .nav-cta { min-height: 44px; font-size: 13px; padding: 10px 12px; border-radius: 8px; gap: 7px; }
  .mobile-nav:not([hidden]) { max-height: calc(100svh - 67px); padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition: none; }
}

/* In mobile review, controls take their own space and scroll with the page. */
@media (max-width: 1000px) {
  body { padding-bottom: 0; }
  .view-controls {
    position: relative;
    inset: auto;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-end;
    width: calc(100% - 48px);
    max-width: 720px;
    margin: 12px auto;
    gap: 8px;
  }
  .view-controls .motion-toggle,
  .view-controls .background-switcher summary {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .view-controls .background-switcher summary { display: flex; align-items: center; }
  .view-controls .background-switcher[open] {
    position: relative;
    inset: auto;
    transform: none;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    padding: 8px 10px;
  }
  .view-controls .background-switcher[open] summary { margin-bottom: 6px; padding: 8px 6px; }
  .welcome-hero { scroll-margin-top: 70px; }
}
@media (max-width: 640px) {
  .view-controls { width: calc(100% - 40px); }
}
