/* Ясный Ход — soft 3D claymorphism (mint/sage web-lab)
   Detective hero + X-ray loupe. Onest + Golos Text.
*/

:root {
  --yh-plum: #7FA38A;
  --yh-plum-soft: #A8C5B0;
  --yh-teal: #5B6B60;
  --yh-amber: #1C2A22;
  --yh-magenta: #98B69E;
  --yh-cream: #E7F0E9;
  --yh-surface: #FFFFFF;
  --yh-ink: #1C2A22;
  --yh-outline-soft: rgba(28, 42, 34, 0.12);
  --yh-success: #2F8F6B;
  --yh-danger: #C45C5C;
  --yh-font-display: "Onest", "Golos Text", system-ui, sans-serif;
  --yh-font-body: "Golos Text", system-ui, sans-serif;
  --yh-font-mono: "Golos Text", system-ui, sans-serif;
  --yh-radius-sm: 12px;
  --yh-radius-md: 18px;
  --yh-radius-card: 28px;
  --yh-radius-pill: 9999px;
  --yh-shadow-soft: 0 14px 40px rgba(28, 42, 34, 0.10);
  --yh-shadow-lift: 0 18px 50px rgba(28, 42, 34, 0.14);
  --yh-max: 1180px;
  --yh-section-y: clamp(3.5rem, 7vw, 5.5rem);
  --yh-section-x: clamp(1.25rem, 4vw, 5rem);
  --yh-loupe-size: 72px;
}

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

body {
  margin: 0;
  font-family: var(--yh-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--yh-ink);
  background: var(--yh-cream);
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yh-teal); text-underline-offset: 3px; }
a:hover { color: var(--yh-plum); }

h1, h2, h3, .yh-logo__text {
  font-family: var(--yh-font-display);
  line-height: 1.12;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--yh-plum);
  margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-family: var(--yh-font-body); }

.yh-mono {
  font-family: var(--yh-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yh-wrap {
  width: min(var(--yh-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.yh-skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--yh-amber);
  color: var(--yh-ink);
  padding: 0.6rem 1rem;
  border-radius: var(--yh-radius-pill);
  text-decoration: none;
  font-weight: 600;
}
.yh-skip-link:focus { top: 1rem; }

/* Buttons */
.yh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.9rem 1.6rem;
  border-radius: var(--yh-radius-pill);
  font-family: var(--yh-font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease-out, background 0.2s ease-out, border-color 0.2s ease-out;
}
.yh-btn:hover { transform: scale(1.04); }
.yh-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 111, 139, 0.28);
}
.yh-btn--primary {
  background: #1C2A22;
  color: #FFFFFF;
  border-color: #1C2A22;
  box-shadow: 0 10px 28px rgba(28, 42, 34, 0.28);
}
.yh-btn--primary:hover {
  background: #2a3d32;
  color: #FFFFFF;
}
.yh-btn--ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.7);
}
.yh-btn--ghost-on-hero {
  backdrop-filter: blur(6px);
}
.yh-btn--on-cream {
  background: #FFFFFF;
  color: #1C2A22;
  border-color: #1C2A22;
}
.yh-section--band .yh-btn--primary,
.yh-section--plum .yh-btn--primary,
.yh-lead-section .yh-btn--primary {
  background: #1C2A22;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 12px 32px rgba(28, 42, 34, 0.35);
}

/* Cards */
.yh-card {
  background: var(--yh-surface);
  border: 1px solid rgba(43, 27, 78, 0.10);
  border-radius: var(--yh-radius-card);
  box-shadow: 0 10px 30px rgba(14, 26, 43, 0.08);
  padding: 1.35rem 1.4rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.yh-card h3,
.yh-service-card h3,
.yh-service-card h3 a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.yh-blog-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease-out;
}
.yh-blog-card:hover { transform: translateY(-4px); }
.yh-blog-card__body { padding: 1rem 1.1rem 1.2rem; }
.yh-blog-card__title { font-size: 1.25rem; }
.yh-blog-card__title a { color: inherit; text-decoration: none; }

