:root {
  --bg: #2f2f2f;
  --surface: #ffffff;
  --surface-muted: #f6f3f1;
  --text: #434343;
  --text-strong: #2e2e2e;
  --accent: #f52323;
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --site-width: 1460px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 28%),
    #1e1e1e;
  color: var(--text);
  font: 400 18px/1.6 "Segoe UI", Arial, Helvetica, sans-serif;
}

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

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

.site-shell {
  width: min(var(--site-width), calc(100% - 40px));
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 100vh;
}

.site-header {
  background: #fff;
}

.site-header__bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 28px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  flex: 0 0 auto;
}

.site-brand img {
  width: 310px;
}

.site-header__topline {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 38px;
  flex: 1 1 auto;
}

.site-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 14px 18px 13px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f6f6f6);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  color: var(--text-strong);
}

.site-phone__label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #767676;
}

.site-phone__number {
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.site-header__nav-wrap {
  background: #ece7e2;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  align-items: center;
  min-height: 58px;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #3f3f3f;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: rgba(255, 255, 255, 0.72);
  color: #222;
}

.site-nav__link.is-active {
  background: rgba(245, 35, 35, 0.12);
  color: var(--accent);
}

.announcement-band {
  background: var(--accent);
  color: #fff;
}

.announcement-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 20px;
  text-align: center;
}

.announcement-band__inner a {
  display: block;
  text-decoration: underline;
}

.announcement-band__inner a:first-child {
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.announcement-band__sub {
  margin-top: 14px;
  font-size: clamp(22px, 2vw, 34px);
}

.site-main {
  background: #474747;
}

.page-section,
.content-shell,
.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero-home {
  position: relative;
  min-height: 720px;
  background: linear-gradient(rgba(25, 25, 25, 0.18), rgba(25, 25, 25, 0.18)),
    url("/assets/wix-media/b0f3919d3ce8417b8f133eb2844f5997.jpg") center/cover no-repeat;
}

.hero-home__content {
  width: min(620px, 100%);
  margin-left: auto;
  padding: 150px 0 120px;
  color: #fff;
  text-align: left;
}

.hero-home h1 {
  margin: 0;
  font-size: clamp(54px, 5vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 300;
}

.hero-home p {
  margin: 24px 0 0;
  font-size: clamp(22px, 1.9vw, 34px);
}

.section-title {
  margin: 0;
  padding: 24px 0 16px;
  color: #fff;
  text-align: center;
  font-size: clamp(34px, 3vw, 62px);
  line-height: 1.05;
  font-weight: 300;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #222;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.3));
}

.service-card__label {
  position: absolute;
  inset: auto 24px 28px;
  z-index: 1;
  color: #fff;
  text-align: center;
  font-size: 26px;
  line-height: 1.25;
}

.panel-band {
  padding: 28px 0 40px;
}

.panel-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.info-panel img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.info-panel__body {
  padding: 18px 18px 22px;
}

.info-panel h3 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.15;
  color: var(--text-strong);
}

.info-panel p {
  margin: 0;
  font-size: 17px;
}

.contact-section {
  padding: 36px 0 46px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contact-copy,
.contact-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  padding: 28px 30px 30px;
}

.contact-copy h3,
.contact-form h3 {
  margin: 0 0 18px;
  color: var(--text-strong);
  font-size: 38px;
  line-height: 1.05;
}

.contact-copy p {
  margin: 0 0 18px;
}

.contact-copy strong {
  color: var(--text-strong);
}

.contact-form form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-note {
  margin: 0;
  font-size: 15px;
  color: #666;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
}

.hero-split__panel {
  background: var(--accent);
  min-height: 540px;
  padding: 88px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-split__panel img {
  width: 170px;
  margin-bottom: 28px;
}

.hero-split__panel h1 {
  margin: 0;
  font-size: clamp(48px, 4vw, 76px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-split__panel p {
  margin: 18px 0 0;
  max-width: 420px;
  font-size: 22px;
  line-height: 1.35;
}

.hero-split__media {
  min-height: 540px;
}

.hero-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-section--reverse {
  grid-template-columns: 1fr 1fr;
}

.split-section__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.split-section__copy {
  background: #4a4a4a;
  color: #fff;
  padding: 72px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-section__copy h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 3vw, 62px);
  line-height: 1.05;
  text-align: center;
}

.split-section__copy h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
}

.split-section__copy p,
.split-section__copy li {
  font-size: 18px;
  line-height: 1.65;
}

.split-section__copy ul {
  margin: 0;
  padding-left: 22px;
}

.stack-section {
  padding: 30px 0 40px;
}

.stack-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  overflow: hidden;
}

.stack-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.stack-card__body {
  padding: 24px 26px 28px;
}

.stack-card__body h3 {
  margin: 0 0 14px;
  color: var(--text-strong);
  font-size: 34px;
  line-height: 1.1;
}

.stack-card__body p,
.stack-card__body li {
  margin: 0;
  font-size: 17px;
}

.stack-card__body ul {
  margin: 0;
  padding-left: 22px;
}

.news-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 44px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card__body {
  padding: 20px 22px 24px;
}

.news-card__meta {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.news-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 28px;
  line-height: 1.15;
}

.news-card p {
  margin: 14px 0 0;
  font-size: 16px;
}

.page-copy {
  padding: 42px 0 48px;
}

.page-copy__panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  padding: 34px 38px;
}

.page-copy__panel h1,
.page-copy__panel h2 {
  margin: 0 0 16px;
  color: var(--text-strong);
  font-size: 42px;
  line-height: 1.08;
}

.page-copy__panel p,
.page-copy__panel li {
  margin: 0 0 12px;
}

.page-copy__panel ul {
  margin: 0;
  padding-left: 22px;
}

.post-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  background: linear-gradient(rgba(18, 18, 18, 0.28), rgba(18, 18, 18, 0.45));
  color: #fff;
}

.post-hero--image {
  background-size: cover;
  background-position: center;
}

.post-hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 28px;
  width: 100%;
}

.post-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4vw, 72px);
  line-height: 1.03;
}

.post-body {
  padding: 40px 0 56px;
}

.post-body__panel {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.post-body__panel p,
.post-body__panel li {
  font-size: 18px;
}

.site-footer {
  background: linear-gradient(180deg, #ffffff, #f3f0ed);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 28px 30px;
  color: #333;
  font-size: 16px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

.site-footer__column h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text-strong);
}

.site-footer__column p {
  margin: 0 0 12px;
}

.site-footer__copyright {
  margin: 12px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__inner a {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__topline {
    justify-content: flex-start;
    width: 100%;
  }

  .site-phone {
    align-items: flex-start;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid--four,
  .panel-grid,
  .news-grid,
  .stack-grid,
  .contact-grid,
  .hero-split,
  .split-section {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: 100%;
  }

  .page-section,
  .content-shell,
  .footer-shell,
  .site-header__inner,
  .announcement-band__inner,
  .site-footer__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-brand img {
    width: min(280px, 100%);
  }

  .site-nav {
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-nav__link {
    font-size: 18px;
  }

  .site-phone {
    width: 100%;
    align-items: flex-start;
  }

  .site-phone__number {
    font-size: 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-grid--four,
  .panel-grid,
  .news-grid,
  .stack-grid,
  .contact-grid,
  .hero-split,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: 540px;
  }

  .hero-home__content {
    margin-left: 0;
    padding: 84px 0 72px;
  }

  .hero-split__panel,
  .split-section__copy {
    padding: 48px 24px;
  }

  .split-section__media img {
    min-height: 340px;
  }
}
