/* ==========================================================================
   Let's Do IP — Patent & Trademark Attorney
   Palette: graphite / silver / brushed metal
   Fonts:   Montserrat (text/UI) + Manrope (headings) — cyrillic supported
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Grays & metals */
  --c-bg: #0c0e11;
  --c-surface: #14171b;
  --c-elevated: #1c2026;

  --c-silver: #c8cdd4;
  --c-silver-bright: #eef1f5;
  --c-silver-dim: #8b929c;
  --c-mute: #5c636e;

  --c-line: rgba(200, 205, 212, 0.14);
  --c-line-strong: rgba(200, 205, 212, 0.28);

  /* Brushed-metal gradient (for accents & text) */
  --g-metal: linear-gradient(135deg, #f4f6f8 0%, #b9bfc7 35%, #e8ebef 55%, #969ca5 100%);
  --g-metal-soft: linear-gradient(135deg, rgba(244, 246, 248, 0.9), rgba(150, 156, 165, 0.85));
  --g-hero-metal: linear-gradient(135deg,
    #ffffff 0%, #dfe4eb 14%, #858f9e 27%,
    #f9fbff 40%, #b0bac7 53%, #7d8796 65%,
    #ffffff 79%, #a5afbd 100%);
  --c-metal-ink: #20242b;
  --g-section-metal: linear-gradient(115deg,
    #20242b 0%, #586575 24%, #29313b 42%,
    #657181 58%, #303946 78%, #20242b 100%);
  --fx-section-metal-relief: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.7))
    drop-shadow(0 1px 1px rgba(32, 36, 43, 0.16));
  --g-surface-metal: linear-gradient(135deg,
    #eef1f5 0%, #dfe4eb 24%, #cbd2dc 48%,
    #e8ecf2 74%, #f4f6f8 100%);
  --surface-sheen-duration: 83s;
  --surface-sheen-secondary-duration: 127s;
  --surface-logo-opacity: 0.26;
  --g-surface-logo: linear-gradient(135deg, #ffffff 0%, #f4f6f8 55%, #c8cdd4 100%);

  /* Warm accents sampled from the hero video (amber interior light / wood) */
  --c-warm: #d7a263;
  --c-warm-bright: #eac08a;
  --c-warm-deep: #8a5c2e;

  /* Light sections */
  --services-ink: #25282d;
  --services-label: #535b65;
  --services-muted: #68707a;
  --services-line: rgba(42, 47, 54, 0.12);
  --services-line-strong: rgba(42, 47, 54, 0.22);
  --services-accent: #9a6838;
  --services-accent-bright: #75491f;
  --g-contact-line: linear-gradient(90deg,
    transparent, rgba(139, 146, 156, 0.12) 18%,
    rgba(255, 255, 255, 0.65) 48%,
    rgba(139, 146, 156, 0.14) 76%, transparent);

  /* Buttons */
  --btn-dark: #17191d;
  --btn-dark-hover: #23262c;

  /* Typography */
  --f-main: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-heading: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --nav-h: 64px;
  --nav-side-padding: 20px;
  --radius-pill: 999px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--f-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-silver);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

::selection {
  background: var(--c-silver);
  color: var(--c-bg);
}

/* ---------- Not found page ---------- */
.page-error {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-block: 48px;
  text-align: center;
}

.page-error__code {
  color: var(--c-warm);
  font-size: 18px;
  letter-spacing: 0.15em;
}

.page-error__brand {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--c-silver-bright);
}

.page-error__title {
  color: var(--c-silver-bright);
  font-family: var(--f-heading);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.2;
}

.page-error__text {
  max-width: 480px;
}

.page-error a:focus-visible {
  outline: 2px solid var(--c-warm);
  outline-offset: 6px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--f-main);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s,
    box-shadow 0.25s, color 0.25s;
}

.btn--lg {
  font-size: 15px;
  padding: 15px 30px;
}

/* Dark metallic CTA (like the reference screenshot) */
.btn--primary {
  background: var(--btn-dark);
  color: var(--c-silver-bright);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
  background: var(--btn-dark-hover);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* Small glowing dot inside primary buttons */
.btn__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g-metal);
  box-shadow: 0 0 8px rgba(238, 241, 245, 0.7);
  flex-shrink: 0;
}

.nav__cta .btn__dot {
  animation: consultation-pulse 3.6s ease-in-out infinite;
}

@keyframes consultation-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(238, 241, 245, 0.45);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 11px rgba(238, 241, 245, 0.7);
  }
}

/* Outline / ghost button */
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-silver-bright);
  border: 1px solid var(--c-line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-silver-dim);
  transform: translateY(-2px);
}

