/* ============================================
    GLOBAL RESET & CSS VARIABLES
    ============================================ */
:root {
  --primary: #00b4d8;
  --primary-dark: #0077b6;
  --primary-light: #90e0ef;
  --accent: #f72585;
  --dark: #0d1117;
  --dark-2: #161b22;
  --dark-3: #1e2530;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --muted: #8b949e;
  --white: #ffffff;
  --border: rgba(0, 180, 216, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-s: rgba(255, 255, 255, 0.07);
  --gradient: linear-gradient(135deg, #00b4d8, #0077b6);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --grad: linear-gradient(135deg, #00b4d8, #0077b6);
  --fd: 'Syne', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --green: #28c840;
  --ease: cubic-bezier(.25, .46, .45, .94);

}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

p,
a,
span,
li,
label,
input,
textarea,
select,
button {
  font-family: var(--font-body);
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Shared section tag */
.section-tag {
  display: inline-block;
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Shared section title */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 50px;
  padding: 10px 22px;
  transition: all .3s;
  white-space: nowrap;
}

.view-all-link:hover {
  background: rgba(0, 180, 216, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================
    01 — TOP BAR
    ============================================ */
.topbar {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.topbar-left a {
  color: var(--text-muted);
  transition: color .2s;
}

.topbar-left a:hover {
  color: var(--primary);
}

.topbar-left a i {
  margin-right: 6px;
  color: var(--primary);
}

.topbar-social {
  display: flex;
  gap: 10px;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  transition: all .2s;
}

.topbar-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================
    02 — NAVBAR
    ============================================ */
.navbar {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all .3s ease;
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: var(--primary);
  background: rgba(0, 180, 216, 0.08);
}

.nav-links li i.fa-chevron-down {
  font-size: 10px;
  transition: transform .2s;
}

.nav-links li:hover i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100%);
  left: 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 220px;
  padding: 8px;
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nav-links li:hover .dropdown {
  display: block;
  animation: fadeDown .2s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all .2s;
}

.dropdown a:hover {
  color: var(--primary);
  background: rgba(0, 180, 216, 0.08);
}

.dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 180, 216, 0.45);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all .2s;
  display: block;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
  background: rgba(0, 180, 216, 0.08);
}

.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  padding: 13px;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
  transition: all .3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.5);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(0, 180, 216, 0.4);
  cursor: pointer;
  transition: all .3s;
}

.btn-outline:hover {
  background: rgba(0, 180, 216, 0.08);
  border-color: var(--primary);
}

/* scroll reveal */
.r {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.r.in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: .08s
}

.d2 {
  transition-delay: .16s
}

.d3 {
  transition-delay: .24s
}

.d4 {
  transition-delay: .32s
}



/* ============================================
    12 — FOOTER
    ============================================ */
.footer {
  background: #0a0e14;
  border-top: 1px solid var(--border);
}

.footer-top {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.footer-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.newsletter-sub {
  color: var(--text-muted);
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.newsletter-form input[type=email] {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  width: 280px;
  transition: all .2s;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-btn {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
}

.newsletter-btn:hover {
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.45);
  transform: translateY(-2px);
}

.footer-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.trust-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-about {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.fsocial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all .2s;
}

.fsocial:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '→';
  color: var(--primary);
  font-size: 11px;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: translateX(-6px);
}

.footer-links li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-links li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 13px;
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact-item span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--text-muted);
  transition: color .2s;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-copy a {
  color: var(--primary);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color .2s;
}

.footer-legal a:hover {
  color: var(--primary);
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all .3s;
  animation: waPulse 3s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  color: #fff;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7);
  }
}

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transition: all .3s;
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
    RESPONSIVE BREAKPOINTS
    ============================================ */
@media (max-width: 1024px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .cta-layout {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-top-inner {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .topbar-left {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .cta-form-card {
    padding: 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .newsletter-form input[type=email] {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}