:root {
  --navy: #082e62;
  --blue: #0d4690;
  --green: #8cc56a;
  --green-dark: #2f5a1f;
  --ink: #0b1d30;
  --sand: #f4f1ea;
  --muted: #4d5b6a;
  --white: #fff;
  --focus: #1d6bdc;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  color: var(--ink);
  background: var(--sand);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

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

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: var(--green);
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 8px 5vw;
  background: #fffffff7;
  border-bottom: 1px solid #dfe5eb;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: min(210px, 52vw);
  height: 72px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  justify-self: end;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  font-weight: 700;
}

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

.header-cta {
  border: 1px solid var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  justify-self: end;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.hero {
  color: var(--white);
  background: var(--navy);
  min-height: calc(100vh - 88px);
  padding: 8vw 7vw 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 46, 98, 0.96) 0%, rgba(8, 46, 98, 0.82) 44%, rgba(8, 46, 98, 0.68) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow,
.label {
  color: var(--green-dark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow span {
  width: 36px;
  height: 2px;
  background: var(--green);
}

.hero h1,
.page-hero h1,
section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
}

.hero h1 em {
  color: var(--green);
  font-style: italic;
}

.hero-copy,
.lead {
  color: #d7e2ef;
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 220px;
  padding: 16px 18px;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

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

.primary {
  color: var(--navy);
  background: var(--green);
}

.body-copy .button.primary {
  color: var(--white);
  background: var(--navy);
}

.light-button {
  color: var(--navy);
  background: var(--white);
}

.whatsapp-button {
  color: var(--white);
  background: #1f7a46;
}

.phone-button {
  color: var(--white);
  background: var(--navy);
  border: 1px solid #ffffff55;
}

.text-link {
  border-bottom: 1px solid #ffffff73;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.hero-bottom {
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #d5e0ec;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 96px 8vw;
}

.section h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  gap: 8vw;
  align-items: end;
}

.muted {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.hero .eyebrow,
.services .label,
.contact .label,
.page-hero .label {
  color: #b8e08a;
}

.services .muted,
.contact .muted {
  color: #d5e0ea;
}

.statement {
  background: var(--sand);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8vw;
  margin-top: 48px;
}

.statement-grid > p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.45;
  color: #314050;
}

.principles div {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid #cdd4d8;
}

.principles strong {
  color: var(--green-dark);
}

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

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

.service-grid article,
.card-grid article {
  background: #102234;
  min-height: 220px;
  padding: 24px;
  border: 1px solid #3b4b5c;
}

.service-grid a,
.card-grid a {
  display: block;
  height: 100%;
}

.service-grid h3,
.card-grid h3,
.card-grid h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  margin: 36px 0 12px;
  line-height: 1.2;
}

.service-grid p,
.card-grid p {
  color: #c5d2de;
  margin: 0;
}

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

.before-after-section {
  background: var(--sand);
  text-align: center;
}

.before-after-heading {
  max-width: 680px;
  margin: 0 auto 32px;
}

.before-after-heading h2 {
  margin: 8px 0 12px;
}

.before-after {
  --compare-position: 50%;
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  background: #d8dde0;
  border: 1px solid #b7c0c7;
  touch-action: pan-y;
  user-select: none;
}

.before-after-picture,
.before-after-picture img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.before-after-picture img {
  object-fit: cover;
  pointer-events: none;
}

.before-after-after {
  clip-path: inset(0 0 0 var(--compare-position));
}

.before-after-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 18%);
  transform: translateX(-50%);
}