.btn:focus-visible,
.nav__link:focus-visible,
.nav__dropdown-link:focus-visible {
  outline: 2px solid var(--c-silver-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   Header / Top Menu — floating glass pill (reference: Screenshot1.png)
   ========================================================================== */
.header {
  position: fixed;
  inset: 16px 16px auto 16px;
  z-index: 100;
  transition: inset 0.6s var(--ease-out);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px var(--nav-side-padding);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(248, 249, 251, 0.86);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: max-width 0.6s var(--ease-out), padding 0.6s var(--ease-out),
    border-radius 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out),
    background 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}

.header.is-scrolled:not(.is-docked) .nav {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* The floating pill settles into a full-width bar at the services section. */
.header.is-docked {
  inset: 0 0 auto;
}

.header.is-docked .nav {
  max-width: 100vw;
  padding-inline: max(var(--nav-side-padding), calc((100% - var(--container)) / 2 + var(--nav-side-padding)));
  border-radius: 0;
  border-color: transparent;
  border-bottom-color: rgba(42, 47, 54, 0.12);
  background: rgba(248, 247, 245, 0.96);
  box-shadow: 0 6px 24px rgba(34, 39, 45, 0.08);
}

/* Brand */
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__name {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: #101215;
}

.nav__name-accent {
  background: linear-gradient(135deg, #6e757f 0%, #2b2e33 50%, #7d848e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Menu links */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: #4a4f57;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: #101215;
  background: rgba(16, 18, 21, 0.06);
}

.nav__link--active {
  color: #101215;
}

.nav__chevron {
  transition: transform 0.25s var(--ease-out);
}

/* Dropdown: open on hover (desktop) and on .is-open (js / mobile) */
.nav__item {
  position: relative;
}

.nav__item--has-dropdown:hover .nav__chevron,
.nav__item--has-dropdown.is-open .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 340px;
  padding: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(248, 249, 251, 0.96);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out),
    visibility 0.25s;
}

/* invisible hover bridge */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.nav__dropdown-link:hover {
  background: rgba(16, 18, 21, 0.06);
}

.nav__dropdown-num {
  font-family: var(--f-main);
  font-size: 11px;
  font-weight: 600;
  color: #9aa1ab;
  padding-top: 3px;
}

.nav__dropdown-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #101215;
  line-height: 1.35;
}

.nav__dropdown-text em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: #6e757f;
  line-height: 1.45;
}

/* Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Burger (hidden on desktop) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(16, 18, 21, 0.15);
  align-items: center;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #101215;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-bg);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.18) brightness(0.92);
}

/* Dark cinematic gradient over video: metal sheen top-left, deep bottom */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(200, 205, 212, 0.14), transparent 65%),
    linear-gradient(180deg,
      rgba(12, 14, 17, 0.72) 0%,
      rgba(12, 14, 17, 0.55) 45%,
      rgba(12, 14, 17, 0.88) 100%);
}

/* Subtle film grain */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
  max-width: var(--container);
}

/* Company descriptor in a warm accent */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-main);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-warm-bright);
  margin-bottom: 26px;
}

.hero__eyebrow-line {
  width: 44px;
  height: 1px;
  flex-shrink: 0;
  background: var(--c-warm-bright);
}

/* Brushed-silver tones drift slowly across the title's letters. */
.hero__title {
  font-family: var(--f-heading);
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--c-silver-bright);
  max-width: 100%;
  margin-bottom: 28px;
  text-wrap: balance;
}

.hero__title-accent {
  display: block;
  background-image: var(--g-hero-metal);
  background-size: 180% 100%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 0.4px rgba(238, 241, 245, 0.3);
  filter: drop-shadow(0 2px 0 rgba(55, 64, 78, 0.8))
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
  animation: hero-metal-drift 22s ease-in-out infinite alternate;
}

.hero__title-line {
  display: block;
}

.hero__title-comma {
  font-size: 0.65em;
  font-weight: 500;
  line-height: 0;
  color: var(--c-silver-dim);
  -webkit-text-fill-color: var(--c-silver-dim);
  -webkit-text-stroke: 0;
}

@keyframes hero-metal-drift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* One continuous silver surface keeps the section boundary seamless. */
.content-surface {
  position: relative;
  isolation: isolate;
  /* Clip the animated highlights without creating a nested anchor scroll container. */
  overflow: clip;
  background: var(--g-surface-metal);
}

/* Broad, translucent highlights orbit at different speeds without reversing. */
.content-surface::before,
.content-surface::after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 26% 24% at 32% 36%, rgba(255, 255, 255, 0.55), transparent 100%),
    radial-gradient(ellipse 26% 28% at 68% 64%, rgba(163, 177, 197, 0.18), transparent 100%);
  animation: surface-sheen-orbit var(--surface-sheen-duration) linear infinite;
}

