/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  background: #0a1628;
  color: #e8edf5;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: #d4a843; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e8c06a; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: #d4a843;
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}
.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 640px;
  margin-bottom: 3rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, #d4a843, #c9952c);
  color: #0a1628;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e0b855, #d4a843);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.3);
}
.btn-outline {
  background: transparent;
  color: #d4a843;
  border: 2px solid #d4a843;
}
.btn-outline:hover {
  background: #d4a843;
  color: #0a1628;
  transform: translateY(-2px);
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.navbar-home {
  background: transparent;
  box-shadow: none;
}
.navbar-home.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}
.logo .accent { color: #d4a843; }
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d4a843, #c9952c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #0a1628;
  font-weight: 800;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: #c8d0dc;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
}
.nav-links a:hover { color: #d4a843; }
.nav-links a.active { color: #d4a843; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: #e8edf5;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* === Hero (index) === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(10, 22, 40, 0.9) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 600px; }
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #ffffff;
}
.hero-content h1 .highlight { color: #d4a843; }
.hero-content p {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: linear-gradient(145deg, rgba(212, 168, 67, 0.06), rgba(212, 168, 67, 0.02));
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(8px);
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #d4a843;
}
.stat-item .label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-chart {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
}
.hero-chart .fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #d4a843, #e8c06a);
  border-radius: 3px;
}
.hero-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.3rem;
}

/* === Services (index preview) === */
#services { background: rgba(255, 255, 255, 0.02); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}
.service-card:hover {
  background: rgba(212, 168, 67, 0.04);
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 168, 67, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.service-card p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* === About === */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.about-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.about-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: #d4a843;
}
.about-stat .label {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* === Stats Bar (about page) === */
.stats-bar {
  padding: 3.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.stats-bar .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stats-bar .stat-item {
  text-align: center;
}
.stats-bar .stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4a843;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.stats-bar .stat-item .label {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}

/* === Process Timeline (about page) === */
.process-section {
  padding: 5rem 0;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}
.process-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(212, 168, 67, 0.12);
  line-height: 1;
  min-width: 3rem;
  padding-top: 0.15rem;
}
.process-step-body {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.process-step:last-child .process-step-body {
  border-bottom: none;
  padding-bottom: 0;
}
.process-step-body .step-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.process-step-body .step-phase {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4a843;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.2rem;
}
.process-step-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.process-step-body p {
  color: #94a3b8;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
  max-width: 560px;
}
.process-step-body .step-link {
  color: #d4a843;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
}
.process-step-body .step-link:hover {
  color: #e8c06a;
}

/* === Resource Library (about page) === */
.resources-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.02);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.resource-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.resource-card:hover {
  background: rgba(212, 168, 67, 0.04);
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-4px);
}
.resource-card .resource-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.resource-card .resource-format {
  display: inline-block;
  background: rgba(212, 168, 67, 0.12);
  color: #d4a843;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
}
.resource-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.resource-card p {
  color: #94a3b8;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.resource-card .download-link {
  color: #d4a843;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
  margin-top: auto;
}
.resource-card .download-link:hover {
  color: #e8c06a;
}

/* === Testimonials === */
#testimonials { background: rgba(255, 255, 255, 0.02); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 2rem;
}
.testimonial-card .stars {
  color: #d4a843;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: #c8d0dc;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial-card cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-style: normal;
}
.testimonial-card cite .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #d4a843;
}
.testimonial-card cite .name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
}
.testimonial-card cite .role {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #64748b;
  font-size: 0.8rem;
}

/* === Case Studies (index preview) === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.cases-grid .case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.cases-grid .case-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-4px);
}
.case-header {
  padding: 2rem 2rem 1rem;
}
.case-header .tag {
  display: inline-block;
  background: rgba(212, 168, 67, 0.12);
  color: #d4a843;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.case-header h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.15rem; color: #ffffff; margin-bottom: 0.5rem; }
.case-header p { font-family: 'Inter', sans-serif; font-weight: 400; color: #94a3b8; font-size: 0.9rem; }
.case-results {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.case-result-item .num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #d4a843;
}
.case-result-item .label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #64748b;
}

/* === Case Studies (full page) === */
#studies .case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
#studies .case-card:last-of-type { border-bottom: none; }
#studies .case-card.reverse .case-image { order: 2; }
#studies .case-card.reverse .case-content { order: 1; }
#studies .case-card:hover { transform: none; }
.case-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.case-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
#studies .case-card:hover .case-image img { transform: scale(1.03); }
.case-image .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(212, 168, 67, 0.9);
  color: #0a1628;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.case-content h2 .accent { color: #d4a843; }
.case-content .industry {
  font-family: 'Inter', sans-serif;
  color: #d4a843;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.case-content .description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.case-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.case-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.case-highlight .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #d4a843;
}
.case-highlight .label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}
.case-quote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  border-left: 3px solid #d4a843;
  padding-left: 1.25rem;
  font-style: italic;
  color: #c8d0dc;
  font-size: 0.95rem;
}
.case-quote cite {
  display: block;
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
  font-style: normal;
}

/* === Page Hero (subpages) === */
.page-hero {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(10, 22, 40, 0.9) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  position: relative;
}
.page-hero h1 .highlight { color: #d4a843; }
.page-hero p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #94a3b8;
  font-size: 1.15rem;
  max-width: 580px;
  margin: 1rem auto 0;
  position: relative;
}

