:root {
  --ink: #17212b;
  --muted: #5d6a75;
  --line: #d8e0e7;
  --paper: #ffffff;
  --soft: #f2f5f7;
  --steel: #17324d;
  --olive: #5b6b2d;
  --rust: #9b4b34;
  --amber: #f2b544;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 224, 231, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--steel);
  color: #fff;
  font-weight: 800;
  border-radius: 4px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav a:hover {
  color: var(--steel);
}

.top-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  white-space: nowrap;
}

.top-cta,
.button.primary {
  background: var(--rust);
  color: #fff;
}

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

.button.call {
  background: #1f7a4d;
  color: #fff;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 110px clamp(18px, 5vw, 64px) 72px;
  background-image: url("./assets/obra-06.jpeg");
  background-size: cover;
  background-position: center 48%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 24, 35, 0.88) 0%, rgba(12, 24, 35, 0.66) 45%, rgba(12, 24, 35, 0.22) 100%),
    linear-gradient(0deg, rgba(12, 24, 35, 0.38), rgba(12, 24, 35, 0));
}

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

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

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

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

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

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-region {
  display: inline-block;
  margin: 6px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

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

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-band div {
  min-height: 112px;
  padding: 26px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

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

.trust-band strong {
  margin-bottom: 6px;
  color: var(--steel);
  font-size: 18px;
}

.trust-band span,
.section-heading p,
.service-card p,
.quote-copy p,
.footer span {
  color: var(--muted);
}

.section,
.split-section,
.quote-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

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

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

.work-section {
  background: #fff;
}

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

.work-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #111a22;
}

.work-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 534px;
}

.work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(17, 26, 34, 0.92), rgba(17, 26, 34, 0));
  color: #fff;
  font-weight: 800;
}

.owner-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 64px);
  background: #fff;
}

.owner-photo {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--soft);
}

.owner-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.owner-copy {
  max-width: 760px;
}

.owner-copy p {
  color: var(--muted);
}

.owner-points {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.owner-points li {
  padding: 13px 16px;
  border-left: 4px solid var(--rust);
  background: var(--soft);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
}

.owner-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 4px;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
}

.owner-button {
  width: fit-content;
}

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 32px;
  margin-bottom: 26px;
  background: var(--soft);
  color: var(--steel);
  border-left: 4px solid var(--rust);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  background: var(--steel);
  color: #fff;
}

.split-section .eyebrow {
  color: #f7cf6b;
}

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

.check-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 5px solid var(--amber);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.muted {
  background: var(--soft);
}

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

.sector-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 800;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #c8d2dc;
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.quote-form textarea {
  resize: vertical;
}

.form-button {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

@media (max-width: 560px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: #111a22;
  color: #fff;
}

.footer div,
.footer span {
  display: block;
}

.footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 920px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    background-position: 56% center;
  }

  .trust-band,
  .service-grid,
  .work-grid,
  .sector-grid,
  .split-section,
  .owner-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .owner-photo {
    max-width: 420px;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 10px;
    padding: 10px 14px;
    width: 100vw;
  }

  .brand {
    min-width: 0;
    max-width: calc(100vw - 28px);
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: min(280px, calc(100vw - 86px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding: 108px 18px 56px;
    background-position: 58% center;
  }

  .hero-content {
    width: min(340px, calc(100vw - 36px));
    max-width: min(340px, calc(100vw - 36px));
    min-width: 0;
  }

  h1 {
    font-size: 30px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .button {
    width: 100%;
  }

  .owner-button {
    width: 100%;
  }

  .quote-form {
    padding: 18px;
  }

  .footer {
    display: grid;
  }
}