.content-surface::after {
  background:
    radial-gradient(ellipse 28% 24% at 66% 30%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(ellipse 26% 24% at 34% 70%, rgba(175, 188, 205, 0.14), transparent 100%);
  animation-duration: var(--surface-sheen-secondary-duration);
  animation-delay: -37s;
}

@keyframes surface-sheen-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Section anchors share the surface's stacking context so marks cross the seams. */
.services,
.about,
.reviews,
.contacts {
  position: relative;
}

/* Random positions reserve the full animated footprint before fading in. */
.surface-logos {
  --logo-gap: 48px;
  --logo-size-scale: 1;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.surface-logos__mark {
  --logo-image: url("../assets/logo.svg");
  --logo-duration: var(--surface-sheen-duration);
  --logo-delay: -14s;
  --logo-phase: 0;
  --logo-size: 350px;
  position: absolute;
  left: var(--logo-x, 0px);
  top: var(--logo-y, 0px);
  width: calc(var(--logo-size) * var(--logo-size-scale));
  max-width: calc(100% - 32px);
  aspect-ratio: 1;
  background: var(--g-surface-logo);
  -webkit-mask: var(--logo-image) center / contain no-repeat;
  mask: var(--logo-image) center / contain no-repeat;
  visibility: hidden;
  opacity: 0;
  animation: surface-logo-breathe var(--logo-duration) ease-in-out infinite;
  animation-delay: calc(var(--logo-delay) - var(--logo-duration) * var(--logo-phase));
  animation-play-state: paused;
}

.surface-logos.is-ready .surface-logos__mark {
  visibility: visible;
  animation-play-state: running;
}

.surface-logos.is-paused .surface-logos__mark {
  animation-play-state: paused;
}

.surface-logos__mark--r {
  --logo-image: url("../assets/svg/lets_do_r.svg");
  --logo-duration: var(--surface-sheen-secondary-duration);
  --logo-delay: -58s;
}

.surface-logos__mark--tm {
  --logo-image: url("../assets/svg/lets_do_tm.svg");
  --logo-delay: -51s;
}

.surface-logos__mark--copyright {
  --logo-image: url("../assets/svg/lets_do_c.svg");
  --logo-delay: -32s;
}

.surface-logos__mark--patent {
  --logo-image: url("../assets/svg/lets_do_patent.svg");
  --logo-duration: var(--surface-sheen-secondary-duration);
  --logo-delay: -82s;
}

.surface-logos__mark--design {
  --logo-image: url("../assets/svg/lets_do_d.svg");
  --logo-delay: -23s;
}

/* Three copies of each asset fade a third of a cycle apart. */
.surface-logos__mark--echo {
  --logo-phase: 0.3333333333;
}

.surface-logos__mark--echo-late {
  --logo-phase: 0.6666666667;
}

.surface-logos__mark:nth-child(2) { --logo-size: 300px; }
.surface-logos__mark:nth-child(3) { --logo-size: 260px; }
.surface-logos__mark:nth-child(4) { --logo-size: 210px; }
.surface-logos__mark:nth-child(5) { --logo-size: 290px; }
.surface-logos__mark:nth-child(6) { --logo-size: 300px; }
.surface-logos__mark:nth-child(7) { --logo-size: 260px; }
.surface-logos__mark:nth-child(8) { --logo-size: 220px; }
.surface-logos__mark:nth-child(9) { --logo-size: 320px; }
.surface-logos__mark:nth-child(10) { --logo-size: 300px; }
.surface-logos__mark:nth-child(11) { --logo-size: 230px; }
.surface-logos__mark:nth-child(12) { --logo-size: 180px; }
.surface-logos__mark:nth-child(13) { --logo-size: 190px; }
.surface-logos__mark:nth-child(14) { --logo-size: 220px; }
.surface-logos__mark:nth-child(15) { --logo-size: 160px; }
.surface-logos__mark:nth-child(16) { --logo-size: 240px; }
.surface-logos__mark:nth-child(17) { --logo-size: 200px; }
.surface-logos__mark:nth-child(18) { --logo-size: 170px; }

@keyframes surface-logo-breathe {
  0%, 100% {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.97);
  }
  50% {
    opacity: var(--surface-logo-opacity);
    transform: translate3d(0, -8px, 0) scale(1.02);
  }
}

@media (min-width: 641px) and (max-width: 880px) {
  .surface-logos {
    --logo-size-scale: 0.65;
  }
}

@media (max-width: 640px) {
  .surface-logos {
    --logo-gap: 32px;
  }

  .surface-logos__mark {
    --logo-size: 120px;
  }

  .surface-logos__mark:nth-child(2) { --logo-size: 105px; }
  .surface-logos__mark:nth-child(3) { --logo-size: 90px; }
  .surface-logos__mark:nth-child(4) { --logo-size: 75px; }
  .surface-logos__mark:nth-child(5) { --logo-size: 110px; }
  .surface-logos__mark:nth-child(6) { --logo-size: 105px; }
  .surface-logos__mark:nth-child(7) { --logo-size: 90px; }
  .surface-logos__mark:nth-child(8) { --logo-size: 85px; }
  .surface-logos__mark:nth-child(9) { --logo-size: 115px; }
  .surface-logos__mark:nth-child(10) { --logo-size: 100px; }
  .surface-logos__mark:nth-child(11) { --logo-size: 80px; }
  .surface-logos__mark:nth-child(12) { --logo-size: 70px; }
  .surface-logos__mark:nth-child(13) { --logo-size: 100px; }
  .surface-logos__mark:nth-child(14) { --logo-size: 80px; }
  .surface-logos__mark:nth-child(15) { --logo-size: 75px; }
  .surface-logos__mark:nth-child(16) { --logo-size: 110px; }
  .surface-logos__mark:nth-child(17) { --logo-size: 85px; }
  .surface-logos__mark:nth-child(18) { --logo-size: 65px; }
}

@media (prefers-reduced-motion: reduce) {
  .surface-logos__mark {
    animation: none;
    opacity: 0.1;
    transform: none;
  }
}

/* Subtitle = company slogan */
.hero__subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--c-silver-bright);
  max-width: 620px;
  margin-bottom: 40px;
}

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

