:root {
  --bg: #f6f4f1;
  --bg-secondary: #ece9e4;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: #1f2329;
  --surface-soft: #f3f1ee;
  --text: #1e232a;
  --muted: #5d646f;
  --line: rgba(30, 35, 42, 0.1);
  --accent: #ba2828;
  --accent-dark: #861818;
  --accent-soft: rgba(186, 40, 40, 0.1);
  --shadow-soft: 0 18px 48px rgba(22, 26, 33, 0.08);
  --shadow-strong: 0 26px 70px rgba(22, 26, 33, 0.14);
  --radius-2xl: 32px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(186, 40, 40, 0.08), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(31, 35, 41, 0.08), transparent 20%),
    linear-gradient(180deg, #faf8f5 0%, #f3f0eb 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

p {
  margin: 0;
}

li {
  text-align: justify;
}

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 136px 0;
}

.section--soft {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(238, 235, 230, 0.9)),
    linear-gradient(135deg, rgba(186, 40, 40, 0.03), transparent 40%);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 64px;
}

.section-heading h2,
.hero h1,
.hero__card h2,
.contacts-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}

.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 4.5vw, 4.55rem);
}

.section-heading__about {
  max-width: 980px;
  text-wrap: pretty;
}

.section-heading p,
.hero__lead,
.hero__card p,
.info-card p,
.advantage-card p,
.request-card p,
.faq-item p,
.contacts-panel p,
.contact-card p,
.form-note,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  text-align: justify;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 18px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
  padding: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(31, 35, 41, 0.05),
    0 14px 30px rgba(22, 26, 33, 0.08);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.08rem;
  letter-spacing: 0.12em;
}

.brand__text span {
  font-size: 0.92rem;
  color: var(--muted);
}

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

.nav-panel a:not(.btn) {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

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

.nav-panel a:not(.btn):hover,
.nav-panel a:not(.btn):focus-visible {
  color: var(--text);
}

.nav-panel a:not(.btn):hover::after,
.nav-panel a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

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

.btn--accent {
  color: #fff;
  background: linear-gradient(135deg, #cf3c3c 0%, var(--accent) 48%, var(--accent-dark) 100%);
  box-shadow: 0 18px 38px rgba(186, 40, 40, 0.28);
}

.btn--accent:hover,
.btn--accent:focus-visible {
  box-shadow: 0 24px 42px rgba(186, 40, 40, 0.32);
}

.btn--ghost {
  color: var(--text);
  border-color: rgba(30, 35, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(186, 40, 40, 0.24);
  box-shadow: 0 12px 28px rgba(22, 26, 33, 0.08);
}

.btn--dark {
  min-height: 56px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(135deg, #2c3138 0%, #191d22 55%, #0f1216 100%);
  box-shadow: 0 18px 38px rgba(18, 22, 27, 0.24);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  box-shadow: 0 24px 42px rgba(18, 22, 27, 0.3);
}

.btn--small {
  font-size: 0.9rem;
  min-height: 44px;
  padding: 0 20px;
}

.btn--full {
  width: 100%;
}

.hero {
  padding-top: 56px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hero__content,
.hero__card,
.info-card,
.leader-card,
.service-card,
.advantage-card,
.request-card,
.contact-card,
.form-card,
.faq-item,
.contacts-panel {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.hero__content,
.hero__card,
.info-card,
.leader-card,
.service-card,
.advantage-card,
.request-card,
.form-card,
.contacts-panel {
  padding: 42px;
}

.hero__content {
  position: relative;
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 40, 40, 0.14), transparent 68%);
}

.hero__content::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 35, 41, 0.08), transparent 68%);
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 7vw, 6.1rem);
  line-height: 1;
  text-align: left;
}

.hero__lead {
  max-width: 68ch;
  margin-bottom: 32px;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  min-height: 100%;
  padding: 18px 18px 18px 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  line-height: 1.6;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #df6767);
  box-shadow: 0 0 0 6px rgba(186, 40, 40, 0.12);
}

.hero__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 241, 0.84)),
    linear-gradient(135deg, rgba(186, 40, 40, 0.05), transparent 50%);
}

.hero__card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
}

.badge--soft {
  color: var(--text);
  background: rgba(31, 35, 41, 0.07);
}