/* Header */
.yh-site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: var(--yh-cream);
  padding: 1.1rem 0;
}
.yh-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.yh-logo { text-decoration: none; color: inherit; }
.yh-logo__text {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--yh-cream);
  margin: 0;
}
.yh-primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.yh-nav-list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.yh-nav-list a {
  color: rgba(247, 241, 232, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
}
.yh-nav-list a:hover { color: var(--yh-cream); opacity: 1; }
.yh-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(247, 241, 232, 0.45);
  border-radius: var(--yh-radius-sm);
  background: transparent;
  cursor: pointer;
}
.yh-nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--yh-cream);
  box-shadow: 0 6px 0 var(--yh-cream), 0 -6px 0 var(--yh-cream);
}

body:not(.yh-is-home) .yh-site-header {
  position: relative;
  background: var(--yh-plum);
}

/* Hero — full-bleed one image + single car loupe */
.yh-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #B7CDB8;
  color: #FFFFFF;
}
.yh-hero--fullbleed .yh-hero-bg--full {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 1;
  will-change: transform;
  z-index: 1;
}
.yh-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28,42,34,0.72) 0%, rgba(28,42,34,0.45) 42%, rgba(28,42,34,0.12) 70%, transparent 100%),
    linear-gradient(180deg, rgba(28,42,34,0.35) 0%, transparent 28%, transparent 70%, rgba(28,42,34,0.45) 100%);
}
.yh-hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Loupe stage — blends with full-bleed hero as one photo */
.yh-loupe-stage {
  position: absolute;
  right: 1%;
  bottom: 2%;
  width: min(62vw, 780px);
  aspect-ratio: 16 / 9;
  z-index: 5;
  touch-action: none;
}
.yh-loupe-stage:not(.is-scanning) .yh-loupe-ring {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.yh-loupe-stage:not(.is-scanning) .yh-car--damaged {
  opacity: 0;
  visibility: hidden;
}
.yh-loupe-stage.is-scanning .yh-loupe-ring,
.yh-loupe-stage.is-scanning .yh-car--damaged {
  opacity: 1;
  visibility: visible;
}
.yh-car {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 70%;
  filter: drop-shadow(0 14px 28px rgba(28, 42, 34, 0.22));
  opacity: 1;
  visibility: visible;
}
.yh-car--damaged { z-index: 1; }
.yh-car--perfect {
  z-index: 2;
  /* without scanning — full perfect car visible (seamless with hero) */
  -webkit-mask-image: none;
  mask-image: none;
}
.yh-loupe-stage.is-scanning .yh-car--perfect {
  -webkit-mask-image: radial-gradient(
    circle var(--yh-loupe-size) at var(--lx, 55%) var(--ly, 45%),
    transparent 0 calc(var(--yh-loupe-size) - 2px),
    #000 calc(var(--yh-loupe-size) + 6px)
  );
  mask-image: radial-gradient(
    circle var(--yh-loupe-size) at var(--lx, 55%) var(--ly, 45%),
    transparent 0 calc(var(--yh-loupe-size) - 2px),
    #000 calc(var(--yh-loupe-size) + 6px)
  );
}
.yh-loupe-ring {
  position: absolute;
  width: var(--yh-loupe-size);
  height: var(--yh-loupe-size);
  margin: calc(var(--yh-loupe-size) / -2) 0 0 calc(var(--yh-loupe-size) / -2);
  left: var(--lx, 55%);
  top: var(--ly, 45%);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow:
    inset 0 0 18px rgba(28, 42, 34, 0.18),
    0 0 0 8px rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(28, 42, 34, 0.18);
  pointer-events: none;
  z-index: 6;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.yh-hero-copy {
  position: relative;
  z-index: 10;
  max-width: 36rem;
  padding-top: clamp(6.5rem, 14vh, 9rem);
  padding-bottom: 4rem;
  color: #FFFFFF;
}
.yh-hero-copy .yh-eyebrow,
.yh-hero-copy .yh-hero-title,
.yh-hero-copy .yh-hero-lead,
.yh-hero-copy .yh-loupe-hint {
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(28, 42, 34, 0.35);
}
.yh-hero-copy .yh-hero-title { color: #FFFFFF; }
.yh-hero-copy .yh-hero-lead { opacity: 0.95; font-size: 1.08rem; }

/* Floating MAX CTA */
.yh-max-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  background: #1C2A22;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(28, 42, 34, 0.4);
  border: 2px solid #FFFFFF;
}
.yh-max-fab:hover { transform: scale(1.04); color: #FFFFFF !important; }

@media (max-width: 900px) {
  .yh-cta-row { flex-wrap: wrap; }
  .yh-cta-row .yh-btn { width: 100%; }
}

/* ===== Mobile optimization ===== */
@media (max-width: 720px) {
  :root {
    --yh-loupe-size: 58px;
    --yh-section-x: 1rem;
    --yh-section-y: 2.75rem;
  }

  .yh-wrap {
    width: min(var(--yh-max), calc(100% - 1.5rem));
  }

  .yh-logo__text {
    font-size: 1.05rem;
    line-height: 1.2;
    max-width: 11.5rem;
  }

  .yh-nav-toggle { display: block; }
  .yh-primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0.75rem;
    left: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    background: rgba(28, 42, 34, 0.96);
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(14, 26, 43, 0.35);
    z-index: 40;
  }
  .yh-primary-nav.is-open { display: flex; }
  .yh-nav-list {
    flex-direction: column;
    gap: 0.35rem;
  }
  .yh-nav-list a {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 1.05rem;
  }
  .yh-header-max,
  .yh-header-cta {
    width: 100%;
    justify-content: center;
  }

  .yh-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    overflow: hidden;
    padding-bottom: 0.25rem;
  }
  /* Atmosphere only — no baked car behind text; loupe stage owns the vehicle */
  .yh-hero--fullbleed .yh-hero-bg--full {
    background-image: linear-gradient(165deg, #1a2820 0%, #24362c 48%, #3a5244 100%) !important;
    background-position: center;
    background-size: cover;
    filter: none;
    transform: none;
  }
  .yh-hero-scrim {
    background:
      linear-gradient(180deg, rgba(28,42,34,0.55) 0%, rgba(28,42,34,0.2) 55%, rgba(28,42,34,0.35) 100%);
  }
  .yh-hero-copy {
    position: relative;
    z-index: 15;
    order: 1;
    max-width: 100%;
    padding: 4.5rem 0 0.25rem;
  }
  .yh-hero--fullbleed .yh-hero-title {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    line-height: 1.15;
  }
  .yh-hero--fullbleed .yh-hero-lead {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.55;
  }
  .yh-loupe-hint {
    max-width: none;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    margin-bottom: 0.15rem;
  }
  .yh-loupe-stage {
    position: relative;
    order: 2;
    right: auto;
    bottom: auto;
    width: min(100%, 440px);
    margin: 0.35rem auto 1.5rem;
    z-index: 12;
    aspect-ratio: 16 / 9;
    min-height: 230px;
    border-radius: 18px;
    background:
      radial-gradient(ellipse 85% 75% at 50% 70%, rgba(231, 240, 233, 0.5) 0%, rgba(231, 240, 233, 0.12) 52%, transparent 74%);
    filter: drop-shadow(0 16px 26px rgba(14, 26, 20, 0.35));
  }
  .yh-car {
    background-position: center 62%;
    background-size: 142% auto;
  }
  .yh-cta-row {
    margin-top: 1.1rem;
    gap: 0.65rem;
  }
  .yh-cta-row .yh-btn {
    width: 100%;
    min-height: 48px;
  }

  .yh-max-fab {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    min-height: 46px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .yh-section-head--split,
  .yh-split,
  .yh-split--reverse,
  .yh-trust-grid,
  .yh-two-col,
  .yh-site-footer__grid,
  .yh-blog-grid,
  .yh-services-grid {
    grid-template-columns: 1fr !important;
  }
  .yh-section-visual,
  .yh-split__visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  .yh-lead-section__grid {
    grid-template-columns: 1fr !important;
  }
  .yh-lead-section__side {
    max-width: 200px;
    margin: 0 auto;
  }
  .yh-card { padding: 1.1rem 1.05rem; }
  .yh-service-card h3 {
    font-size: 1.15rem;
  }
  .yh-site-footer { padding-bottom: 5.5rem; }

  .yh-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .yh-cookie-banner__accept {
    width: 100%;
  }
}

@media (max-width: 420px) {
  :root { --yh-loupe-size: 50px; }
  .yh-logo__text { max-width: 9.5rem; font-size: 0.98rem; }
  .yh-hero-copy { padding-top: 4.4rem; }
}

/* legacy tablet loupe size */
@media (max-width: 960px) and (min-width: 721px) {
  :root { --yh-loupe-size: 62px; }
  .yh-site-footer__grid { grid-template-columns: 1fr 1fr; }
  .yh-blog-grid { grid-template-columns: 1fr 1fr; }
}
.yh-car--damaged { z-index: 1; }
.yh-loupe-stage:not(.is-scanning) .yh-loupe-ring {
  opacity: 0;
  visibility: hidden;
}

.yh-hero-copy {
  position: relative;
  z-index: 15;
  padding: 8.5rem 0 7rem;
  max-width: 36rem;
}
.yh-hero--fullbleed .yh-hero-title {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}
.yh-hero--fullbleed .yh-hero-lead {
  color: rgba(255, 255, 255, 0.95);
  max-width: 38ch;
  margin: 0;
}
.yh-hero--fullbleed .yh-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}
.yh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.yh-loupe-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
  max-width: 36ch;
}

.yh-hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 14;
  line-height: 0;
}
.yh-hero-wave svg { width: 100%; height: 90px; display: block; }

