:root {
  --bg: #f6f3ec;
  --surface: #fdfbf7;
  --surface-soft: #f8f2e7;
  --ink: #161f34;
  --ink-soft: #303a50;
  --gold: #b8955a;
  --gold-deep: #9f7c43;
  --border: #ddd2bf;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 34px rgba(18, 24, 40, 0.08);
  --shadow-card: 0 18px 42px rgba(15, 20, 34, 0.12);
  --container: min(1160px, calc(100% - 2rem));
  --header-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --viewport-h: 100vh;
}

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

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

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-width: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(184, 149, 90, 0.9);
  outline-offset: 3px;
}

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

main {
  padding-top: var(--header-h);
  overflow-x: hidden;
}

.site-footer {
  overflow-x: hidden;
}

.section,
.container,
.service-card,
.price-card,
.case-card,
.values,
.contact-form,
.hero-copy,
.hero-panel,
.cta-band-wrap {
  min-width: 0;
}

.skip-link {
  position: absolute;
  top: -140px;
  left: 1rem;
  z-index: 3000;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: clamp(3.4rem, 9vw, 7.6rem) 0;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section-tight {
  padding: 0 0 clamp(3.4rem, 6vw, 4.9rem);
}

.section-muted {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.44), rgba(184, 149, 90, 0.08));
  border-top: 1px solid rgba(184, 149, 90, 0.22);
  border-bottom: 1px solid rgba(184, 149, 90, 0.22);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(1.8rem, 4vw, 2.9rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
}

h1,
h2,
h3,
h4,
legend {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.15rem, 10vw, 4.7rem);
}

h2 {
  font-size: clamp(1.7rem, 7.2vw, 3.1rem);
}

h3 {
  font-size: clamp(1.23rem, 5.2vw, 1.8rem);
}

p {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.lead {
  max-width: 60ch;
  font-size: clamp(1rem, 4.5vw, 1.28rem);
  color: #dbe3f7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  max-width: 100%;
  padding: 0.78rem 1.18rem;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
  cursor: pointer;
  white-space: normal;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(125deg, #c9a76d, var(--gold));
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 149, 90, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 15px 28px rgba(184, 149, 90, 0.4);
}

.btn-ghost {
  border-color: rgba(19, 26, 44, 0.25);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  border-color: rgba(19, 26, 44, 0.5);
  background: #fff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: linear-gradient(180deg, rgba(250, 247, 240, 0.78), rgba(250, 247, 240, 0.36));
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 243, 236, 0.96);
  border-color: rgba(22, 31, 52, 0.12);
}

.nav-wrap {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.9rem;
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: min(42vw, 150px);
  -webkit-tap-highlight-color: transparent;
}

.logo img {
  display: block;
  width: auto;
  height: clamp(2.45rem, 5.8vw, 3.05rem);
  object-fit: contain;
}

.site-footer .logo img {
  width: min(8.6rem, 52vw);
  height: auto;
}

.site-nav {
  display: flex;
  gap: 1.3rem;
  justify-content: center;
}

.site-nav a {
  position: relative;
  font-size: 0.92rem;
  color: #2b354c;
  padding: 0.35rem 0.1rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(20, 28, 46, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch a {
  padding: 0.36rem 0.63rem;
  font-size: 0.78rem;
  color: #36405a;
}

.lang-switch .is-active {
  background: rgba(184, 149, 90, 0.2);
  color: #1f283f;
}

.btn-nav {
  padding-inline: 1rem;
  font-size: 0.87rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(20, 28, 46, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  padding: 0;
  box-shadow: 0 8px 22px rgba(18, 24, 40, 0.08);
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(22, 31, 52, 0.12);
  background: #f8f4ec;
  padding: 1rem 1.1rem 1.2rem;
}

.mobile-nav a {
  display: block;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(22, 31, 52, 0.08);
  font-size: 1rem;
  line-height: 1.25;
}

.mobile-lang {
  margin-top: 0.8rem;
  display: flex;
  gap: 1rem;
}

.mobile-lang .is-active {
  color: var(--gold);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  min-height: calc(var(--viewport-h) - var(--header-h));
  padding: 0;
  background: #eee8dc;
}

.hero-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #eee8dc;
  background-image: url("../assets/hero/hero-finish-color.png");
  background-image: -webkit-image-set(
      url("../assets/hero/hero-finish-color.avif") type("image/avif"),
      url("../assets/hero/hero-finish-color.webp") type("image/webp"),
      url("../assets/hero/hero-finish-color.png") type("image/png")
    );
  background-image: image-set(
      url("../assets/hero/hero-finish-color.avif") type("image/avif"),
      url("../assets/hero/hero-finish-color.webp") type("image/webp"),
      url("../assets/hero/hero-finish-color.png") type("image/png")
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1) contrast(1);
  transform: translate3d(var(--hero-bg-x, 0), var(--hero-bg-y, 0), 0) scale(1.02);
  transition: transform 0.45s ease-out;
  animation: heroBackgroundIn 1.4s ease both;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(246, 242, 233, 0.32) 0%, rgba(246, 242, 233, 0.1) 34%, rgba(23, 28, 38, 0.08) 100%);
}

.hero::after {
  opacity: 0.08;
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(16, 20, 31, 0.18) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  background-size: auto, 180px 180px;
}

.hero-grid {
  display: grid;
  gap: clamp(2.2rem, 5.2vw, 4.1rem);
  align-items: start;
}

.hero-intro {
  padding-top: clamp(2.3rem, 7vw, 4.2rem);
}

.hero-copy {
  display: grid;
  gap: 1.15rem;
}

.hero-intro .eyebrow {
  color: var(--gold);
}

.hero-intro h1 {
  color: var(--ink);
  max-width: 17ch;
}

.hero-intro .lead {
  color: #3d4961;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.2rem;
  color: #3a4660;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d5b47c;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: stretch;
}

.hero-intro .btn-ghost {
  border-color: rgba(19, 26, 44, 0.25);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.hero-intro .btn-ghost:hover {
  border-color: rgba(19, 26, 44, 0.5);
  background: #fff;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-trust span {
  border: 1px solid rgba(176, 157, 124, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #2e3a52;
  font-size: 0.82rem;
  padding: 0.4rem 0.76rem;
}

.hero-panel {
  border: 1px solid rgba(223, 208, 179, 0.52);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255, 252, 245, 0.97), rgba(247, 237, 220, 0.94));
  box-shadow: var(--shadow-card);
  padding: clamp(1.3rem, 4vw, 2rem);
  display: grid;
  gap: 1rem;
  align-self: center;
  justify-self: end;
  width: min(100%, 520px);
  overflow: hidden;
}

.hero-panel-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4f3a20;
  background: rgba(184, 149, 90, 0.16);
  border: 1px solid rgba(184, 149, 90, 0.32);
}

.hero-panel h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  text-wrap: balance;
}

