/* Steinblad — кинематографичный ИТ: сине-графитовая основа и сдержанный янтарный акцент. */
:root {
  --ink: #eef0ec;
  --teal: #36545c;
  --dark: #14171b;
  --paper: #1b2025;
  --white: #242b31;
  --muted: #aeb5b6;
  --line: #3a464e;
  --copper: #c99450;
  --steel: #5d747d;
  --fog: #e9e6df;
}

body {
  background:
    radial-gradient(70rem 42rem at 100% -10%, rgba(65, 91, 102, 0.26), transparent 58%),
    radial-gradient(50rem 32rem at -10% 35%, rgba(33, 51, 60, 0.38), transparent 62%),
    linear-gradient(160deg, #14171b 0%, #1a2025 52%, #161a1e 100%);
}

::selection {
  background: var(--copper);
  color: #15181b;
}

.site-header {
  background: rgba(20, 23, 27, 0.88);
  border-bottom-color: rgba(186, 196, 194, 0.16);
  backdrop-filter: blur(16px);
}

.brand-mark,
.brand-mark::after {
  border-color: var(--copper);
}

.brand-word,
.desktop-nav,
.menu-toggle {
  color: var(--ink);
}

.desktop-nav a::after {
  background: var(--copper);
}

.header-cta {
  border-color: rgba(201, 148, 80, 0.7);
  color: var(--fog);
}

.header-cta:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #171a1d;
}

.menu-toggle,
.mobile-nav {
  border-color: rgba(185, 196, 195, 0.23);
  background: rgba(22, 27, 31, 0.98);
}

.mobile-nav a {
  border-bottom-color: rgba(185, 196, 195, 0.18);
}

.hero {
  padding-top: clamp(4.8rem, 8vw, 7.5rem);
}

.hero-title-group {
  position: relative;
  padding-left: clamp(1.2rem, 3vw, 2.8rem);
}

.hero-title-group::before {
  position: absolute;
  top: 0.4rem;
  bottom: 0.55rem;
  left: 0;
  width: 0.18rem;
  content: '';
  background: var(--copper);
}

.hero h1 {
  max-width: 11.8ch;
  font-weight: 500;
  letter-spacing: -0.065em;
}

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

.hero-aside {
  border-left: 1px solid rgba(185, 196, 195, 0.22);
  padding-left: 1.4rem;
}

.hero-aside > p,
.section-heading > p,
.metric-label,
.price-note {
  color: var(--muted);
}

.hero-visual {
  height: clamp(23rem, 36vw, 32rem);
  border: 1px solid rgba(187, 199, 198, 0.24);
  border-radius: 0.2rem 2.75rem 0.2rem 0.2rem;
  background: #111518;
  box-shadow: 1.1rem 1.1rem 0 rgba(201, 148, 80, 0.11), 0 1.6rem 4rem rgba(0, 0, 0, 0.3);
}

.hero-image img {
  filter: saturate(0.68) contrast(1.06) brightness(0.8);
  object-position: 54% 50%;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  background:
    linear-gradient(90deg, rgba(10, 14, 17, 0.72) 0%, rgba(15, 20, 24, 0.38) 35%, transparent 69%),
    linear-gradient(0deg, rgba(9, 13, 16, 0.62), transparent 46%);
  pointer-events: none;
}

.hero-visual::after {
  background: linear-gradient(0deg, rgba(8, 12, 14, 0.72), transparent 44%);
}

.hero-caption {
  right: auto;
  max-width: min(34rem, calc(100% - 4.4rem));
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(233, 230, 223, 0.2);
  background: rgba(16, 20, 23, 0.72);
  backdrop-filter: blur(8px);
}

.hero-index::before {
  background: var(--copper);
}

.metrics {
  gap: 0;
  margin-top: 0.25rem;
  padding: 0;
  border: 1px solid rgba(185, 196, 195, 0.18);
  background: rgba(29, 36, 42, 0.74);
}

.metric {
  min-height: 8.7rem;
  padding: 1.8rem clamp(1.1rem, 2.8vw, 2.5rem);
  border-top: 2px solid rgba(201, 148, 80, 0.7);
}

.metric + .metric {
  border-left-color: rgba(185, 196, 195, 0.18);
}

.metric-number {
  color: var(--ink);
}

.section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.services-grid {
  gap: 1.1rem;
}

