/* ===== Tokens ===== */
:root {
  --navy-900: #0F2438;
  --navy-700: #1B3A5C;
  --blue-gray-500: #5C7A99;
  --blue-gray-200: #E8ECF0;
  --bg-base: #F7F8FA;
  --white: #FFFFFF;
  --gold: #C9A961;
  --gold-dark: #A6843F;

  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --max-width: 1180px;
  --section-pad: 7rem;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--blue-gray-500);
  max-width: 640px;
  margin-top: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-700); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-ghost:hover { background: var(--navy-900); color: var(--white); }

.btn-primary-inverse {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-primary-inverse:hover { background: var(--white); }

.btn-full { width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 36, 56, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}

.logo img { height: 76px; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-900);
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: calc(104px + 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247,248,250,0.0) 0%, var(--bg-base) 85%),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1800&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.16;
  z-index: -1;
}

.hero-inner {
  max-width: 760px;
  padding-bottom: 4.5rem;
}

.hero h1 {
  font-size: 3.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--blue-gray-500);
  max-width: 560px;
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.process-strip {
  background: var(--navy-900);
}

.process-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  padding: 1.3rem 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.process-step:first-child { border-left: none; }

.process-label {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Stats ===== */
.stats {
  background: var(--navy-700);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.stat {
  text-align: left;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ===== About ===== */
.about { padding: var(--section-pad) 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--blue-gray-500);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.about-image img {
  border-radius: 2px;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ===== Services ===== */
.services {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.services h2 {
  font-size: 2.1rem;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg-base);
  padding: 2.2rem 1.8rem;
  border-radius: 2px;
  border-top: 3px solid var(--navy-900);
  transition: border-color 0.2s ease;
}
.service-card:hover { border-top-color: var(--gold); }

.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.4rem;
  color: var(--navy-700);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--blue-gray-500);
  font-size: 0.95rem;
}

/* ===== Projects ===== */
.projects { padding: var(--section-pad) 0; }

.projects h2 {
  font-size: 2.1rem;
  max-width: 600px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.project-card {
  background: var(--white);
  overflow: hidden;
}

.project-image {
  height: 220px;
  overflow: hidden;
}
.project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-image img { transform: scale(1.05); }

.project-info { padding: 1.6rem 0.2rem; }

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

.project-info h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.project-info p { color: var(--blue-gray-500); font-size: 0.95rem; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--navy-900);
  padding: 5rem 0;
  text-align: center;
}

.cta-band-inner { max-width: 640px; margin: 0 auto; }

.cta-band h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
}

.contact-info h2 { font-size: 2.1rem; margin-bottom: 1.2rem; }
.contact-info p { color: var(--blue-gray-500); margin-bottom: 2.5rem; }

.contact-details { list-style: none; }
.contact-details li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--blue-gray-200);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-gray-500);
}

.contact-details a { font-weight: 500; }
.contact-details a:hover { color: var(--gold-dark); }

.contact-form { background: var(--bg-base); padding: 2.5rem; border-radius: 2px; }

.form-row { margin-bottom: 1.3rem; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--blue-gray-200);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy-900);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy-700);
}

.hidden-field { display: none; }

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--navy-700);
  font-weight: 500;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  padding-top: 3.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
  background: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  padding: 1.6rem 0;
}
.footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  :root { --section-pad: 4.5rem; }

  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 104px; left: 0; right: 0;
    background: var(--bg-base);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(15,36,56,0.08);
  }

  .hero h1 { font-size: 2.2rem; }
  .hero-lead { font-size: 1.05rem; }

  .process-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(3) { border-left: none; }

  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image img { height: 320px; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form { padding: 1.8rem; }

  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .container { padding: 0 1.25rem; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
