:root {
  --brand: oklch(0.7222 0.1710 53.8);
  --brand-strong: oklch(0.6300 0.1710 53.8);
  --ink: oklch(0.2442 0.0064 0.6);
  --ink-2: oklch(0.4642 0.0090 264.5);
  --ink-3: oklch(0.5681 0.0090 264.5);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.9776 0.0020 264.5);
  --hairline: oklch(0.8667 0.0030 264.5);
  --ui-quiet: oklch(0.6694 0.0060 264.5);
  --stage: oklch(0.1900 0.0080 264.5);
  --stage-2: oklch(0.2400 0.0080 264.5);
  --wa: oklch(0.7238 0.1846 145.6);

  --font: 'Archivo', system-ui, -apple-system, sans-serif;
  --wd-display: 112%;
  --wd-label: 84%;

  --step-h1: clamp(1.9rem, 7.2vw, 4.5rem);
  --step-h2: clamp(1.6rem, 5.2vw, 3.15rem);
  --step-h3: clamp(1.15rem, 1.8vw, 1.5rem);
  --step-lead: clamp(1.05rem, 1.35vw, 1.2rem);

  --gap-section: clamp(4.5rem, 9vw, 8.5rem);
  --gap-block: clamp(2rem, 4vw, 3.5rem);
  --shell: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  --z-sticky: 100;
  --z-float: 200;
  --z-modal: 300;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--brand-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: var(--z-modal);
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  transition: translate 0.2s var(--ease);
}
.skip:focus { translate: -50% 0; }

.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.h2 {
  overflow-wrap: break-word;
  font-size: var(--step-h2);
  font-stretch: var(--wd-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h2--invert { color: var(--surface); }

.lead {
  font-size: var(--step-lead);
  color: var(--ink-2);
  max-width: min(62ch, 100%);
  text-wrap: pretty;
}
.lead--invert { color: oklch(0.8667 0.003 264.5); }

.label {
  font-stretch: var(--wd-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), translate 0.18s var(--ease);
}
.btn--sm { min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.875rem; }
.btn--lg { min-height: 52px; padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--brand { background: var(--brand); color: var(--ink); }
.btn--brand:hover { background: var(--brand-strong); color: var(--surface); }

.btn--quiet { box-shadow: inset 0 0 0 1px var(--hairline); color: var(--ink); }
.btn--quiet:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.btn--wa { background: var(--wa); color: var(--ink); }
.btn--wa:hover { translate: 0 -2px; }

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.nav__logo { flex: none; }
.nav__logo img { width: auto; height: 34px; }
.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); margin-inline-start: auto; }
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--brand); }
.nav__end { display: flex; align-items: center; gap: 0.75rem; margin-inline-start: auto; }
.nav__links + .nav__end { margin-inline-start: 0; }

