:root {
  --black: #111111;
  --black-2: #1b1b1b;
  --white: #ffffff;
  --cream: #f6f3ee;
  --cream-2: #ece7df;
  --red: #d72323;
  --red-dark: #b81b1b;
  --text: #5c5752;
  --heading: #181818;
  --line: #e6e0d9;
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1280px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  overflow: visible;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--red-dark);
}

.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.topbar-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--red);
  font-size: 0.9rem;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
}

.header-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

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

.brand-logo {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: var(--heading);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  overflow: hidden;
}

.brand-logo.wide {
  width: 196px;
}

.site-header .brand-logo {
  border: 0;
  background: transparent;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo.small {
  width: 56px;
  height: 56px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
}

.mobile-nav-overlay,
.mobile-nav-close {
  display: none;
}

.mobile-nav-logo {
  display: none;
}

.site-nav a,
.header-cta {
  color: var(--text);
  font-weight: 500;
}

.site-nav a:hover,
.header-cta:hover {
  color: var(--heading);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(24, 24, 24, 0.12);
  border-radius: 14px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--heading);
}

.hero {
  position: relative;
  background: #181818;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.hero::before {
  content: "";
  position: absolute;
  left: -320px;
  bottom: -320px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 35, 35, 0.22) 0%, rgba(215, 35, 35, 0) 68%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 24, 24, 0.86) 0%, rgba(24, 24, 24, 0.72) 42%, rgba(24, 24, 24, 0.64) 100%),
    radial-gradient(circle at 78% 30%, rgba(215, 35, 35, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 134px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 48px 0 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
}

.section-title p,
.hero-subtitle {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(215, 35, 35, 0.28);
  position: relative;
}

.section-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--red);
}

.hero-copy h1,
.section-heading h2,
.variant-head h3,
.service-card h4,
.slider-card h4,
.about-content h2,
.contact-band-copy h2,
.contact-info h3,
.site-footer h4 {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  line-height: 0.95;
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: none;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  text-transform: uppercase;
  line-height: 0.99;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: var(--white);
}

.hero-text {
  max-width: 52ch;
  margin: 22px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-outline {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
  padding: 0 34px;
}

.hero-count-bar {
  position: absolute;
  right: 9%;
  bottom: 46px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 20px 30px 20px 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  backdrop-filter: blur(8px);
}

.hero-count-item strong {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
}

.hero-count-item span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 6px;
}

.services-section,
.about-section,
.contact-section {
  padding: 110px 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2,
.about-content h2,
.contact-band-copy h2,
.contact-info h3 {
  color: var(--heading);
  font-size: clamp(1.68rem, 3.2vw, 3.04rem);
  line-height: 1;
  text-transform: uppercase;
}

.section-text,
.about-content p,
.contact-info p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.75;
}

.variant-block + .variant-block {
  margin-top: 56px;
}

.variant-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.variant-head h3 {
  color: var(--heading);
  font-size: clamp(1.2rem, 2.4vw, 1.84rem);
  text-transform: uppercase;
}

.variant-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(215, 35, 35, 0.1);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

.service-card {
  min-height: 250px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 50%;
  background: rgba(215, 35, 35, 0.12);
  color: var(--red);
  font-weight: 700;
}