.before-after-handle {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: var(--compare-position);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 3px 14px rgb(0 0 0 / 25%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 24px;
  line-height: 1;
}

.before-after-control {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after-control:focus-visible + .before-after-handle {
  outline: 4px solid #fff;
  box-shadow: 0 0 0 7px var(--blue);
}

.before-after-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  padding: 7px 11px;
  color: #fff;
  background: rgb(8 29 48 / 82%);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}

.before-after-label-before { left: 18px; }
.before-after-label-after { right: 18px; }

@media (max-width: 900px) {
  .before-after { width: min(100%, 620px); }
  .before-after-handle { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .before-after-after,
  .before-after-divider,
  .before-after-handle { transition: none; }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.project-card {
  background: var(--sand);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card div {
  padding: 20px 22px 26px;
}

.project-card h2,
.project-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}

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

.process-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid #ced5da;
}

.process-list h3 {
  margin: 0 0 6px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.contact {
  color: var(--white);
  background: var(--blue);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6vw;
  align-items: start;
}

.contact .lead,
.contact p {
  color: #d8e4f0;
}

.hours {
  margin: 18px 0 28px;
  padding: 16px 18px;
  border: 1px solid #ffffff36;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #ffffff14;
  border: 1px solid #ffffff36;
  color: var(--white);
  padding: 13px 14px;
}

.contact-form option {
  color: var(--ink);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #c5d2de;
}

.body-copy .contact-form input,
.body-copy .contact-form select,
.body-copy .contact-form textarea {
  background: var(--white);
  border: 1px solid #c5d0da;
  color: var(--ink);
}

.body-copy .form-note {
  color: var(--muted);
}

.work-list {
  padding-left: 1.2em;
}

.work-list li {
  margin: 8px 0;
}

.professionals {
  background: var(--sand);
}

.services .cta-row a {
  color: #b8e08a;
  text-decoration: underline;
}

.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: #e8f6dc;
}

.legal {
  background: var(--sand);
}

.legal details {
  border-top: 1px solid #cbd2d7;
}

.legal summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-family: Georgia, serif;
  font-size: 22px;
  list-style: none;
}

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

.legal details div {
  max-width: 850px;
  padding: 0 0 24px;
  color: #536170;
}

.legal a,
.privacy-page a,
.body-copy a {
  color: var(--blue);
  text-decoration: underline;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 48px 8vw 28px;
}

.projects.compact,
.services.compact {
  padding-top: 20px;
}

.projects.compact .project-grid,
.services.compact .service-grid {
  margin-top: 16px;
}

.page-hero p {
  max-width: 720px;
  color: #d7e2ef;
}

.page-hero a {
  color: #b8e08a;
  text-decoration: underline;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #9fb3c8;
}

.page-hero .crumbs a,
.contact .crumbs a {
  color: #b8e08a;
  text-decoration: none;
}

.contact .crumbs {
  color: #c5d6e8;
}

.faq-list {
  max-width: 760px;
  margin-top: 28px;
}

.faq-list details {
  border-top: 1px solid #d5dce4;
  padding: 14px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid #d5dce4;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
}

.faq-list p {
  margin: 10px 0 4px;
  color: var(--muted);
}

.body-copy {
  max-width: 860px;
  padding: 48px 8vw 80px;
}

.body-copy h2 {
  margin: 36px 0 12px;
  font-size: 1.6rem;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  color: var(--navy);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}

.gallery picture,
.project-card picture {
  display: block;
  width: 100%;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  gap: 40px;
  padding: 64px 8vw 96px;
  background: #061a2e;
  color: #c7d2df;
  font-size: 14px;
  position: relative;
}

.footer-brand img {
  width: 180px;
  height: 96px;
  object-fit: contain;
}

.footer-label {
  color: var(--green);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

footer > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copyright {
  position: absolute;
  left: 8vw;
  bottom: 28px;
  margin: 0;
  color: #8aa0b4;
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
}

.privacy-page,
.privacy-page main {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 6vw 80px;
}

.privacy-page h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 5vw 20px;
    border-bottom: 1px solid #dfe5eb;
  }

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

  .site-nav a {
    padding: 12px 0;
  }

  .header-cta {
    display: none;
  }

  .section-heading,
  .statement-grid,
  .contact,
  .service-grid,
  .card-grid,
  .project-grid,
  .gallery,
  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero,
  .section,
  .contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-media img {
    object-position: center 88%;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(8, 46, 98, 0.96) 0%, rgba(8, 46, 98, 0.90) 58%, rgba(8, 46, 98, 0.72) 100%);
  }

  .button {
    min-width: 100%;
  }

  .hero-bottom {
    position: static;
    margin-top: 36px;
    padding-bottom: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    letter-spacing: 0.04em;
    padding-right: 56px;
  }

  .cta-row .button,
  .contact-form .button {
    min-width: 0;
    width: 100%;
  }

  footer {
    padding-bottom: 130px;
  }

  .project-card div,
  .card-grid article,
  .service-grid article,
  .privacy-page p,
  .privacy-page li {
    padding-right: 56px;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
  }
}
