:root {
  --blue-deep:  #2a4a6b;
  --blue-mid:   #3d6b96;
  --blue-light: #5b8ab5;
  --blue-pale:  #e8f2fa;
  --blue-bg:    #f0f6fb;
  --gold:       #C4993A;
  --gold-light: #d4af60;
  --gold-pale:  #faf0d8;
  --white:      #ffffff;
  --surface:    #f8fafb;
  --border:     #dde8f0;
  --text:       #1a2e42;
  --text-mid:   #3d566e;
  --text-muted: #6b85a0;
  --sans:       'DM Sans', sans-serif;
  --head:       'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); font-size: 16px; background: var(--blue-bg); color: var(--text); overflow-x: hidden; }

/* EYEBROW */
.eyebrow {
  font-family: var(--head);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 64px; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(42,74,107,0.06);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(42,74,107,0.1); }

/* Logo image link — vertically centered in nav */
nav > a:first-child {
  display: flex;
  align-items: center;
}

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--head); font-size: 14px; font-weight: 500;
  color: var(--text-mid); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-deep); }
.nav-cta {
  background: var(--gold) !important; color: #fff !important;
  padding: 10px 22px; border-radius: 6px;
  font-size: 14px !important; font-weight: 600 !important;
  letter-spacing: 0em !important; text-transform: none !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* HERO */
.hero {
  min-height: 48vh;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 60%, #4a7fa8 100%);
  display: flex; align-items: center; position: relative;
  overflow: hidden; padding: 120px 72px 135px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-bg::after {
  content: ''; position: absolute;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,153,58,0.14) 0%, transparent 70%);
}
.hero-logomark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(196,153,58,0.15); border: 1px solid rgba(196,153,58,0.3);
  padding: 7px 16px; border-radius: 20px; margin-bottom: 16px;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow span {
  font-family: var(--head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light);
}
.hero-headline {
  font-family: var(--head); font-size: clamp(46px, 5.5vw, 68px);
  font-weight: 700; color: #fff; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 14px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-headline em { font-style: normal; color: var(--gold-light); }
.hero-sub {
  font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.72);
  line-height: 1.75; max-width: 520px; margin-bottom: 22px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; animation: fadeUp 0.8s 0.3s ease both;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff; border: none;
  padding: 15px 30px; border-radius: 6px;
  font-family: var(--head); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 15px 30px; border-radius: 6px;
  font-family: var(--head); font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff; border: none;
  padding: 13px 26px; border-radius: 6px;
  font-family: var(--head); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: var(--gold-light); transform: translateY(-1px); }

/* HERO STATS */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; animation: fadeUp 0.8s 0.5s ease both;
}
.hero-stat {
  flex: 1; padding: 22px 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--head); font-size: 32px; font-weight: 700;
  color: var(--gold-light); line-height: 1; margin-bottom: 5px; letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 12px; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}

