:root {
  --primary-dark: #07192f;
  --primary-navy: #0b2545;
  --primary-blue: #134074;
  --primary-light: #1d5fa8;
  --accent-gold: #e6a117;
  --accent-gold-hover: #cf8e0c;
  --accent-emerald: #10b981;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #f8fafc;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-glass {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

#mobile-menu {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.hero-gradient {
  background-color: #07192f !important;
  background-image: 
    linear-gradient(135deg, rgba(7, 25, 47, 0.88) 0%, rgba(11, 37, 69, 0.85) 50%, rgba(19, 64, 116, 0.80) 100%),
    url('../img/hero-bg.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll;
}

.commercial-gradient {
  background-color: #07192f !important;
  background-image: 
    linear-gradient(135deg, rgba(7, 25, 47, 0.92) 0%, rgba(11, 37, 69, 0.90) 100%),
    url('../img/commercial-interior.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.pattern-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
}

.service-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(11, 37, 69, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
    border-color: #93c5fd;
  }

  .service-card:hover .service-icon {
    background-color: #0b2545;
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
  }
}

.service-icon {
  transition: all 0.3s ease;
}

.calc-service-item {
  touch-action: manipulation;
  user-select: none;
  transition: all 0.2s ease;
}
.calc-service-item.is-selected {
  background-color: #0b2545 !important;
  color: #ffffff !important;
  border-color: #0b2545 !important;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}
.calc-service-item.is-selected i {
  color: #f59e0b !important;
}

.whatsapp-float {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  animation: pulse-green 2.5s infinite;
  touch-action: manipulation;
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 28px;
    right: 28px;
  }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.mobile-action-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: rgba(7, 25, 47, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px;
  gap: 10px;
}

@media (min-width: 768px) {
  .mobile-action-bar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }
  .whatsapp-float {
    display: none !important;
  }
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.btn-cta-gold {
  background: linear-gradient(135deg, #e6a117 0%, #d48b0a 100%);
  color: #07192f !important;
  font-weight: 700;
  transition: all 0.25s ease;
  touch-action: manipulation;
}
.btn-cta-gold:hover, .btn-cta-gold:active {
  background: linear-gradient(135deg, #f5b026 0%, #e6a117 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(230, 161, 23, 0.4);
}

.btn-cta-blue {
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #ffffff !important;
  font-weight: 600;
  transition: all 0.25s ease;
  touch-action: manipulation;
}
.btn-cta-blue:hover, .btn-cta-blue:active {
  background: linear-gradient(135deg, #134074 0%, #1d5fa8 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(11, 37, 69, 0.3);
}

input, select, textarea {
  font-size: 16px !important;
}
@media (min-width: 640px) {
  input, select, textarea {
    font-size: 0.875rem !important;
  }
}

.project-item {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(11, 37, 69, 0.14), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
    border-color: #93c5fd;
  }
}

