:root {
  --ink: #0f1013;
  --paper: #f5f6f8;
  --gold: #d4af37;
  --orange: #e67e22;
  --muted: #5c5e69;
  --line: #2c2d35;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 132px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6.25vw, 120px);
  color: #fff;
}
.brand {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.brand-mark {
  width: 56px;
  height: 25px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 74% 100%, 0 100%);
}
.brand strong {
  display: block;
  font:
    800 28px Outfit,
    sans-serif;
  line-height: 0.9;
}
.brand small {
  display: block;
  color: var(--gold);
  font:
    600 12px Outfit,
    sans-serif;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.site-header nav {
  display: flex;
  gap: 56px;
}
.site-header nav a {
  color: #8e909a;
  text-decoration: none;
  font:
    600 17px Outfit,
    sans-serif;
}
.site-header nav a[aria-current],
.site-header nav a:first-child {
  color: var(--gold);
}
.location,
.eyebrow,
.section-label {
  font:
    600 13px "Fira Code",
    monospace;
  letter-spacing: 0.04em;
}
.location,
.eyebrow {
  color: var(--gold);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: transparent;
  color: var(--gold);
  padding: 8px 12px;
  font:
    700 12px Outfit,
    sans-serif;
}
.hero {
  min-height: 760px;
  padding: 80px clamp(24px, 6.25vw, 120px);
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 16, 19, 0.92), rgba(15, 16, 19, 0.52)),
    url("/assets/hero.jpg") center/cover;
}
.hero-content {
  max-width: 1000px;
}
.hero h1 {
  font:
    900 clamp(44px, 5.2vw, 72px) / 1.08 Outfit,
    sans-serif;
  margin: 24px 0;
}
.hero p:not(.eyebrow) {
  max-width: 760px;
  color: #ced0d6;
  font-size: 20px;
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}
.button {
  padding: 16px 28px;
  border-radius: 4px;
  text-decoration: none;
  font:
    700 14px Outfit,
    sans-serif;
  letter-spacing: 0.04em;
}
.primary {
  background: var(--gold);
  color: var(--ink);
}
.outline {
  border: 1px solid #fff;
  color: #fff;
}
.section {
  padding: 120px clamp(24px, 6.25vw, 120px);
}
.light {
  background: var(--paper);
}
.dark {
  background: var(--ink);
  color: #fff;
}
.two-columns,
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-label {
  color: var(--orange);
  margin: 0 0 16px;
}
.dark .section-label {
  color: var(--gold);
}
h2 {
  font:
    800 clamp(36px, 3.5vw, 48px) Outfit,
    sans-serif;
  margin: 0 0 26px;
}
h3 {
  font:
    800 22px Outfit,
    sans-serif;
}
.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 24px;
  font:
    600 20px/1.5 Outfit,
    sans-serif;
}
.section-image {
  width: 100%;
  height: 480px;
  border-radius: 8px;
  object-fit: cover;
}
.centered {
  text-align: center;
  margin: 90px auto 40px;
  max-width: 800px;
}
.pillars,
.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillars article,
.projects article {
  background: #fff;
  border: 1px solid #e1e2e6;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 12px 24px -8px #0003;
}
.pillars b {
  color: var(--gold);
  font:
    700 18px "Fira Code",
    monospace;
}
.services {
  gap: 120px;
}
.services .section-image {
  height: 600px;
}
.services > div > p {
  color: #e5e7eb;
  line-height: 1.7;
}
.services ol {
  list-style: none;
  padding: 0;
}
.services li {
  border-bottom: 1px solid var(--line);
  padding: 18px 0 18px 48px;
  position: relative;
}
.services li:before {
  content: counter(list-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: "Fira Code", monospace;
}
.services li b,
.services li span {
  display: block;
}
.services li span {
  color: #c0c2ca;
  font-size: 14px;
  margin-top: 6px;
}
.projects {
  grid-template-columns: repeat(3, 1fr);
}
.projects article {
  padding: 0;
  overflow: hidden;
}
.project-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.projects h3,
.projects p,
.projects button {
  margin-left: 24px;
  margin-right: 24px;
}
.projects p {
  color: var(--muted);
  line-height: 1.5;
}
.projects button {
  border: 0;
  background: transparent;
  color: var(--orange);
  font:
    700 12px "Fira Code",
    monospace;
  text-transform: uppercase;
  padding: 16px 0 24px;
  cursor: pointer;
}
footer {
  background: var(--ink);
  color: #8e909a;
  border-top: 1px solid var(--line);
  padding: 80px clamp(24px, 6.25vw, 120px);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}
footer p {
  line-height: 1.6;
}
footer h4 {
  color: var(--gold);
  font:
    700 14px Outfit,
    sans-serif;
  text-transform: uppercase;
}
footer a {
  color: #fff;
  display: block;
  text-decoration: none;
  margin: 12px 0;
}
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}
.whatsapp-float {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #07180c;
  text-decoration: none;
  font:
    700 10px Inter,
    sans-serif;
  box-shadow: 0 10px 25px #0006;
}
.cookie-banner {
  position: fixed;
  z-index: 70;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 620px;
  margin: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 35px #0005;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner p {
  margin: 0 0 14px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-actions button,
.cookie-settings button {
  border: 1px solid #a7a9b0;
  border-radius: 4px;
  padding: 9px 13px;
  background: #fff;
  color: var(--ink);
  font:
    600 12px Inter,
    sans-serif;
  cursor: pointer;
}
.cookie-actions [data-cookie="accept"],
.cookie-settings button {
  border-color: var(--gold);
  background: var(--gold);
}
.cookie-settings {
  margin-top: 14px;
}
.legal-page {
  max-width: 820px;
  margin: auto;
  padding: 100px 24px;
  color: #fff;
  line-height: 1.7;
}
.legal-page > a {
  color: var(--gold);
}
.legal-page h1 {
  font:
    800 clamp(38px, 6vw, 64px) / 1 Outfit,
    sans-serif;
}
.legal-page h2 {
  margin-top: 44px;
  font-size: 27px;
}
.legal-page p {
  color: #d0d1d7;
}
@media (max-width: 800px) {
  .site-header {
    height: 68px;
  }
  .menu-toggle {
    display: block;
  }
  .site-header nav,
  .location {
    display: none;
  }
  .site-header.menu-open nav {
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open nav a {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
  }
  .brand-mark {
    width: 32px;
    height: 14px;
  }
  .brand {
    gap: 10px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand small {
    font-size: 9px;
    margin-top: 3px;
  }
  .hero {
    min-height: 600px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero p:not(.eyebrow) {
    font-size: 17px;
  }
  .section {
    padding: 64px 24px;
  }
  .two-columns,
  .services {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services .section-image,
  .section-image {
    height: 280px;
  }
  .centered {
    margin: 64px auto 32px;
  }
  .pillars,
  .projects {
    grid-template-columns: 1fr;
  }
  .pillars article {
    padding: 28px;
  }
  .projects article {
    min-height: 0;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 24px;
  }
  .actions {
    gap: 12px;
  }
  .button {
    width: 100%;
    text-align: center;
  }
  .whatsapp-float {
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
html {
  scroll-padding-top: 150px;
}
:focus-visible {
  outline: 3px solid #976d00;
  outline-offset: 4px;
}
.site-header nav a:first-child:not([aria-current]) {
  color: #8e909a;
}
.light .section-label,
.projects button {
  color: #92500e;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-nav a {
  margin: 4px 0;
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 85px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@supports (background-image: image-set(url("/assets/hero.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(15, 16, 19, 0.92), rgba(15, 16, 19, 0.52)),
      image-set(
        url("/assets/hero.webp") type("image/webp"),
        url("/assets/hero.jpg") type("image/jpeg")
      );
  }
}
picture {
  display: block;
  min-width: 0;
}
.two-columns > picture,
.services > picture {
  width: 100%;
}
.whatsapp-float {
  z-index: 80;
}
.whatsapp-float picture,
.whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.menu-toggle {
  min-height: 44px;
}
.cookie-banner {
  bottom: 116px;
}
.site-header nav a:focus-visible,
footer a:focus-visible {
  outline-color: var(--gold);
}
.pillars b {
  color: #856700;
}
@media (max-width: 1100px) and (min-width: 801px) {
  .site-header {
    padding: 0 24px;
  }
  .site-header nav {
    gap: 20px;
  }
  .location {
    font-size: 11px;
  }
}
@media (max-width: 800px) {
  .site-header.menu-open .location {
    display: block;
    position: absolute;
    top: 242px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .cookie-banner {
    bottom: 88px;
    max-height: 70vh;
    overflow: auto;
  }
}

/* Modal ficha técnica — Figma 455:12. */
html.project-modal-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}
.project-modal {
  width: min(960px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111215;
  color: #fff;
  box-shadow: 0 24px 48px -12px #0006;
}
.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}
.project-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.project-modal-header > div {
  min-width: 0;
}
.project-modal-eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font:
    700 13px/1.3 "Fira Code",
    monospace;
}
.project-modal h2 {
  margin: 0;
  font:
    800 32px/1.1 Outfit,
    sans-serif;
  overflow-wrap: anywhere;
}
.project-modal-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #16171b;
  cursor: pointer;
}
.project-modal-close img {
  display: block;
  width: 18px;
  height: 18px;
}
.project-modal-close:hover {
  background: #26272d;
}
.project-modal-close:focus-visible {
  outline-color: var(--gold);
}
.project-modal-content {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 24px;
}
.project-modal-figure {
  margin: 0;
  min-width: 0;
}
.project-modal-figure img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}
.project-modal-figure figcaption {
  margin-top: 12px;
  color: #a5a7b0;
  font:
    400 12px/1.5 Inter,
    sans-serif;
}
.project-modal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin: 0;
}
.project-modal-details > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #16171b;
  min-width: 0;
}
.project-modal-details dt {
  margin: 0 0 6px;
  color: #8e909a;
  font:
    700 12px/1.35 "Fira Code",
    monospace;
}
.project-modal-details dd {
  margin: 0;
  font:
    700 18px/1.3 Outfit,
    sans-serif;
  overflow-wrap: anywhere;
}
.project-modal-summary {
  grid-column: 1/-1;
}
@media (max-width: 760px) {
  .project-modal {
    width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
  }
  .project-modal-header {
    padding: 20px;
    gap: 12px;
  }
  .project-modal h2 {
    font-size: 26px;
  }
  .project-modal-close {
    width: 44px;
    height: 44px;
  }
  .project-modal-content {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .project-modal-figure img {
    height: 220px;
  }
  .project-modal-details {
    gap: 12px;
  }
  .project-modal-details > div {
    padding: 14px;
  }
  .project-modal-details dd {
    font-size: 17px;
  }
}
@media (max-width: 420px) {
  .project-modal-details {
    grid-template-columns: 1fr;
  }
}

/* Shared footer — Figma 400:156. */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 80px clamp(24px, 6.25vw, 120px) 40px;
}
.site-footer p,
.site-footer h4,
.site-footer a {
  margin: 0;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 0 1 400px;
  min-width: 0;
}
.site-footer .brand {
  gap: 12px;
}
.site-footer .brand-mark {
  width: 40px;
  height: 18px;
  flex: none;
}
.site-footer .brand strong {
  font-size: 20px;
  line-height: 1.2;
}
.site-footer .brand small {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 1px;
}
.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
}
.footer-columns {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 4.167vw, 80px);
}
.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 180px;
  flex: none;
  font-size: 14px;
}
.site-footer h4 {
  color: var(--gold);
  font:
    700 14px/1.25 Outfit,
    sans-serif;
  text-transform: uppercase;
}
.site-footer .footer-nav a {
  color: #8e909a;
  font-size: 14px;
  line-height: 1.25;
}
.footer-address p {
  font-size: 14px;
  line-height: 1.5;
}
.site-footer .footer-contact {
  width: 220px;
}
.footer-contact a {
  color: #fff;
  font:
    400 13px/1.3 "Fira Code",
    monospace;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer-bottom p {
  line-height: 1.5;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-bottom a,
.footer-bottom button {
  color: #8e909a;
  font:
    400 13px/1.5 Inter,
    sans-serif;
  text-decoration: none;
}
.footer-bottom button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.site-footer a:hover,
.footer-bottom button:hover {
  color: var(--gold);
}
@media (max-width: 1200px) and (min-width: 801px) {
  .footer-main {
    flex-direction: column;
    gap: 40px;
  }
  .footer-brand {
    flex-basis: auto;
    max-width: 400px;
  }
  .footer-columns {
    width: 100%;
    justify-content: space-between;
    gap: 24px;
  }
}
@media (max-width: 800px) {
  .site-footer {
    padding: 48px 24px 32px;
    gap: 40px;
  }
  .footer-main {
    flex-direction: column;
    gap: 40px;
  }
  .footer-brand {
    flex-basis: auto;
    width: 100%;
    gap: 24px;
  }
  .site-footer .brand {
    gap: 10px;
  }
  .site-footer .brand-mark {
    width: 32px;
    height: 14px;
  }
  .footer-brand p {
    font-size: 14px;
    line-height: 1.5;
  }
  .footer-columns {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .site-footer .footer-column {
    width: 100%;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 32px;
  }
  .site-footer .footer-links {
    gap: 16px;
  }
}

/* Direct contact channels. */
.site-footer .footer-contact {
  width: 250px;
}
.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.footer-contact-group h5 {
  margin: 0;
  color: #fff;
  font:
    600 14px/1.4 Outfit,
    sans-serif;
}
.footer-contact-group p {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  line-height: 1.5;
}
.footer-contact-group p > span {
  min-width: 62px;
}
.footer-contact-group p > a {
  display: inline-block;
}
@media (max-width: 800px) {
  .site-footer .footer-contact {
    width: 100%;
    gap: 20px;
  }
}

.whatsapp-float {
  border: 0;
  padding: 0;
  cursor: pointer;
}
html.whatsapp-dialog-open {
  overflow: hidden;
}
.whatsapp-dialog {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #18191e;
  color: #fff;
  box-shadow: 0 24px 60px #0006;
}
.whatsapp-dialog::backdrop {
  background: #000b;
}
.whatsapp-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.whatsapp-dialog h2 {
  margin: 0;
  font:
    700 25px/1.2 Outfit,
    sans-serif;
}
.whatsapp-dialog-header button {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #62646f;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.whatsapp-dialog > p {
  margin: 16px 0 20px;
  color: #c0c2ca;
  font-size: 14px;
  line-height: 1.6;
}
.whatsapp-destinations {
  display: grid;
  gap: 12px;
}
.whatsapp-destinations a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #568968;
  border-radius: 14px;
  background: #1b2c22;
  color: #fff;
  text-decoration: none;
}
.whatsapp-destinations a > span:first-child {
  display: grid;
  gap: 6px;
}
.whatsapp-destinations strong {
  color: #81e6a7;
  font:
    700 17px Outfit,
    sans-serif;
}
.whatsapp-destinations a span span {
  font-size: 14px;
}
.whatsapp-destinations a:hover {
  background: #263e2e;
  border-color: #81e6a7;
}
.whatsapp-dialog :focus-visible {
  outline-color: #81e6a7;
}
.whatsapp-dialog > small {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #c0c2ca;
}
