:root {
  --ink: #12221a;
  --muted: #65726a;
  --paper: #f8faf7;
  --panel: #ffffff;
  --line: #dce4dc;
  --green: #08723b;
  --blue: #1668a8;
  --yellow: #f4c90a;
  --orange: #e77c14;
  --shadow: 0 20px 50px rgba(18, 34, 26, 0.14);
  --font-body: "Bahnschrift", "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --font-display: "Bahnschrift SemiCondensed", "Bahnschrift", "Aptos Display", "Segoe UI Variable Display", "Arial Nova", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-scrolled="true"],
.site-header.open {
  background: rgba(248, 250, 247, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(18, 34, 26, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand small {
  font-size: 12px;
  opacity: 0.82;
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px clamp(18px, 4vw, 56px) 34px;
}

.hero-bg,
.hero-shade,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.05);
}

.hero-shade,
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 12, 18, 0.88), rgba(5, 12, 18, 0.62) 43%, rgba(5, 12, 18, 0.16) 75%),
    linear-gradient(0deg, rgba(5, 12, 18, 0.8), rgba(5, 12, 18, 0) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
  padding: clamp(22px, 4vw, 46px) clamp(20px, 4vw, 42px) clamp(92px, 10vw, 126px);
  border-left: 4px solid rgba(255, 209, 35, 0.9);
  background: linear-gradient(90deg, rgba(5, 12, 18, 0.5), rgba(5, 12, 18, 0));
}

.eyebrow {
  font-family: var(--font-display);
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: var(--yellow);
}

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

