:root {
  --red: #e51b23;
  --red-dark: #c81018;
  --ink: #202a35;
  --muted: #5d6874;
  --line: #e5e9ee;
  --soft: #f6f8fa;
  --brand-green: #43584c;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(27, 39, 51, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px rgba(35,45,56,.035);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand img { width: 205px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #2f3943;
  font-weight: 600;
  font-size: 15px;
  transition: color .2s ease, transform .2s ease;
}
.main-nav a:hover { color: var(--red); transform: translateY(-1px); }
.main-nav svg,
.mobile-support svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-support { display: none; }

.hero {
  position: relative;
  min-height: 552px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #fff 0%, #fff 46%, rgba(255,255,255,.93) 58%, rgba(245,247,250,.72) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 68%, rgba(229,27,35,.035) 68% 70%, transparent 70%),
    linear-gradient(45deg, transparent 0 73%, rgba(34,46,58,.025) 73% 75%, transparent 75%);
}
.hero-grid {
  position: relative;
  min-height: 552px;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; padding: 70px 0 76px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(52px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}
.hero h1 span { color: var(--red); }
.hosted-line {
  margin: 25px 0 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}
.hosted-line strong { color: var(--red); }
.accent-line { width: 72px; height: 3px; margin: 21px 0 20px; background: var(--red); border-radius: 99px; }
.intro { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.58; }
.intro strong { color: var(--red); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 2px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 24px rgba(229,27,35,.22); }
.button-primary:hover { background: var(--red-dark); box-shadow: 0 15px 30px rgba(229,27,35,.28); }
.button-outline { color: var(--red); border-color: var(--red); background: rgba(255,255,255,.88); }
.button-outline:hover { background: #fff4f4; }
.hero-art { position: absolute; z-index: 1; right: calc((100vw - min(1240px, calc(100vw - 48px))) / -2); top: 0; bottom: 0; width: 58%; }
.hero-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 31%;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.86) 50%, transparent 100%);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.services { position: relative; z-index: 5; padding: 0 0 36px; background: linear-gradient(#fff 12%, #f8fafb 100%); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; transform: translateY(-30px); }
.service-card {
  min-height: 168px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid #e9edf1;
  border-radius: 10px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(27,39,51,.14); }
.service-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff1f2, #ffe6e8);
}
.service-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h2 { margin: 1px 0 7px; font-size: 20px; }
.service-card p { margin: 0 0 14px; color: var(--muted); line-height: 1.5; font-size: 15px; }
.service-card a { color: var(--red); text-decoration: none; font-weight: 750; font-size: 14px; }
.service-card a:hover { text-decoration: underline; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.footer-brand { padding-right: 28px; border-right: 1px solid var(--line); }
.footer-brand img { width: 178px; }
.footer-contacts { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-contacts a,
.footer-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4c5661;
  text-decoration: none;
  font-size: 14px;
}
.footer-contacts a:hover { color: var(--red); }
.footer-contacts svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #51606e;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-legal { text-align: right; color: #69737e; font-size: 13px; line-height: 1.55; }
.footer-legal p { margin: 0; }
.footer-legal strong { color: var(--red); }

@media (max-width: 1050px) {
  .main-nav { gap: 19px; }
  .hero-grid { grid-template-columns: 59% 41%; }
  .hero-art { width: 52%; opacity: .78; }
  .service-card { grid-template-columns: 64px 1fr; padding: 23px; }
  .service-icon { width: 62px; height: 62px; }
  .service-icon svg { width: 33px; height: 33px; }
  .footer-inner { grid-template-columns: auto 1fr; padding: 24px 0; }
  .footer-legal { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 680px); }
  .header-inner { min-height: 76px; }
  .brand img { width: 182px; }
  .main-nav { display: none; }
  .mobile-support {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #ffd4d7;
    border-radius: 50%;
    background: #fff4f4;
  }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; display: block; }
  .hero-copy { padding: 62px 0 235px; }
  .hero h1 { font-size: clamp(46px, 12vw, 66px); }
  .hero-art { width: 100%; height: 290px; top: auto; bottom: 0; right: 0; opacity: .72; }
  .hero-art::before { width: 100%; height: 46%; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.72) 50%, transparent 100%); }
  .service-grid { grid-template-columns: 1fr; transform: translateY(-24px); }
  .service-card { min-height: unset; }
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px 0; }
  .footer-brand { padding-right: 0; border-right: 0; }
  .footer-contacts { flex-direction: column; align-items: flex-start; gap: 13px; }
  .footer-legal { text-align: left; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 26px); }
  .hero-copy { padding-top: 48px; }
  .eyebrow { font-size: 12px; }
  .hosted-line { font-size: 17px; }
  .intro { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .service-card { grid-template-columns: 54px 1fr; gap: 15px; padding: 21px 18px; }
  .service-icon { width: 54px; height: 54px; }
  .service-icon svg { width: 29px; height: 29px; }
}
