@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #071d33;
  --navy-2: #102a44;
  --gold: #c9922e;
  --gold-dark: #7d5314;
  --paper: #f8f6f0;
  --white: #fff;
  --mist: #eef1f3;
  --ink: #13243a;
  --muted: #52606c;
  --line: rgba(7, 29, 51, .18);
  --display: 'Manrope', sans-serif;
  --body: 'Archivo', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
::selection { color: var(--white); background: var(--gold-dark); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 3px solid var(--paper); }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 6.25rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.25rem);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--white);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header > .brand {
  position: absolute;
  left: calc(58% + clamp(2rem, 4.8vw, 5rem));
  color: var(--navy);
}
.site-header > .brand .brand__descriptor { border-left-color: rgba(7,29,51,.35); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__official-logo { width: clamp(7rem, 8vw, 8.5rem); height: auto; display: block; }
.brand__compact-logo { display: none; }
.site-header .brand__word, .site-header .brand__descriptor { display: none; }
.brand__word {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: .18em;
}
.brand__descriptor {
  margin-left: .5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,.55);
  font-size: .67rem;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.4rem); }
.site-nav a {
  position: relative;
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -.5rem;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; color: currentColor; background: none; border: 0; }
.menu-toggle svg { width: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(31rem, 42fr);
  background: var(--paper);
}
.hero__visual {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy) url('assets/hero-construction.png?v=20260902-140351') center / cover no-repeat;
}
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 19, 34, .5), transparent 50%);
  pointer-events: none;
}
.hero__rail {
  min-height: 100svh;
  padding: clamp(8.5rem, 14vh, 10.5rem) clamp(2rem, 4.8vw, 5rem) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(201, 146, 46, .55);
}
.hero__copy { max-width: 39rem; }
.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4vw, 4.9rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__copy > p {
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.4vw, 1.45rem);
  color: #36485b;
}
.hero__actions { margin-top: 2.25rem; display: flex; align-items: center; gap: 1.6rem; }
.button {
  min-height: 3.6rem;
  padding: .95rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.button--primary { color: var(--white); background: var(--gold-dark); }
.button--primary:hover { background: var(--navy); transform: translateY(-2px); }
.text-link { font-family: var(--display); font-weight: 700; text-decoration-thickness: 1px; }
.label-mobile { display: none; }

.service-list { margin: 3.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li {
  padding: .92rem 0;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.service-list svg, .principles svg {
  width: 2.65rem;
  height: 2.65rem;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-list svg circle:last-child { stroke: var(--gold-dark); }
.service-list b { display: block; font-family: var(--display); font-size: .98rem; line-height: 1.25; }
.service-list small { display: block; margin-top: .1rem; color: #475866; font-size: .86rem; }

.section-shell { width: min(100% - 3rem, 84rem); margin-inline: auto; }
.approach { padding-block: clamp(6rem, 10vw, 10rem); }
.approach__intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; }
h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.approach__intro p { margin: 0 0 .5rem; max-width: 47ch; font-size: 1.12rem; color: #4c5b69; }
.approach__path { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.approach__path article { position: relative; padding: 2.25rem 3rem 1rem 0; }
.approach__path article:not(:last-child) { border-right: 1px solid var(--line); }
.approach__path article:not(:first-child) { padding-left: 3rem; }
.approach__path article::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); }
.approach__path article:not(:first-child)::before { left: 3rem; }
.approach__path h3 { margin: 0 0 .7rem; font-family: var(--display); font-size: 1.45rem; line-height: 1.2; }
.approach__path p { margin: 0; color: #52606c; }

.projects { padding-block: clamp(6rem, 10vw, 10rem); background: var(--mist); }
.projects__intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8vw;
  align-items: end;
}
.projects__lead { max-width: 34rem; justify-self: end; }
.projects__lead p { margin: 0; color: var(--muted); font-size: 1.12rem; }
.projects__state {
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border-top: 1px solid var(--navy);
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.projects__state > span { width: 7px; height: 7px; flex: none; background: var(--gold); }
.projects__list { margin-top: clamp(4.5rem, 9vw, 8rem); display: grid; gap: clamp(6rem, 11vw, 10rem); }
.project-story { padding-top: 1.5rem; border-top: 1px solid var(--navy); }
.project-story__head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8vw;
  align-items: end;
}
.project-story h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.project-story__summary { max-width: 34rem; justify-self: end; }
.project-story__summary > span { font-family: var(--display); font-weight: 700; }
.project-story__summary p { margin: .75rem 0 0; color: var(--muted); }
.project-media { margin: clamp(2rem, 4vw, 3.5rem) 0 0; }
.project-media img { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--navy); }
.project-media--pair { display: grid; grid-template-columns: 1.45fr .85fr; gap: 1rem; }
.project-media--pair img { aspect-ratio: 16 / 10; }
.project-media--pair img:nth-child(2) { object-position: center; }
.project-media--wide img { aspect-ratio: 16 / 8; }
.project-media figcaption {
  grid-column: 1 / -1;
  margin-top: .25rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
.project-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3.5rem, 6vw, 5rem) 1rem;
}
.project-tile { grid-column: span 6; }
.project-tile--new { grid-column: span 4; }
.project-tile > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  background: var(--navy);
}
.project-tile--new > img { aspect-ratio: 1; }
.project-tile--portrait > img { aspect-ratio: auto; object-fit: contain; }
.project-tile__body {
  margin-top: 1rem;
  padding-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
}
.project-tile h3 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.1; }
.project-tile p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

