/* ── HEADER ─────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 0 60px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 16px rgba(28,52,100,.07);
  transition: box-shadow .3s;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { max-height: 48px; width: auto; }
.footer-logo img {
  max-height: 44px; width: auto;
  background: var(--white);
  border-radius: 4px;
  padding: 4px 10px;
}

nav { display: flex; align-items: center; gap: 36px; }
.nav-item { position: relative; display: flex; align-items: center; height: 72px; }
.nav-has-dropdown { display: flex; align-items: center; gap: 5px; }
.nav-arrow { width: 10px; height: 6px; flex-shrink: 0; transition: transform .2s ease; opacity: .7; }
.nav-item:hover .nav-arrow { transform: translateY(2px); opacity: 1; }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  background: var(--white);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 14px 32px rgba(7,47,107,.18);
  min-width: 240px;
  padding: 8px 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown a {
  text-transform: none; font-weight: 500; font-size: 13.5px; letter-spacing: 0;
  color: var(--navy-dark); padding: 10px 22px; white-space: nowrap;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--off-white); color: var(--orange); }

nav a {
  font-family: var(--font-head);
  font-weight: 600; font-size: 14px;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color .2s;
}
nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--orange);
  transition: width .25s ease;
}
nav a:hover { color: var(--orange); }
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 10px 22px; border-radius: 2px;
  transition: background .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-dk) !important; color: var(--white) !important; }

/* ── MOBILE NAV ────────────────────────────────── */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0;
}
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--navy-dark); z-index: 99;
  padding: 16px 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: none; border: none; padding: 18px 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--white); cursor: pointer;
}
.mobile-nav-trigger.active { color: var(--orange); }
.mobile-nav-caret { width: 10px; height: 6px; flex-shrink: 0; transition: transform .2s ease; }
.mobile-nav-trigger.active .mobile-nav-caret { transform: rotate(180deg); }
.mobile-nav-sub { display: none; flex-direction: column; padding: 0 4px 14px 14px; }
.mobile-nav-sub.active { display: flex; }
.mobile-nav-sub a {
  padding: 10px 0; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.65);
  text-decoration: none; text-transform: none; letter-spacing: 0;
}
.mobile-nav-sub a:hover, .mobile-nav-sub a.active { color: var(--orange); }
.mobile-nav-link {
  display: block; padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--white); text-decoration: none;
}
.mobile-nav-link.active { color: var(--orange); }
.mobile-nav-link.mobile-nav-cta { margin-top: 20px; border: none; text-align: center; background: var(--orange); color: var(--white); border-radius: 2px; }

@media (max-width: 900px) {
  header { padding: 0 24px; }
  nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--navy-dark);
  padding: 72px 60px 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-main {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo .brand { font-size: 20px; }
.footer-logo .sub { color: rgba(255,255,255,.3); }
.footer-tagline {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  margin-top: 16px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; opacity: .5; }
.footer-contact-text { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-contact-text a:hover { color: var(--orange); }

.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.social-btn:hover { border-color: var(--orange); background: rgba(245,161,28,.1); }
.social-btn svg { width: 18px; height: 18px; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.25); letter-spacing: .3px; }
.footer-dev { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.25); }
.footer-dev a { color: var(--orange); text-decoration: none; }

/* ── WHATSAPP FLOAT ────────────────────────────── */
.whatsapp-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .55;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(0,0,0,.32); }
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 640px) {
  footer { padding-left: 20px; padding-right: 20px; }
}
