* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1e2f85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}


.gradient-text {
  background: linear-gradient(135deg, #C9A24D 0%, #e8cc7a 50%, #C9A24D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.hero-bg {
  background-color: #0A1628;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(201, 162, 77, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(62, 97, 222, 0.1) 0%, transparent 50%);
}

.hero-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}


#navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background-color: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C9A24D;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}


.whatsapp-fab {
  position: relative;
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #25D366;
  animation: pulse-ring 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.service-card {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.12);
}

.service-card-dark:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-veil {
  transition: background-color 0.3s ease;
}

.service-card:hover .service-card-veil {
  background-color: rgba(5, 13, 26, 0.35);
}

.service-card-cta {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-card:hover .service-card-cta,
.service-card:focus-visible .service-card-cta {
  opacity: 1;
  transform: translateY(0);
}


#serviceModal.flex {
  display: flex;
}

#serviceModalPanel {
  max-height: 85vh;
}

#serviceModalBody {
  -ms-overflow-style: auto;
  scrollbar-width: thin;
}

#serviceModalBody::-webkit-scrollbar {
  width: 5px;
}

#serviceModalBody::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 3px;
}


.project-card img {
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}


.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}


.service-card img {
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.07);
}


@keyframes kenburns {
  0% {
    transform: scale(1.04) translate(0, 0);
  }

  50% {
    transform: scale(1.12) translate(-1.5%, -1%);
  }

  100% {
    transform: scale(1.04) translate(0, 0);
  }
}

.kenburns {
  animation: kenburns 22s ease-in-out infinite;
  transform-origin: center center;
}


.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  border-color: #C9A24D;
  background: rgba(255, 255, 255, 0.08);
}

.form-input option {
  background: #0A1628;
  color: #fff;
}


.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(201, 162, 77, 0.1);
  border: 1px solid rgba(201, 162, 77, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9A24D;
}


.accent-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #C9A24D, #e8cc7a);
  border-radius: 9999px;
}


#mobileMenu {
  transition: max-height 0.35s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobileMenu.open {
  max-height: 480px;
  opacity: 1;
}


#backToTop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #050d1a;
}

::-webkit-scrollbar-thumb {
  background: #2337a6;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #C9A24D;
}

.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  width: 100%;
}

.pillar-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.12);
}

.quote-mark {
  font-family: Georgia, serif;
  line-height: 0.6;
}

.legal-content h2 {
  color: #0A1628;
  font-weight: 800;
  font-size: 1.25rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  color: #6b7280;
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-content a {
  color: #b88a35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reveal-delay-50 {
  transition-delay: 0.05s;
}

.reveal-delay-100 {
  transition-delay: 0.1s;
}

.reveal-delay-150 {
  transition-delay: 0.15s;
}

.reveal-delay-200 {
  transition-delay: 0.2s;
}

.reveal-delay-250 {
  transition-delay: 0.25s;
}

.reveal-delay-300 {
  transition-delay: 0.3s;
}

.hero-radial-bg {
  background: radial-gradient(circle at 15% 50%, rgba(201, 162, 77, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(62, 97, 222, 0.1) 0%, transparent 50%);
}

.map-frame {
  border: 0;
}

.navbar-container {
  height: 74px;
}

.navbar-brand {
  display: grid;
  grid-template-columns: 51px 58px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 23px;
  row-gap: 2px;
  width: max-content;
}

.navbar-logo-block {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-logo {
    width: 62px;
    height: 62px;
    max-width: 62px;
    max-height: 62px;
}

.navbar-crea-block {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.navbar-crea-symbol {
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  flex-shrink: 0;
}

.navbar-crea-label {
  display: none;
  margin-top: 2px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.navbar-brand-tagline {
  display: none;
  grid-column: 1 / -1;
  grid-row: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .navbar-container {
    height: 105px;
  }

  .navbar-brand {
    grid-template-columns: 51px 58px;
    column-gap: 25px;
  }

  .navbar-crea-label {
    display: inline;
  }

  .navbar-brand-tagline {
    display: block;
  }
}