/* Motion fade-up defaults (visible without JS) */
[data-motion="fade-up"],
[data-motion="stagger"] .yh-card {
  opacity: 1;
  transform: none;
}

/* Footer */
.yh-site-footer {
  background: var(--yh-ink);
  color: rgba(247, 241, 232, 0.85);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.yh-site-footer a {
  color: rgba(247, 241, 232, 0.9);
  text-decoration: underline;
}
.yh-site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.yh-footer-brand {
  font-family: var(--yh-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--yh-cream);
  margin: 0 0 0.5rem;
}
.yh-footer-heading {
  font-family: var(--yh-font-body);
  font-size: 0.95rem;
  color: var(--yh-cream);
  margin-bottom: 0.75rem;
}
.yh-footer-list,
.yh-footer-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.yh-footer-list li,
.yh-footer-legal-list li { margin-bottom: 0.4rem; }
.yh-footer-cta-row { margin-top: 1rem; }
.yh-footer-cta-row .yh-btn { text-decoration: none; }
.yh-site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 241, 232, 0.12);
  font-size: 0.8rem;
}

/* Legal */
.yh-legal { padding: var(--yh-section-y) 0; }
.yh-legal-article { max-width: 720px; }
.yh-prose :where(p, ul, ol) { margin: 0 0 1rem; }
.yh-page-band { padding: var(--yh-section-y) 0; }
.yh-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.yh-archive-header { margin-bottom: 2rem; }

