:root {
  --ink: #171816;
  --muted: #686960;
  --paper: #f2efe9;
  --white: #fff;
  --line: rgba(23,24,22,.16);
  --accent: #9a7950;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.topbar {
  min-height: 92px;
  padding: 14px clamp(22px, 5vw, 76px);
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 32px;
  background: rgba(242,239,233,.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand img { width: 86px; height: 62px; object-fit: contain; object-position: center; }
nav { display: flex; justify-content: center; gap: 34px; font-size: .88rem; }
nav a, .footer-links a { position: relative; }
nav a::after, .footer-links a::after {
  content: "";
  position: absolute;
  right: 0; bottom: -5px; width: 0; height: 1px;
  background: currentColor; transition: width .25s ease;
}
nav a:hover::after, .footer-links a:hover::after { width: 100%; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 25px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-weight: 700;
  transition: .25s ease;
}
.button:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 8px 18px; font-size: .85rem; }
.hero {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  min-height: calc(100vh - 92px);
}
.hero-copy {
  padding: clamp(50px, 8vw, 128px) clamp(26px, 7vw, 105px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  direction: ltr;
  text-align: right;
  font: 700 .72rem/1.3 Arial, sans-serif;
  letter-spacing: .22em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 span { color: var(--accent); }
.intro { max-width: 600px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 18px 0 54px; }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.hero-meta { display: flex; gap: 58px; margin: 0; }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta dt { font-size: .72rem; color: var(--muted); }
.hero-meta dd { margin: 0; font-weight: 700; }
.hero-image { margin: 0; min-height: 700px; position: relative; overflow: hidden; background: #ddd8ce; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image figcaption {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(23,24,22,.9); color: white; padding: 9px 14px; font-size: .72rem;
}
.statement { padding: clamp(70px, 10vw, 150px) clamp(26px, 14vw, 220px); background: var(--ink); color: white; }
.statement p { margin: 0; max-width: 1100px; font-size: clamp(1.7rem, 3.5vw, 3.9rem); line-height: 1.45; }
.section { padding: clamp(78px, 10vw, 150px) clamp(22px, 6vw, 92px); }
.section-heading { display: grid; grid-template-columns: .35fr 1fr; gap: 30px; align-items: end; margin-bottom: 56px; }
.section-heading h2, .process h2, .contact h2 { margin: 0; font-size: clamp(2rem, 4.3vw, 4.8rem); line-height: 1.15; letter-spacing: -.035em; }
.project-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 32px; }
.project-filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 9px 18px;
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.project-filters button:hover, .project-filters button.is-active { background: var(--ink); color: white; border-color: var(--ink); }
.project-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.project { position: relative; min-height: 520px; overflow: hidden; background: #dedad2; }
.project[hidden] { display: none; }
.project:nth-child(3n + 1) { min-height: 620px; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project:hover img { transform: scale(1.025); }
.project-caption { position: absolute; inset: auto 0 0; padding: 48px 26px 22px; background: linear-gradient(transparent,rgba(0,0,0,.72)); color: white; display: grid; }
.project-caption span { font-size: .72rem; opacity: .78; }
.project-caption strong { font-size: 1.15rem; }
.project-note { padding: 44px; display: flex; flex-direction: column; justify-content: flex-end; background: #d8d1c5; }
.project-note h3 { font-size: 2rem; line-height: 1.25; }
.project-note p:not(.project-number) { color: #53544e; }
.social-secondary { margin-top: 15px; align-self: flex-start; }
.project-number { position: absolute; top: 32px; left: 38px; color: var(--accent); font-size: 4rem; line-height: 1; }
.services { background: #e9e4dc; }
.service-list { border-top: 1px solid var(--line); }
.service-list article {
  display: grid; grid-template-columns: 70px .45fr 1fr; gap: 28px; align-items: start;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.service-list article > span { color: var(--accent); font: 700 .75rem Arial, sans-serif; }
.service-list h3 { margin: 0; font-size: 1.35rem; }
.service-list p { margin: 0; max-width: 650px; color: var(--muted); }
.search-services {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(23, 24, 22, 0.18);
  background: rgba(255, 255, 255, 0.42);
}
.search-services h3 { margin: 0 0 1rem; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.search-services p { max-width: 72ch; margin: .65rem 0 0; line-height: 1.9; }
.search-services p[lang="en"] { color: var(--muted); font-size: .95rem; }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 150px); }
.process-copy > p:last-child { margin-top: 28px; max-width: 620px; color: var(--muted); }
.process ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 62px 1fr; gap: 25px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process li > span { color: var(--accent); font: 700 .75rem Arial, sans-serif; }
.process li strong { font-size: 1.18rem; }
.process li p { margin: 5px 0 0; color: var(--muted); }
.contact { background: var(--accent); color: white; text-align: center; padding: clamp(80px, 12vw, 170px) 22px; }
.contact .eyebrow { color: white; opacity: .75; text-align: center; }
.contact h2 { max-width: 1000px; margin: 0 auto 25px; }
.contact > p:not(.eyebrow) { margin-bottom: 35px; }
.button-light { background: white; color: var(--ink); border-color: white; }
.button-light:hover { background: var(--ink); border-color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.button-outline-light { background: transparent; color: white; border-color: rgba(255,255,255,.8); }
.button-outline-light:hover { background: white; color: var(--ink); border-color: white; }
.contact bdi { margin-right: 8px; font-weight: 400; }
.floating-whatsapp {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1f8f5f;
  color: white;
  font-size: .86rem;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(23,24,22,.24);
  transition: transform .25s ease, background .25s ease;
}
.floating-whatsapp:hover { transform: translateY(-3px); background: #17754d; }
footer {
  display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 50px;
  padding: 48px clamp(22px, 6vw, 92px); background: var(--ink); color: white;
}
.footer-brand img { width: 95px; height: 72px; object-fit: contain; filter: invert(1); }
.footer-brand p, .copyright { margin: 8px 0 0; font-size: .72rem; opacity: .65; }
.footer-links { display: flex; gap: 25px; }
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; min-height: 76px; }
  nav { display: none; }
  .brand img { width: 70px; height: 48px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; }
  .hero-image { min-height: 78vh; }
  .hero-image img { object-position: 58% center; }
  .section-heading, .process { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 500px; }
  .service-list article { grid-template-columns: 45px 1fr; }
  .service-list p { grid-column: 2; }
  footer { grid-template-columns: 1fr; align-items: start; gap: 28px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .topbar { padding: 10px 16px; }
  .button-small { padding: 8px 13px; }
  .hero-copy { min-height: 570px; padding: 58px 22px; }
  h1 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-meta { gap: 28px; }
  .hero-image { min-height: 650px; }
  .project { min-height: 440px; }
  .project-note { min-height: 370px; padding: 30px; }
  .floating-whatsapp { left: 14px; bottom: 14px; padding: 10px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