/* Facts row */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 56px;
}

.hero__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid var(--c-line-strong);
}

.hero__fact-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--g-metal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__fact-label {
  font-family: var(--f-main);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-silver);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--f-main);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-mute);
  transition: color 0.25s;
}

.hero__scroll:hover {
  color: var(--c-silver-bright);
}

.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--c-silver-dim), transparent);
  animation: scroll-pulse 2.2s var(--ease-out) infinite;
  transform-origin: top;
}

@keyframes scroll-pulse {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Entrance animation */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__facts {
  animation: rise 0.9s var(--ease-out) both;
}

.hero__title    { animation-delay: 0.1s; }
.hero__subtitle { animation-delay: 0.22s; }
.hero__actions  { animation-delay: 0.34s; }
.hero__facts    { animation-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  .hero__title-accent,
  .content-surface::before,
  .content-surface::after {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Services — silver backdrop with light expandable service cards
   ========================================================================== */
.services {
  --services-art-shadow: 0 4px 12px rgba(34, 39, 45, 0.07);
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0 clamp(80px, 10vw, 130px);
  color: var(--services-ink);
}

/* ---------- Section head ---------- */
.services__head,
.about__head,
.reviews__head,
.contacts__head {
  --services-ink: var(--c-metal-ink);
  --services-muted: var(--c-metal-ink);
  color: var(--services-ink);
}

.services__head {
  max-width: 700px;
  margin-bottom: clamp(44px, 6vw, 68px);
}

.services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-main);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--services-label);
  margin-bottom: 22px;
}

.services__eyebrow-line {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-metal-ink), var(--c-silver-dim));
}

.services__title {
  font-family: var(--f-heading);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--services-ink);
  margin-bottom: 20px;
  text-wrap: balance;
}

.services__title-accent,
.contacts__title-accent {
  display: block;
  color: var(--c-metal-ink);
}

/* Dark steel keeps the metallic highlights readable on the light surface. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .services__title-accent,
  .contacts__title-accent {
    background-image: var(--g-section-metal);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: var(--fx-section-metal-relief);
  }
}

@media (forced-colors: active) {
  .services__title-accent,
  .contacts__title-accent {
    background: none;
    filter: none;
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
  }
}

.services__lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--services-muted);
  max-width: 540px;
}

/* ---------- Service cards ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.svc-card {
  grid-column: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(155deg, #fff 0%, #faf9f7 72%, #f6f3ee 100%);
  box-shadow: 0 8px 24px rgba(34, 39, 45, 0.055), inset 0 1px 0 #fff;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.svc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.svc-card__list {
  display: flow-root;
}

/* Share header, list and toggle tracks within each card row. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .svc-card {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .svc-card__head {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .svc-card__head > * {
      align-self: start;
    }

    .svc-card__body {
      display: grid;
      grid-row: span 2;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .svc-card__list {
      grid-row: 1;
    }

    .svc-card__body > .svc-toggle {
      grid-row: 2;
      align-self: start;
    }
  }
}

/* brushed top edge */
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 104, 56, 0.32), transparent);
  opacity: 0.7;
  transition: opacity 0.35s;
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 104, 56, 0.28);
  box-shadow: 0 18px 38px rgba(34, 39, 45, 0.12), inset 0 1px 0 #fff;
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-card__art {
  display: block;
  width: clamp(116px, 11vw, 136px);
  aspect-ratio: 1;
  margin: 0 0 16px;
}

