:root {
  --bg: #17191a;
  --bg-deep: #0f1112;
  --panel: #1e2021;
  --gold: #d0ad70;
  --gold-bright: #e7ca91;
  --gold-deep: #9a7139;
  --silver: #d7d7d2;
  --warm-white: #ede7da;
  --muted: #a89f90;
  --line: rgba(208, 173, 112, 0.24);
  --header-height: 88px;
  --shell: min(1440px, calc(100vw - 64px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--warm-white);
  font-family: "Montserrat", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
::selection { background: var(--gold); color: var(--bg-deep); }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -60px;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 12px;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(23, 25, 26, .88);
  backdrop-filter: blur(18px);
}
.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: var(--gold-bright);
}
.brand__mark { width: 42px; height: 42px; object-fit: contain; }
.brand__name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.nav-panel { display: flex; align-items: center; justify-content: flex-end; gap: 40px; width: 100%; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2vw, 38px); margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  display: block;
  padding-block: 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.language-switcher { display: inline-flex; align-items: center; gap: 7px; color: rgba(208,173,112,.42); }
.lang-btn {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: rgba(208,173,112,.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}
.lang-btn:hover, .lang-btn.is-active { color: var(--gold-bright); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 12px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--gold); transition: transform .3s ease; }
.menu-toggle span + span { margin-top: 7px; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 45%, rgba(208,173,112,.08), transparent 31%),
    var(--bg-deep);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  background-image:
    linear-gradient(to right, rgba(208,173,112,.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(208,173,112,.045) 1px, transparent 1px);
  background-size: 8.333vw 100%, 100% 84px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
}
.hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 80px 24px 110px; }
.hero__logo { width: clamp(220px, 28vw, 430px); filter: drop-shadow(0 22px 55px rgba(0,0,0,.35)); }
.hero__title {
  margin: 6px 0 0;
  color: var(--gold-bright);
  font-size: clamp(38px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .98;
}
.hero__studio {
  margin: 22px 0 0;
  font-size: clamp(16px, 2.1vw, 31px);
  font-weight: 800;
  letter-spacing: .28em;
  background: linear-gradient(110deg, #9f783f 0%, #e5c88d 22%, #f4f1e8 42%, #a7a6a0 55%, #f4f1e8 68%, #dbb66d 84%, #9d763e 100%);
  background-size: 260% 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: metallic-shine 4.8s linear infinite;
}
.hero__slogan { margin: 14px 0 0; color: var(--gold); font-size: clamp(12px, 1.25vw, 18px); font-weight: 600; letter-spacing: .18em; }
@keyframes metallic-shine { from { background-position: 180% 50%; } to { background-position: -80% 50%; } }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
}
.scroll-cue__line { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: scroll-pulse 1.8s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100% { transform: scaleY(.45); transform-origin: top; opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }

.section { position: relative; padding: clamp(100px, 11vw, 180px) 0; border-bottom: 1px solid var(--line); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(52px, .5fr) 1.1fr 2fr;
  column-gap: clamp(28px, 5vw, 88px);
  row-gap: 70px;
}
.section-index { color: var(--gold-deep); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.section-heading { grid-column: 2; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .22em; }
.section-heading h2 {
  margin: 0;
  color: var(--gold-bright);
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .95;
}
.section-copy { grid-column: 3; }
.section-copy p, .references-intro, .contact-intro p {
  margin: 0;
  color: var(--warm-white);
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -.02em;
}
.about-copy p::first-letter { color: var(--gold-bright); font-size: 3.6em; font-weight: 800; float: left; line-height: .8; padding: .15em .12em 0 0; }
.about-statement {
  grid-column: 2 / 4;
  max-width: 1080px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
  color: rgba(208,173,112,.16);
  font-size: clamp(40px, 6.3vw, 94px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.section--services { background: var(--panel); }
.services-list { grid-column: 2 / 4; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.services-list li {
  display: grid;
  grid-template-columns: 70px 1fr 36px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), background .35s ease;
}
.services-list li:hover { padding-inline: 18px; background: rgba(208,173,112,.045); }
.services-list span { color: var(--gold-deep); font-size: 11px; font-weight: 700; }
.services-list strong { color: var(--gold-bright); font-size: clamp(20px, 2.4vw, 38px); font-weight: 700; letter-spacing: -.035em; }
.services-list i { color: var(--gold); font-size: 20px; font-style: normal; text-align: right; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--gold); color: var(--bg-deep); }
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee var(--marquee-duration, 28s) linear infinite;
}
.marquee__group { display: flex; flex: 0 0 auto; min-width: max-content; }
.marquee__track span { display: block; flex: 0 0 auto; padding: 21px 0 20px; white-space: nowrap; font-size: clamp(17px, 1.8vw, 28px); font-weight: 900; letter-spacing: .04em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section-grid--references { grid-template-columns: minmax(52px, .5fr) 1.1fr 2fr; margin-bottom: 72px; }
.references-intro { grid-column: 3; align-self: end; max-width: 650px; }
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(22px, 2.4vw, 38px);
}
.reference-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-deep);
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: border-color .35s ease, transform .35s var(--ease);
}
.reference-card:hover, .reference-card:focus-visible {
  border-color: rgba(231,202,145,.62);
  transform: translateY(-4px);
}
.reference-card:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 5px; }
.reference-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease), filter .6s ease; }
.reference-card:hover img, .reference-card:focus-visible img { transform: scale(1.035); filter: saturate(1.08) contrast(1.03); }
.reference-card__meta {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: start;
  gap: 8px;
  min-height: 92px;
  padding: 22px;
  border-top: 1px solid var(--line);
}
.reference-card__meta span { color: var(--gold-deep); font-size: 10px; font-weight: 700; }
.reference-card__meta strong { margin: 0; color: var(--gold-bright); font-size: 14px; font-weight: 700; line-height: 1.4; }

