/* Gatehouse — lean, dependency-free site */
:root {
  --green:#005543;
  --deep:#003c30;
  --ink:#172a26;
  --muted:#53645f;
  --soft:#f5f8f6;
  --line:#e3eae6;
  --max:1120px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  color:var(--ink);
  font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:white
}

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

a {
  color:var(--green)
}

button {
  font:inherit;
  cursor:pointer
}

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

.top-strip {
  background:var(--green);
  color:white
}

.top-inner {
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}

.top-inner p {
  margin:0;
  font-size:.84rem;
  line-height:1.35;
  letter-spacing:.012em
}

.call-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  color:var(--deep);
  border-radius:5px;
  padding:7px 13px;
  font-size:.89rem;
  font-weight:750;
  white-space:nowrap;
  text-decoration:none
}

.call-button svg {
  width:15px;
  height:15px;
  fill:currentColor
}

.call-button:hover {
  background:#e9f3ef
}

.masthead {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:36px;
  min-height:136px
}

.brand {
  display:block;
  width:270px;
  flex:0 0 auto
}

.brand img {
  width:100%;
  height:auto
}

.main-nav {
  display:flex;
  align-items:center;
  gap:clamp(15px,2.7vw,37px)
}

.main-nav a {
  text-decoration:none;
  font-weight:650;
  color:var(--ink);
  font-size:.96rem;
  padding:12px 0;
  border-bottom:2px solid transparent
}

.main-nav a:hover,.main-nav a[aria-current=page] {
  color:var(--green);
  border-color:var(--green)
}

.menu-toggle {
  display:none
}

.hero {
  min-height:clamp(370px,31vw,500px);
  background:#e6e8e7 url('hero-keys.webp') center 48%/cover no-repeat
}

.hero-inner {
  min-height:inherit;
  display:flex;
  align-items:center;
  justify-content:flex-end
}

.hero-content {
  text-align:right;
  width:min(600px,55%);
  padding:38px 0
}

.hero h1 {
  font-size:clamp(2rem,4.2vw,3.8rem);
  line-height:1.12;
  letter-spacing:-.035em;
  color:var(--deep);
  margin:0 0 25px;
  font-weight:790
}

.associations {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px
}

.association {
  width:170px;
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:12px;
  padding:12px;
  box-shadow:0 4px 18px #102c2017
}

.association:nth-child(2) {
  width:115px
}

.association img {
  width:100%;
  height:100%;
  object-fit:contain
}

.section {
  padding-block:72px
}

.section-soft {
  background:var(--soft)
}

.intro-copy {
  max-width:780px;
  margin:auto
}

.eyebrow {
  margin:0 0 8px;
  color:var(--green);
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-size:.76rem
}

h2 {
  font-size:clamp(1.7rem,3vw,2.45rem);
  line-height:1.2;
  letter-spacing:-.025em;
  margin:0 0 20px;
  color:var(--deep)
}

.intro p:not(.eyebrow) {
  color:var(--muted);
  font-size:1.05rem;
  margin:0 0 16px
}

.text-link {
  display:inline-flex;
  gap:9px;
  margin-top:8px;
  font-weight:750;
  text-underline-offset:5px
}

.section-heading {
  text-align:center;
  margin-bottom:30px
}

.section-heading h2 {
  margin:0
}

.section-heading-inline {
  display:flex;
  justify-content:space-between;
  align-items:end;
  text-align:left;
  gap:18px
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}

.feature-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 5px 22px #193d3020;
  transition:transform .2s ease,box-shadow .2s ease
}

.feature-card:hover {
  transform:translateY(-5px);
  box-shadow:0 13px 28px #193d302b
}

.feature-card img {
  width:100%;
  height:210px;
  object-fit:cover
}

.feature-content {
  padding:24px
}

.feature-content h3 {
  font-size:1.1rem;
  line-height:1.35;
  color:var(--deep);
  margin:0 0 10px
}

.feature-content p {
  font-size:.95rem;
  line-height:1.65;
  color:var(--muted);
  margin:0
}

.carousel-controls {
  display:flex;
  gap:9px
}

.carousel-controls button {
  border:1px solid #c9d8d1;
  background:white;
  color:var(--green);
  border-radius:50%;
  width:40px;
  height:40px;
  font-size:1.7rem;
  line-height:1
}

.carousel-controls button:hover {
  background:var(--green);
  color:white
}

.carousel-track {
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
  scroll-padding-inline:2px;
  padding:5px 2px 16px
}

