:root {
  --ink: #152433;
  --muted: #637076;
  --line: #d7dee0;
  --paper: #f7f9f5;
  --white: #ffffff;
  --green: #83b93f;
  --green-dark: #4c8d2e;
  --gold: #d7ad3b;
  --gold-dark: #b8871f;
  --gray: #75797b;
  --blue: #075f9f;
  --blue-dark: #04416f;
  --shadow: 0 24px 70px rgba(7, 65, 111, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header[data-elevated="true"],
.site-header.open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 36px rgba(7, 65, 111, 0.13);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 92px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 65, 111, 0.16);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  font-size: 0.76rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header[data-elevated="true"] .site-nav a:hover,
.site-header.open .site-nav a:hover {
  background: #edf5ea;
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 136px clamp(18px, 5vw, 72px) 48px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    image-set(
      url("/assets/work-exterior-01.jpg") 1x
    ) center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 65, 111, 0.94) 0%, rgba(4, 65, 111, 0.72) 44%, rgba(4, 65, 111, 0.24) 100%),
    linear-gradient(0deg, rgba(21, 36, 51, 0.66), rgba(131, 185, 63, 0.12) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 820px;
}

.hero-logo {
  width: min(620px, 88vw);
  max-height: 220px;
  margin-bottom: 28px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(4, 65, 111, 0.28);
}

.button.secondary {
  color: var(--white);
  background: rgba(215, 173, 59, 0.26);
  outline: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 100%);
  margin-top: 72px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  min-width: 0;
  padding: 20px;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
}

.muted {
  background: #eef5ec;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.intro > p,
.proof-band > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

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

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

.service-card {
  min-height: 250px;
  border: 1px solid rgba(7, 95, 159, 0.13);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(7, 65, 111, 0.07);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

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

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.service-card li::marker {
  color: var(--gold);
}

.plans {
  background: var(--white);
}

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

.plan-card {
  overflow: hidden;
  border: 1px solid rgba(7, 95, 159, 0.13);
  border-radius: 8px;
  background: #f7f9f5;
  box-shadow: 0 18px 50px rgba(7, 65, 111, 0.08);
}

.plan-preview {
  display: grid;
  min-height: 170px;
  align-content: center;
  gap: 12px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(4, 65, 111, 0.92), rgba(7, 95, 159, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.16) 18px 19px);
}

.plan-preview span {
  width: max-content;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 6px 10px;
  color: #f4c95f;
  font-size: 0.76rem;
  font-weight: 900;
}

.plan-preview strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.plan-copy {
  padding: 18px;
}

.plan-copy > span {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-copy h3 {
  margin: 8px 0 16px;
}

.plan-button {
  width: 100%;
  min-height: 42px;
  color: var(--white);
  background: var(--blue);
}

.works {
  background: var(--white);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe6e0;
  box-shadow: 0 18px 50px rgba(7, 65, 111, 0.1);
}

.work-card:nth-child(1),
.work-card:nth-child(6) {
  grid-column: span 2;
}

.work-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(4, 32, 52, 0.86), rgba(4, 32, 52, 0));
}

.work-card span {
  display: block;
  margin-bottom: 6px;
  color: #f4c95f;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.approach {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: var(--white);
}

.approach-image {
  min-height: 560px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(4, 65, 111, 0.18), rgba(131, 185, 63, 0.12)),
    url("/assets/work-living-01.jpg") center / cover;
  box-shadow: var(--shadow);
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 72px;
  padding: 20px 20px 20px 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  color: var(--muted);
  line-height: 1.5;
}

.process-list li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--gold-dark);
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-weight: 900;
}

.sectors {
  background: #f8faf7;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sector-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 800;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 32px;
  align-items: center;
  padding: 64px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(110deg, var(--blue-dark), var(--blue) 58%, var(--green-dark));
}

.proof-band .eyebrow {
  color: #f4c95f;
}

.proof-band p {
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  background: var(--white);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 32px);
  background: #f7f9f5;
  box-shadow: 0 22px 60px rgba(7, 65, 111, 0.1);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(7, 95, 159, 0.14);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.form-status.error {
  color: #a33c2f;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #0a2236;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-page {
  min-height: 100vh;
  background: #eef5ec;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 70px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
  color: var(--white);
  background: linear-gradient(110deg, var(--blue-dark), var(--blue) 60%, var(--green-dark));
  box-shadow: var(--shadow);
}

.admin-hero img {
  width: 100%;
  border-radius: 8px;
  background: var(--white);
}

.admin-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.admin-hero p:last-child {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.admin-panel {
  margin-top: 18px;
  border: 1px solid rgba(7, 95, 159, 0.13);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 30px);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(7, 65, 111, 0.08);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-form .full {
  grid-column: 1 / -1;
}

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

.admin-projects article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f7f9f5;
}

.admin-projects span {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-projects small {
  color: var(--muted);
}

.admin-projects a {
  color: var(--blue);
  font-weight: 900;
}

.admin-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-project-actions button {
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--white);
  background: #a33c2f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

code {
  border-radius: 6px;
  padding: 2px 6px;
  background: #eef5ec;
  color: var(--blue-dark);
}

@media (max-width: 980px) {
  .services-grid,
  .intro,
  .approach,
  .proof-band,
  .contact,
  .admin-hero {
    grid-template-columns: 1fr;
  }

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

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

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

  .admin-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card:nth-child(1),
  .work-card:nth-child(6) {
    grid-column: span 1;
  }

  .approach-image {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    color: var(--ink);
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-panel,
  .services-grid,
  .plans-grid,
  .works-grid,
  .contact-form,
  .admin-form,
  .admin-projects {
    grid-template-columns: 1fr;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .admin-form .full {
    grid-column: auto;
  }

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