:root {
  --navy: #23566a;
  --navy-dark: #163d4d;
  --navy-light: #5d91a3;
  --green: #71947f;
  --green-dark: #547865;
  --clay: #d46f4d;
  --clay-dark: #a94f34;
  --cream: #fbf8ef;
  --sand: #f0e6d2;
  --sky: #dcecf0;
  --sky-light: #edf6f7;
  --yellow: #f4d681;
  --white: #ffffff;
  --ink: #18303a;
  --muted: #596b72;
  --line: #d9dedb;
  --shadow: 0 18px 48px rgba(13, 43, 56, 0.12);
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.13;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 5.1vw, 4.45rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy-dark);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 82px;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.main-nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--clay-dark);
}

.header-phone {
  display: block;
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  text-decoration: none;
}

.header-phone span {
  display: block;
  margin-bottom: 3px;
  color: var(--clay-dark);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero {
  overflow: hidden;
  padding: 94px 0 104px;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  align-items: center;
  gap: 80px;
}

.hero .eyebrow {
  color: #f2b9a4;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 29px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--clay);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--clay-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 23px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.hero-details span {
  position: relative;
  padding-left: 15px;
}

.hero-details span::before {
  position: absolute;
  left: 0;
  color: #f2b9a4;
  content: "\2022";
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-contact a {
  color: var(--white);
  text-decoration: none;
}

.hero-contact span,
.hero-contact strong {
  display: block;
}

.hero-contact span {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-contact strong {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.portrait-frame {
 position: relative;
  width: min(100%, 405px);
  height: 500px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 0;
  background: #d5d5d5;
  box-shadow: 16px 16px 0 rgba(255, 255, 255, 0.12);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 61, 77, 0.16), transparent 38%);
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.services-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.section-heading > p {
  color: var(--muted);
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading.centered > p:last-child {
  max-width: 680px;
  margin-inline: auto;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.primary-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-card.featured-card {
  box-shadow: inset 0 5px 0 var(--clay);
}

.service-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 30px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-icon img {
  width: 52px;
  height: 52px;
  display: block;
}

.service-card > p {
  color: var(--muted);
}

.service-card ul {
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.91rem;
}

.service-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "\2713";
  font-weight: 700;
}

.service-card > a {
  margin-top: auto;
  color: var(--clay-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.common-section {
  background: var(--white);
}

.common-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
  align-items: start;
  gap: 80px;
}

.common-grid > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.common-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.common-list div {
  min-height: 96px;
  padding: 23px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.common-list .wide {
  grid-column: 1 / -1;
}

.how-section {
  background: var(--sky);
  color: var(--ink);
}

.how-section .eyebrow,
.area-section .eyebrow {
  color: var(--clay-dark);
}

.how-section .section-heading > p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-width: 0;
  padding: 24px;
  border-top: 1px solid rgba(35, 86, 106, 0.24);
  border-right: 1px solid rgba(35, 86, 106, 0.18);
}

.steps li:first-child {
  border-left: 1px solid rgba(35, 86, 106, 0.18);
}

.steps span {
  display: block;
  margin-bottom: 43px;
  color: var(--clay-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.steps h3 {
  font-size: 1.05rem;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.secondary-section {
  background: var(--cream);
}

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.secondary-grid article {
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.secondary-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.area-section {
  background: #e5efe7;
  color: var(--ink);
}

.area-grid,
.checklist-grid,
.boundaries-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  align-items: start;
  gap: 80px;
}

.area-lead {
  font-size: 1.15rem;
  font-weight: 700;
}

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

.area-card {
  padding: 31px;
  border: 1px solid rgba(84, 120, 101, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
}

.area-card ul {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.area-card li {
  padding: 10px 0;
  border-top: 1px solid rgba(84, 120, 101, 0.18);
}

.area-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checklist-grid > div > p:last-child,
.boundaries-grid > div > p:last-child,
.contact-grid > div > p:not(.eyebrow) {
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.checklist li {
  position: relative;
  min-height: 86px;
  padding: 20px 17px 18px 43px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  position: absolute;
  top: 20px;
  left: 18px;
  color: var(--green);
  content: "\2713";
  font-weight: 700;
}

.boundaries-section {
  background: #f1f3f1;
}

.boundary-list {
  padding-left: 33px;
  border-left: 4px solid var(--clay);
}

.boundary-list > p:first-child {
  font-weight: 700;
}

.boundary-list ul {
  margin: 18px 0 23px;
  padding-left: 20px;
}

.boundary-list li {
  margin-bottom: 7px;
}

.boundary-list > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  background: var(--sand);
}

.privacy-note {
  margin-top: 25px !important;
  padding: 15px 18px;
  border: 1px solid rgba(24, 48, 58, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.contact-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.contact-panel a {
  display: block;
  padding: 24px 29px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-panel span,
.contact-panel strong {
  display: block;
}

.contact-panel span {
  margin-bottom: 3px;
  color: var(--clay-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-panel strong {
  overflow-wrap: anywhere;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.contact-panel > p {
  margin: 0;
  padding: 19px 29px;
  color: var(--green-dark);
  font-weight: 700;
}

.site-footer {
  padding: 45px 0 22px;
  background: #0a2531;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.footer-row {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr auto;
  align-items: center;
  gap: 45px;
}

.footer-row > div strong,
.footer-row > div span {
  display: block;
}

.footer-row strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.footer-row p {
  margin: 0;
}

.footer-row > a {
  color: var(--white);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
  color: var(--white);
}

.header-row > *,
.hero-grid > *,
.section-heading > *,
.common-grid > *,
.area-grid > *,
.checklist-grid > *,
.boundaries-grid > *,
.contact-grid > * {
  min-width: 0;
}

@media (max-width: 960px) {
  .header-row {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-phone {
    justify-self: end;
  }

  .hero-grid,
  .section-heading,
  .common-grid,
  .area-grid,
  .checklist-grid,
  .boundaries-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 43px;
  }

  .hero-visual {
    min-height: auto;
    max-width: 650px;
    align-items: flex-start;
  }

  .portrait-frame {
    width: min(100%, 405px);
  }

  .primary-card-grid,
  .secondary-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

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

  .steps li {
    border-left: 1px solid rgba(35, 86, 106, 0.18);
    border-bottom: 1px solid rgba(35, 86, 106, 0.18);
  }

  .steps li:last-child {
    grid-column: 1 / -1;
  }

  .steps span {
    margin-bottom: 24px;
  }

  .boundary-list {
    padding-top: 27px;
    padding-left: 0;
    border-top: 4px solid var(--clay);
    border-left: 0;
  }

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

  .footer-row > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 65px 0;
  }

  .header-row {
    min-height: 72px;
    gap: 14px;
  }

  .brand-copy small,
  .header-phone span {
    display: none;
  }

  .brand-copy strong {
    font-size: 1.28rem;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .header-phone {
    font-size: 0.86rem;
  }

  .hero {
    padding: 69px 0;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-card,
  .area-card {
    padding: 24px;
  }

  .portrait-frame {
    width: 100%;
    height: 390px;
  }

  .common-list,
  .checklist {
    grid-template-columns: 1fr;
  }

  .common-list .wide {
    grid-column: auto;
  }

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

  .steps li,
  .steps li:last-child {
    grid-column: auto;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-row > a {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
/* Mobile hero portrait adjustment for taller image */
@media (max-width: 640px) {
  .hero-visual {
    justify-content: center;
  }

  .portrait-frame {
    width: min(100%, 360px);
    height: auto;
    max-height: none;
    overflow: visible;
    border-width: 6px;
    box-shadow: 10px 10px 0 rgba(255, 255, 255, 0.12);
  }

  .portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center top;
  }
}