/* Altura — shared: tokens, base, buttons, nav, footer, WhatsApp float */

:root {
  --navy: #193464;
  --blue: #0A99D0;
  --teal: #36B0CC;
  --sky: #7CCDE8;
  --ink: #1E2A3B;
  --slate: #3B4759;
  --muted: #6B7889;
  --faint: #7A8797;
  --line: #E4E9F0;
  --line-soft: #EEF2F6;
  --tint: #F3F8FC;
  --gradient: linear-gradient(135deg, #0A99D0, #36B0CC);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--blue); }
a, button { transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
input::placeholder, textarea::placeholder { color: #98A4B3; }
::selection { background: #CFEAF6; color: var(--navy); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--gradient);
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  padding: 11px 22px;
  font-size: 14.5px;
  box-shadow: 0 6px 16px rgba(10, 153, 208, 0.28);
}
.btn:hover { color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(10, 153, 208, 0.36); }
.btn--lg { padding: 15px 28px; font-size: 15px; box-shadow: 0 8px 20px rgba(10, 153, 208, 0.28); }
.btn--lg:hover { transform: translateY(-2px); }
.btn--block { display: block; text-align: center; padding: 15px 22px; font-size: 15.5px; box-shadow: none; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__brand img { height: 44px; width: auto; object-fit: contain; }
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
}
.nav__links a:not(.btn) { text-decoration: none; color: var(--slate); white-space: nowrap; }
.nav__links a:not(.btn):hover,
.nav__links a.is-current { color: var(--blue); }
.nav__links a.is-current { font-weight: 600; }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav__mobile {
  border-top: 1px solid var(--line);
  background: #FFFFFF;
  padding: 6px 28px 20px;
  display: flex;
  flex-direction: column;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a:not(.btn) {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 16.5px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile a:not(.btn):nth-last-child(2) { border-bottom: 0; }
.nav__mobile a.is-current { color: var(--blue); }
.nav__mobile .btn { margin-top: 10px; }

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}
@media (min-width: 1101px) {
  .nav__mobile { display: none !important; }
}



/* ---- Footer ---- */
.footer { position: relative; overflow: hidden; background: var(--navy); }
.footer__wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  width: 100%;
  height: clamp(50px, 7vw, 100px);
  display: block;
}
.footer__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(100px, 12vw, 150px) 28px 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer__logo { display: inline-block; background: #FFFFFF; border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.footer__logo img { height: 42px; width: auto; display: block; }
.footer__tagline { font-size: 14.5px; line-height: 1.7; color: #B7C7DB; margin: 0; max-width: 340px; text-wrap: pretty; }
.footer__col { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer__col a { color: #D3DFEC; text-decoration: none; }
.footer__col a:hover { color: var(--sky); }
.footer__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 4px;
}
.footer__legal {
  padding-top: 22px;
  font-size: 13px;
  color: #8FA5C0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Floating WhatsApp ---- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(25, 52, 100, 0.3);
  text-decoration: none;
}
.wa-float:hover { background: #1FBF5B; transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---- Social links ---- */
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--sky);
  background: rgba(124, 205, 232, 0.12);
  text-decoration: none;
}
.footer-social:hover { color: #FFFFFF; background: rgba(124, 205, 232, 0.28); }
