:root {
  --coal: #0b0d10;
  --graphite: #15181d;
  --red: #b84a42;
  --yellow: #c9a66b;
  --ink: #121417;
  --shade: #1a1d21;
  --panel: #20242a;
  --muted: #a0a8b3;
  --white: #f5f7fa;
  --card-hover: #2a3038;
  --border: #343a43;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(
      ellipse 70% 50% at 50% -10%,
      rgba(184, 74, 66, 0.12),
      transparent 62%
    ),
    radial-gradient(
      ellipse 60% 40% at 90% 110%,
      rgba(201, 166, 107, 0.08),
      transparent 60%
    );
  background-attachment: fixed;
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
}
h1,
h2,
h3,
h4 {
  font-family: Montserrat, Inter, sans-serif;
  margin: 0;
  letter-spacing: -0.03em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 20, 23, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 3px;
}
.logo__name {
  font-family: Montserrat, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.15em;
}
.logo__num {
  font-family: Montserrat, sans-serif;
  font-weight: 900;
  color: var(--red);
  font-size: 18px;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a,
.header__phone {
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 700;
}
.nav a:hover,
.header__phone:hover {
  color: var(--red);
}
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
}
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(15, 15, 15, 0.1);
  padding: 14px 0;
}
.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-family: Montserrat, sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.15em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 13px;
  padding: 16px 26px;
  transition: 0.25s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: #c85b51;
  color: #081014;
  box-shadow: 0 10px 30px -10px rgba(184, 74, 66, 0.65);
}
.btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}
.section {
  padding: 96px 0;
}
.section-shade {
  background: var(--shade);
  border-block: 1px solid var(--border);
}
.dark {
  background: var(--shade);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.overline {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-family: Montserrat, sans-serif;
}
.dark .overline {
  color: var(--red);
}
.heading-xl {
  font-size: clamp(46px, 8vw, 82px);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 900;
}
.heading-lg {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 800;
}
.heading-md {
  font-size: clamp(24px, 4vw, 34px);
  text-transform: uppercase;
}
.red {
  color: var(--red);
}
.yellow {
  color: var(--yellow);
}
.body-lg {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.dark .body-lg {
  color: var(--muted);
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero:before,
.grid-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding: 88px 0 112px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 54px;
}
.hero__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  max-width: 620px;
}
.hero__list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex: 0 0 auto;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 26px;
  margin-bottom: 12px;
}
.stat--dark {
  background: var(--panel);
  color: var(--white);
}
.stat b {
  font-family: Montserrat, sans-serif;
  font-size: 34px;
  text-transform: uppercase;
}
.stat p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.stat--dark p {
  color: var(--muted);
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.panel {
  background: var(--panel);
  padding: 28px;
  transition: 0.25s;
}
.panel:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
}
.panel__icon {
  font-size: 28px;
  color: var(--red);
  margin-bottom: 16px;
}
.panel h3 {
  font-size: 15px;
  text-transform: uppercase;
}
.panel p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  height: 288px;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  color: var(--white);
  border: 1px solid var(--border);
  transition: 0.35s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 74, 66, 0.65);
  box-shadow: 0 18px 50px -20px rgba(184, 74, 66, 0.45);
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: grayscale(1) brightness(0.62) contrast(1.15);
  transition: 0.6s;
}
.service-card:hover img {
  opacity: 0.18;
  transform: scale(1.06);
}
.service-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 36, 42, 0.7),
    rgba(18, 20, 23, 0.96)
  );
}
.service-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 74, 66, 0.32);
  background: rgba(184, 74, 66, 0.1);
  color: var(--red);
}
.service-card h3 {
  font-size: 21px;
  text-transform: uppercase;
  color: var(--white);
}
.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.more {
  margin-top: 14px;
  color: var(--red);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.form-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 34px;
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form textarea,
.form button,
.form__note {
  grid-column: 1/-1;
}
.input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--card-hover);
  color: var(--white);
  padding: 15px 16px;
  font: inherit;
  outline: none;
}
.dark .input {
  background: var(--card-hover);
  border-color: rgba(15, 15, 15, 0.15);
  color: var(--white);
}
.input:focus {
  border-color: var(--red);
}
.form__note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--coal);
  color: var(--white);
  border: 1px solid rgba(184, 74, 66, 0.6);
  padding: 14px 18px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.gallery__item {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--shade);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.gallery__item:hover img {
  transform: scale(1.06);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.num {
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: rgba(184, 74, 66, 0.35);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.review {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
}
.review__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.review img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px;
}
.map {
  min-height: 340px;
  background: var(--panel);
  color: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}
.footer {
  background: var(--coal);
  color: var(--white);
  margin-top: 96px;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer a,
.footer p,
.footer li {
  color: var(--muted);
}
.footer ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-title {
  font-family: Montserrat, sans-serif;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 24px;
  color: #7f8894;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}
.float a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--coal);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -10px rgba(15, 15, 15, 0.5);
  transition: 0.25s;
}
.float a:hover {
  background: var(--red);
  transform: scale(1.08);
}
.service-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--coal);
  overflow: hidden;
}
.service-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.service-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 16, 0.94),
    rgba(18, 20, 23, 0.56),
    rgba(11, 13, 16, 0.82)
  );
}
.service-hero__content {
  position: relative;
  z-index: 1;
  padding: 100px 0 72px;
  max-width: 860px;
}
.breadcrumbs {
  font-size: 13px;
  color: #c7ced8;
  margin-bottom: 24px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
}
.price-table th {
  /* background: var(--coal); */
  color: var(--yellow);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: left;
  padding: 18px;
}
.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
  font-weight: 800;
}
.price-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.related {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 22px;
  transition: 0.25s;
}
.related:hover {
  border-color: rgba(0, 194, 255, 0.55);
  transform: translateY(-2px);
}
@media (max-width: 1050px) {
  .nav,
  .header__phone {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .mobile-menu.open {
    display: block;
  }
  .hero__inner,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid,
  .footer-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .header__inner {
    height: 92px;
    gap: 10px;
  }

  .logo {
    flex: 1;
    min-width: 0;
    gap: 8px;
  }

  .logo img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .logo__text {
    display: flex;
    align-items: baseline;
    gap: 0;
    flex-wrap: wrap;
  }

  .logo__text br {
    display: none;
  }

  .logo__name {
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.1;
    white-space: normal;
  }

  .logo__num {
    font-size: 14px;
    line-height: 1;
    margin-left: 0;
  }

  .header__right {
    gap: 8px;
    flex-shrink: 0;
  }

  .header__right .btn {
    padding: 16px 18px;
    font-size: 13px;
  }

  .menu-btn {
    width: 48px;
    height: 48px;
    font-size: 30px;
  }

  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    padding: 0 16px;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      transform 0.35s ease,
      padding 0.35s ease;
  }

  .mobile-menu.open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    padding: 22px 16px 24px;
    pointer-events: auto;
  }
}