.principles { color: var(--white); background: var(--navy); }
.principles__inner { padding-block: clamp(5rem, 9vw, 8rem); }
.principles h2 { max-width: 13ch; }
.principles__statement { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; }
.principles__statement p { margin: 0 0 .55rem; max-width: 48ch; color: #d4dde5; font-size: 1.12rem; }
.principles__line { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.4); }
.principles__line span { position: relative; font-family: var(--display); font-weight: 700; }
.principles__line span::before { content: ''; position: absolute; top: -1.75rem; left: 0; width: 7px; height: 7px; background: var(--gold); }

.contact { padding-block: clamp(6rem, 10vw, 10rem); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 9rem); }
.contact__intro { align-self: start; }
.contact__intro > p { max-width: 48ch; margin: 1.5rem 0 2.5rem; color: #52606c; font-size: 1.08rem; }
.whatsapp-link { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy); font-family: var(--display); font-weight: 700; }
.whatsapp-link small { font-family: var(--body); font-size: .8rem; font-weight: 500; color: var(--muted); }
.whatsapp-icon { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.whatsapp-label { display: inline-flex; align-items: center; gap: .45rem; }
.contact__intro > small { display: block; margin-top: 1rem; color: #52606c; }
.contact-form { padding-top: .5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { position: relative; margin-bottom: 1.6rem; }
.field label { display: block; margin-bottom: .55rem; font-family: var(--display); font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  padding: .95rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #8793a0;
  border-radius: 0;
  outline: 0;
  caret-color: var(--gold-dark);
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold-dark); box-shadow: 0 2px 0 var(--gold-dark); }
.field textarea { resize: vertical; min-height: 7rem; }
.field__error { display: none; margin-top: .45rem; color: #a12e24; font-size: .84rem; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #a12e24; }
.form-submit { width: 100%; }
.form-submit:disabled { color: #6c7378; background: #d8d9d7; cursor: wait; transform: none; }
.form-status { min-height: 1.5rem; margin: .9rem 0 0; font-weight: 600; }
.form-status.is-success { color: #28633d; }

.site-footer {
  padding: 2.5rem max(1.5rem, calc((100vw - 84rem) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  color: #c9d2db;
  background: #041526;
  border-top: 1px solid rgba(201, 146, 46, .55);
}
.brand-seal { width: 7.25rem; }
.brand-seal img { width: 100%; height: auto; display: block; }
.site-footer p { margin: 0; font-size: .84rem; }

@keyframes imageReveal {
  from { clip-path: inset(0 100% 0 0); filter: saturate(.4) brightness(.75); }
  to { clip-path: inset(0); filter: saturate(1) brightness(1); }
}
@keyframes railEnter {
  from { opacity: .01; transform: translateX(2.5rem); }
  to { opacity: 1; transform: none; }
}
.hero__visual { animation: imageReveal 1.1s var(--ease) both; }
.hero__rail { animation: railEnter .85s .15s var(--ease) both; }

@media (max-width: 1120px) {
  .site-header { width: 100%; }
  .hero { grid-template-columns: 52fr 48fr; }
  .hero__rail { padding-inline: 2.4rem; }
  .brand__descriptor { display: none; }
  .site-header > .brand { left: calc(52% + 2.4rem); }
}

@media (max-width: 820px) {
  .site-header {
    position: fixed;
    min-height: calc(4.8rem + env(safe-area-inset-top));
    padding: max(.75rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) .75rem max(1.25rem, env(safe-area-inset-left));
    justify-content: space-between;
    color: var(--white);
    background: rgba(7,29,51,.88);
    backdrop-filter: blur(10px);
  }
  .site-header > .brand { position: static; color: var(--white); }
  .site-header .brand__official-logo { display: none; }
  .site-header .brand__compact-logo { width: 2.7rem; height: 2.7rem; display: block; object-fit: contain; }
  .site-header .brand__word { display: inline; font-size: 1.25rem; }
  .menu-toggle { min-width: 4.75rem; min-height: 2.75rem; padding: .4rem 0 .4rem .6rem; display: inline-flex; align-items: center; justify-content: flex-end; gap: .55rem; }
  .site-nav {
    position: fixed;
    inset: 4.8rem 0 auto;
    padding: 2rem 1.25rem 2.5rem;
    display: grid;
    gap: 1.4rem;
    color: var(--white);
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.15);
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { font-size: 1rem; }
  .hero { display: flex; flex-direction: column; overflow: hidden; }
  .hero__visual {
    order: 1;
    min-height: 66svh;
    background-image: url('assets/hero-construction-mobile.jpg?v=20260902-140351');
    background-position: center 58%;
  }
  .hero__visual::after { background: rgba(7,29,51,.12); }
  .hero__rail {
    order: 2;
    z-index: 3;
    width: calc(100% - 2.5rem);
    min-height: auto;
    margin: -7rem auto 0;
    padding: 2.1rem 1.25rem 3rem;
    background: var(--paper);
    border-top: 3px solid var(--gold);
    border-left: 0;
  }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 4rem); }
  .hero__copy > p { margin-top: 1rem; }
  .hero__actions { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero__actions .button {
    order: 2;
    min-height: 3.45rem;
    padding-inline: .7rem;
    gap: .45rem;
    font-size: .7rem;
    white-space: nowrap;
    color: var(--navy);
    background: transparent;
    border-color: var(--line);
  }
  .hero__actions .button:hover { color: var(--white); background: var(--navy); }
  .text-link--whatsapp {
    order: 1;
    min-height: 3.45rem;
    padding: .9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: var(--gold-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .7rem;
    white-space: nowrap;
  }
  .text-link--whatsapp .whatsapp-icon { width: 1rem; height: 1rem; }
  .label-desktop { display: none; }
  .label-mobile { display: inline; }
  .service-list { margin-top: 2.4rem; }
  .approach__intro, .projects__intro, .project-story__head, .contact { grid-template-columns: 1fr; }
  .approach__intro { gap: 1.5rem; }
  .approach__path { grid-template-columns: 1fr; }
  .approach__path article, .approach__path article:not(:first-child) { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .approach__path article:not(:first-child)::before { left: 0; }
  .projects__intro, .project-story__head { gap: 1.75rem; }
  .projects__lead, .project-story__summary { max-width: 42rem; justify-self: start; }
  .projects__list { gap: 6rem; }
  .project-media--pair { grid-template-columns: 1fr; }
  .project-media--pair img, .project-media--wide img { aspect-ratio: 4 / 3; }
  .project-tile, .project-tile--new { grid-column: span 6; }
  .principles__statement { grid-template-columns: 1fr; gap: 1.5rem; }
  .principles__line { grid-template-columns: 1fr; gap: 2.4rem; }
  .contact { gap: 4rem; }
  .site-footer { grid-template-columns: 1fr; gap: .75rem; }
}

@media (max-width: 520px) {
  .section-shell { width: min(100% - 2.5rem, 84rem); }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .text-link { padding-block: .4rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .service-list li { grid-template-columns: 2.6rem 1fr; }
  .service-list svg { width: 2.25rem; height: 2.25rem; }
  .project-mosaic { grid-template-columns: 1fr; }
  .project-tile, .project-tile--new { grid-column: 1; }
  .project-tile__body { grid-template-columns: 1fr; gap: .45rem; }
  .project-tile p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