.svc-card__art--circle {
  border-radius: 50%;
  overflow: hidden;
  background: var(--g-surface-metal);
  box-shadow: var(--services-art-shadow);
}

.svc-card__art--stack {
  position: relative;
  width: min(100%, clamp(216px, 22vw, 248px));
  aspect-ratio: 2 / 1;
}

.svc-card__art--pair {
  position: relative;
  width: min(100%, clamp(162px, 17.2vw, 186px));
  aspect-ratio: 3 / 2;
}

.svc-card__stamp {
  position: absolute;
  top: 0;
  display: block;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--g-surface-metal);
  box-shadow: var(--services-art-shadow);
}

.svc-card__stamp--pdo {
  left: 0;
  z-index: 3;
}

.svc-card__stamp--pgi {
  --stamp-start: -50%;
  --stamp-delay: 0.32s;
  left: 25%;
  z-index: 2;
}

.svc-card__stamp--tsg {
  --stamp-start: -100%;
  --stamp-delay: 0.48s;
  left: 50%;
  z-index: 1;
}

.svc-card__stamp--front {
  left: 0;
  width: 66.6667%;
  z-index: 3;
}

.svc-card__stamp--back {
  --stamp-start: -70.5%;
  --stamp-delay: 0.32s;
  left: 47%;
  width: 66.6667%;
  z-index: 2;
}

/* Unfold the lower stamps once, alongside the card's scroll reveal. */
@media (prefers-reduced-motion: no-preference) {
  .svc-card.reveal .svc-card__stamp--back,
  .svc-card.reveal .svc-card__stamp--pgi,
  .svc-card.reveal .svc-card__stamp--tsg {
    transform: translateX(var(--stamp-start));
    transition: transform 1.05s var(--ease-out);
    transition-delay: calc(var(--d, 0s) + var(--stamp-delay));
  }

  .svc-card.reveal.is-visible .svc-card__stamp {
    transform: none;
  }
}

.svc-card__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.svc-card__stamp .svc-card__icon,
.svc-card__art--circle .svc-card__icon {
  mix-blend-mode: normal;
}

.svc-card__title {
  font-family: var(--f-heading);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--services-ink);
}

.svc-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--services-muted);
  margin-top: 10px;
}

/* ---------- Service lists ---------- */
.svc-list {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--services-line);
}

.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 6.5px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #454b53;
}

.svc-list li::before {
  content: "";
  flex-shrink: 0;
  width: 13px;
  height: 1px;
  margin-top: 0.78em;
  background: linear-gradient(90deg, #b7834e, rgba(183, 131, 78, 0.28));
  opacity: 0.8;
  transition: width 0.25s var(--ease-out), opacity 0.25s;
}

.svc-list li:hover::before {
  width: 18px;
  opacity: 1;
  background: var(--services-accent);
}

/* expandable area — smooth 0fr → 1fr height animation */
.svc-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}

.svc-expand > .svc-list {
  overflow: hidden;
  min-height: 0;
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.svc-expand li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.svc-card.is-open .svc-expand {
  grid-template-rows: 1fr;
}

.svc-card.is-open .svc-expand li {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

/* toggle button */
.svc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 0 2px;
  font-family: var(--f-main);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--services-muted);
  transition: color 0.25s;
}

.svc-toggle:hover {
  color: var(--services-accent-bright);
}

.svc-toggle[hidden] {
  display: none;
}

.svc-toggle:focus-visible {
  outline: 2px solid var(--services-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.svc-toggle .chev {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}

.svc-card.is-open .svc-toggle .chev {
  transform: translateY(2px) rotate(-135deg);
}

.svc-toggle__less {
  display: none;
}

.svc-card.is-open .svc-toggle__more {
  display: none;
}

.svc-card.is-open .svc-toggle__less {
  display: inline;
}

.svc-toggle__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--services-line-strong), transparent);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out) var(--d, 0s),
    transform 0.8s var(--ease-out) var(--d, 0s);
}

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

@media (max-width: 1080px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   About — team expertise and approach
   ========================================================================== */
.about {
  --services-muted: var(--services-label);
  padding: clamp(64px, 8vw, 100px) 0;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  color: var(--services-ink);
  border-block: 1px solid var(--services-line);
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 7vw, 96px);
}

.about__statement {
  max-width: 400px;
  padding-left: 18px;
  border-left: 2px solid var(--services-accent);
  font-size: 15px;
  line-height: 1.8;
  color: var(--services-muted);
}

