:root {
  --black: #0a0a0a;
  --ink: #141210;
  --graphite: #1f1f1f;
  --sand-dark: #2a2520;
  --gold: #c9a961;
  --gold-hover: #d6ba78;
  --gold-line: rgba(201, 169, 97, 0.32);
  --text: #f5f1ea;
  --muted: #b8b1a6;
  --dim: #8f887d;
  --whatsapp: #25d366;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --header-height: 84px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 0.6s ease, visibility 0.6s ease;
  animation: loaderExit 0.6s ease 1.7s forwards;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__mark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 6rem;
  letter-spacing: 0;
}

.loader__bar {
  position: absolute;
  right: 8vw;
  bottom: 6vh;
  left: 8vw;
  height: 1px;
  background: rgba(245, 241, 234, 0.12);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  animation: loading 1.5s ease forwards;
}

@keyframes loading {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.cursor {
  position: fixed;
  z-index: 999;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.cursor.is-active {
  opacity: 0.85;
}

.cursor.is-hover {
  width: 46px;
  height: 46px;
  border-color: rgba(201, 169, 97, 0.42);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--text);
  transition: height 0.28s ease, background 0.28s ease, border-color 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(10, 10, 10, 0.78);
  border-bottom: 1px solid rgba(201, 169, 97, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand__monogram {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 38px;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.brand__monogram--image {
  width: auto;
  min-width: 54px;
  padding: 4px 8px;
}

.brand__monogram--image img {
  width: auto;
  max-width: 132px;
  height: 28px;
  object-fit: contain;
}

.brand__text {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  width: 100%;
}

.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.22s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-hover);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 42px;
  padding: 0 18px;
  background: var(--gold);
  color: #15110c;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gold-line);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--gold);
  transition: transform 0.22s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--header-height) clamp(20px, 7vw, 120px) 70px;
  isolation: isolate;
  overflow: hidden;
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 16s ease forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.83), rgba(10, 10, 10, 0.48) 54%, rgba(10, 10, 10, 0.72)),
    linear-gradient(0deg, rgba(10, 10, 10, 0.76), transparent 40%);
}

.hero__content {
  width: 100%;
  max-width: 780px;
  opacity: 0;
  animation: introUp 1s 0.45s ease forwards;
}

@keyframes introUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--gold-hover);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(4.9rem, 8vw, 7.4rem);
}

h2 {
  margin-bottom: 26px;
  font-size: 5.6rem;
}

h3 {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.05;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(245, 241, 234, 0.18);
  background: rgba(10, 10, 10, 0.34);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__actions,
.center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.btn--gold {
  background: var(--gold);
  color: #14100b;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--gold-hover);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(201, 169, 97, 0.12);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 48px;
  border: 1px solid rgba(245, 241, 234, 0.28);
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 22px); }
}

.section {
  padding: clamp(82px, 11vw, 150px) clamp(20px, 7vw, 120px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.about {
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 169, 97, 0.08), transparent 28%),
    var(--black);
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__image::after {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 28px;
  z-index: -1;
  border: 1px solid var(--gold-line);
}

.about__badge {
  position: absolute;
  right: -24px;
  bottom: 36px;
  width: min(190px, 46vw);
  padding: 24px;
  border: 1px solid var(--gold-line);
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
}

.about__badge strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.8;
}

.about__badge span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about__copy p:not(.section-label) {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.feature-list span,
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
}

.feature-list svg,
.contact-list svg,
.service-card svg,
.social-links svg {
  width: 20px;
  min-width: 20px;
  color: var(--gold);
  stroke-width: 1.5;
}

.text-link {
  display: inline-flex;
  color: var(--gold-hover);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 46px;
  height: 1px;
  margin: auto 0 auto 14px;
  background: var(--gold);
  transition: width 0.22s ease;
}

.text-link:hover::after {
  width: 72px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: var(--ink);
}

.metrics__item {
  padding: clamp(34px, 5vw, 72px) 24px;
  text-align: center;
}

.metrics__item + .metrics__item {
  border-left: 1px solid var(--gold-line);
}

.metrics__item strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 5.6rem;
  font-weight: 600;
  line-height: 0.85;
}

.metrics__item:nth-child(1) strong::after,
.metrics__item:nth-child(2) strong::after {
  content: "+";
}

.metrics__item:nth-child(3) strong::after {
  content: "m²";
  font-size: 0.34em;
}

.metrics__item:nth-child(4) strong::after {
  content: "%";
  font-size: 0.52em;
}

.metrics__item span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.services,
.process {
  background: var(--black);
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: clamp(38px, 6vw, 70px);
}

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

