:root {
  --main-blue: #1fb4e6;
  --main-blue-strong: #0094cc;
  --main-blue-light: #3dd4ff;
  --gradient-blue: linear-gradient(0deg, #3dd4ff 0%, #0094cc 100%);
  --bg-radial: radial-gradient(50% 50% at 50% 50%, #fcfeff 0%, #eff3ff 100%);
  --text-on-blue: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.85);
  --surface-muted: rgba(248, 252, 255, 0.7);
  --line: rgba(31, 180, 230, 0.25);
  --shadow-soft: 0 24px 60px rgba(9, 78, 110, 0.16);
  --radius-card: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-radial);
  color: var(--main-blue);
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

main {
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
}

main > section {
  padding: 4.5rem 0;
}



/* ✅ INNER ESTABLE: NO VW */
.section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
  text-align: center;
}

/* Header */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem clamp(16px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-terms-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
  color: var(--main-blue);
  background: var(--surface);
  white-space: nowrap;
}

.header-terms-link:hover,
.header-terms-link:focus {
  text-decoration: none;
  background: var(--surface-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(31, 180, 230, 0.8);
}

.site-nav a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.site-nav a:hover {
  background: var(--surface-soft);
  text-decoration: none;
  color: var(--main-blue);
}

.menu-toggle {
  border: none;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .menu-bar {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--main-blue-strong);
  display: block;
}

.lang-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  cursor: pointer;
}

.lang-code {
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--main-blue-strong);
  opacity: 0.6;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.lang-code.is-active {
  background: var(--main-blue-strong);
  color: var(--text-on-blue);
  opacity: 1;
}


.app-store-link {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.app-store-badge {
  height: 60px;
  width: auto;
  max-width: 100%;
  display: none;
}

html[lang='en'] .app-store-badge--en,
html[lang='en-US'] .app-store-badge--en {
  display: block;
}

html[lang='es'] .app-store-badge--es,
html[lang='es-ES'] .app-store-badge--es,
html[lang='es-MX'] .app-store-badge--es {
  display: block;
}

.lang-es .app-store-badge--es {
  display: block;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* Section blocks */
.section-block {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}


.vision-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  color: var(--main-blue);
  font-weight: 600;
}



/* Ethics */
.ethics {
  background: var(--gradient-blue);
  color: var(--text-on-blue);
}

/* ✅ NO VW */
.ethics .section-inner {
  width: 100%;
  max-width: 920px;
  text-align: center;
}

.btn {
  border-radius: 999px;
  padding: 1rem 2.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--text-on-blue);
  color: var(--main-blue);
  box-shadow: 0 20px 35px rgba(4, 85, 119, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: var(--text-on-blue);
  padding: 0.95rem 2rem;
}



.section-block a,
.featured-card a {
  font-weight: 600;
}

/* ✅ Footer stable (NO VW) */
.site-footer {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 3rem;
  padding: 2.5rem clamp(16px, 3vw, 28px) 0;
  border-top: 1px solid var(--line);
  color: rgba(31, 180, 230, 0.85);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-heading {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  color: var(--main-blue-strong);
}

.footer-column a {
  display: block;
  margin: 0.25rem 0;
  color: rgba(31, 180, 230, 0.85);
}

.footer-column a:hover {
  color: var(--main-blue);
  text-decoration: none;
}

.footer-column-business .footer-heading {
  color: var(--main-blue-strong);
}

.footer-business-link {
  display: block;
  margin: 0.25rem 0;
  color: rgba(31, 180, 230, 0.85);
  font-weight: 400;
}

.footer-business-link:hover {
  color: var(--main-blue);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--main-blue);
}

.footer-slogan {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.page-hero {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem clamp(16px, 4vw, 48px) 2rem;
  text-align: center;
}

.contact-hero {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.contact-hero > * {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.contact-hero > *:last-child {
  margin-bottom: 0;
}

.about-hero {
  padding-top: 1rem;
}

.page-hero .eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(31, 180, 230, 0.85);
}

.page-hero-sub {
  margin: 1rem auto 0;
  max-width: 680px;
  font-size: 1.05rem;
  color: rgba(7, 61, 88, 0.85);
  line-height: 1.7;
}

.info-section {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 1.5rem clamp(16px, 5vw, 48px);
  text-align: left;
}

.info-section.about-cards-section {
  max-width: 1200px;
  position: relative;
}

.about-overlay {
  display: none;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.about-horizontal-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 641px) and (max-width: 960px) {
  .about-horizontal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-card {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 220px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease,
    flex 0.4s ease;
  overflow: hidden;
  z-index: 1;
}

.about-card h2 {
  margin: 0 0 0.25rem;
  line-height: 1.15;
}

.about-card:focus-visible {
  outline: 2px solid var(--main-blue);
  outline-offset: 3px;
}

.about-card-preview {
  margin: 0;
  font-weight: 700;
  color: rgba(7, 61, 88, 0.95);
}

.card-overlay-title {
  display: none;
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: rgba(7, 61, 88, 0.95);
}

.card-overlay-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-card-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.about-card.is-active {
  border-color: rgba(31, 180, 230, 0.5);
  box-shadow: 0 26px 60px rgba(9, 78, 110, 0.18);
}

.about-card.is-active .about-card-expanded {
  max-height: 560px;
}

.about-card-expanded p {
  margin: 0 0 0.85rem;
  color: rgba(7, 61, 88, 0.85);
}

.about-card-expanded p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .about-card {
    min-height: 0;
  }
}

@media (min-width: 961px) {
  .about-horizontal-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      'mission vision'
      'values expertise';
    gap: clamp(24px, 3vw, 48px);
  }

  .about-card {
    cursor: default;
    min-height: 0;
    border-color: rgba(31, 180, 230, 0.35);
    box-shadow: 0 35px 80px rgba(9, 78, 110, 0.16);
    padding: clamp(28px, 3vw, 46px);
    overflow: visible;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
  }

  .about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 50px 100px rgba(9, 78, 110, 0.22);
  }

  .about-card:nth-child(1) {
    grid-area: mission;
  }

  .about-card:nth-child(2) {
    grid-area: vision;
  }

  .about-card:nth-child(3) {
    grid-area: values;
  }

  .about-card:nth-child(4) {
    grid-area: expertise;
  }

  .about-card h2 {
    color: var(--main-blue);
  }

  .about-card .about-card-expanded {
    max-height: none;
    overflow: visible;
    margin-top: 0.75rem;
  }

  .about-card .about-card-expanded p {
    margin: 0 0 0.9rem;
  }

  .about-card .about-card-expanded p:last-child {
    margin-bottom: 0;
  }

  .about-overlay {
    display: none !important;
  }
}

.belief-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.belief-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.belief-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--main-blue-strong);
}

