:root {
  --color-brand: #1d52a2;
  --color-brand-rgb: 29, 82, 162;
  --color-dark-950: #06183b;
  --color-dark-900: #0a2347;
  --color-dark-800: #0d3878;
  --color-dark-700: #12448e;
  --color-neutral-950: #0a0a0a;
  --color-neutral-900: #171717;
  --color-neutral-800: #262626;
  --color-neutral-700: #404040;
  --color-neutral-600: #525252;
  --color-neutral-500: #737373;
  --color-neutral-400: #a3a3a3;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  color: #0a0a0b;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.015em;
}

h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
}

.font-serif-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--color-brand);
}

.container-page {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-page {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.container-page-sm {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-page-sm {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.scrolled-header {
  background: rgba(9, 29, 66, 0.92) !important;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 9999 !important;
}

.scrolled-header .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.scrolled-header .nav-link:hover {
  color: #ffffff !important;
}

.scrolled-header .hamburger span {
  background-color: #ffffff !important;
}

.dark-bg {
  background-color: #0f0f10;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #0a0a0a;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  border: 1px solid #0a0a0a;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(184, 153, 104, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: #0a0a0a;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: #0a0a0a;
  background-color: rgba(0, 0, 0, 0.03);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-brand);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  border: 1px solid var(--color-brand);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-brand:hover {
  background-color: #a6874f;
  border-color: #a6874f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(184, 153, 104, 0.5);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: #0a0a0a;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  border: 1px solid #ffffff;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-white:hover {
  background-color: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
  transform: translateY(-1px);
}

.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 153, 104, 0.3);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 30px 60px -25px rgba(0,0,0,0.12);
}

.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 153, 104, 0.08);
  border-radius: 1rem;
  color: var(--color-brand);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .icon-wrap {
  background: var(--color-brand);
  color: #ffffff;
  transform: scale(1.05);
}

.case-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25);
}

.case-card .case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.3s ease;
}

.case-card:hover .case-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.1) 100%);
}

.case-card .case-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: inherit;
}

.accordion-trigger:hover {
  color: var(--color-brand);
}

.accordion-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.accordion-item.is-open .accordion-icon {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.accordion-item.is-open .accordion-content {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.process-step-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  font-family: inherit;
}

.process-step-btn:hover {
  border-color: rgba(184, 153, 104, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.process-step-btn.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(184, 153, 104, 0.5);
}

.process-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-brand);
  opacity: 0.7;
}

.process-step-btn.is-active .process-step-num {
  opacity: 1;
}

.process-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.process-panel.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-item {
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.3s ease;
}

.why-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.why-item:hover {
  background: rgba(184, 153, 104, 0.03);
}

.why-plus {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: rgba(0, 0, 0, 0.5);
}

.why-item.is-active .why-plus {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
  transform: rotate(45deg);
}

.why-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding-top 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.why-item.is-active .why-content {
  max-height: 300px;
  padding-top: 1rem;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 72px;
  background: #ffffff;
  z-index: 9990;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
  z-index: 9998;
}

.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-link {
  position: relative;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-brand);
  transition: all 0.25s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-active {
  color: #0a0a0a !important;
  font-weight: 500;
}

.nav-link.nav-active::after {
  width: 100%;
}

.hero-ornament {
  position: absolute;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(184, 153, 104, 0.4), transparent);
}

.section-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(184, 153, 104, 0.25);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.875rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-brand);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 4px rgba(184, 153, 104, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input option {
  background-color: #171717;
  color: #ffffff;
}

.form-input-light {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.875rem;
  color: #0a0a0a;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
}

.form-input-light:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(184, 153, 104, 0.1);
}

.form-input-light::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.award-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  border-radius: 1rem;
  background: #FAFAFA;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.award-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 153, 104, 0.25);
  background: #ffffff;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
}

.play-btn {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: playPulse 2.5s ease-out infinite;
}

@keyframes playPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
}

.logo-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.35s ease;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.logo-grid-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 767px) {
  .service-card {
    padding: 1.5rem;
  }
  .testimonial-card {
    padding: 1.75rem;
  }
}

/* Subtle White Dot/Particle Grid Texture for Black/Dark Background Sections */
.dot-grid-bg {
  position: relative;
  z-index: 0;
}

.dot-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Crect x='9.4' y='9.4' width='1.2' height='1.2' fill='rgba(255,255,255,0.20)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  border-radius: inherit;
}