h1,
h2,
h3,
.button,
.contact-email,
.local-link-card strong {
  font-family: var(--font-display);
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 900;
  max-width: 940px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 850;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 850;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(980px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel div {
  padding: 20px;
  border-left: 1px solid var(--line);
}

.hero-panel div:first-child {
  border-left: 5px solid var(--orange);
}

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

.hero-panel strong {
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-panel span {
  color: var(--muted);
  line-height: 1.4;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 44px clamp(18px, 4vw, 56px);
  background: var(--line);
}

.intro-band div {
  padding: 24px;
  background: #fff;
}

.intro-band span,
.intro-band strong {
  display: block;
}

.intro-band span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intro-band strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.two-col,
.split,
.booking-layout,
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.two-col p,
.section-heading p,
.booking-layout p,
.contact-inner p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  align-items: end;
}

.section-actions,
.intro-copy,
.contact-actions {
  display: grid;
  gap: 18px;
  align-content: start;
}

.section-heading.split .section-actions {
  max-width: 440px;
  justify-self: end;
}

.section-actions .button,
.intro-copy .button {
  justify-self: start;
}

.contact-actions {
  justify-self: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-grid article {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 280px;
  padding: 28px;
  background: #fff;
  overflow: hidden;
}

.service-grid span {
  display: inline-block;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-graphic {
  width: 78px;
  height: 62px;
  position: relative;
  margin-bottom: 22px;
  color: var(--green);
}

.service-graphic::before,
.service-graphic::after,
.service-graphic i {
  content: "";
  position: absolute;
  display: block;
}

.service-graphic.planning::before {
  inset: 16px 8px 4px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.service-graphic.planning::after {
  left: 18px;
  top: 4px;
  width: 36px;
  height: 26px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: skewX(-18deg);
}

.service-graphic.planning i {
  left: 24px;
  right: 20px;
  bottom: 14px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -10px 0 currentColor;
  opacity: 0.55;
}

.service-graphic.structure::before {
  inset: 8px 12px 4px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.service-graphic.structure::after {
  left: 12px;
  right: 12px;
  top: 12px;
  height: 4px;
  background: currentColor;
  box-shadow: 0 18px 0 currentColor, 0 36px 0 currentColor;
}

.service-graphic.structure i {
  inset: 14px 24px 8px;
  border-left: 3px solid var(--orange);
  transform: skewX(-24deg);
}

.service-graphic.survey::before {
  left: 8px;
  bottom: 8px;
  width: 46px;
  height: 34px;
  border: 2px solid currentColor;
  transform: rotate(-8deg);
}

.service-graphic.survey::after {
  right: 8px;
  top: 7px;
  width: 24px;
  height: 24px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.service-graphic.survey i {
  right: 8px;
  top: 32px;
  width: 22px;
  height: 3px;
  background: var(--blue);
  transform: rotate(42deg);
}

.service-graphic.cad::before {
  inset: 8px 5px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.service-graphic.cad::after {
  left: 16px;
  right: 14px;
  top: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 12px 0 currentColor;
  opacity: 0.55;
}

.service-graphic.cad i {
  right: 12px;
  bottom: 10px;
  width: 24px;
  height: 24px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
}

.service-graphic.compliance::before {
  left: 14px;
  top: 6px;
  width: 34px;
  height: 46px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.service-graphic.compliance::after {
  left: 24px;
  top: 23px;
  width: 20px;
  height: 10px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.service-graphic.compliance i {
  right: 10px;
  top: 15px;
  width: 14px;
  height: 32px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 18%, 100% 100%, 0 100%, 0 18%);
}

.service-graphic.management::before {
  left: 8px;
  top: 10px;
  width: 44px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.service-graphic.management::after {
  right: 6px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.service-graphic.management i {
  right: 18px;
  bottom: 20px;
  width: 3px;
  height: 12px;
  background: var(--blue);
  box-shadow: 7px 7px 0 var(--blue);
  transform: rotate(45deg);
}

.service-grid p,
.project-card span,
.person span,
.team-card span {
  color: var(--muted);
  line-height: 1.58;
}

.work-section {
  background: #edf4ef;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 16px 42px rgba(18, 34, 26, 0.12);
}

.project-card.large {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease;
}

.project-card:hover img {
  transform: scale(1.025);
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(0deg, rgba(5, 18, 14, 0.94), rgba(5, 18, 14, 0));
}

.project-card p {
  margin-bottom: 8px;
  color: var(--yellow);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card span {
  color: rgba(255, 255, 255, 0.78);
}

.booking-form,
.booking-card,
.consult-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.team-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.person {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.person img,
.initials {
  width: 140px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.initials {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--orange));
  font-size: 42px;
  font-weight: 900;
}

.person p {
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.team-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-card.lead-person {
  grid-column: span 1;
}

.team-card img {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.team-card p {
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.team-card span {
  display: block;
}

.booking-section {
  background: #0e2118;
  color: #fff;
}

.booking-section .eyebrow {
  color: var(--yellow);
}

.booking-layout p,
.check-list {
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--yellow);
}

.booking-form,
.booking-card,
.consult-form {
  grid-template-columns: repeat(2, 1fr);
  color: var(--ink);
}

.booking-card {
  grid-template-columns: 1fr;
}

.booking-form .full,
.booking-card .full,
.consult-form .full {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

.booking-card p {
  margin: 0;
}

.check-list.compact {
  margin-top: 0;
  color: var(--muted);
}

.booking-calendar {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calendar-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.calendar-head span,
.calendar-head small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.calendar-head strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 20px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.slot-day {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.slot-day-title {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.slot-button {
  min-height: 44px;
  padding: 0 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.slot-button:hover:not(:disabled) {
  border-color: var(--green);
  transform: translateY(-1px);
}

.slot-button.selected {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.slot-button.booked,
.slot-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  text-decoration: line-through;
}

.booking-form .button.primary,
.booking-card .button.primary,
.consult-form .button.primary {
  border: 0;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-strip {
  padding-top: 58px;
  padding-bottom: 58px;
  background: #fff;
}

.contact-inner {
  align-items: center;
}

.contact-email {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 8px;
  padding: 14px 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  word-break: break-word;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #08150f;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: #fff;
}

.testimonials-section {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
}

.testimonial-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.local-pages {
  background: #edf4ef;
}

.local-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.local-link-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 34, 26, 0.08);
}

.local-link-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.local-link-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.local-link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-page .site-header {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(248, 250, 247, 0.96);
  box-shadow: 0 10px 30px rgba(18, 34, 26, 0.08);
}

.service-page .site-nav a {
  color: inherit;
}

.service-hero {
  padding: 120px clamp(18px, 4vw, 56px) 64px;
  background: #0e2118;
  color: #fff;
}

.service-hero .section-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.service-hero .eyebrow {
  color: var(--yellow);
}

.service-hero p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.service-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-detail-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-detail-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-detail-card p {
  color: var(--muted);
  line-height: 1.6;
}

.service-cta {
  background: #edf4ef;
}

.service-cta .section-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 80px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .menu-toggle {
    display: block;
  }

  .two-col,
  .split,
  .booking-layout,
  .contact-inner,
  .team-grid,
  .intro-band,
  .testimonial-grid,
  .local-link-grid,
  .service-detail-grid,
  .service-hero .section-inner,
  .service-cta .section-inner {
    grid-template-columns: 1fr;
  }

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

  .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-email {
    justify-self: start;
  }

  .section-heading.split .section-actions,
  .contact-actions {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 92px 16px 22px;
  }

  .hero-content {
    margin-left: 0;
    padding: 18px 0 30px 16px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-panel,
  .service-grid,
  .work-grid,
  .booking-form,
  .consult-form,
  .intro-band,
  .testimonial-grid,
  .local-link-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-left: 5px solid transparent;
    border-top: 1px solid var(--line);
  }

  .hero-panel div:first-child {
    border-top: 0;
    border-left-color: var(--orange);
  }

  .calendar-head {
    display: grid;
    align-items: start;
  }

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

  .slot-day {
    grid-template-columns: 84px repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .slot-button {
    min-height: 40px;
  }

  .project-card.large {
    grid-column: span 1;
  }

  .project-card,
  .project-card img {
    min-height: 360px;
  }

  .person,
  .team-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