.hero-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-steps li {
  border-left: 3px solid rgba(184, 149, 90, 0.45);
  padding-left: 0.8rem;
  color: #2e384d;
  font-size: 0.93rem;
}

.hero-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-panel-meta span {
  font-size: 0.77rem;
  color: #4a3924;
  border: 1px solid rgba(184, 149, 90, 0.28);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  padding: 0.32rem 0.66rem;
}

.proof-grid {
  display: grid;
  gap: 0.9rem;
}

.proof-item {
  border: 1px solid rgba(22, 31, 52, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.proof-item strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  color: var(--ink);
}

.proof-item span {
  color: #414c63;
  font-size: 0.9rem;
}

.services-grid,
.pricing-grid,
.portfolio-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  padding: 1.4rem;
  transition: transform 0.23s ease, box-shadow 0.23s ease;
  overflow: hidden;
}

.service-card::before {
  content: attr(data-code);
  position: absolute;
  top: 0.82rem;
  right: 0.86rem;
  border: 1px solid rgba(22, 31, 52, 0.14);
  border-radius: 999px;
  padding: 0.13rem 0.46rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(22, 31, 52, 0.45);
}

.service-card p {
  margin-top: 0.58rem;
}

.service-card:hover,
.price-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.price-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fffcf7;
  padding: 1.5rem;
  display: grid;
  gap: 1.02rem;
  transition: transform 0.23s ease, box-shadow 0.23s ease;
  overflow: hidden;
}

.price-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
}

.price-subline {
  margin-top: -0.42rem;
  font-size: 0.9rem;
  color: #46516a;
}

.price-card ul {
  margin: 0;
  padding: 0.9rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(22, 31, 52, 0.1);
  display: grid;
  gap: 0.56rem;
}

