:root {
  --navy: #1d2e6f;
  --dark: #091433;
  --offwhite: #eef2fa;
  --gray: #d4dceb;
  --text: #17213e;
  --teal: #1f8ca8;
  --chip-glow: rgba(50, 102, 255, 0.22);
  --max-width: 1120px;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(10, 17, 41, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, #0f1f54 0%, #162a69 58%, #1a2f74 100%);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: var(--dark);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.container { width: min(100% - 2rem, var(--max-width)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29, 46, 111, 0.12);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--dark); text-decoration: none; font-weight: 700; }
.logo img { width: 42px; height: 42px; }
.logo span { display: inline-flex; align-items: center; min-height: 42px; }

.nav-toggle {
  border: 1px solid var(--gray);
  background: #fff;
  border-radius: 10px;
  padding: .5rem .65rem;
  font-size: 1rem;
  display: none;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .75rem; align-items: center; }
.site-nav li { display: flex; align-items: center; }
.site-nav a {
  text-decoration: none;
  color: var(--dark);
  padding: .4rem .65rem;
  border-radius: 8px;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: #e8edf9;
  color: var(--navy);
}

.hero {
  position: relative;
  padding: 4.2rem 0 3.4rem;
  background: transparent;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: 18px;
  border: 2px solid rgba(53, 92, 197, 0.38);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(82, 126, 255, 0.12),
    0 0 34px var(--chip-glow),
    0 18px 36px rgba(8, 18, 48, 0.3);
}
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; margin-bottom: .8rem; color: var(--dark); }
.hero p { max-width: 66ch; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.3rem 0 .7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: .72rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 600;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #152456; }
.btn-secondary { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-secondary:hover { background: #e9eefb; }
.disclaimer { font-size: .92rem; color: #4f5a78; }

.section { padding: 3.2rem 0; }
.section > .container:not(.cta-panel) {
  background: linear-gradient(180deg, #ffffff, #fafcff);
  border: 1px solid rgba(76, 107, 204, 0.3);
  border-radius: 16px;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 10px 24px rgba(8, 18, 48, 0.2);
}
.section-alt { background: transparent; }
.section h2 { color: var(--dark); font-size: clamp(1.45rem, 2.2vw, 2rem); margin-bottom: .5rem; }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid rgba(29, 46, 111, 0.16);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(10, 17, 41, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 {
  margin-top: 0;
  position: relative;
  padding-left: 1rem;
}
.card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: .45rem;
  height: .45rem;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(29, 46, 111, 0.12);
}

.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { background: #fff; border: 1px solid var(--gray); color: var(--dark); padding: .35rem .7rem; border-radius: 999px; font-size: .92rem; }

.faq details {
  border: 1px solid var(--gray);
  border-radius: 10px;
  padding: .75rem .95rem;
  background: #fff;
}
.faq details + details { margin-top: .65rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--dark); }

.cta-panel {
  background: linear-gradient(120deg, var(--dark), var(--navy));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
}
.cta-panel h2,
.cta-panel p {
  color: #fff;
}
.cta-panel h2 {
  margin-top: 0;
}
.cta-panel .btn-primary { background: #fff; color: var(--navy); }

.team-photo {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(160deg, #d8dbe5, #f3f4f8);
  border: 1px dashed #adb3c4;
  display: grid;
  place-items: center;
  color: #4b5674;
  margin-bottom: .8rem;
}

.site-footer {
  background: var(--dark);
  color: #f3f5fd;
  padding: 2.2rem 0;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1rem; grid-template-columns: 2fr 1fr 1fr; }

.social-buttons {
  display: flex;
  gap: .55rem;
  margin-top: .75rem;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.social-btn:hover { transform: translateY(-2px); opacity: .9; }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }
.social-whatsapp { background: #25d366; }
.social-linkedin { background: #0a66c2; }
.social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }

.whatsapp-float {

  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  font-size: 1.5rem;
}

.list-check { padding-left: 1.1rem; }
.list-check li { margin-bottom: .4rem; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    right: 1rem;
    left: 1rem;
    border: 1px solid var(--gray);
    border-radius: 12px;
    background: #fff;
    padding: .6rem;
    display: none;
  }
  .site-nav ul { flex-direction: column; }
  .site-nav.open { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .section > .container:not(.cta-panel) {
    border-radius: 12px;
    padding: 1rem;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 3.4rem;
  }

  .hero .container {
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.45),
      inset 0 0 18px rgba(56, 106, 255, 0.07),
      0 0 0 1px rgba(56, 106, 255, 0.08),
      0 0 18px rgba(56, 106, 255, 0.14);
  }
}

:focus-visible {
  outline: 3px solid rgba(7, 153, 158, .4);
  outline-offset: 2px;
}

.site-nav-login-btn {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: .4rem .65rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  line-height: 1.6;
  display: inline-flex;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.site-nav-login-btn:hover,
.site-nav-login-btn:focus-visible {
  background: #152456;
  color: #fff;
}

.modal-open {
  overflow: hidden;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.login-modal[hidden] {
  display: none;
}

.login-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 51, 0.62);
}

.login-modal__content {
  position: relative;
  width: min(100%, 420px);
  border-radius: 14px;
  border: 1px solid rgba(29, 46, 111, 0.2);
  background: #fff;
  box-shadow: 0 24px 50px rgba(9, 20, 51, 0.3);
  padding: 1.4rem;
}

.login-modal__content h2 {
  margin: 0;
  color: var(--dark);
}

.login-modal__content p {
  margin: .5rem 0 1rem;
}

.login-modal__close {
  position: absolute;
  top: .6rem;
  right: .6rem;
  border: 0;
  background: transparent;
  color: #5a6888;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.login-modal__form {
  display: grid;
  gap: .75rem;
}

.login-modal__form label {
  font-weight: 600;
  color: var(--dark);
}

.login-modal__form input {
  border: 1px solid #b7c4e2;
  border-radius: 10px;
  padding: .65rem .75rem;
  font: inherit;
}
