:root {
  --ink: #0f1115;
  --ink-soft: #3a404c;
  --muted: #6b7280;
  --paper: #f5f6f8;
  --white: #ffffff;
  --line: #e5e7eb;
  --gold: #c9a227;
  --gold-soft: #e4c76a;
  --dark: #0b0d12;
  --dark-2: #151922;
  --navy: #121826;
  --header-h: 78px;
  --serif: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  color-scheme: light;
}

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

html {
  scroll-padding-top: 100px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 80;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  max-width: 54ch;
  color: var(--ink-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 18, 0.96);
  color: var(--paper);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 240, 230, 0.35);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d7dbe3;
  transition: color 0.3s var(--ease-out);
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav a:not(.btn):hover::after,
.nav a:not(.btn).is-active::after {
  transform: scaleX(1);
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.btn:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.nav a.btn,
.nav a.btn:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.btn-dark {
  background: var(--ink);
  color: white;
}

.btn-dark:hover {
  background: #222833;
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 17, 21, 0.2);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  color: white;
  background-color: #0b0d12;
  background-image:
    linear-gradient(115deg, rgba(8, 10, 14, 0.92) 0%, rgba(12, 16, 24, 0.78) 45%, rgba(12, 16, 24, 0.68) 100%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  max-width: 12ch;
  color: white;
}

.hero h1 em {
  color: var(--gold-soft);
}

.hero .lede {
  color: #c9d0dc;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

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

.hero-form,
.hero-form.contact-form {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(18, 24, 38, 0.96);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color: #d5dae3;
}

.hero-form h2 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-form p {
  margin: 0 0 18px;
  color: #b8c0ce;
  font-size: 14px;
}

.hero-form .field {
  margin-bottom: 12px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  background: white;
  color: var(--ink);
  border: 0;
  border-radius: 10px;
}

.hero-form .btn {
  width: 100%;
  margin-top: 4px;
}

.stats {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 18px 40px rgba(15, 17, 21, 0.08);
}

.stat {
  padding: 22px 18px;
  background: var(--white);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 28px;
  max-width: 640px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section-head .lede {
  margin: 0;
}

.band {
  background: var(--paper);
}

.band .card {
  background: var(--white);
}

.band-dark {
  background: var(--dark);
  color: #d5dae3;
}

.band-dark .section-head h2,
.band-dark h2,
.band-dark h3 {
  color: white;
}

.band-dark .lede,
.band-dark p {
  color: #b4bcc9;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.visual {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #121826;
}

.visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.15), rgba(11, 13, 18, 0.72));
  pointer-events: none;
}

.visual-frame {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}

.visual-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  max-width: 18ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.15;
  color: white;
}

.card-media {
  margin: -22px -22px 16px;
  height: 140px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #121826;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(15, 17, 21, 0.08);
}

.card .num,
.card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.12);
  color: #8a6f14;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  flex: 1;
}

.card .more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a6f14;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step .num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.step p {
  margin: 0;
  font-size: 14px;
}

.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  padding: 18px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.client:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 17, 21, 0.06);
}

.client img {
  width: min(100%, 140px);
  height: 48px;
  object-fit: contain;
}

.client-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.cta-band {
  padding: 42px 0;
  background:
    linear-gradient(120deg, rgba(11, 13, 18, 0.94), rgba(18, 24, 38, 0.9)),
    radial-gradient(circle at 85% 40%, rgba(201, 162, 39, 0.25), transparent 35%);
  color: white;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 36px;
  color: white;
  background-color: #0b0d12;
  background-image:
    linear-gradient(120deg, rgba(11, 13, 18, 0.88), rgba(23, 29, 42, 0.78)),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  max-width: 16ch;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: white;
}

.page-hero .lede {
  margin: 0;
  color: #c3cad6;
}

.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(245, 246, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.anchor-inner {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
}

.anchor-inner a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.anchor-inner a:hover,
.anchor-inner a.is-active {
  border-color: var(--gold);
  color: #8a6f14;
  background: rgba(201, 162, 39, 0.1);
  transform: translateY(-1px);
}

.section-services {
  padding-top: 36px;
}

.services-stack {
  display: grid;
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1.1fr minmax(220px, 280px);
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.04);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 22px 48px rgba(15, 17, 21, 0.1);
}

.service-photo {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #121826;
}

.service-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.service-card:hover .service-photo img {
  transform: scale(1.06);
}

