:root {
  --ink: #1d271c;
  --muted: #66706a;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #e2ded5;
  --green: #2f4a23;
  --mint: #d8eadf;
  --rust: #b75f3a;
  --gold: #d9a441;
  --shadow: 0 24px 70px rgba(30, 37, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

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

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

.site-header.scrolled {
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(30, 37, 34, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fbf3ea;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.site-header.scrolled .brand-logo {
  box-shadow: 0 7px 18px rgba(30, 37, 34, 0.12);
}

.site-nav {
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 76px) 96px;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 27, 22, 0.78), rgba(18, 27, 22, 0.3) 54%, rgba(18, 27, 22, 0.08)),
    linear-gradient(0deg, rgba(18, 27, 22, 0.48), rgba(18, 27, 22, 0.05) 38%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: #fff;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(1.95rem, 3.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

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

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #1d1608;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metrics article {
  background: var(--surface);
  padding: 28px clamp(20px, 5vw, 64px);
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1;
}

.metrics span,
.about-copy p,
.service-card p,
.timeline p,
.contact p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.process-band,
.commitments,
.coverage,
.contact {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: 44px;
}

.section-heading.compact {
  color: #fff;
}

.section-heading.compact h2 {
  max-width: 780px;
}

.about {
  background: #fff;
}

.about-copy {
  max-width: 980px;
  margin-left: auto;
  column-count: 2;
  column-gap: clamp(28px, 5vw, 64px);
}

.about-copy p {
  break-inside: avoid;
  margin-bottom: 20px;
  font-size: 1.04rem;
}

.service-grid,
.commitment-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.commitment-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--surface);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.commitments {
  background: #f2efe8;
}

.commitment-grid article {
  min-height: 230px;
  background: rgba(255, 255, 255, 0.62);
}

.commitment-grid span {
  display: block;
  width: fit-content;
  margin-bottom: 56px;
  border-bottom: 2px solid var(--gold);
  color: var(--green);
  font-weight: 800;
}

.commitment-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.card-icon {
  width: fit-content;
  border-bottom: 2px solid var(--gold);
  color: var(--green);
  font-weight: 800;
}

.process-band {
  background: var(--ink);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  list-style: none;
}

.timeline li {
  min-height: 220px;
  padding: 26px;
  background: #26302b;
}

.timeline span {
  display: block;
  margin-bottom: 42px;
  color: var(--mint);
  font-weight: 800;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

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

.work-card {
  position: relative;
  min-height: 340px;
  display: block;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow);
}

.work-card.featured {
  grid-row: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

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

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(16, 22, 18, 0.78));
}

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

.work-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.work-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 7px;
}

.work-info small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
}

.work-info strong {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.lightbox {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(10, 15, 12, 0.72);
}

.lightbox-image {
  width: 100%;
  max-height: 68vh;
  display: block;
  object-fit: contain;
  background: #141a16;
}

.lightbox-copy {
  padding: 24px clamp(20px, 4vw, 34px) 28px;
}

.lightbox-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.lightbox-description {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(18, 25, 20, 0.72);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.coverage {
  background: var(--ink);
  color: #fff;
}

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

.coverage-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.coverage-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coverage-grid strong {
  display: block;
  margin: 32px 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.coverage-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  background: var(--mint);
}

.contact h2 {
  margin-bottom: 20px;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.contact-option {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(30, 37, 34, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.contact-option span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-option strong {
  color: var(--ink);
  line-height: 1.2;
}

.contact-option:hover {
  border-color: rgba(47, 74, 35, 0.4);
  background: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(30, 37, 34, 0.16);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 76px);
  background: #fff;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 20;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  background: #25d366;
  color: #0e2717;
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(18, 37, 24, 0.24);
}

.whatsapp-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #128c4a;
  overflow: hidden;
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1100px) {
  .commitment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 8px;
    background: rgba(251, 250, 246, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

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

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .about-copy {
    column-count: 1;
    margin-left: 0;
  }

  .service-grid,
  .commitment-grid,
  .coverage-grid,
  .work-grid,
  .timeline,
  .metrics {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.featured,
  .work-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .work-card {
    min-height: 310px;
  }

  .hero {
    min-height: 88vh;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 76px;
  }

  .hero {
    padding: 116px 20px 72px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .button {
    width: 100%;
  }

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

  .whatsapp-float {
    left: 16px;
    right: 16px;
    min-height: 50px;
    justify-content: center;
    border-radius: 8px;
    padding: 8px 16px 8px 8px;
  }

  .whatsapp-float strong {
    display: inline;
  }
}