.logo-slide {
  scroll-snap-align:start;
  flex:0 0 210px;
  min-height:115px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  background:white;
  border-radius:10px;
  overflow:hidden
}

.logo-slide img {
  width:100%;
  height:100%;
  object-fit:contain
}

.testimonial-slide {
  scroll-snap-align:start;
  flex:0 0 min(100%,760px);
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:clamp(24px,4vw,46px);
  margin:0;
  box-shadow:0 4px 16px #193d300d
}

.testimonial-slide p {
  font-size:1.04rem;
  line-height:1.8;
  margin:0 0 24px
}

.testimonial-slide footer {
  color:var(--green);
  font-size:.91rem;
  font-weight:650
}

.site-footer {
  background:var(--green);
  color:white
}

.footer-inner {
  min-height:118px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}

.footer-inner p {
  margin:0;
  font-size:.85rem
}

.footer-inner a {
  color:white;
  font-size:.85rem;
  text-underline-offset:4px
}

.interior-placeholder {
  min-height:50vh;
  padding-block:90px
}

.interior-placeholder h1 {
  color:var(--deep)
}

@media(max-width:760px) {
  .container {
  width:min(calc(100% - 32px),var(--max))
}

.top-inner {
  gap:10px;
  min-height:56px
}

.top-inner p {
  font-size:.68rem;
  max-width:65%;
  line-height:1.3
}

.call-button {
  padding:9px 10px;
  font-size:.78rem
}

.call-button svg {
  display:none
}

.masthead {
  min-height:100px;
  position:relative;
  gap:12px
}

.brand {
  width:195px
}

.menu-toggle {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:44px;
  height:44px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  padding:10px
}

.menu-toggle span {
  display:block;
  height:2px;
  background:var(--green);
  width:100%
}

.main-nav {
  display:none;
  position:absolute;
  z-index:5;
  top:100%;
  left:-16px;
  right:-16px;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  background:white;
  box-shadow:0 12px 22px #123d301f;
  padding:8px 16px 16px
}

.main-nav.is-open {
  display:flex
}

.main-nav a {
  padding:11px 8px;
  border-bottom:1px solid var(--line)
}

.hero {
  min-height:390px;
  background-position:41% center
}

.hero-inner {
  align-items:flex-end
}

.hero-content {
  width:100%;
  padding:26px 0 30px
}

.hero h1 {
  font-size:clamp(1.9rem,7vw,2.75rem);
  color:white;
  text-shadow:0 2px 4px #001a15,0 0 14px #001a15,0 0 26px #001a1599
}

.associations {
  gap:9px
}

.association {
  width:135px;
  height:83px;
  background:#ffffffd9;
  backdrop-filter:blur(3px);
  padding:9px
}

.association:nth-child(2) {
  width:96px
}

.section {
  padding-block:48px
}

.feature-grid {
  grid-template-columns:1fr;
  gap:18px
}

.feature-card img {
  height:205px
}

.footer-inner {
  min-height:120px;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:7px
}

.section-heading-inline {
  align-items:center
}

.carousel-controls button {
  width:36px;
  height:36px
}

.logo-slide {
  flex-basis:175px
}


}

@media(max-width:400px) {
  .top-inner p {
  font-size:.61rem
}

.call-button {
  font-size:.7rem;
  padding:7px
}

.brand {
  width:175px
}

.hero {
  background-position:35% center
}


}

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

.feature-card {
  transition:none
}


}

/* v4: interior page layouts and shared accreditation strip */
.call-button {
  background:#C47A44!important;
  color:#102e27!important
}

.call-button svg {
  fill:currentColor
}

.hero .hero-content {
  margin-left:auto;
  text-align:right
}

.page-section {
  padding-block:clamp(2.5rem,5vw,5rem)
}

.content-grid {
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(250px,1fr);
  gap:clamp(1.5rem,3vw,2.5rem);
  align-items:start
}

.prose {
  max-width:75ch;
  line-height:1.75;
  color:#243c36
}

.prose h1 {
  font-size:clamp(1.8rem,3vw,2.6rem);
  line-height:1.2;
  color:#063d31;
  margin:0 0 1.5rem
}

.prose h2 {
  font-size:clamp(1.2rem,2vw,1.6rem);
  color:#064b3b;
  margin:1.6rem 0 .7rem
}

.prose p {
  margin:0 0 1.1rem
}

.prose ul {
  padding-left:1.3rem
}

.prose li {
  margin-bottom:.55rem
}

.prose a {
  color:#075d48;
  text-underline-offset:3px
}