.service-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 13, 18, 0.82);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.service-body {
  padding: 28px 24px;
}

.service-body h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

.service-body p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #8a6f14;
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.text-link::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}

.text-link:hover {
  gap: 10px;
  color: var(--ink);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.includes {
  margin: 0;
  padding: 24px 22px 12px;
  list-style: none;
  background: linear-gradient(180deg, #fbf8f2, #f3f0e8);
  border-left: 1px solid var(--line);
}

.includes li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  font-size: 14px;
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.service-card:hover .includes li {
  transform: translateX(2px);
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.expect-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.expect-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(15, 17, 21, 0.08);
}

.expect-icon {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #8a6f14;
}

/* Animaciones seguras: solo se ocultan si JS marcó motion-on;
   si algo falla, el contenido permanece visible. */
.fx {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-on .fx {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  html.motion-on .fx.is-in {
    opacity: 1;
    transform: none;
  }

  html.motion-on .service-card.fx:nth-child(1) { transition-delay: 0.05s; }
  html.motion-on .service-card.fx:nth-child(2) { transition-delay: 0.1s; }
  html.motion-on .service-card.fx:nth-child(3) { transition-delay: 0.15s; }
  html.motion-on .service-card.fx:nth-child(4) { transition-delay: 0.2s; }

  html.motion-on .expect-item.fx:nth-child(1) { transition-delay: 0.05s; }
  html.motion-on .expect-item.fx:nth-child(2) { transition-delay: 0.1s; }
  html.motion-on .expect-item.fx:nth-child(3) { transition-delay: 0.15s; }
  html.motion-on .expect-item.fx:nth-child(4) { transition-delay: 0.2s; }

  .page-hero .fx.is-in {
    animation: rise 0.85s var(--ease-out) both;
  }
}

.values,
.expect-grid,
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.value,
.expect-item,
.partner {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}

.monogram {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
}

.partner h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.role {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6f14;
}

.partner p:last-child,
.value p,
.expect-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.value h3,
.expect-item h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.pull {
  margin: 24px 0 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.prose p {
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  padding: 40px 0 64px;
}

.facts {
  margin: 0 0 24px;
}

.facts div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 4px 0 0;
}

.facts a {
  color: #8a6f14;
}

.prepare h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.prepare ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.contact-form,
.form-success {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero .contact-form {
  background: rgba(18, 24, 38, 0.96);
  border-color: rgba(201, 162, 39, 0.35);
  color: #d5dae3;
}

.hero .contact-form h2 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero .contact-form .form-note,
.hero .contact-form p {
  color: #b8c0ce;
}

.contact-form h2,
.form-success h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.form-note {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field span {
  font-size: 12px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form .btn {
  width: 100%;
}

.fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-form .fine {
  color: #9aa3b2;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-grid .form-success[hidden] {
  display: none !important;
}

.form-success:focus {
  outline: none;
}

.site-footer {
  background: var(--dark);
  color: #b7bec9;
  padding: 48px 0 20px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 1.1fr;
  gap: 28px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: white;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li {
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  text-decoration: none;
}

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

.footer-brand strong {
  display: block;
  color: white;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-brand span {
  display: block;
  margin: 4px 0 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: header-in 0.7s var(--ease-out) both;
  }

  .hero-copy > *,
  .hero-form {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.8s var(--ease-out) both;
  }

  .hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.32s; }
  .hero-form { animation-delay: 0.22s; }
}

@keyframes header-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-form,
  .site-header {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 16px;
    background: #0b0d12;
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav a:not(.btn)::after {
    display: none;
  }

  .nav a.btn {
    margin-top: 12px;
    border-bottom: 0;
    text-align: center;
  }

  .cards,
  .steps,
  .stats-inner,
  .clients {
    grid-template-columns: 1fr 1fr;
  }

  .values,
  .expect-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .service-card .includes {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 860px) {
  .hero-grid,
  .split,
  .contact-grid,
  .partners,
  .service-card {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .cta-band .wrap,
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(1180px, calc(100% - 28px));
  }

  .section {
    padding: 48px 0;
  }

  .cards,
  .steps,
  .stats-inner,
  .values,
  .expect-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-photo {
    min-height: 180px;
  }

  .stats {
    margin-top: 24px;
  }
}

.mockup-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14,14,16,0.92);
  color: #c4a35a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(196,163,90,0.4);
  pointer-events: none;
}