.service-card,
.service-card.featured {
  position: relative;
  isolation: isolate;
  min-height: 24.7rem;
  overflow: hidden;
  border: 1px solid rgba(185, 196, 195, 0.22);
  background: linear-gradient(145deg, rgba(38, 47, 53, 0.96), rgba(28, 34, 39, 0.98));
  color: var(--ink);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 0.17rem;
  content: '';
  background: var(--copper);
  opacity: 0.58;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card .service-no,
.service-card .service-kind,
.service-card.featured .service-no,
.service-card.featured .service-kind,
.service-card > .service-result,
.service-card.featured > .service-result,
.service-card .service-price small,
.service-card.featured .service-price small,
.service-card .wp-block-details > p,
.service-card.featured .wp-block-details > p {
  color: var(--muted);
}

.service-card .wp-block-details,
.service-card.featured .wp-block-details {
  border-color: rgba(185, 196, 195, 0.22);
}

.service-card h3 {
  min-height: 5.8rem;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}

.service-card > .service-result {
  margin-top: 1.25rem;
}

.service-price {
  color: var(--ink);
  font-weight: 500;
}

.service-card .link-button .wp-block-button__link {
  color: var(--fog);
  border-bottom-color: rgba(201, 148, 80, 0.7);
}

@media (hover: hover) {
  .service-card:hover,
  .service-card:focus-within {
    border-color: rgba(201, 148, 80, 0.78);
    background: linear-gradient(145deg, rgba(48, 59, 66, 0.98), rgba(30, 37, 42, 0.99));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 1.15rem 2.8rem rgba(0, 0, 0, 0.3);
    transform: translateY(-0.35rem);
  }

  .service-card:hover::before,
  .service-card:focus-within::before {
    opacity: 1;
  }
}

.wp-block-button__link {
  background: var(--copper);
  border-color: var(--copper);
  color: #171a1d;
  font-weight: 700;
  box-shadow: none;
}

.wp-block-button__link:hover {
  background: #e0b67c;
  border-color: #e0b67c;
  color: #171a1d;
  box-shadow: none;
}

.link-button .wp-block-button__link {
  background: transparent;
  color: var(--fog);
  box-shadow: none;
}

.pale-button .wp-block-button__link {
  background: var(--fog);
  border-color: var(--fog);
  color: #192025;
}

.outline-button .wp-block-button__link {
  background: transparent;
  border-color: rgba(233, 230, 223, 0.58);
  color: var(--fog);
  box-shadow: none;
}

.diagnostic {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(34rem 29rem at 100% 100%, rgba(201, 148, 80, 0.13), transparent 70%),
    linear-gradient(135deg, #202a30, #172126 68%, #14191d);
  color: var(--ink);
}

.diagnostic::before {
  position: absolute;
  top: 0;
  right: 8vw;
  width: min(28rem, 38vw);
  height: 0.16rem;
  content: '';
  background: var(--copper);
  opacity: 0.72;
}

.diagnostic::after {
  position: absolute;
  right: -8rem;
  bottom: -11rem;
  width: 29rem;
  height: 29rem;
  content: '';
  border: 3.4rem solid rgba(93, 116, 125, 0.22);
  border-radius: 50%;
}

.diagnostic-inner {
  position: relative;
  z-index: 1;
}

.diagnostic .eyebrow,
.diagnostic-copy > p:not(.eyebrow),
.outcome-item div > p {
  color: #bcc4c3;
}

.diagnostic .wp-block-button__link {
  background: var(--copper);
  border-color: var(--copper);
  color: #171a1d;
}

.diagnostic .wp-block-button__link:hover {
  background: #e0b67c;
  border-color: #e0b67c;
}

.outcome-list,
.outcome-item {
  border-color: rgba(185, 196, 195, 0.25);
}

.outcome-item > .eyebrow {
  color: var(--copper);
}

.process-step {
  border-top-color: rgba(201, 148, 80, 0.66);
}

.step-no,
.about-intro .signature {
  color: var(--copper);
}

.process-step > p:last-child,
.about-role,
.about-content > p:not(.lead) {
  color: var(--muted);
}

.about-inner,
.about-content,
.expertise p {
  border-color: rgba(185, 196, 195, 0.22);
}

.expertise p {
  color: #c5cccb;
}

.faq {
  background:
    radial-gradient(36rem 30rem at 100% 0%, rgba(201, 148, 80, 0.14), transparent 70%),
    var(--fog);
  color: #1a2429;
}

.faq .eyebrow,
.faq .faq-list p {
  color: #606d70;
}

.faq-list > .wp-block-details,
.faq-list > .wp-block-details:last-child {
  border-color: rgba(41, 56, 62, 0.24);
}

.contact {
  background:
    radial-gradient(52rem 33rem at 100% 0%, rgba(54, 84, 92, 0.38), transparent 67%),
    #14181c;
}

.contact::before {
  display: block;
  width: min(8rem, 20vw);
  height: 0.22rem;
  margin-bottom: 2.4rem;
  content: '';
  background: var(--copper);
}

.contact-copy .eyebrow,
.contact-copy > p:last-child,
.contact-links .eyebrow,
.contact-links > .contact-note,
.site-footer {
  color: #b7c0bf;
}

.contact-links {
  border-left-color: rgba(233, 230, 223, 0.22);
}

.contact-email a,
.site-footer a {
  border-bottom-color: rgba(201, 148, 80, 0.65);
}

.site-footer {
  background: #111417;
}

@media (max-width: 820px) {
  .hero-title-group {
    padding: 1.5rem 0 0;
  }

  .hero-title-group::before {
    top: 0;
    right: auto;
    bottom: auto;
    width: 5rem;
    height: 0.18rem;
  }

  .hero-aside {
    border-left: 0;
    padding-left: 0;
  }

  .hero-visual {
    height: 23rem;
    border-radius: 0.2rem 2.15rem 0.2rem 0.2rem;
    box-shadow: 0.75rem 0.75rem 0 rgba(201, 148, 80, 0.1), 0 1.3rem 3rem rgba(0, 0, 0, 0.28);
  }

  .metric {
    min-height: 0;
  }

  .service-card,
  .service-card.featured {
    min-height: 22rem;
  }
}

@media (max-width: 520px) {
  .hero-visual {
    height: 18rem;
    border-radius: 0 1.7rem 0 0;
  }

  .hero-image img {
    object-position: 74% 50%;
  }

  .hero-caption {
    max-width: calc(100% - 2.6rem);
  }

  .metric {
    border-top-width: 0.16rem;
  }

  .service-card,
  .service-card.featured {
    min-height: 0;
  }
}
