
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --navy: #101d35;
  --navy2: #182b4b;
  --gold: #c7a568;
  --cream: #f7f5f0;
  --ink: #1d2735;
  --muted: #697386;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.topbar {
  height: auto;
  min-height: 78px;
  padding: 18px max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--navy);
  font-size: 19px;
}

.brand span {
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--gold);
  color: var(--navy);
}

.hero {
  min-height: 570px;
  background: linear-gradient(112deg, rgba(13,27,50,.98), rgba(22,42,72,.92)), #142744;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px max(8vw, 28px);
}

.hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 18px;
}

.eyebrow.dark {
  color: #9c7943;
}

.hero h1,
.intro h2,
.section-head h2,
.shop h2,
.contact h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.13;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  max-width: 780px;
  margin: 0 0 24px;
}

.lead {
  font-size: 18px;
  color: #d7deea;
  max-width: 650px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  padding: 14px 22px;
  font: 700 13px 'DM Sans', sans-serif;
  cursor: pointer;
}

.gold {
  background: var(--gold);
  color: #15233b;
}

.outline {
  border: 1px solid #aeb8c8;
  color: white;
}

.hero-mark {
  position: absolute;
  right: 8%;
  bottom: -150px;
  font: 600 560px Georgia, serif;
  color: rgba(255,255,255,.035);
}

.intro {
  padding: 100px 24px;
  text-align: center;
  max-width: 850px;
  margin: auto;
}

.intro h2,
.shop h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 20px;
  color: var(--navy);
}

.intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.location {
  color: #8a6c3e !important;
  font-weight: 700;
}

.services {
  background: var(--cream);
  padding: 88px max(7vw, 24px);
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: 46px;
  color: var(--navy);
  margin: 0;
}

.service-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #e2ddd2;
  border: 1px solid #e2ddd2;
}

.service {
  background: var(--cream);
  padding: 30px;
  min-height: 155px;
}

.number {
  font-size: 11px;
  color: #a1824f;
  letter-spacing: .15em;
}

.service h3 {
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
  margin: 12px 0 0;
}

.shop {
  padding: 76px max(8vw, 24px);
  background: var(--navy);
  color: #d7deea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}

.shop h2 {
  color: white;
  margin-bottom: 12px;
}

.shop p:not(.eyebrow) {
  max-width: 580px;
}

.shop .button {
  white-space: nowrap;
}

.contact {
  padding: 90px max(8vw, 24px);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.contact > div p:not(.eyebrow) {
  color: var(--muted);
}

.contact-form,
.login-page form,
.admin-page form {
  display: grid;
  gap: 17px;
}

.contact-form label,
.login-page label,
.admin-page label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.contact-form label span {
  font-weight: 400;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d8dce2;
  background: white;
  font: 14px 'DM Sans', sans-serif;
  color: var(--ink);
  border-radius: 0;
}

textarea {
  resize: vertical;
}

.consent {
  display: flex !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-weight: 400 !important;
  font-size: 11px !important;
  color: var(--muted) !important;
}

.consent input {
  width: 16px;
  margin-top: 3px;
}

.small-note {
  font-size: 11px;
  color: var(--muted);
}

.trap {
  position: absolute;
  left: -10000px;
}

footer {
  background: #0b172b;
  color: #bdc6d5;
  padding: 30px max(5vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}

footer .brand {
  color: white;
}

footer a:last-child {
  color: #bdc6d5;
}

.login-page,
.message-page {
  max-width: 520px;
  margin: 8vh auto;
  padding: 32px;
}

.login-page h1,
.message-page h1,
.admin-page h1 {
  font: 500 36px 'Playfair Display', Georgia, serif;
  color: var(--navy);
}

.error {
  color: #9d2525;
  background: #fff0f0;
  padding: 10px;
}

.success {
  color: #24623a;
  background: #effaf1;
  padding: 10px;
}

.admin-page {
  max-width: 850px;
  margin: 5vh auto;
  padding: 24px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.admin-page form {
  margin: 30px 0;
}

.admin-page textarea {
  font-family: inherit;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 520px;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop,
  .contact {
    display: block;
  }

  .shop .button {
    margin-top: 20px;
  }

  .contact-form {
    margin-top: 35px;
  }

  footer {
    flex-wrap: wrap;
  }
}

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

  .actions {
    display: grid;
  }

  .actions .button {
    width: 100%;
  }

  .hero h1 {
    font-size: 42px;
  }
}

/* Distinct hero actions, consistent with the original navy and gold palette. */
.hero-certificate { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.hero-audit { background: #355b79; color: white; border: 1px solid #7899b3; }
.hero-investment { background: var(--cream); color: var(--navy); border: 1px solid var(--cream); }
.hero-projects { background: transparent; color: #e4c78e; border: 1px solid var(--gold); }
.hero .button { transition: filter .18s, transform .18s; }
.hero .button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.button:focus-visible, .phone-link:focus-visible { outline: 3px solid #b78a43; outline-offset: 3px; }
.phone-link { font-weight: 700; white-space: nowrap; color: var(--navy); }
nav { flex-wrap: wrap; }
@media (max-width: 480px) { .hero .actions { display: grid; } }

footer .footer-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; color: #fff; }
footer .footer-name { font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; }
footer .footer-name span { color: #d5b46c; }
footer .footer-tagline { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; line-height: 1.5; }

footer .footer-wordmark .footer-name { color: #fff; }
footer .footer-wordmark .footer-name span { color: #d5b46c; }
footer .footer-wordmark .footer-tagline { color: #fff; letter-spacing: .18em; }