#about-title:focus-visible {
  outline: 2px solid var(--services-accent);
  outline-offset: 8px;
  border-radius: 4px;
}

.about__story {
  display: grid;
  align-self: center;
  gap: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--services-muted);
}

.about__story .about__intro {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--services-ink);
}

.about__intro-range {
  display: block;
}

.about__documents {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.8;
  margin-top: 20px;
}

.about__document {
  position: absolute;
  z-index: calc(1 + var(--layer));
  top: 4%;
  left: calc(2% + var(--layer) * 10%);
  width: 35.3333%;
  height: 92%;
}

.about__documents-image {
  width: auto;
  max-width: none;
  height: 100%;
  filter: drop-shadow(-3px 2px 4px rgba(34, 39, 45, 0.2));
  transition: transform 0.5s var(--ease-out);
}

/* Each layer unfolds once, using the existing reveal observer. Image transforms
   remain separate so hovering never interrupts the deck's opening movement. */
@media (prefers-reduced-motion: no-preference) {
  .about__documents.reveal .about__document {
    transform: translateX(calc(var(--layer) * -28.3019%));
    transition: transform 1.05s var(--ease-out);
    transition-delay: calc(0.18s + var(--layer) * 0.085s);
  }

  .about__documents.reveal.is-visible .about__document {
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .about__document:hover {
    z-index: 8;
  }

  .about__document:hover .about__documents-image {
    /* Keep the leftmost sheets within the page while sliding each one left. */
    transform: translateX(calc(-1 * min(53.3333%, (var(--layer) + 1) * 16%)));
  }
}

.about__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 60px);
}

.about__principle {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #fff 0%, #faf9f7 72%, #f6f3ee 100%);
  box-shadow: 0 8px 24px rgba(34, 39, 45, 0.045), inset 0 1px 0 #fff;
}

.about__principle-icon,
.contacts__direct-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--services-line);
  border-radius: var(--radius-md);
  background: var(--g-surface-metal);
  color: var(--c-metal-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 3px 8px rgba(34, 39, 45, 0.08);
}

.about__principle-icon svg,
.contacts__direct-icon svg {
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: var(--fx-section-metal-relief);
}

.about__principle-title {
  align-self: center;
  font-family: var(--f-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--c-metal-ink);
}

.about__principle p {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.8;
  color: var(--services-muted);
}

@media (max-width: 880px) {
  .about__layout {
    grid-template-columns: 1fr;
  }

  .about__head {
    max-width: 620px;
  }

  .about__statement {
    max-width: 540px;
  }

  .about__documents {
    max-width: 400px;
    margin-inline: auto;
  }

  .about__principles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about__principle {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 24px;
  }

  .about__principle-icon,
  .contacts__direct-icon {
    width: 44px;
    height: 44px;
  }

  .about__principle-title {
    font-size: 18px;
  }
}

/* ==========================================================================
   Reviews — Google Maps excerpts
   ========================================================================== */
.reviews {
  padding: clamp(64px, 8vw, 96px) 0;
  color: var(--services-ink);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.reviews__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "bubble heading";
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
}

.reviews__head {
  grid-area: heading;
  display: grid;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}

.reviews__carousel {
  grid-area: bubble;
  min-width: 0;
  width: 100%;
  max-width: 540px;
  justify-self: start;
  margin-top: 42px;
}

.reviews__track {
  display: grid;
  gap: 32px;
}

.reviews__carousel.is-ready .reviews__track {
  gap: 0;
  isolation: isolate;
}

.reviews__carousel.is-ready .review-card {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 1200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews__carousel.is-ready .review-card.is-active {
  z-index: 1;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #fff 0%, #faf9f7 72%, #f6f3ee 100%);
  box-shadow: 0 8px 24px rgba(34, 39, 45, 0.055), inset 0 1px 0 #fff;
}

.review-card::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 60px;
  width: 28px;
  height: 17px;
  background: #faf9f7;
  clip-path: polygon(0 0, 100% 0, 12% 100%);
}

.review-card__quote-mark {
  position: absolute;
  top: 56px;
  right: 28px;
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
  color: var(--c-metal-ink);
  opacity: 0.045;
  pointer-events: none;
}

.review-card__author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.review-card--author-bottom .review-card__author {
  margin-top: 20px;
}

.review-card--author-bottom .review-card__quote {
  margin-top: 0;
}

.review-card--author-bottom .review-card__quote-mark {
  top: 16px;
}

.review-card__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--services-line);
  border-radius: 50%;
  background: var(--g-surface-metal);
  color: var(--c-metal-ink);
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 800;
}

