:root {
  --green: #2e9b82;
  --green-deep: #134036;
  --dark: #64a796;
  --logo: #539e8a;
  --ink: #10322b;
  --muted: #3d6f64;
  --cream: #e7f4f0;
  --line: #cfe6e0;
  --white: #ffffff;
  --max: 1120px;
  --header: 78px;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader img {
  width: min(400px, 86vw);
  height: auto;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: #0c2823;
  color: var(--white);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--logo);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: rgba(12, 40, 35, 0.18);
}

.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  height: 58px;
  width: auto;
}

.links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.links a:hover {
  color: rgba(255, 255, 255, 0.78);
}

.links .btn:hover,
.links.is-open .btn,
.links.is-open .btn:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--green-deep);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(12, 40, 35, 0.16);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: #1f7664;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12, 40, 35, 0.2);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(12, 40, 35, 0.16);
}

.btn.outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.btn.outline:hover,
.btn.outline:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  position: relative;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle > span:first-child {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
}

.nav-toggle > span:first-child::before,
.nav-toggle > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--white);
}

.nav-toggle > span:first-child::before {
  top: -6px;
}

.nav-toggle > span:first-child::after {
  top: 6px;
}

.nav-toggle .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  background: transparent;
}

.hero {
  background: var(--white);
  color: #0c2823;
  padding: 92px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-deep);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  font-weight: 700;
}

h1 span,
.hero .eyebrow {
  color: #0c2823;
}

.hero p,
.section-head p,
.quote-copy p,
.step p,
.card p {
  color: var(--muted);
}

.hero p {
  color: #10322b;
  font-size: 1.15rem;
  max-width: 38rem;
  margin: 18px 0 0;
}

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

.hero .btn.outline {
  color: #0c2823;
  box-shadow: inset 0 0 0 2px #0c2823;
}

.hero .btn.outline:hover,
.hero .btn.outline:active {
  background: rgba(12, 40, 35, 0.08);
  color: #0c2823;
  transform: none;
  box-shadow: inset 0 0 0 2px #0c2823;
}

.hero-card {
  background: #f3faf8;
  border: 1px solid #cfe6e0;
  border-radius: 18px;
  padding: 28px;
}

.hero-card h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(12, 40, 35, 0.16);
}

.hero-card li::before {
  content: "✓";
  color: #0c2823;
  font-weight: 800;
  margin-right: 10px;
}

section {
  padding: 78px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 32px;
}

.section-head h2,
.quote-copy h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 8px;
}

.services,
.gallery,
.contact {
  background: var(--logo);
  color: var(--white);
}

.services .section-head p,
.services .eyebrow,
.gallery .section-head p,
.gallery .eyebrow,
.contact .eyebrow,
.contact p {
  color: var(--white);
}

.card,
.card h3,
.card p {
  color: var(--ink);
}

.cards,
.steps {
  display: grid;
  gap: 18px;
}

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

.service-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.service-group {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
}

.service-group h3 {
  font-size: 1.45rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.service-group p {
  margin: 0;
  color: var(--muted);
}

.service-group ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.service-group li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #e3f2ee;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  color: var(--green-deep);
  font-weight: 800;
}

.icon-list svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--green-deep);
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--green-deep);
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 1px 2px rgba(12, 40, 35, 0.16);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-link:hover {
  background: #1f7664;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12, 40, 35, 0.2);
}

.service-link:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(12, 40, 35, 0.16);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.card svg {
  width: 36px;
  height: 36px;
  color: var(--green-deep);
}

.card h3,
.step h3 {
  font-size: 1.25rem;
  margin: 14px 0 8px;
}

.card p,
.step p {
  margin: 0;
}

.step {
  background: #f4faf8;
  border: 1px solid #cfe6e0;
  border-radius: 18px;
  padding: 16px 16px 22px;
}

.step-art {
  position: relative;
  background: #e7f4f0;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}

.step-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.step strong {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #134036;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0;
  line-height: 1;
}

.step h3 {
  margin-top: 2px;
}

.gallery {
  color: var(--white);
}

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 16px;
}

.project {
  flex: 0 0 240px;
  scroll-snap-align: start;
  margin: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(12, 40, 35, 0.22);
  border-radius: 16px;
  overflow: hidden;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

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

.project figcaption {
  padding: 12px 14px 14px;
  font-weight: 700;
}

.carousel-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.carousel-prev,
.carousel-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.28;
  cursor: default;
}

#lightbox {
  width: min(920px, 94vw);
  border: 0;
  padding: 0;
  background: transparent;
}

#lightbox::backdrop {
  background: rgba(8, 12, 10, 0.84);
}

#lightbox img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

#lightbox button {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  padding: 8px 12px;
  font-weight: 700;
}

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

.quote-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-line {
  margin: 16px 0;
  font-weight: 700;
}

.contact-line a:hover {
  color: var(--green-deep);
}

.form {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c5e0da;
  border-radius: 8px;
  padding: 12px 13px;
  background: #f4faf8;
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7aa399;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.send-via {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}

.send-via legend {
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.send-via .choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.send-via label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid #c5e0da;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f4faf8;
  font-weight: 700;
  cursor: pointer;
}

.send-via label:has(input:checked) {
  border-color: var(--green-deep);
  background: #e7f4f0;
  box-shadow: inset 0 0 0 1px var(--green-deep);
}

.send-via input {
  accent-color: var(--green-deep);
}

.form .btn {
  width: 100%;
  margin-top: 4px;
}

.note,
.form-note {
  font-size: 0.82rem;
  color: #4d756c;
  line-height: 1.5;
}

.form-note {
  min-height: 1.2em;
  margin: 0 0 8px;
  color: #8d2d2d;
  font-weight: 600;
}

.contact {
  text-align: center;
}

.contact .actions {
  justify-content: center;
}

.contact .btn:not(.dark) {
  background: var(--white);
  color: #0c2823;
}

.contact .btn:not(.dark):hover,
.contact .btn:not(.dark):active {
  background: #f3faf8;
  color: #0c2823;
}

footer {
  background: var(--white);
  color: #10322b;
  padding: 32px 0;
}

footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: 28px 36px;
}

footer strong,
footer a {
  color: #0c2823;
}

footer p {
  margin: 6px 0 0;
}

.socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.socials a:hover {
  color: #08201c;
}

.socials svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.mobile-call {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .links {
    display: none;
    position: absolute;
    top: calc(var(--header) - 6px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(16, 23, 19, 0.12);
  }

  .links.is-open {
    display: flex;
    color: #0c2823;
  }

  .links.is-open a:hover {
    color: #08201c;
  }

  .links.is-open .btn,
  .links.is-open .btn:hover {
    color: var(--white);
  }

  .hero-grid,
  .quote-layout,
  .cards,
  .service-groups,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0;
  }
}

@media (max-width: 720px) {
  footer .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
  }

  footer .wrap > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  footer {
    padding-bottom: 88px;
  }

  .project {
    flex-basis: 220px;
  }

  section {
    padding: 56px 0;
  }

  .mobile-call {
    display: inline-flex;
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 12;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  }

  .form {
    padding: 18px;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .carousel-viewport {
    scroll-behavior: auto;
  }

  .btn,
  .service-link {
    transition: none;
  }

  .btn:hover,
  .btn:active,
  .service-link:hover,
  .service-link:active {
    transform: none;
  }
}