.price-card li {
  position: relative;
  padding-left: 1.1rem;
  color: #2f3a4f;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.price-card.is-featured {
  border-color: rgba(184, 149, 90, 0.68);
  background: linear-gradient(180deg, #fff8eb, #fffdf9);
  box-shadow: 0 22px 46px rgba(184, 149, 90, 0.2);
}

.badge {
  position: absolute;
  top: -0.72rem;
  left: 1.28rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0.26rem 0.62rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-note {
  margin-top: 1.3rem;
  border: 1px solid rgba(22, 31, 52, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.pricing-note p {
  color: #364057;
}

.case-card {
  border: 1px solid rgba(22, 31, 52, 0.14);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: transform 0.23s ease, box-shadow 0.23s ease;
}

.case-mock {
  min-height: 0;
  aspect-ratio: 16 / 10;
  position: relative;
}

.case-mock::before {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.case-mock.tone-1 {
  background: linear-gradient(125deg, #1a243c, #324a77);
}

.case-mock.tone-2 {
  background: linear-gradient(125deg, #1f273d, #5f4835);
}

.case-mock.tone-3 {
  background: linear-gradient(125deg, #1a2238, #39566f);
}

.case-body {
  padding: 1.2rem;
  display: grid;
  gap: 0.63rem;
}

.case-industry {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
}

.case-body a {
  width: fit-content;
  color: #172340;
  font-weight: 700;
  border-bottom: 1px solid rgba(23, 35, 64, 0.25);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.35rem;
}

.about-copy p {
  margin-top: 0.86rem;
}

.values {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  padding: 1.24rem;
}

.values ul {
  margin: 0.9rem 0 0;
  padding-left: 1.18rem;
  display: grid;
  gap: 0.56rem;
}

.values li {
  color: #313d56;
}

.cta-band {
  padding-top: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.cta-band-wrap {
  border: 1px solid rgba(184, 149, 90, 0.42);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(244, 233, 210, 0.94));
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.1rem;
}

.cta-band .eyebrow {
  margin-bottom: 0.65rem;
}

.cta-band h2 {
  max-width: 25ch;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.section-contact {
  background: linear-gradient(180deg, #141d30 0%, #111929 100%);
}

.section-contact .eyebrow,
.section-contact h2,
.section-contact p,
.section-contact li,
.section-contact a,
.section-contact label,
.section-contact legend {
  color: #f7f3ea;
}

.contact-copy p {
  max-width: 52ch;
}

.contact-copy ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(248, 244, 236, 0.08);
  padding: 1.2rem;
  display: grid;
  gap: 0.82rem;
  width: 100%;
}

.contact-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}

.contact-form legend {
  margin-bottom: 0.3rem;
  font-size: 1.24rem;
}

.grid-2 {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.34rem;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #1e2538;
  font: inherit;
  font-size: 1rem;
  padding: 0.66rem 0.74rem;
}

input:not([type="checkbox"]),
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(184, 149, 90, 0.55);
  border-color: rgba(184, 149, 90, 0.84);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #cb6767;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
}

.consent input {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.form-note {
  margin: 0;
  font-size: 0.79rem;
  color: rgba(247, 243, 234, 0.84);
}

.form-message {
  min-height: 1.3rem;
  margin: 0;
  font-size: 0.9rem;
  color: #ecf3ff;
}

.form-message[data-state="ok"] {
  color: #ddf7df;
}

.form-message[data-state="error"] {
  color: #ffd9d9;
}

.site-footer {
  background: #0e1424;
  color: #ece5d7;
  padding: 2.8rem 0 5.2rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-grid p,
.footer-grid span {
  margin-top: 0.5rem;
  color: #d2cabd;
}

.footer-grid h3 {
  font-size: 1.2rem;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-top: 0.46rem;
  color: #ece3d3;
}

.footer-grid a:hover {
  color: #dcb882;
}

.footer-meta {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c8c1b4;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0.9rem;
  right: 0.9rem;
  bottom: calc(0.9rem + var(--safe-bottom));
  z-index: 1300;
  border-radius: 999px;
  background: linear-gradient(130deg, #c7a66c, var(--gold));
  color: #fff;
  text-align: center;
  padding: 0.82rem 1rem;
  font-size: 0.93rem;
  font-weight: 700;
  box-shadow: 0 11px 28px rgba(184, 149, 90, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.8rem);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body.has-scrolled .mobile-sticky-cta {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.menu-open .mobile-sticky-cta {
  opacity: 0;
  pointer-events: none;
}

.legal-main {
  padding: clamp(6.4rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-wrap {
  max-width: 840px;
}

.legal-wrap h1 {
  margin-bottom: 1rem;
}

.legal-wrap h2 {
  margin-top: 2rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.legal-wrap p {
  margin-top: 0.65rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroBackgroundIn {
  from {
    opacity: 0;
    transform: translate3d(var(--hero-bg-x, 0), var(--hero-bg-y, 0), 0) scale(1.05);
  }

  to {
    opacity: 1;
    transform: translate3d(var(--hero-bg-x, 0), var(--hero-bg-y, 0), 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .service-card,
  .price-card,
  .case-card,
  .hero-surface {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@media (min-width: 760px) {
  :root {
    --container: min(1160px, calc(100% - 3rem));
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

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

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

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

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

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

  .mobile-sticky-cta {
    display: none;
  }
}

@media (min-width: 1060px) {
  :root {
    --container: min(1160px, calc(100% - 5rem));
    --header-h: 84px;
  }

  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    min-height: calc(var(--viewport-h) - var(--header-h));
  }

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

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

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

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.3rem);
  }

  .hero-copy {
    gap: 0.95rem;
  }

  .hero-intro h1 {
    font-size: clamp(2.2rem, 3.4vw, 3.35rem);
    max-width: 12ch;
    line-height: 1.06;
  }

  .hero-intro .lead {
    font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  }

  .hero-points {
    gap: 0.42rem;
  }

  .hero-points li {
    font-size: 0.94rem;
  }

  .hero-cta {
    gap: 0.65rem;
  }

  .hero-trust {
    gap: 0.42rem;
  }

  .hero-trust span {
    padding: 0.34rem 0.62rem;
    font-size: 0.76rem;
  }

  .hero-panel {
    width: min(100%, 470px);
    padding: clamp(1rem, 2vw, 1.45rem);
    gap: 0.82rem;
  }

  .hero-panel h2 {
    font-size: clamp(1.22rem, 1.8vw, 1.65rem);
  }

  .hero-steps {
    gap: 0.42rem;
  }

  .hero-steps li {
    font-size: 0.88rem;
  }
}

@media (min-width: 1060px) and (max-height: 920px) {
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    min-height: calc(var(--viewport-h) - var(--header-h));
  }

  .hero-intro h1 {
    font-size: clamp(2rem, 3vw, 2.9rem);
    max-width: 11.5ch;
  }

  .hero-intro .lead {
    font-size: 0.96rem;
  }

  .hero-points li {
    font-size: 0.9rem;
  }

  .hero-trust {
    display: none;
  }

  .section {
    scroll-margin-top: calc(var(--header-h) + 18px);
  }
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(246, 243, 236, 0.94);
    border-color: rgba(22, 31, 52, 0.1);
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .site-nav,
  .btn-nav,
  .lang-switch {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    position: fixed;
    top: calc(var(--header-h) + 0.55rem);
    left: max(0.85rem, env(safe-area-inset-left, 0px));
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    z-index: 1190;
    display: grid;
    gap: 0.15rem;
    max-height: calc(100vh - var(--header-h) - 1.2rem - var(--safe-bottom));
    max-height: calc(100dvh - var(--header-h) - 1.2rem - var(--safe-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(22, 31, 52, 0.12);
    border-radius: 18px;
    background: rgba(253, 251, 247, 0.98);
    box-shadow: 0 24px 56px rgba(16, 22, 36, 0.18);
    padding: 0.72rem 1rem calc(0.9rem + var(--safe-bottom));
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.45rem);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .mobile-lang {
    gap: 0.55rem;
  }

  .mobile-lang a {
    flex: 1 1 0;
    border: 1px solid rgba(22, 31, 52, 0.1);
    border-radius: 999px;
    padding: 0.62rem 0.75rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.62);
  }

  .hero {
    height: 56.28vw;
    min-height: 0;
  }

  .hero-surface {
    background-size: cover;
    background-position: 50% 0%;
    background-position-x: 50%;
    background-position-y: 0%;
    transform: none;
    animation: none;
  }

  @supports (aspect-ratio: 1 / 1) {
    .hero {
      aspect-ratio: 1672 / 941;
      height: auto;
    }
  }
}

@media (max-width: 759px) {
  :root {
    --header-h: 72px;
  }

  .section {
    padding: clamp(3.15rem, 11vw, 4.8rem) 0;
  }

  .section-tight {
    padding-bottom: clamp(2.4rem, 9vw, 3.6rem);
  }

  .hero-intro {
    padding-top: 2.25rem;
  }

  .hero-copy {
    gap: 1rem;
  }

  .hero-intro h1 {
    max-width: 18ch;
    font-size: clamp(2rem, 8.4vw, 2.55rem);
    line-height: 1.05;
  }

  .hero-intro .lead {
    line-height: 1.62;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn,
  .cta-band .btn,
  .price-card .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-trust span {
    width: 100%;
    border-radius: 12px;
    text-align: center;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .services-grid,
  .pricing-grid,
  .portfolio-grid,
  .proof-grid {
    gap: 0.9rem;
  }

  .section-head {
    margin-bottom: 1.45rem;
  }

  .cta-band-wrap {
    align-items: stretch;
  }

  .cta-band h2 {
    max-width: 100%;
  }

  .hero-panel {
    padding: 1.15rem;
  }

  .proof-item {
    padding: 0.95rem 1rem;
  }

  .price-card,
  .service-card,
  .case-body,
  .values,
  .contact-form {
    padding: 1.08rem;
  }

  .site-footer {
    padding-bottom: calc(7rem + var(--safe-bottom));
  }

  .mobile-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .logo {
    max-width: 46vw;
  }

  .logo img {
    height: clamp(2.35rem, 11vw, 2.75rem);
  }

  .btn {
    padding-inline: 1rem;
  }

  .price-card header {
    gap: 0.45rem;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .hero-surface {
    background-size: cover;
  }
}
