*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0d2240;
  --navy-mid: #1a3a5c;
  --navy-light: #234e7a;
  --steel: #2e6ba8;
  --sky: #4e9fd4;
  --fog: #d6e8f4;
  --cream: #f5f2ed;
  --sand: #e8e2d9;
  --text: #111820;
  --muted: #546070;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(13, 34, 64, 0.96);
  backdrop-filter: blur(8px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav-logo svg {
  width: auto;
  height: 52px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  color: #ffffff;
  line-height: 1.2;
}

.nav-logo-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--sky);
}

.nav-cta {
  background: var(--sky);
  color: var(--navy) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--fog) !important;
  color: var(--navy) !important;
}

/* ── HERO ── */
#home {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 5vw 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg svg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  opacity: 0.07;
}

.hero-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(78, 159, 212, 0.4),
    transparent
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 0.6s ease both 0.1s;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--sky);
}

h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  animation: fadeUp 0.6s ease both 0.25s;
}

h1 em {
  font-style: italic;
  color: var(--sky);
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-bottom: 2.8rem;
  line-height: 1.75;
  animation: fadeUp 0.6s ease both 0.4s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease both 0.55s;
}

.btn-primary {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--fog);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(78, 159, 212, 0.5);
  color: var(--sky);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-outline:hover {
  border-color: var(--sky);
  color: var(--white);
}

/* ── SECTIONS SHARED ── */
section {
  padding: 6rem 5vw;
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

/* ── ABOUT ── */
#about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 1.4rem;
}

.stat-num {
  font-family: "DM Serif Display", serif;
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-num span {
  color: var(--sky);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.about-visual {
  background: var(--navy);
  border-radius: 6px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-visual-title {
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.value-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.6;
}

.value-text strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

/* ── SERVICES ── */
#services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 2rem;
  transition:
    border-color 0.25s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--sky);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--sky);
  transform: translateY(-3px);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--fog);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  background: var(--fog);
  color: var(--navy-light);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ── PROCESS ── */
#process {
  background: var(--navy);
}

#process h2 {
  color: var(--white);
}

#process .section-eyebrow {
  color: var(--sky);
  opacity: 0.8;
}

#process .lead {
  color: rgba(255, 255, 255, 0.5);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(78, 159, 212, 0.25);
}

.process-step {
  padding: 0 1.5rem 2.5rem 0;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 1px solid rgba(78, 159, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 1rem;
  color: var(--sky);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-family: "DM Serif Display", serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

/* ── CONTACT ── */
#contact {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 0.75rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sand);
}

.contact-detail:first-of-type {
  border-top: 1px solid var(--sand);
  margin-top: 2rem;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--sky);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-label {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.96rem;
  color: var(--navy);
  font-weight: 400;
  text-decoration: none;
}

.contact-detail-value:hover {
  color: var(--steel);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 2.5rem;
}

.contact-form h3 {
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 3px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--sky);
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--navy-light);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 2.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(78, 159, 212, 0.15);
}

.footer-logo {
  font-family: "DM Serif Display", serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--sky);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  #about,
  #contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