.service-card {
  min-height: 318px;
  padding: clamp(26px, 3.2vw, 42px);
  border: 1px solid rgba(245, 241, 234, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.service-card:hover {
  border-color: var(--gold-line);
  background: rgba(201, 169, 97, 0.045);
  transform: translateY(-6px);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-hover);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card a::after {
  content: "→";
  margin-left: 8px;
}

.portfolio {
  background: var(--ink);
}

.conversion {
  background:
    linear-gradient(135deg, rgba(201, 169, 97, 0.08), transparent 42%),
    var(--ink);
}

.conversion .section-heading p:not(.section-label) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--gold-line);
  background: var(--gold-line);
}

.conversion-card {
  min-height: 270px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--black);
}

.conversion-card strong {
  color: var(--gold-hover);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.conversion-card h3 {
  margin: 28px 0 16px;
}

.conversion-card p {
  color: var(--muted);
}

.service-page {
  min-height: 100svh;
  padding-top: 150px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.72)),
    url("/images/hero/hero-industrial-logistica.webp") center / cover;
}

.service-page__body {
  max-width: 760px;
}

.service-page__body p {
  color: var(--muted);
  font-size: 1.1rem;
}

.service-page__scope {
  margin: 42px 0 34px;
  padding: 28px;
  border: 1px solid rgba(245, 241, 234, 0.12);
  background: rgba(10, 10, 10, 0.54);
}

.service-page__scope h2 {
  margin-bottom: 20px;
  font-size: 2.35rem;
}

.service-page__scope ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-page__scope li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.service-page__scope li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.portfolio-filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(245, 241, 234, 0.16);
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.portfolio-filters button:hover,
.portfolio-filters button.active {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.09);
  color: var(--gold-hover);
}

.portfolio-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 190px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 234, 0.08);
  background: var(--graphite);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card.tall {
  grid-row: span 2;
}

.project-card.wide {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.project-card > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.86));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.project-card:hover {
  border-color: var(--gold-line);
}

.project-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.86);
}

.project-card:hover > div,
.project-card:focus-within > div {
  opacity: 1;
}

.project-card span {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.project-card small {
  margin-top: 8px;
  color: var(--muted);
}

.project-card__cta {
  width: fit-content;
  margin-top: 16px;
  padding: 9px 13px;
  border: 1px solid var(--gold);
  background: rgba(10, 10, 10, 0.4);
  color: var(--gold-hover);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-page {
  min-height: 100svh;
  padding-top: 118px;
  background: var(--black);
}

.project-page__intro,
.project-page__content,
.project-page__gallery,
.project-page__cta {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.project-page__intro {
  padding: 72px 0 48px;
}

.project-page__intro h1 {
  max-width: 960px;
  margin: 14px 0 22px;
  font-size: 5rem;
}

.project-page__intro .hero__lead {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs a {
  color: var(--gold-hover);
}

.project-page__hero {
  width: 100%;
  max-height: 82svh;
  margin: 0;
  overflow: hidden;
  background: var(--graphite);
}

.project-page__hero img {
  width: 100%;
  height: min(82svh, 900px);
  object-fit: cover;
}

.project-page__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  padding: 96px 0;
}

.project-page__content h2,
.project-page__gallery h2,
.project-page__cta h2 {
  font-size: 3.7rem;
}

.project-page__content .case-story {
  max-width: 760px;
}

.project-page__specs {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--gold-line);
}

.project-page__specs span {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.1);
  color: var(--muted);
}

.project-page__specs strong {
  color: var(--gold-hover);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.project-page__specs > a {
  margin-top: 22px;
  color: var(--gold-hover);
  font-weight: 700;
}

.project-page__gallery {
  padding: 24px 0 96px;
}

.project-page__gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-page__gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-page__cta {
  padding: 76px 0 110px;
  border-top: 1px solid var(--gold-line);
}

.portfolio .center {
  justify-content: center;
  margin-top: 48px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--gold-line);
}

.timeline__item {
  position: relative;
  padding: 36px 24px 0 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--gold);
}

.timeline__item strong {
  display: block;
  margin-bottom: 28px;
  color: rgba(201, 169, 97, 0.42);
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 0.8;
}

.timeline__item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq {
  background: var(--black);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.faq-list details {
  border-top: 1px solid var(--gold-line);
  padding: 24px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--gold-line);
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.faq-list summary::marker {
  color: var(--gold);
}

.faq-list p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 98px);
  background: var(--sand-dark);
}

.contact__info > p:not(.section-label) {
  color: var(--muted);
  max-width: 600px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-line);
}

.map {
  width: 100%;
  height: 260px;
  border: 1px solid var(--gold-line);
  filter: grayscale(1) invert(0.9) contrast(0.85);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid var(--gold-line);
  background: rgba(10, 10, 10, 0.32);
}

.quote-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.quote-form select option {
  background: var(--black);
  color: var(--text);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold);
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.quote-form .check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.form-status {
  min-height: 24px;
  color: var(--gold-hover);
  font-weight: 700;
}