.service-card h4 {
  color: var(--heading);
  font-size: 1.45rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.service-card p {
  margin: 14px 0 0;
  line-height: 1.72;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(17, 17, 17, 0.14);
  border-color: rgba(215, 35, 35, 0.24);
}

.service-card:hover span {
  background: var(--red);
  color: var(--white);
  transition: background-color 0.28s ease, color 0.28s ease;
}

.service-card:hover h4 {
  color: var(--red);
}

.service-card.accent {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.service-card.dark {
  background: var(--black);
  border-color: transparent;
  border-top-color: var(--red);
}

.service-card.dark h4,
.service-card.dark p {
  color: var(--white);
}

.service-card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card.image {
  padding: 0;
  overflow: hidden;
}

.service-card.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card.image:hover img {
  transform: scale(1.05);
}

.about-section {
  background: var(--cream-2);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.about-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.about-list div {
  padding: 18px 0 0;
  border-top: 1px solid rgba(24, 24, 24, 0.1);
}

.about-list strong {
  display: block;
  color: var(--heading);
  font-size: 1.12rem;
}

.about-list span {
  display: block;
  margin-top: 8px;
  line-height: 1.7;
}

.about-stack {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 20px;
  align-items: end;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.about-image.large img {
  min-height: 560px;
}

.about-image.small img {
  min-height: 320px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
}

.contact-info,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 34px;
}

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

.contact-cards div {
  padding: 18px 0;
  border-top: 1px solid rgba(24, 24, 24, 0.08);
}

.contact-cards span {
  display: block;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.contact-cards a,
.contact-cards strong {
  display: block;
  margin-top: 8px;
  color: var(--heading);
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 34px;
  align-items: start;
  grid-auto-rows: minmax(min-content, auto);
}

.bot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.is-success {
  background: rgba(23, 148, 74, 0.12);
  color: #176f3c;
  border: 1px solid rgba(23, 148, 74, 0.2);
}

.form-status.is-error {
  background: rgba(215, 35, 35, 0.1);
  color: #9f1f1f;
  border: 1px solid rgba(215, 35, 35, 0.2);
}

.contact-form label {
  display: block;
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 0.84rem;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.contact-form .form-field {
  align-self: start;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.field-error {
  display: none;
  margin-top: 8px;
  color: #c62828;
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-form.is-validated .form-field.has-error .field-error {
  display: block;
}

.contact-form.is-validated .form-field.has-error input,
.contact-form.is-validated .form-field.has-error select,
.contact-form.is-validated .form-field.has-error textarea {
  border-color: rgba(198, 40, 40, 0.5);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #faf8f4;
  color: var(--heading);
  box-sizing: border-box;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transform: none !important;
  vertical-align: top;
  background-clip: padding-box;
  box-shadow: none !important;
  transition: none !important;
}

.contact-form input,
.contact-form select {
  height: 56px;
  min-height: 56px;
}

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

.contact-form input:focus,
.contact-form input:active,
.contact-form select:focus,
.contact-form select:active,
.contact-form textarea:focus,
.contact-form textarea:active {
  border-color: var(--line);
  box-shadow: 0 0 0 3px rgba(24, 24, 24, 0.06) !important;
  outline: none !important;
  transform: none !important;
  top: 0 !important;
  margin: 0 !important;
  transition: none !important;
}

.submit-button {
  width: auto;
  min-width: 180px;
  justify-self: start;
}

.site-footer {
  margin-top: 110px;
  background: #111111;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 35, 35, 0.18), transparent 26%),
    radial-gradient(circle at 85% 30%, rgba(215, 35, 35, 0.1), transparent 22%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 70px 0 40px;
  position: relative;
  z-index: 1;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-logo-placeholder {
  width: 210px;
}

.footer-brand p {
  max-width: 42ch;
  line-height: 1.75;
  margin: 0;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--red);
}

@media (max-width: 1180px) {
  .hero-layout,
  .about-layout,
  .contact-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
    display: grid;
    padding: 52px 0;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .topbar {
    display: none;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
  }

  .header-row {
    min-height: 74px;
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 84px 28px 28px;
    background: #ffffff;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 40;
  }

  .site-nav a {
    color: var(--heading);
    font-size: 1.15rem;
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
  }

  .mobile-nav-logo {
    display: block;
    width: 168px;
    margin-bottom: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ccc;
  }

  .mobile-nav-logo img {
    display: block;
    width: 100%;
    height: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .mobile-nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 14px;
    background: transparent;
    color: var(--heading);
    font-size: 1.7rem;
    cursor: pointer;
  }

  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 35;
  }

  .mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .header-cta {
    display: none;
  }

  .hero-layout {
    min-height: calc(100svh - 74px);
    gap: 22px;
    padding: 26px 0 24px;
    display: grid;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 3rem;
    line-height: 0.98;
  }

  .hero-text {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-media img {
    opacity: 0.18;
  }

  .hero-count-bar {
    display: none;
  }

  .services-section,
  .about-section {
    padding: 76px 0;
  }

  .services-grid,
  .about-stack,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .variant-head,
  .footer-top {
    gap: 16px;
  }

  .variant-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image.large img,
  .about-image.small img {
    min-height: 260px;
  }

  .contact-info,
  .contact-form {
    padding: 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 76px;
  }

  .footer-top {
    padding: 54px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