/* Cookie banner */
.yh-cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--yh-cream);
  color: var(--yh-ink);
  border-top: 1px solid var(--yh-outline-soft);
  box-shadow: 0 -8px 30px rgba(14, 26, 43, 0.12);
  padding: 1rem 0;
}
.yh-cookie-banner[hidden] { display: none !important; }
.yh-cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.yh-cookie-banner__title {
  font-family: var(--yh-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  color: var(--yh-plum);
}
.yh-cookie-banner__desc {
  margin: 0;
  font-size: 0.9rem;
  max-width: 52rem;
}
.yh-cookie-banner__desc a { color: var(--yh-teal); }

/* Forms shell */
.yh-lead-form label { display: block; font-size: 0.9rem; font-weight: 500; margin: 0.75rem 0 0.35rem; }
.yh-lead-form input,
.yh-lead-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--yh-radius-md);
  border: 1.5px solid rgba(43, 27, 78, 0.18);
  background: var(--yh-surface);
  font: inherit;
}
.yh-lead-form input:focus,
.yh-lead-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 111, 139, 0.28);
  border-color: var(--yh-teal);
}
.yh-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1rem 0; font-size: 0.85rem; }
.yh-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.yh-search-form { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.yh-search-field {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 0.9rem;
  border-radius: var(--yh-radius-md);
  border: 1.5px solid rgba(43, 27, 78, 0.18);
  background: var(--yh-surface);
  font: inherit;
}

/* Responsive blocks consolidated in mobile section above */

/* PAGE BUILDER sections */
.yh-section {
  padding: var(--yh-section-y) 0;
  position: relative;
}
.yh-section--band {
  background: linear-gradient(180deg, rgba(31, 111, 139, 0.08), rgba(247, 241, 232, 0.4));
}
.yh-section--plum {
  background: var(--yh-plum);
  color: var(--yh-cream);
}
.yh-section--plum h2,
.yh-section--plum h3 { color: var(--yh-cream); }
.yh-section--plum a { color: var(--yh-amber); }
.yh-section-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.yh-section-head--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.yh-prose-wide { max-width: 42rem; }
.yh-answer {
  margin-top: 1.25rem;
  border-left: 4px solid var(--yh-teal);
  background: var(--yh-surface);
}
.yh-trust-grid,
.yh-paper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.25rem;
}
.yh-paper-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.yh-paper-card {
  background: var(--yh-surface);
  border: 1px solid rgba(43, 27, 78, 0.1);
  box-shadow: var(--yh-shadow-soft);
}
.yh-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.yh-services-grid > * { min-width: 0; }
.yh-service-card h3 {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.25;
}
.yh-service-card h3 a { color: inherit; text-decoration: none; }
.yh-steps {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  max-width: 40rem;
}
.yh-steps li { margin-bottom: 0.75rem; }
.yh-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.yh-split--reverse { grid-template-columns: 0.9fr 1.1fr; }
.yh-split__visual img,
.yh-section-visual img,
.yh-page-hero__img {
  border-radius: var(--yh-radius-card);
  box-shadow: var(--yh-shadow-lift);
}
.yh-overlap-visual { margin-top: -1.5rem; }
.yh-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.yh-internal-links {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.yh-internal-links a { margin-inline: 0.15rem; }

.yh-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--yh-plum) 0%, #3d2a68 55%, var(--yh-teal) 140%);
  color: var(--yh-cream);
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}
.yh-page-hero h1 { color: var(--yh-cream); }
.yh-page-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.yh-page-hero__lead {
  color: rgba(247, 241, 232, 0.88);
  max-width: 40ch;
  margin: 0;
}
.yh-page-hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 1;
}
.yh-page-hero__wave svg { width: 100%; height: 60px; display: block; }
.yh-page-hero--blog .yh-page-hero__inner { grid-template-columns: 1fr; }