.sidebar-panel {
  background:#f4f8f5;
  border:1px solid #dfeae4;
  border-radius:12px;
  padding:clamp(1.25rem,2.4vw,2rem);
  box-shadow:0 9px 30px rgba(0,45,30,.065);
  line-height:1.65
}

.sidebar-panel h2 {
  font-size:1.3rem;
  color:#064b3b;
  margin:0 0 1rem
}

.sidebar-panel p {
  margin:0 0 1rem
}

.team-panel ul {
  list-style:none;
  padding:0;
  margin:0
}

.team-panel li {
  padding:.75rem 0;
  border-bottom:1px solid #d9e7df
}

.team-panel li:last-child {
  border-bottom:0
}

.full-width-panel {
  max-width:none;
  margin-top:clamp(2rem,4vw,3.5rem);
  padding:clamp(1.5rem,3vw,2.5rem);
  background:#f8faf8;
  border-radius:12px;
  border:1px solid #e7eeea
}

.full-copy {
  max-width:100%
}

.side-cta {
  display:inline-block;
  background:#075844;
  color:#fff!important;
  text-decoration:none;
  padding:.65rem 1rem;
  border-radius:6px;
  font-weight:600
}

.accreditation-strip {
  background:#fff;
  text-align:center;
  padding:clamp(2.5rem,5vw,4.5rem) 1.25rem;
  border-top:1px solid #edf0ed
}

.accreditation-strip h2 {
  font-size:clamp(.95rem,1.5vw,1.15rem);
  letter-spacing:.055em;
  color:#4a605a;
  font-weight:650;
  margin:0 0 1.7rem
}

.accreditation-logos {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(2rem,5vw,5rem);
  flex-wrap:wrap
}

.accreditation-logos img {
  object-fit:contain;
  max-width:40%;
  height:auto;
  max-height:135px
}

@media(max-width:720px) {
  .content-grid {
  grid-template-columns:1fr
}

.prose {
  max-width:none
}

.accreditation-logos img {
  max-width:42%;
  max-height:100px
}

.page-section {
  padding-block:2rem
}


}

/* Version 5 refinements */
.top-inner {
  padding-block: 10px;
}

.call-button {
  background-color: #C47A44 !important;
  color: #102e27 !important;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.call-button:hover {
  background-color: #D58C55 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.call-button:focus-visible {
  background-color: #D58C55 !important;
  outline: 2px solid #D58C55;
  outline-offset: 3px;
}

.site-header::after {
  content: "";
  display: block;
  width: min(calc(100% - 48px), var(--max));
  height: 1px;
  margin-inline: auto;
  background: #D8E2DE;
}

.interior-banner {
  width: min(calc(100% - 48px), var(--max));
  margin: 32px auto 0;
}

.interior-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1140 / 420;
  object-fit: cover;
  border-radius: 10px;
}

.closing-copy {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.service-accordion {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.service-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  color: var(--deep);
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion summary::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green);
}

.service-accordion[open] summary::after {
  content: "−";
}

.service-accordion summary:hover,
.service-accordion summary:focus-visible {
  background: var(--soft);
}

.accordion-content {
  padding: 4px 22px 22px;
  border-top: 1px solid var(--line);
}

.accordion-content p {
  margin: 15px 0 0;
}

.client-testimonials {
  margin-top: 44px;
}

.client-testimonials h2 {
  margin-bottom: 24px;
}

.quote-card {
  position: relative;
  margin: 0 0 22px;
  padding: 34px clamp(24px, 4vw, 44px);
  background: #f5f8f6;
  border: 1px solid #e1e9e4;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0, 50, 30, .07);
}

.quote-card::before {
  content: "“";
  display: block;
  height: 38px;
  color: #86a99a;
  font: 700 4.2rem/1 Georgia, serif;
}

.quote-card p {
  margin: 8px 0 20px;
  line-height: 1.8;
}

.quote-card p::after {
  content: " ”";
  color: #86a99a;
  font: 700 1.5rem Georgia, serif;
}

.quote-card footer {
  color: var(--deep);
  font-size: .94rem;
}

.quote-card footer strong,
.quote-card footer span {
  display: block;
}

.quote-card footer span {
  color: var(--muted);
}

@media (max-width: 760px) {
  .top-inner {
  padding-block: 7px;
}

.interior-banner {
  width: min(calc(100% - 32px), var(--max));
  margin-top: 18px;
}

.site-header::after {
  width: min(calc(100% - 32px), var(--max));
}


}

@media (prefers-reduced-motion: reduce) {
  .call-button {
  transition: none;
}


}