.hero__card h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.hero-metrics {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.hero-metrics article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(30, 35, 42, 0.05);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.hero-metrics span {
  color: var(--muted);
  line-height: 1.7;
}

.about-grid,
.about-layout,
.services-grid,
.advantages-grid,
.requests-grid,
.contacts-grid,
.site-footer__grid {
  display: grid;
  gap: 24px;
}

.about-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.about-layout > * {
  margin: 0;
  align-self: start;
}

.info-card h3,
.service-card h3,
.advantage-card h3,
.request-card h3,
.leader-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.block-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.list,
.leader-facts {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  text-align: justify;
}

.list--compact li + li {
  margin-top: 8px;
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
}

.leader-card__role {
  margin: -6px 0 20px;
  color: var(--accent);
  font-weight: 700;
}

.about-story {
  display: grid;
  gap: 18px;
  height: 100%;
}

.leader-profile {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-2xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  align-self: start;
  height: 100%;
}

.leader-profile__image-wrap {
  width: 100%;
  min-height: 420px;
  max-height: 460px;
  background: linear-gradient(180deg, #f7f3ee, #ece7e1);
  overflow: hidden;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.leader-profile__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: translateZ(0);
}

.leader-profile__body {
  display: grid;
  gap: 12px;
  padding: 24px 24px 28px;
  background: inherit;
}

.leader-profile__body p {
  color: var(--muted);
  text-align: justify;
}

.leader-card__aside {
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(186, 40, 40, 0.1), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, rgba(31, 35, 41, 0.05), transparent 60%);
}

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

.service-card {
  position: relative;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 242, 238, 0.88));
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.service-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(186, 40, 40, 0.14), rgba(186, 40, 40, 0.03));
  color: var(--accent);
  font-weight: 800;
}

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

.advantage-card,
.request-card {
  position: relative;
  overflow: hidden;
}

.advantage-card::before,
.request-card::before {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), rgba(186, 40, 40, 0.08));
}

.advantage-card:hover,
.request-card:hover,
.service-card:hover,
.info-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.info-card,
.service-card,
.advantage-card,
.request-card,
.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 24px 72px 24px 26px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 26px 24px;
}

.contacts-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  align-items: start;
}

.contacts-panel {
  height: 100%;
}

.contacts-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-card {
  padding: 24px;
}

.contact-card span,
.site-footer__links span,
.site-footer__contacts span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong,
.site-footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.contact-card a,
.site-footer a {
  transition: color 0.2s ease;
}

.contact-card a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 9px;
}

.form-row label {
  font-size: 0.95rem;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(30, 35, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(186, 40, 40, 0.45);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(186, 40, 40, 0.08);
}

.form-honeypot {
  display: none !important;
}

.form-note,
.form-status {
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.35em;
  font-weight: 700;
  color: var(--accent-dark);
}

.thank-you-page {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 48px 0;
}

.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-2xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.thank-you-card h1 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.thank-you-card p {
  max-width: 44ch;
  margin: 0 auto 28px;
  color: var(--muted);
  line-height: 1.75;
  text-align: center;
}

.site-footer {
  padding: 26px 0 34px;
}

.site-footer__grid {
  grid-template-columns: minmax(0, 1.2fr) 0.7fr 0.9fr;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at top right, rgba(186, 40, 40, 0.18), transparent 30%),
    linear-gradient(135deg, #20252b 0%, #15191e 100%);
  box-shadow: 0 24px 60px rgba(17, 22, 28, 0.18);
  color: rgba(255, 255, 255, 0.94);
}

.site-footer__brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.site-footer__logo {
  width: 64px;
  height: 64px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.site-footer__brand strong {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.site-footer__links,
.site-footer__contacts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer p,
.site-footer__links span,
.site-footer__contacts span {
  color: rgba(255, 255, 255, 0.66);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

.reveal--delay-3 {
  transition-delay: 0.24s;
}

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

  .reveal,
  .reveal--delay-1,
  .reveal--delay-2,
  .reveal--delay-3,
  .btn,
  .info-card,
  .service-card,
  .advantage-card,
  .request-card,
  .contact-card {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .contacts-grid,
  .services-grid,
  .about-layout,
  .leader-card,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .leader-profile__image-wrap {
    min-height: 380px;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-top: 12px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 94px 0;
  }

  .navbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav-panel {
    display: none;
    width: 100%;
    margin-top: 8px;
    padding: 16px 4px 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

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

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

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

  .hero-points,
  .advantages-grid,
  .requests-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__content,
  .hero__card,
  .info-card,
  .leader-card,
  .service-card,
  .advantage-card,
  .request-card,
  .form-card,
  .contacts-panel {
    padding: 26px;
  }

  .brand__logo {
    width: 62px;
    height: 62px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn,
  .btn--ghost,
  .btn--accent {
    width: 100%;
  }

  .faq-item summary {
    padding: 20px 60px 20px 20px;
  }

  .faq-item p {
    padding: 0 20px 20px;
  }

  .site-footer__grid {
    padding: 24px;
  }

  .site-footer__brand {
    flex-direction: column;
  }

  .leader-profile__image-wrap {
    min-height: 320px;
    max-height: none;
  }

  .thank-you-card {
    padding: 32px 24px;
  }
}