/* INTRO */
.intro-section {
  background: var(--white); padding: 96px 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.intro-headline {
  font-family: var(--head); font-size: clamp(30px, 3vw, 42px);
  font-weight: 700; color: var(--text); line-height: 1.2;
  letter-spacing: -0.03em; margin: 14px 0 22px;
}
.intro-headline em { font-style: normal; color: var(--blue-mid); }
.intro-body { font-size: 17px; color: var(--text-mid); line-height: 1.8; margin-bottom: 32px; }
.intro-right { display: flex; flex-direction: column; }
.intro-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.intro-pillar {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.intro-pillar:first-child { border-top: 1px solid var(--border); }
.pillar-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--blue-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.pillar-icon svg { width: 17px; height: 17px; stroke: var(--blue-mid); }
.pillar-title {
  font-family: var(--head); font-size: 16px; font-weight: 600;
  color: var(--text); margin-bottom: 5px; letter-spacing: -0.01em;
}
.pillar-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* SERVICES */
.services-section { background: var(--blue-bg); padding: 96px 72px; }
.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px;
}
.services-headline {
  font-family: var(--head); font-size: clamp(30px, 3vw, 42px);
  font-weight: 700; color: var(--text); line-height: 1.2;
  letter-spacing: -0.03em; margin-top: 12px;
}
.services-headline em { font-style: normal; color: var(--blue-mid); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: var(--white); border-radius: 12px; border: 1px solid var(--border);
  padding: 32px 28px; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(42,74,107,0.1);
  transform: translateY(-2px); border-color: var(--blue-light);
}
.service-card.wide { grid-column: span 2; }
.svc-num {
  display: inline-block; font-family: var(--head); font-size: 12px;
  font-weight: 600; color: var(--blue-mid); letter-spacing: 0.08em;
  background: var(--blue-pale); padding: 4px 10px; border-radius: 20px; margin-bottom: 16px;
}
.svc-title {
  font-family: var(--head); font-size: 19px; font-weight: 600;
  color: var(--text); line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.02em;
}
.svc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag {
  font-family: var(--head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-pale);
  padding: 4px 10px; border-radius: 4px;
}

/* PROCESS */
.process-section { background: var(--white); padding: 96px 72px; }
.process-header { margin-bottom: 56px; }
.process-headline {
  font-family: var(--head); font-size: clamp(30px, 3vw, 42px);
  font-weight: 700; color: var(--text); line-height: 1.2;
  letter-spacing: -0.03em; margin-top: 12px;
}
.process-headline em { font-style: normal; color: var(--blue-mid); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step {
  background: var(--blue-bg); border-radius: 12px;
  border: 1px solid var(--border); padding: 28px 24px;
}
.step-badge {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--blue-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 16px; font-weight: 700; margin-bottom: 18px;
}
.step-title {
  font-family: var(--head); font-size: 17px; font-weight: 600;
  color: var(--text); margin-bottom: 10px; line-height: 1.3; letter-spacing: -0.02em;
}
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* CONTACT */
.contact-section {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  padding: 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.contact-headline {
  font-family: var(--head); font-size: clamp(30px, 3vw, 46px);
  font-weight: 700; color: #fff; line-height: 1.15;
  letter-spacing: -0.03em; margin: 14px 0 20px;
}
.contact-headline em { font-style: normal; color: var(--gold-light); }
.contact-body { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: center; gap: 14px; }
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 16px; height: 16px; stroke: var(--gold-light); }
.contact-info-text { font-size: 15px; color: rgba(255,255,255,0.75); }
.contact-form-box {
  background: var(--white); border-radius: 16px;
  padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.form-box-title {
  font-family: var(--head); font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em; margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-label {
  display: block; font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--text-mid); margin-bottom: 7px;
}
.form-input {
  width: 100%; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 12px 15px; font-family: var(--sans); font-size: 15px;
  color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
}
.form-input::placeholder { color: #b0c0cf; }
.form-input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(91,138,181,0.15);
}
.form-input.is-invalid { border-color: #e05252; }
textarea.form-input { resize: vertical; min-height: 96px; }
.form-invalid-msg {
  font-size: 12px; color: #e05252; margin-top: 4px; display: none;
}
.form-input.is-invalid ~ .form-invalid-msg { display: block; }
.btn-form-submit {
  width: 100%; background: var(--gold); color: #fff;
  border: none; border-radius: 8px; padding: 15px;
  font-family: var(--head); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: 6px;
}
.btn-form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-success-msg {
  text-align: center; padding: 14px 0 0;
  font-family: var(--head); font-size: 15px; font-weight: 500;
  color: var(--blue-mid); display: none;
}

/* FOOTER */
footer {
  background: var(--text); padding: 32px 72px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-name {
  font-family: var(--head); font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,0.5); letter-spacing: -0.01em;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.28); margin-top: 2px; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  font-family: var(--head); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.gold-bar { height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%); }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--text-mid); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.65s ease, transform 0.65s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(24px); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  nav { padding: 0 24px; height: 68px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Mobile nav open state */
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    padding: 8px 24px 20px; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(42,74,107,0.1);
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open li:last-child { border-bottom: none; }
  .nav-links.open a { display: block; padding: 14px 0; font-size: 16px; }
  .nav-links.open .nav-cta {
    display: block; text-align: center;
    margin: 8px 0 0; padding: 12px 22px !important;
  }

  .hero { padding: 100px 24px 165px; }
  .hero-eyebrow span { font-size: 10px; letter-spacing: 0.06em; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { min-width: 50%; flex: none; padding: 14px 18px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
  .hero-stat-num { font-size: 26px; }
  .intro-section { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .intro-section > div:first-child { order: 2; }
  .intro-right { order: 1; }
  .services-section { padding: 64px 24px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: span 1; }
  .process-section { padding: 64px 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-section { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  footer { padding: 24px; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}
/* Contact email link */
.contact-info-text a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info-text a:hover {
  color: var(--gold-light);
}