/* === Service Detail (services page) === */
.service-detail {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
.service-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-detail-wrapper.reverse .service-visual { order: 2; }
.service-detail-wrapper.reverse .service-info { order: 1; }
.service-visual {
  display: flex;
  justify-content: center;
}
.service-visual-box {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(145deg, rgba(212, 168, 67, 0.05), rgba(212, 168, 67, 0.01));
  border: 1px solid rgba(212, 168, 67, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
}
.service-visual-box .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.service-visual-box .stat-highlight {
  font-size: 2rem;
  font-weight: 800;
  color: #d4a843;
}
.service-visual-box p { color: #94a3b8; font-size: 0.9rem; margin-top: 0.5rem; }
.service-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.service-info h2 .accent { color: #d4a843; }
.service-info > p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.service-list {
  list-style: none;
  margin-bottom: 2rem;
}
.service-list li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: #c8d0dc;
  font-size: 0.95rem;
}
.service-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #d4a843;
  font-size: 0.6rem;
  top: 0.7rem;
}

/* === Contact / Audit Form === */
#contact {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(212, 168, 67, 0.05) 0%, transparent 50%),
    transparent;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.5rem; color: #ffffff; margin-bottom: 1rem; }
.contact-info p { font-family: 'Inter', sans-serif; font-weight: 400; color: #94a3b8; margin-bottom: 2rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1rem; color: #94a3b8; font-size: 0.95rem; font-family: 'Inter', sans-serif; font-weight: 400; }
.contact-info-item .icon { color: #d4a843; font-size: 1.2rem; min-width: 1.5rem; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: #c8d0dc;
}
.form-group label .required { color: #ef4444; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: #e8edf5;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #d4a843;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2394a3b8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
}
.form-group select option { background: #0a1628; color: #e8edf5; }
.form-group .error-msg {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #ef4444;
  font-size: 0.8rem;
  display: none;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #ef4444; }
.form-group.error .error-msg { display: block; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 12px;
  color: #d4a843;
}
.form-success.show { display: block; }
.form-success p { color: #94a3b8; margin-top: 0.5rem; }
.contact-form-wrapper .form-success ~ .contact-form { display: none; }
.form-success .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.12);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}
.checkbox-group label.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: #c8d0dc;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #d4a843;
  cursor: pointer;
  flex-shrink: 0;
}

/* === Audit Form (contact page) === */
.audit-section { padding: 2rem 0 5rem; }
.audit-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}
.audit-info { position: sticky; top: 6rem; }
.audit-info h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.audit-info ul {
  list-style: none;
  margin: 1.5rem 0;
}
.audit-info ul li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: #c8d0dc;
  font-size: 0.95rem;
}
.audit-info ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #d4a843;
  font-size: 0.6rem;
  top: 0.7rem;
}
.audit-info .guarantee {
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.audit-info .guarantee strong {
  color: #d4a843;
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.audit-info .guarantee p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #94a3b8;
  font-size: 0.9rem;
}
.audit-form-wrap { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; padding: 2.5rem; }
.audit-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-success.show ~ .audit-form { display: none; }
.form-success .icon ~ h3 { font-weight: 600; }

/* === Footer === */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { font-family: 'Inter', sans-serif; font-weight: 400; color: #64748b; font-size: 0.9rem; margin-top: 0.75rem; max-width: 300px; }
.footer h4 { font-family: 'Inter', sans-serif; font-weight: 600; color: #ffffff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a { font-family: 'Inter', sans-serif; font-weight: 400; color: #64748b; font-size: 0.9rem; transition: color 0.3s; }
.footer ul li a:hover { color: #d4a843; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-family: 'Inter', sans-serif; font-weight: 400; color: #475569; font-size: 0.85rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { color: #64748b; font-size: 1.1rem; }
.footer-socials a:hover { color: #d4a843; }

/* === Compact page hero (contact page) === */
.page-hero-compact {
  padding: 9rem 0 3rem;
}
.page-hero-compact::before {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 168, 67, 0.08) 0%, transparent 50%);
}
.page-hero-compact h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.page-hero-compact p {
  font-size: 1.05rem;
  max-width: 540px;
}

/* === Legal / Text pages (privacy, terms) === */
.legal-section {
  padding: 3rem 0 5rem;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: #c8d0dc;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
}
.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.legal-content p {
  margin-bottom: 1rem;
  color: #94a3b8;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 1rem 1.5rem;
  color: #94a3b8;
}
.legal-content li {
  margin-bottom: 0.4rem;
}
.legal-content strong {
  color: #e8edf5;
}
.legal-content a {
  color: #d4a843;
}
.legal-content a:hover {
  color: #e8c06a;
}
.legal-content .last-updated {
  color: #64748b;
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Scroll reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 3.5rem 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-card { max-width: 100%; }

  .about-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 1.7rem; }

  .service-detail-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-wrapper.reverse .service-visual { order: 1; }
  .service-detail-wrapper.reverse .service-info { order: 2; }
  .service-visual-box { max-width: 100%; }

  .page-hero { padding: 7rem 0 3rem; }
  .page-hero-compact { padding: 7rem 0 2rem; }

  .case-card { grid-template-columns: 1fr; gap: 2rem; }
  #studies .case-card.reverse .case-image { order: 1; }
  #studies .case-card.reverse .case-content { order: 2; }

  .audit-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .audit-info { position: static; }
  .audit-form-wrap { padding: 1.5rem; }

  .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .process-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .process-step-num { font-size: 1.5rem; }
  .process-section { padding: 3.5rem 0; }
  .resources-section { padding: 3.5rem 0; }
  .resources-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-card { padding: 1.5rem; }
  .btn { width: 100%; text-align: center; }
  .case-image img { height: 220px; }
  .case-highlights { grid-template-columns: 1fr; }
  .stats-bar .stat-item .num { font-size: 1.8rem; }
}
