@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --navy-950: #061826;
  --navy-900: #082338;
  --navy-800: #0a3455;
  --blue-700: #0967b5;
  --cyan-500: #12b7d8;
  --mint-500: #24c98a;
  --mint-600: #15a873;
  --amber-500: #f5a524;
  --ink: #132235;
  --muted: #5f7086;
  --line: rgba(12, 39, 65, 0.12);
  --surface: #ffffff;
  --soft: #f3f8fb;
  --soft-blue: #eaf6fb;
  --shadow-sm: 0 12px 32px rgba(6, 24, 38, 0.08);
  --shadow-md: 0 24px 70px rgba(6, 24, 38, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fbfd 0%, #edf6fa 42%, #ffffff 100%);
  font-family: "Manrope", Arial, sans-serif;
  text-rendering: geometricPrecision;
}

body::selection {
  color: #ffffff;
  background: var(--blue-700);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(12, 39, 65, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.text-brand {
  display: grid;
  gap: 3px;
  color: var(--navy-950);
}

.text-brand strong {
  font-family: "Space Grotesk", "Manrope", Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.text-brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(12, 39, 65, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(6, 24, 38, 0.05);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(18, 183, 216, 0.16), rgba(9, 103, 181, 0.1));
  color: var(--blue-700);
  transform: translateY(-1px);
}

.nav-actions,
.hero-actions,
.about-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 13px 30px rgba(6, 24, 38, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(6, 24, 38, 0.22);
  filter: saturate(1.06);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:focus-visible,
.nav-links a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(18, 183, 216, 0.42);
  outline-offset: 3px;
}

.btn-call {
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--mint-600), var(--mint-500));
}

.btn-large {
  min-height: 56px;
  padding: 0 24px;
  font-size: 16px;
}

.btn-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  line-height: 1;
}

.mobile-sticky-actions {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 62px;
  }

  .site-header {
    position: sticky;
    background: rgba(255, 255, 255, 0.94);
  }

  .nav {
    min-height: auto;
    padding: 10px 0;
  }

  .nav-container {
    position: relative;
    flex-direction: row;
    gap: 14px;
  }

  .text-brand strong {
    font-size: 22px;
  }

  .text-brand small {
    font-size: 9px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgba(12, 39, 65, 0.12);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(6, 24, 38, 0.1);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--navy-950);
    transition: transform 180ms ease;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 90;
    width: min(260px, calc(100vw - 32px));
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 52px rgba(6, 24, 38, 0.18);
  }

  .nav-links a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .nav-actions {
    display: none;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky-actions {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 10px;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1.22fr;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mobile-sticky-actions a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-sticky-actions a:first-child {
    background: rgba(255, 255, 255, 0.96);
    color: var(--blue-700);
    border: 1px solid rgba(9, 103, 181, 0.22);
    box-shadow: 0 12px 26px rgba(6, 24, 38, 0.14);
  }

  .mobile-sticky-actions a:last-child {
    background: linear-gradient(135deg, #12a86f, #1fc184);
    box-shadow: 0 12px 28px rgba(18, 168, 111, 0.28);
  }
}