.review-card__identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-card__name {
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.review-card__source {
  font-size: 11px;
  color: var(--services-muted);
}

.review-card__rating {
  margin-left: auto;
  color: var(--services-accent);
  font-size: 17px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.review-card__quote {
  position: relative;
  margin: 24px 0;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.7;
}

.review-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--services-muted);
  text-underline-offset: 4px;
}

.review-card__details {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--services-muted);
}

.review-card__link:hover {
  color: var(--services-accent-bright);
  text-decoration: underline;
}

.review-card__link:focus-visible,
.reviews__arrow:focus-visible,
.reviews__playback:focus-visible {
  outline: 2px solid var(--services-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  color: var(--services-label);
}

.reviews__controls[hidden] {
  display: none;
}

.reviews__arrow,
.reviews__playback {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: inherit;
  border-radius: 50%;
  transition: color 200ms, background 200ms;
}

.reviews__arrow:hover,
.reviews__playback:hover {
  color: var(--services-accent-bright);
  background: rgba(255, 255, 255, 0.35);
}

.reviews__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.reviews__playback {
  margin-left: 12px;
  border: 1px solid var(--services-line);
}

.reviews__play-icon,
.reviews__playback[aria-pressed="true"] .reviews__pause-icon {
  display: none;
}

.reviews__playback[aria-pressed="true"] .reviews__play-icon {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-block: clamp(32px, 5vw, 52px);
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 28px 48px;
}

.footer__name {
  font-family: var(--f-heading);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--c-silver-bright);
}

.footer__name span {
  color: var(--c-warm-bright);
}

.footer__pronunciation {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-silver-dim);
}

.footer__description {
  margin-top: 14px;
  font-size: 14px;
  color: var(--c-silver);
}

.footer__legal {
  justify-self: end;
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
  color: var(--c-silver-dim);
}

.footer__socials {
  display: grid;
  gap: 14px;
}

.footer__social-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-silver-dim);
}

.footer__social-list {
  display: flex;
  gap: 8px;
  list-style: none;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-silver-bright);
  background: var(--c-surface);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer__social-link[aria-disabled="true"] {
  cursor: default;
}

.footer__social-link:not([aria-disabled="true"]):hover {
  border-color: var(--c-silver-bright);
  color: var(--c-bg);
  background: var(--c-silver-bright);
}

.footer__social-link:focus-visible {
  outline: 2px solid var(--c-silver-bright);
  outline-offset: 4px;
}

@media (max-width: 880px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer__legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__legal {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 880px) {
  .reviews__layout {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "bubble";
    gap: 36px;
  }

  .reviews__head {
    justify-self: start;
  }

  .reviews__carousel {
    max-width: 680px;
    justify-self: start;
    margin-top: 0;
  }
}

@media (max-width: 380px) {
  .review-card__rating {
    width: calc(100% - 54px);
    margin-left: 54px;
  }
}

/* ==========================================================================
   Contacts — consultation form
   ========================================================================== */
.contacts {
  padding: clamp(72px, 9vw, 112px) 0;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  color: var(--services-ink);
}

.contacts__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "head form" "details form";
  grid-template-rows: 1fr auto;
  align-items: stretch;
  gap: clamp(32px, 6vw, 88px);
}

.contacts__head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contacts__head .services__eyebrow {
  align-self: flex-start;
}

.contacts__title {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
  scroll-margin-top: calc(var(--nav-h) + 36px);
}

.contacts__title:focus-visible {
  outline: 2px solid var(--services-accent);
  outline-offset: 8px;
  border-radius: 4px;
}

.contacts__lead {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--services-muted);
}

.contacts__details {
  position: relative;
  display: grid;
  grid-area: details;
  font-style: normal;
}

.contacts__details::before,
.contacts__direct-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--g-contact-line);
  pointer-events: none;
}

.contacts__details::before {
  top: 0;
}

.contacts__direct-row::after {
  bottom: 0;
}

.contacts__direct-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 22px 0;
}

.contacts__direct-action {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.contacts__direct-icon {
  flex-shrink: 0;
}

.contacts__direct-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.contacts__direct-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--services-label);
}

.contacts__direct-value {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.4;
  white-space: nowrap;
}

.contacts__copy {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--services-label);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s;
}

.contacts__copy:hover,
.contacts__copy.is-copied {
  color: var(--services-accent-bright);
}

.contacts__copy-check,
.contacts__copy.is-copied .contacts__copy-icon {
  display: none;
}

.contacts__copy.is-copied .contacts__copy-check {
  display: block;
}

.contacts__copy-status {
  position: absolute;
  top: calc(100% + 8px);
  font-size: 12px;
  line-height: 1.5;
  color: var(--services-label);
}

