header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

header .container {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 14px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px !important;
}

.brand img {
  height: 76px !important;
  width: auto !important;
  background: #fff;
  padding: 6px 18px !important;
  border-radius: 8px !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.brand:hover img {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30,58,138,0.15);
}

.menu {
  display: flex;
  align-items: center;
  gap: 40px !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: var(--gray-900, #111827);
}

.menu a {
  position: relative;
  transition: color 0.25s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary-blue, #1e3a8a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:hover {
  color: var(--primary-blue, #1e3a8a);
}

.menu a:hover::after {
  transform: scaleX(1);
}

.btn-header {
  background: #fff;
  color: var(--primary-blue, #1e3a8a);
  padding: 11px 26px !important;
  border-radius: 6px !important;
  font-weight: 600;
  font-size: 15px !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.btn-quote {
  color: #fff !important;
}

.btn-header.btn-quote {
  background: var(--primary-blue, #1e3a8a);
  border: 1px solid var(--primary-blue, #1e3a8a);
  color: #fff !important;
}

.btn-quote:hover {
  background: #dc2626 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(220,38,38,.35);
}

.btn-quote:focus-visible {
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 2px;
}

.btn-quote:active {
  background: #dc2626 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(220,38,38,.28);
  transform: translateY(1px);
}

@media (hover: none) {
  .btn-header.btn-quote {
    box-shadow: 0 8px 18px rgba(30,58,138,.22);
  }
  .btn-quote:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(220,38,38,.30);
  }
}

.hamburger {
  display: none;
  background: transparent;
  border: 2px solid var(--primary-blue, #1e3a8a);
  color: var(--primary-blue, #1e3a8a);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
}

footer {
  background: linear-gradient(90deg, var(--primary-blue, #1e3a8a), var(--primary-purple, #7c3aed));
  color: #fff;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before,
footer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  pointer-events: none;
  filter: blur(2px);
}

footer::before {
  width: 220px;
  height: 220px;
  top: -70px;
  right: 6%;
  animation: footerFloatA 10s ease-in-out infinite;
}

footer::after {
  width: 160px;
  height: 160px;
  bottom: -45px;
  left: 8%;
  animation: footerFloatB 11s ease-in-out infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-contact { order: 1; }
.footer-brand { order: 2; }
.footer-quick-links { order: 3; }

.footer-brand img {
  height: 50px;
  width: auto;
  background: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform .28s ease, box-shadow .28s ease;
}

.footer-brand:hover img {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.footer-brand p {
  opacity: 0.9;
  line-height: 1.7;
  font-size: 14px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  opacity: .9;
  font-size: 14px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  text-decoration: none;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: .9;
  font-size: 14px;
  line-height: 1.6;
  transition: transform .2s ease, opacity .2s ease;
}

.footer-address:hover {
  transform: translateX(3px);
  opacity: 1;
}

.footer-address svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  margin-top: 4px;
  fill: #f97316;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(17,24,39,.18);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 24px rgba(17,24,39,.22);
}

.social-icon {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

.social-icon.facebook { fill: #1877f2; }
.social-icon.linkedin { fill: #0a66c2; }
.social-icon.youtube { fill: #ff0000; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  opacity: .95;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

.footer-brand,
.footer-section {
  position: relative;
  z-index: 1;
}

.footer-grid > * {
  animation: footerFadeUp .5s ease both;
}

.footer-grid > *:nth-child(2) { animation-delay: .06s; }
.footer-grid > *:nth-child(3) { animation-delay: .12s; }

.whatsapp-float {
  position: fixed !important;
  right: 30px !important;
  bottom: 30px !important;
  z-index: 1000 !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4) !important;
}

@keyframes footerFloatA {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-10px) translateX(6px); }
}

@keyframes footerFloatB {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(10px) translateX(-6px); }
}

@keyframes footerFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact, .footer-brand, .footer-quick-links {
    order: unset;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer::before,
  footer::after,
  .footer-grid > * {
    animation: none !important;
  }
  .footer-links a,
  .footer-address,
  .social-links a,
  .footer-brand img {
    transition: none !important;
  }
}