.yh-lead-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.7fr;
  gap: 1.5rem;
  align-items: start;
}
.yh-lead-section__note { opacity: 0.85; font-size: 0.9rem; }
.yh-lead-section__form { background: var(--yh-surface); color: var(--yh-ink); }
.yh-lead-section__side img { max-height: 420px; object-fit: contain; margin-inline: auto; }
.yh-form-status { margin-top: 0.75rem; font-size: 0.9rem; }

.yh-faq-list { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.yh-faq-item { padding: 0; }
.yh-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--yh-plum);
}
.yh-faq-item summary::-webkit-details-marker { display: none; }
.yh-faq-a { padding: 0 1.2rem 1.1rem; color: var(--yh-ink); }

.yh-blog-card__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.yh-blog-card__label { color: var(--yh-teal); margin: 0 0 0.4rem; }
.yh-blog-card__teaser { font-size: 0.95rem; margin: 0.4rem 0 0; color: rgba(14, 26, 43, 0.78); }
.yh-blog-card--topic { background: #FFF9F2; }
.yh-blog-card--pass { border-color: rgba(31, 111, 139, 0.28); }

.yh-chooser-table { overflow-x: auto; }
.yh-chooser-table table { width: 100%; border-collapse: collapse; }
.yh-chooser-table th,
.yh-chooser-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(43, 27, 78, 0.1);
}
.yh-cta-strip { text-align: left; }
.yh-nap-note { margin-top: 0.75rem; color: rgba(14, 26, 43, 0.75); }
.yh-single-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  padding: var(--yh-section-y) 0;
  align-items: start;
}
.yh-single-aside { position: sticky; top: 1.5rem; }
.yh-entry-cover { margin: 0 0 1.5rem; border-radius: var(--yh-radius-card); overflow: hidden; }

@media (max-width: 960px) {
  .yh-section-head--split,
  .yh-split,
  .yh-split--reverse,
  .yh-page-hero__inner,
  .yh-lead-section__grid,
  .yh-two-col,
  .yh-trust-grid,
  .yh-single-wrap {
    grid-template-columns: 1fr;
  }
  .yh-lead-section__side { order: -1; max-width: 220px; }
  .yh-single-aside { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .yh-btn:hover { transform: none; }
  .yh-blog-card:hover { transform: none; }
  [data-parallax-layer] { transform: none !important; }
  .yh-car--perfect {
    -webkit-mask-image: radial-gradient(
      circle 110px at 55% 48%,
      transparent 0 108px,
      #000 114px
    );
    mask-image: radial-gradient(
      circle 110px at 55% 48%,
      transparent 0 108px,
      #000 114px
    );
  }
}