/* Color fixes */
.stat--dark .yellow {
  color: var(--red);
}

.booking-section {
  position: relative;
  overflow: hidden;
}

.booking-section .section-head {
  color: var(--white);
}

.booking-section .body-lg {
  color: var(--muted);
}

.booking-section .yellow {
  color: var(--red);
}

.service-card__top span:last-child {
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
}

/* Static one-page additions */
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}
.service-detail-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
.service-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.price-wrap {
  margin-top: 34px;
}
.price-note {
  color: #7f8894;
  font-size: 12px;
  margin-top: 10px;
}
.service-cta {
  margin-top: 22px;
}
@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-benefits {
    grid-template-columns: 1fr;
  }
}

/* Dark graphite theme overrides */
body,
.dark {
  color: var(--white);
}

h1,
h2,
h3,
h4,
.logo__name,
.stat b,
.panel h3,
.service-card h3,
.price-table td,
.contact-card,
.review,
.related,
.map {
  color: var(--white);
}

.nav a,
.header__phone,
.body-lg,
.dark .body-lg,
.hero__list li,
.stat p,
.stat--dark p,
.panel p,
.service-card p,
.footer a,
.footer p,
.footer li,
.price-note,
.form__note {
  color: var(--muted);
}

.stat,
.stat--dark,
.panel,
.service-card,
.form-wrap,
.review,
.contact-card,
.map,
.price-table,
.related,
.gallery__item {
  background: var(--panel);
  border-color: var(--border);
}

.panel:hover,
.service-card:hover,
.related:hover {
  background: var(--card-hover);
}

.panel-grid,
.process-grid {
  background: var(--border);
  border-color: var(--border);
}

.section-shade,
.dark {
  background: var(--shade);
}

.btn-primary {
  background: var(--red);
  color: #061116;
}

.btn-primary:hover {
  background: #c85b51;
  color: #061116;
}

.btn-ghost {
  color: var(--white);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--red);
  border-color: var(--red);
}

.input,
.dark .input {
  background: #171a1f;
  border-color: var(--border);
  color: var(--white);
}

.input::placeholder {
  color: #747d8a;
}

.input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(184, 74, 66, 0.1);
}

.service-card:after {
  background: linear-gradient(
    180deg,
    rgba(32, 36, 42, 0.72),
    rgba(18, 20, 23, 0.96)
  );
}

.service-card__top span:last-child {
  color: var(--muted);
}

.service-icon {
  border-color: rgba(184, 74, 66, 0.32);
  background: rgba(184, 74, 66, 0.1);
}

.price-table th {
  color: var(--red);
}

.price-table td {
  border-bottom-color: var(--border);
}

.footer {
  background: var(--coal);
}

.float a {
  background: var(--panel);
  color: var(--white);
  border: 1px solid var(--border);
}

.float a:hover {
  background: var(--red);
  color: #061116;
}

.mobile-menu {
  background: var(--graphite);
  border-top-color: var(--border);
}

.menu-btn {
  color: var(--white);
  border-color: var(--border);
}

.booking-section .section-head {
  color: var(--white);
}

.booking-section .body-lg {
  color: var(--muted);
}

/* Service photos and adaptive fixes */
.service-card img {
  opacity: 0.28;
  filter: grayscale(0.15) brightness(0.7) contrast(1.12);
}

.service-card:hover img {
  opacity: 0.38;
}

.service-detail-img {
  background: var(--panel);
}

@media (max-width: 1050px) {
  .service-card {
    height: 260px;
  }
}

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

  .header__right .btn {
    display: none;
  }

  .services-grid,
  .panel-grid,
  .process-grid,
  .reviews-grid,
  .footer-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .service-card {
    height: 236px;
    border-radius: 18px;
  }

  .service-card__content {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 18px;
    line-height: 1.15;
  }

  .service-card p {
    font-size: 13px;
  }

  .service-detail-img {
    border-radius: 18px;
    aspect-ratio: 4 / 3;
  }

  .price-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .btn {
    width: 100%;
    padding-inline: 18px;
    text-align: center;
  }
}