.section--contact { background: var(--bg-deep); padding-bottom: 0; }
.section-grid--contact { grid-template-columns: minmax(52px, .5fr) 1.1fr 2fr; }
.contact-intro { grid-column: 2; grid-row: 2; }
.contact-intro p { font-size: clamp(17px, 1.3vw, 21px); }
.contact-links {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.contact-link {
  display: grid;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-link span { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.contact-link strong {
  color: var(--warm-white);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color .25s ease;
}
.contact-link:hover strong, .contact-link:focus-visible strong { color: var(--gold-bright); }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; padding-bottom: 8px; border-bottom: 1px solid var(--gold); color: var(--gold-bright); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.text-link::after { content: "↗"; transition: transform .3s var(--ease); }
.text-link:hover::after { transform: translate(4px,-4px); }
.contact-form { grid-column: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 38px 24px; }
.field { display: flex; flex-direction: column; gap: 12px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--warm-white);
  padding: 8px 0 15px;
  font-size: 16px;
  transition: border-color .25s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg-deep); color: var(--warm-white); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-bright); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #d88f79; }
.submit-btn {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  padding: 0 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.submit-btn i { font-size: 18px; font-style: normal; }
.submit-btn:hover { background: var(--gold); color: var(--bg-deep); }
.form-status { grid-column: 1 / -1; min-height: 20px; margin: -20px 0 0; color: var(--gold); font-size: 12px; }
.contact-closing {
  max-width: min(1180px, var(--shell));
  margin-top: clamp(100px, 12vw, 180px);
  padding: 54px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: clamp(38px, 5.6vw, 82px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 58px);
  background: rgba(8, 9, 9, .92);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100svh - 72px);
}
.lightbox__figure { margin: 0; }
.lightbox__image {
  width: 100%;
  max-height: calc(100svh - 150px);
  object-fit: contain;
  background: var(--bg-deep);
  box-shadow: 0 28px 90px rgba(0,0,0,.5);
}
.lightbox__caption {
  padding-top: 18px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lightbox__close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--gold-bright);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease;
}
.lightbox__close:hover, .lightbox__close:focus-visible {
  transform: rotate(90deg);
  background: var(--gold);
  color: var(--bg-deep);
  outline: none;
}
body.lightbox-open { overflow: hidden; }

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer-grid { min-height: 140px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 42px; }
.brand--footer .brand__mark { width: 46px; height: 46px; }
.footer-copy { margin: 0; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .03em; }
.back-to-top { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; }

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(231,202,145,.65);
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--gold-bright);
  box-shadow: 0 16px 44px rgba(0,0,0,.32);
  transition: transform .3s var(--ease), background .3s ease, color .3s ease;
}
.floating-whatsapp::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(208,173,112,.17); border-radius: inherit; animation: wa-pulse 2.6s ease-out infinite; }
.floating-whatsapp:hover { transform: translateY(-5px); background: var(--gold); color: var(--bg-deep); }
.floating-whatsapp svg { width: 27px; height: 27px; }
@keyframes wa-pulse { 0% { transform: scale(.9); opacity: .7; } 70%,100% { transform: scale(1.22); opacity: 0; } }
.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 26px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--gold-bright);
  font-size: 12px;
  line-height: 1.5;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 1440px); }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-panel {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    height: calc(100svh - var(--header-height));
    flex-direction: column;
    justify-content: center;
    gap: 44px;
    background: rgba(15,17,18,.98);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s var(--ease), opacity .3s ease, visibility .3s ease;
  }
  .menu-open .nav-panel { transform: translateY(0); opacity: 1; visibility: visible; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links { flex-direction: column; gap: 16px; }
  .nav-links a { font-size: clamp(20px, 4vw, 36px); font-weight: 800; letter-spacing: -.03em; }
  .section-grid, .section-grid--references, .section-grid--contact { grid-template-columns: 44px 1fr 1.8fr; column-gap: 28px; }
  .reference-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr auto; padding-block: 35px; }
  .footer-copy { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 760px) {
  :root { --header-height: 74px; --shell: calc(100% - 28px); }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 13px; }
  .hero__content { padding-top: 60px; }
  .hero__logo { width: min(66vw, 320px); }
  .hero__studio { letter-spacing: .16em; }
  .hero__slogan { letter-spacing: .11em; }
  .section { padding: 92px 0; }
  .section-grid, .section-grid--references, .section-grid--contact { display: grid; grid-template-columns: 42px 1fr; row-gap: 40px; }
  .section-index { grid-column: 1; grid-row: 1; }
  .section-heading { grid-column: 2; }
  .section-copy, .references-intro { grid-column: 1 / -1; }
  .about-statement { grid-column: 1 / -1; padding-top: 34px; }
  .services-list { grid-column: 1 / -1; }
  .services-list li { grid-template-columns: 42px 1fr 26px; min-height: 92px; }
  .section-grid--references { margin-bottom: 48px; }
  .reference-grid { grid-template-columns: 1fr; gap: 24px; }
  .reference-card__meta { min-height: 78px; }
  .lightbox { padding: 16px; }
  .lightbox__dialog { max-height: calc(100svh - 32px); }
  .lightbox__image { max-height: calc(100svh - 110px); }
  .lightbox__close { top: 10px; right: 10px; width: 42px; height: 42px; background: rgba(15,17,18,.92); }
  .contact-intro { grid-column: 1 / -1; grid-row: auto; }
  .contact-form { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .field, .field--full, .submit-btn, .form-status { grid-column: 1; }
  .contact-closing { margin-top: 90px; padding-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr auto; gap: 28px; }
  .brand--footer .brand__name { display: none; }
  .floating-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

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