@keyframes contacts-metal-drift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (hover: hover) and (pointer: fine) {
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .contacts__direct-row:hover .contacts__direct-value {
      background-image: var(--g-section-metal);
      background-size: 240% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      filter: var(--fx-section-metal-relief);
      animation: contacts-metal-drift 2.6s ease-in-out infinite alternate;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .contacts__direct-row:hover .contacts__direct-value {
    animation: none;
    background-position: 50% 50%;
  }
}

.contacts__direct-action:focus-visible,
.contacts__copy:focus-visible {
  outline: 2px solid var(--services-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.contacts__note {
  margin-top: 32px;
  padding-left: 18px;
  border-left: 2px solid var(--services-accent);
  font-size: 14px;
  line-height: 1.75;
  color: var(--services-muted);
}

.contact-form {
  grid-area: form;
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #fff;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #fff, #faf9f7);
  box-shadow: 0 8px 24px rgba(34, 39, 45, 0.055);
}

.contact-form__field {
  display: grid;
  gap: 9px;
}

.contact-form [hidden] {
  display: none;
}

.contact-form__field > label,
.contact-form__group > legend {
  font-size: 13px;
  font-weight: 600;
}

.contact-form__required {
  color: var(--services-accent-bright);
}

.contact-form__group {
  min-width: 0;
  border: 0;
}

.contact-form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-form__choice {
  position: relative;
  cursor: pointer;
}

.contact-form__choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__choice span {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--services-line-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.contact-form__choice:hover span {
  border-color: var(--services-accent);
}

.contact-form__choice input:checked + span {
  color: var(--c-silver-bright);
  background: var(--btn-dark);
  border-color: var(--btn-dark);
}

.contact-form__choice input:focus-visible + span,
.contact-form__field :is(input, select, textarea):focus-visible,
.contact-form__submit:focus-visible {
  outline: 2px solid var(--services-accent);
  outline-offset: 3px;
}

.contact-form__field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--services-line-strong);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 16px;
  color: var(--services-ink);
  background: #fff;
  transition: border-color 0.2s;
}

.contact-form__field :is(input, textarea)::placeholder {
  color: var(--services-muted);
  opacity: 1;
}

.contact-form__field select {
  text-overflow: ellipsis;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-form__hint {
  color: var(--services-muted);
  font-size: 12px;
  line-height: 1.65;
}

.contact-form__footer {
  display: grid;
  gap: 12px;
}

.contact-form__submit {
  justify-self: start;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-form__turnstile {
  margin: 6px 0;
  min-height: 65px;
  display: flex;
  align-items: center;
}

.contact-form__privacy {
  font-size: 11px;
  color: var(--services-muted);
  line-height: 1.5;
}

.contact-form__status {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form__status--success {
  color: #15803d;
}

.contact-form__status--error {
  color: #b91c1c;
}

.contact-form__field :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #ef4444;
  outline-color: #ef4444;
}

.contact-form__hint--error {
  color: #dc2626;
}

@media (max-width: 880px) {
  .contacts__layout {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "form" "details";
    grid-template-rows: auto;
  }

  .contacts__head {
    max-width: 600px;
  }

  .contacts__details {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 560px) {
  .contacts__direct-row {
    gap: 8px;
  }

  .contacts__copy {
    flex-basis: 32px;
  }

  .contacts__direct-action {
    gap: 12px;
  }

  .contacts__direct-value {
    font-size: clamp(16px, 4.8vw, 18px);
  }

  .contact-form {
    padding: 22px 18px;
  }

  .contact-form__submit {
    width: 100%;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__cta {
    display: none;
  }
}

@media (max-width: 880px) {
  .nav__brand {
    position: static;
  }

  .nav__name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav__burger {
    display: inline-flex;
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(248, 249, 251, 0.97);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out),
      visibility 0.25s;
  }

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

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 13px 16px;
    font-size: 16px;
  }

  /* Dropdown becomes inline accordion (JS toggles .is-open) */
  .nav__dropdown {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 0 10px;
    display: none;
  }

  .nav__dropdown::before {
    display: none;
  }

  /* disable desktop hover-reveal inside the accordion */
  .nav__item--has-dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item--has-dropdown.is-open .nav__dropdown {
    display: block;
  }

  .hero__content {
    padding-top: calc(var(--nav-h) + 110px);
  }

  .hero__facts {
    gap: 22px 36px;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero__title-property {
    display: block;
  }
}

@media (max-width: 560px) {
  .hero__title {
    font-size: clamp(1.8rem, 9.3vw, 2.6rem);
  }

  .header {
    inset: 10px 10px auto 10px;
  }

  .nav {
    --nav-side-padding: 14px;
  }

  .nav__logo {
    width: 48px;
    height: 48px;
  }

  .nav__name {
    font-size: 21px;
  }

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