:root {
  --navy-950: #08111F;
  --navy-900: #0B1626;
  --navy-800: #0F1E33;
  --navy-700: #16294A;
  --navy-brand: #1B365D;
  --orange: #F39C12;
  --orange-600: #E67E22;
  --red: #E74C3C;
  --green: #27AE60;
  --wa: #25D366;
  --text: #E8EEF6;
  --muted: #9FB0C6;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #0F1E33;
  --studio: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #EEF2F7 55%, #D9E1EA 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --container: 1200px;
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* Modern Reset */
*, *::before, *::after {
  box-sizing: border-box;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100%;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: var(--font-body);
  background-color: var(--navy-900);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}
h1 {
  font-size: clamp(2.75rem, 9vw, 5.5rem);
}
h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}
p {
  color: var(--text);
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--orange);
}

/* Eyebrow with 4-bar motif */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 18px;
  margin-right: 10px;
  background: 
    linear-gradient(#3A5A8C, #3A5A8C) 0 0 / 14px 3px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 5px / 14px 3px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 10px / 14px 3px no-repeat,
    linear-gradient(var(--green), var(--green)) 0 15px / 14px 3px no-repeat;
  flex-shrink: 0;
}

/* Containers and Sections */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 1024px) {
  .container {
    padding-inline: 32px;
  }
}
.section {
  padding-block: 72px;
}
@media (min-width: 1024px) {
  .section {
    padding-block: 112px;
  }
}
.section--alt {
  background-color: var(--navy-800);
}

/* Buttons */
.btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  text-align: center;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background-color: var(--orange);
  color: var(--navy-950);
}
.btn-primary:hover {
  background-color: var(--orange-600);
}
.btn-ghost {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-wa {
  background-color: var(--wa);
  color: #06210F;
}
.btn-wa:hover {
  background-color: #20ba5a;
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Motion & Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .wa-float::before {
    animation: none !important;
  }
}

/* Header & Mobile Menu */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background-color: rgba(8, 17, 31, 0.85); /* --navy-950 at 85% */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--line);
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header__logo-wrapper {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}
.header__logo {
  height: 100%;
  width: auto;
  display: block;
}
.header__nav {
  display: none;
  align-items: center;
  gap: 24px;
}
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}
.header__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.header__link:hover {
  color: var(--orange);
}
.header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.2s;
}
@media (min-width: 1024px) {
  .header__menu-toggle {
    display: none;
  }
}
.header__menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background-color: var(--navy-950);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  margin-bottom: 40px;
}
.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
}
.mobile-menu__close:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: auto;
  padding-left: 10px;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--text);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 0.95;
  transition: color 0.2s;
}
.mobile-menu__link:hover {
  color: var(--orange);
}
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}
.btn-block {
  width: 100%;
}

/* Footer Section */
.footer {
  background-color: var(--navy-950);
  position: relative;
  padding-top: 60px;
  padding-bottom: 40px;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #1B365D 25%, #E74C3C 25%, #E74C3C 50%, #F39C12 50%, #F39C12 75%, #27AE60 75%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer__blurb {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.footer__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__link:hover {
  color: var(--orange);
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__contact-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__contact-link:hover {
  color: var(--orange);
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Mobile Bar (≤1023px) */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(8, 17, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 1024px) {
  .mobile-bar {
    display: none !important;
  }
}
body {
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
}
@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}
.mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
  padding: 6px 4px;
}
.mobile-bar__item:hover, .mobile-bar__item:active {
  color: var(--text);
}
.mobile-bar__item--green {
  color: var(--wa);
}
.mobile-bar__item--green:hover, .mobile-bar__item--green:active {
  color: #4ef087;
}
.mobile-bar__item--orange-pill {
  background-color: var(--orange);
  color: var(--navy-950) !important;
  font-weight: 600;
  border-radius: 20px;
  margin: 6px 10px;
  min-height: 44px;
}
.mobile-bar__item--orange-pill:hover, .mobile-bar__item--orange-pill:active {
  background-color: var(--orange-600);
}

/* Desktop WhatsApp Float (≥1024px) */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background-color: var(--wa);
  color: #06210F;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 95;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: scale(1.05);
}
@media (min-width: 1024px) {
  .wa-float {
    display: flex;
  }
}
.wa-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--wa);
  opacity: 0.3;
  z-index: -1;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}