.footer {
  padding: 70px clamp(20px, 7vw, 120px) 28px;
  background: #050505;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 42px;
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--gold-hover);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer p,
.footer a,
.footer__bottom {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: var(--gold-hover);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--gold-line);
}

.whatsapp,
.back-top {
  position: fixed;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(201, 169, 97, 0.52);
  background: var(--gold);
  color: #101010;
}

.whatsapp {
  right: 22px;
  bottom: 22px;
  border-color: rgba(37, 211, 102, 0.52);
  background: var(--whatsapp);
  color: #fff;
  font-weight: 900;
  animation: pulse 2.4s ease infinite;
}

.whatsapp span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.whatsapp small {
  position: absolute;
  right: 70px;
  width: max-content;
  padding: 8px 10px;
  border: 1px solid var(--gold-line);
  background: rgba(10, 10, 10, 0.9);
  color: var(--text);
  font-size: 0.76rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp:hover small {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.26); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

.back-top {
  left: 22px;
  bottom: 22px;
  border: 1px solid var(--gold-line);
  background: rgba(10, 10, 10, 0.7);
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-modal {
  width: min(1020px, calc(100% - 32px));
  max-height: min(820px, calc(100svh - 32px));
  padding: 0;
  border: 1px solid var(--gold-line);
  background: var(--black);
  color: var(--text);
}

.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-line);
  background: rgba(10, 10, 10, 0.82);
  color: var(--gold);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.modal-gallery img {
  width: 100%;
  height: 50%;
  min-height: 300px;
  object-fit: cover;
}

.modal-copy {
  padding: clamp(28px, 4vw, 56px);
}

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

.case-story {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.case-story div {
  padding: 14px;
  border: 1px solid rgba(245, 241, 234, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.case-story strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-hover);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.case-story p {
  margin-bottom: 0;
}

.modal-specs {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-line);
}

.modal-specs span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.modal-specs strong {
  color: var(--gold-hover);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 4.8rem;
  }

  .nav {
    gap: 16px;
  }

  .header-cta {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 0;
    border-left: 1px solid var(--gold-line);
  }

  .timeline__item {
    padding: 0 0 34px 30px;
  }

  .timeline__item::before {
    top: 9px;
    left: -5px;
  }
}

@media (max-width: 900px) {
  h2 {
    font-size: 4.1rem;
  }

  .hero__lead {
    font-size: 1.08rem;
  }

  .metrics__item strong {
    font-size: 4.6rem;
  }

  .site-header {
    height: 72px;
  }

  .brand__text {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 102;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--gold-line);
    background: rgba(10, 10, 10, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(245, 241, 234, 0.08);
    font-size: 1rem;
  }

  .hero {
    align-items: flex-end;
  }

  .section-grid,
  .contact,
  .modal-body,
  .project-page__content {
    grid-template-columns: 1fr;
  }

  .project-page__content {
    gap: 46px;
  }

  .about__image::after {
    inset: 18px -12px -12px 18px;
  }

  .about__badge {
    right: 16px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics__item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
  }

  .metrics__item:nth-child(4) {
    border-top: 1px solid var(--gold-line);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .conversion-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-auto-rows: 230px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.wide {
    grid-column: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 20px;
  }

  h1 {
    font-size: 3.45rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 3.2rem;
  }

  .eyebrow,
  .section-label {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero__content,
  .hero__lead {
    width: min(310px, calc(100vw - 40px));
    max-width: min(310px, calc(100vw - 40px));
  }

  .hero__lead {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero__proof {
    gap: 8px;
  }

  .hero__proof span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .feature-list,
  .metrics,
  .portfolio-grid,
  .quote-form,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .project-page {
    padding-top: 88px;
  }

  .project-page__intro,
  .project-page__content,
  .project-page__gallery,
  .project-page__cta {
    width: min(100% - 40px, 1180px);
  }

  .project-page__intro {
    padding: 54px 0 34px;
  }

  .project-page__intro h1 {
    font-size: 3.15rem;
  }

  .project-page__hero img {
    height: 62svh;
  }

  .project-page__content {
    padding: 70px 0;
  }

  .project-page__content h2,
  .project-page__gallery h2,
  .project-page__cta h2 {
    font-size: 2.7rem;
  }

  .project-page__gallery-grid {
    grid-template-columns: 1fr;
  }

  .metrics__item + .metrics__item {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
  }

  .project-card.tall {
    grid-row: span 1;
  }

  .project-card > div {
    opacity: 1;
  }

  .quote-form {
    padding: 24px 20px;
  }

  .whatsapp,
  .back-top {
    width: 52px;
    height: 52px;
  }

  .whatsapp small {
    display: none;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .loader__mark {
    font-size: 4.6rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

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