.support-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-link {
  font-weight: 600;
  color: var(--main-blue-strong);
}

.legal-page-body {
  background: var(--bg-radial);
}

.legal-page {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) clamp(16px, 4vw, 48px) 4rem;
}

.legal-document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 48px);
}

.legal-document pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(7, 61, 88, 0.95);
  background: transparent;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 1.25rem;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--main-blue-strong);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  margin-bottom: 0;
  color: rgba(7, 61, 88, 0.85);
  padding-top: 0.5rem;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem clamp(16px, 6vw, 32px) 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 25px 45px rgba(5, 40, 56, 0.15);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    display: none;
    z-index: 5;
  }

  .header-actions.is-open {
    display: flex;
  }

  .site-header-inner {
    position: relative;
  }

  .site-nav {
    flex-direction: column;
    width: 100%;
    gap: 0.35rem;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
  }

  .header-terms-link {
    width: 100%;
    text-align: center;
  }

  .header-right {
    gap: 0.75rem;
  }

  .lang-toggle {
    width: auto;
    padding: 0.15rem;
  }

  .lang-code {
    font-size: 0.8rem;
    padding: 0.15rem 0.6rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
    z-index: 30;
  }

  .site-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .newsletter {
    flex-direction: column;
    text-align: center;
  }

}
.lang-suggestion-banner {
  position: sticky;
  top: 0;
  z-index: 1200;
  width: 100%;
  background: #1b1732;
  color: #f7f2ff;
  padding: 0.75rem 1rem;
  box-shadow: 0 6px 24px rgba(6, 3, 35, 0.2);
}

.lang-suggestion-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-left: 2.5rem;
  position: relative;
}

.lang-suggestion-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.95rem;
}

.lang-suggestion-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lang-suggestion-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-suggestion-btn.is-primary {
  background: #ffffff;
  color: #1b1732;
}

.lang-suggestion-btn.is-primary:hover {
  background: #f2eefe;
}

.lang-suggestion-btn.is-secondary {
  background: transparent;
  color: #f7f2ff;
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-suggestion-btn.is-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.lang-suggestion-close {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #f7f2ff;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.lang-suggestion-close:hover {
  color: #d3c2ff;
}

@media (max-width: 600px) {
  .lang-suggestion-inner {
    padding-left: 1.5rem;
  }

  .lang-suggestion-text {
    flex: 1 1 100%;
  }
}
