:root {
  --deep-navy: #16324f;
  --harbor-blue: #2e5e7e;
  --beacon-gold: #d9a441;
  --mist-white: #f7f8f7;
  --slate-gray: #556270;
  --sea-glass: #7e9a92;
  --warm-sand: #d8c7a1;
  --light-fog: #e3e7ea;
}

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

body {
  font-family: "Source Sans 3", Arial, sans-serif;
  background: var(--mist-white);
  color: var(--deep-navy);
}

.site-header {
  background: var(--deep-navy);
  position: absolute;
  width: 100%;
  z-index: 10;
}

.page-header {
  position: relative;
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 76px;
  width: auto;
}

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

.nav-links a {
  color: var(--mist-white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--beacon-gold);
}

.hero {
  min-height: 680px;
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(22, 50, 79, 0.98) 0%,
      rgba(22, 50, 79, 0.88) 42%,
      rgba(22, 50, 79, 0.35) 100%
    ),
    url("../images/backgrounds/hero-bg.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 2;
}

.hero h1,
.page-hero h1,
.content-section h2,
.service-detail-card h2,
.contact-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero h1 {
  color: var(--mist-white);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  font-weight: 500;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--beacon-gold);
}

.hero p {
  color: var(--light-fog);
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--beacon-gold);
  color: var(--deep-navy);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding: 0.9rem 1.4rem;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--warm-sand);
}

.services-strip {
  background: var(--mist-white);
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  border-bottom: 1px solid var(--light-fog);
}

.services-strip h2 {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.service-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.service-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--deep-navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--deep-navy);
  font-size: 1.3rem;
}

.service-grid h3 {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.tagline {
  margin-top: 2.5rem;
  color: var(--slate-gray);
  font-size: 0.95rem;
}

.page-hero {
  background:
    linear-gradient(
      90deg,
      rgba(22, 50, 79, 0.96) 0%,
      rgba(22, 50, 79, 0.88) 55%,
      rgba(22, 50, 79, 0.65) 100%
    ),
    url("../images/backgrounds/hero-bg.jpeg");
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
  color: var(--mist-white);
}

.page-hero-content {
  max-width: 980px;
  margin: 0 auto;
}

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

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.page-hero p {
  max-width: 700px;
  color: var(--light-fog);
  font-size: 1.1rem;
  line-height: 1.7;
}

.content-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.content-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--deep-navy);
}

.content-section p {
  color: var(--slate-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.light-section {
  max-width: none;
  background: var(--light-fog);
}

.centered-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-icon {
  width: 92px;
  height: auto;
  margin-bottom: 1.5rem;
}

.values-list {
  display: grid;
  gap: 1.8rem;
}

.values-list h3 {
  color: var(--deep-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.services-page-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
  display: grid;
  gap: 4rem;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail-card.reverse img {
  order: 2;
}

.service-detail-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(22, 50, 79, 0.18);
}

.service-detail-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--deep-navy);
}

.service-detail-card p {
  color: var(--slate-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-detail-card ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  padding-left: 0;
}

.service-detail-card li {
  color: var(--deep-navy);
  font-weight: 700;
}

.service-detail-card li::before {
  content: "✦";
  color: var(--beacon-gold);
  margin-right: 0.55rem;
}

.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.contact-card {
  background: var(--mist-white);
  border: 1px solid var(--light-fog);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(22, 50, 79, 0.12);
  padding: 3rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--slate-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-email {
  display: inline-block;
  color: var(--deep-navy);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--beacon-gold);
}

.contact-email:hover {
  color: var(--beacon-gold);
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  color: var(--deep-navy);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--light-fog);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--deep-navy);
  background: white;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--beacon-gold);
  border-color: var(--beacon-gold);
}

textarea {
  resize: vertical;
}

form .btn {
  justify-self: start;
  margin-top: 0.5rem;
}

.page-cta {
  max-width: 1000px;
}

footer {
  background: var(--deep-navy);
  color: var(--mist-white);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 850px) {
  .site-header {
    position: relative;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    min-height: 560px;
    background-position: center;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .service-detail-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 4.5rem 1.5rem;
  }

  .content-section,
  .services-page-grid,
  .contact-section {
    padding: 3.5rem 1.5rem;
  }

  .services-page-grid {
    gap: 3rem;
  }

  .service-detail-card {
    gap: 1.5rem;
  }

  .service-detail-card.reverse img {
    order: 0;
  }

  .contact-card {
    padding: 2rem;
  }
}

@media (max-width: 520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 64px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}
