:root {
  --bg: #0d0c0a;
  --bg-soft: #15120e;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --line-warm: rgba(205, 171, 93, 0.35);
  --text: #f7f3ea;
  --muted: rgba(247, 243, 234, 0.68);
  --soft: rgba(247, 243, 234, 0.48);
  --gold: #caaa5a;
  --gold-light: #ead28a;
  --ink: #11100d;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
  --radius: 8px;
  --max: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(120deg, rgba(202, 170, 90, 0.14) 0%, rgba(202, 170, 90, 0.035) 24%, transparent 52%),
    linear-gradient(180deg, #171510 0%, #0d0c0a 38%, #11100d 70%, #1a1309 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 18%, transparent 82%, rgba(202, 170, 90, 0.045)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 20%, rgba(202, 170, 90, 0.075) 100%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 255, 255, 0.024) 118px 119px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(255, 255, 255, 0.014) 118px 119px);
  opacity: 0.72;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(150deg, transparent 0 32%, rgba(234, 210, 138, 0.055) 32% 33%, transparent 33% 100%),
    linear-gradient(24deg, rgba(255, 255, 255, 0.028) 0 12%, transparent 12% 100%);
  mix-blend-mode: screen;
  opacity: 0.6;
  z-index: -1;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.section-shell {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.section-pad {
  padding-block: 82px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(13, 12, 10, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(13, 12, 10, 0.9);
}

.nav {
  width: min(100% - 32px, var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-warm);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(202, 170, 90, 0.08);
  font-size: 0.78rem;
}

.brand-text {
  font-size: 0.98rem;
}

.nav-menu {
  position: fixed;
  inset: var(--header-h) 16px auto;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 8, 7, 0.98);
  box-shadow: var(--shadow);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
}

.nav-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  gap: 46px;
  padding-block: 48px 34px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(3rem, 17vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 10vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 4vw, 1.35rem);
}

.hero-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(202, 170, 90, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #f4df9f, #d8b867);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--line-warm);
  background: rgba(202, 170, 90, 0.08);
}

.btn-small {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.86rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge-row span,
.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.portrait-stage {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(202, 170, 90, 0.14), rgba(255, 255, 255, 0.03) 40%, rgba(10, 10, 9, 0.9)),
    #0a0a09;
  box-shadow: var(--shadow);
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.62));
  z-index: 1;
}

.portrait-stage img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(1.02);
}

.portrait-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  color: var(--text);
}

.portrait-caption span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portrait-caption strong {
  max-width: 150px;
  text-align: right;
  font-size: 0.92rem;
  line-height: 1.2;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 34px;
}

.about-content {
  border-top: 1px solid var(--line-warm);
  padding-top: 28px;
}

.about-content p {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 4.5vw, 1.65rem);
  line-height: 1.45;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 920px;
  margin-top: 26px;
}

.about-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(234, 210, 138, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(247, 243, 234, 0.82);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.services-grid {
  display: grid;
  gap: 14px;
}

.service-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card {
  min-height: 238px;
  padding: 24px;
}

.service-card:hover,
.process-step:hover,
.project-feature:hover {
  transform: translateY(-5px);
  border-color: var(--line-warm);
  background: var(--surface-strong);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius);
  color: var(--gold-light);
  background: rgba(202, 170, 90, 0.08);
}

.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p,
.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-feature {
  display: grid;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(140deg, rgba(202, 170, 90, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-number {
  color: var(--gold-light);
}

.project-content h3 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 13vw, 5.2rem);
  line-height: 0.92;
}

.project-content p {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 3.8vw, 1.25rem);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.future-projects {
  display: grid;
  gap: 18px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(140deg, rgba(202, 170, 90, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.future-projects span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.future-projects strong {
  font-size: clamp(1.1rem, 5vw, 1.5rem);
}

.future-projects a {
  justify-self: start;
  color: var(--text);
  font-weight: 800;
  border-bottom: 1px solid var(--gold);
}

.clients-showcase {
  display: grid;
  gap: 14px;
}

.client-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  color: var(--text);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.client-logo-frame {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 13 / 8;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.035);
}

.client-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.client-name {
  display: block;
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.client-card:hover,
.client-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--line-warm);
  background: var(--surface-strong);
}

.client-card:focus-visible {
  outline: none;
}

.process-grid {
  display: grid;
  gap: 14px;
}

.process-step {
  padding: 22px;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  gap: 32px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius);
  padding: clamp(24px, 6vw, 52px);
  background:
    linear-gradient(135deg, rgba(202, 170, 90, 0.16), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.02)),
    rgba(5, 5, 5, 0.8);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.contact-text {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-warm);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.contact-links span {
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-links strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.whatsapp-cta {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 6px;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 700;
}

.footer-inner span {
  color: var(--soft);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(234, 210, 138, 0.42);
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.02);
  outline: none;
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: min(90vw, 420px);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text);
  background: rgba(8, 8, 7, 0.94);
  box-shadow: var(--shadow);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (min-width: 680px) {
  .section-shell {
    width: min(100% - 64px, var(--max));
  }

  .services-grid,
  .process-grid,
  .clients-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-projects,
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    gap: 54px;
    padding-block: 58px 42px;
  }

  .hero-copy {
    padding-top: 20px;
  }

  .portrait-stage {
    min-height: min(72svh, 710px);
  }

  .portrait-stage img {
    min-height: min(72svh, 710px);
  }

  .section-heading {
    grid-template-columns: 0.45fr 1fr;
    align-items: end;
    gap: 32px;
  }

  .section-heading .eyebrow {
    margin-bottom: 8px;
  }

  .about-content {
    margin-left: 32%;
  }

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

  .project-feature {
    grid-template-columns: 0.28fr 1fr;
    padding: 34px;
  }

  .project-meta {
    min-height: 100%;
    display: grid;
    align-content: space-between;
    justify-content: start;
  }

  .process-grid,
  .clients-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr 0.82fr;
    align-items: start;
  }
}

@media (min-width: 1120px) {
  h1 {
    font-size: 6.4rem;
  }

  .section-pad {
    padding-block: 112px;
  }
}

@media (max-width: 440px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .brand-text {
    max-width: 152px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    gap: 34px;
    padding-top: 34px;
  }

  .hero-actions .btn,
  .project-actions .btn {
    width: 100%;
  }

  .badge-row span {
    min-height: 32px;
  }

  .portrait-stage,
  .portrait-stage img {
    min-height: 420px;
  }

  .portrait-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .portrait-caption strong {
    max-width: none;
    text-align: left;
  }

  .service-card,
  .process-step,
  .project-feature {
    padding: 20px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