.nav__burger {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding-inline: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.nav__burger span {
  width: 22px;
  height: 10px;
  border-block: 2px solid currentColor;
  border-block-width: 2px;
}

.menu { border: 0; padding: 0; max-width: none; width: 100%; max-height: none; height: 100%; margin: 0; background: var(--surface); color: var(--ink); }
.menu::backdrop { background: oklch(0.19 0.008 264.5 / 0.6); }
.menu__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--pad); border-bottom: 1px solid var(--hairline); }
.menu__head img { width: auto; height: 32px; }
.menu__close { min-height: 44px; font-weight: 600; }
.menu__links { display: flex; flex-direction: column; padding: 0.5rem var(--pad); }
.menu__links a {
  padding-block: 1rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.35rem;
  font-stretch: var(--wd-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.menu__foot { display: grid; gap: 0.85rem; padding: 1.5rem var(--pad); }
.menu__tel { color: var(--ink-2); font-weight: 500; }

.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) var(--gap-section); overflow: clip; }
.hero__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  contain: paint;
}
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.world {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

html.has-world .world { opacity: 1; transition: opacity 0.7s var(--ease); }
html.has-world body { background: transparent; }
html.has-world .hero__poster { opacity: 0; transition: opacity 0.7s var(--ease); }
html.has-world .obras { background: transparent; }
html.has-world .foot { position: relative; }
.hero__inner { position: relative; display: grid; gap: var(--gap-block); align-items: center; }
.hero__copy { max-width: min(42rem, 100%); }
.hero__title {
  overflow-wrap: break-word;
  font-size: var(--step-h1);
  font-stretch: var(--wd-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__title-lead { color: var(--ink-2); }
.hero__lead { margin-top: 1.25rem; font-size: var(--step-lead); color: var(--ink-2); max-width: min(52ch, 100%); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: 6px; }

.plate {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 0 clamp(1rem, 3vw, 2.5rem);
  max-width: min(46rem, 100%);
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.plate__item { display: grid; gap: 0.3rem; padding: 1.1rem 1rem 0 0; }
.plate__k {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.plate__v { font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.svc { padding-block: var(--gap-section); border-top: 1px solid var(--hairline); }
.svc__grid { display: grid; gap: var(--gap-block); }
.svc__intro { display: grid; gap: 1.1rem; align-content: start; }
.svc__panel { display: none; margin-top: 1rem; padding-top: 1.25rem; border-top: 2px solid var(--brand); }
.svc__panel-k {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.svc__panel-v { margin-top: 0.5rem; font-size: 1.5rem; font-stretch: var(--wd-display); font-weight: 700; letter-spacing: -0.02em; }
.svc__panel-d { margin-top: 0.5rem; color: var(--ink-2); max-width: min(40ch, 100%); }

.svc__list { border-top: 1px solid var(--hairline); }
.svc__item { padding-block: clamp(1.25rem, 2.4vw, 1.9rem); border-bottom: 1px solid var(--hairline); transition: padding-inline-start 0.25s var(--ease); }
.svc__name {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: var(--step-h3);
  font-stretch: var(--wd-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.svc__name::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  rotate: 45deg;
  background: var(--brand);
  translate: 0 -0.15em;
}
.svc__desc { margin-top: 0.35rem; padding-inline-start: 1.4rem; color: var(--ink-2); max-width: min(56ch, 100%); }

.obras { padding-block: var(--gap-section); background: var(--stage); color: var(--surface); }
.obras__head { display: grid; gap: 1.1rem; max-width: min(46ch, 100%); }
.obras__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.filter {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.22);
  color: oklch(0.9 0.003 264.5);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.filter:hover { box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.55); color: var(--surface); }
.filter.is-active { background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--ink); }

.obras__count { margin-top: 1rem; font-size: 0.875rem; color: oklch(0.78 0.003 264.5); font-variant-numeric: tabular-nums; }

.obras__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
  margin-top: 1.5rem;
}
.obra { position: relative; }
.obra[hidden] { display: none; }
.obra__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background-color: var(--stage-2); }
.obra--feature .obra__img { aspect-ratio: 8 / 3; }

.obra__empty {
  display: grid;
  place-content: center;
  gap: 0.9rem;
  justify-items: center;
  background:
    repeating-linear-gradient(
      -45deg,
      oklch(1 0 0 / 0.028) 0 6px,
      transparent 6px 13px
    ),
    var(--stage-2);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.09);
}
.obra__empty-mark { width: 16px; height: 16px; rotate: 45deg; background: var(--brand); opacity: 0.85; }
.obra__empty-txt {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.7 0.006 264.5);
}
.obra__body { padding-top: 1rem; }
.obra__cat {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand);
}
.obra__title { margin-top: 0.4rem; font-size: 1.2rem; font-stretch: var(--wd-display); font-weight: 700; letter-spacing: -0.02em; }
.obra__desc { margin-top: 0.4rem; font-size: 0.9375rem; line-height: 1.5; color: oklch(0.8 0.003 264.5); text-wrap: pretty; }
.obra__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  background: oklch(0.19 0.008 264.5 / 0.82);
  color: var(--surface);
  font-stretch: var(--wd-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metodo { padding-block: var(--gap-section); }
.metodo__list { margin-top: var(--gap-block); border-top: 1px solid var(--hairline); }
.metodo__item {
  padding-block: clamp(1.1rem, 2.2vw, 1.7rem);
  border-bottom: 1px solid var(--hairline);
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  font-stretch: var(--wd-display);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.sobre { padding-block: var(--gap-section); background: var(--surface-2); }
.sobre__grid { display: grid; gap: var(--gap-block); align-items: start; }
.sobre__media img { width: 100%; border-radius: 6px; }
.sobre__body { display: grid; gap: 1.1rem; }
.sobre__body p { color: var(--ink-2); max-width: min(62ch, 100%); text-wrap: pretty; }

.mvv { margin-top: 0.75rem; border-top: 1px solid var(--hairline); }
.mvv__row { display: grid; gap: 0.3rem; padding-block: 1.1rem; border-bottom: 1px solid var(--hairline); }
.mvv__k {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.mvv__v { color: var(--ink); max-width: min(62ch, 100%); }

.gente { display: grid; gap: 0.85rem; margin-top: 0.75rem; }
.gente li { display: grid; }
.gente strong { font-weight: 700; letter-spacing: -0.01em; }
.gente span { font-size: 0.9rem; color: var(--ink-3); }

.cta { padding-block: var(--gap-section); border-top: 1px solid var(--hairline); }
.cta__grid { display: grid; gap: var(--gap-block); align-items: start; }
.cta__grid > div:first-child { display: grid; gap: 1.1rem; align-content: start; }
.cta__card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); }
.cta__card-k {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cta__card-t { margin-block: 0.5rem 1.25rem; font-size: 1.5rem; font-stretch: var(--wd-display); font-weight: 700; letter-spacing: -0.022em; }
.cta__rows { margin-top: 1.5rem; border-top: 1px solid var(--hairline); }
.cta__rows > div { display: grid; gap: 0.2rem; padding-block: 0.9rem; border-bottom: 1px solid var(--hairline); }
.cta__rows dt {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cta__rows dd { font-size: 0.9375rem; color: var(--ink); overflow-wrap: anywhere; }
.cta__addr { font-style: normal; line-height: 1.5; }
.cta__rows a { font-weight: 600; border-bottom: 1px solid var(--hairline); }
.cta__rows a:hover { border-bottom-color: var(--brand); }

.foot { padding-block: var(--gap-block) 1.5rem; background: var(--stage); color: oklch(0.86 0.003 264.5); }
.foot__inner { display: grid; gap: var(--gap-block); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.foot__brand img { width: auto; height: 34px; background: var(--surface); padding: 0.4rem 0.55rem; border-radius: 4px; }
.foot__brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; max-width: min(40ch, 100%); }
.foot__col { display: grid; gap: 0.7rem; align-content: start; }
.foot__k {
  font-stretch: var(--wd-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: oklch(0.68 0.006 264.5);
}
.foot__col a { font-size: 0.9375rem; color: oklch(0.9 0.003 264.5); }
.foot__col a:hover { color: var(--brand); }
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(1 0 0 / 0.12);
  font-size: 0.8125rem;
  color: oklch(0.72 0.006 264.5);
}
.foot__bottom a:hover { color: var(--brand); }

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: oklch(0.24 0.006 0.6);
  box-shadow: 0 8px 24px oklch(0.19 0.008 264.5 / 0.28);
  transition: scale 0.18s var(--ease);
}
.wa-float:hover { scale: 1.07; }

@media (min-width: 620px) {
  .hero__actions { margin-top: 2.25rem; }
}

@media (min-width: 900px) {
  .nav__burger { display: none; }
  .hero { min-height: min(84vh, 780px); display: grid; align-items: center; }
  .hero__copy { max-width: min(34rem, 100%); }
  .svc__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); }
  .svc__intro { position: sticky; top: 104px; }
  .svc__panel { display: block; }
  .obra--feature { grid-column: span 2; }
  .sobre__grid:has(.sobre__media) { grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
  .cta__grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); }
  .foot__inner { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
}

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__end .btn--brand { display: none; }
  .hero__poster { opacity: 0.5; }
}

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