:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
  --ink: #111827;
  --body: #374151;
  --paper: #f7f7f7;
  --stone: #c8ced6;
  --indigo: #2f256e;
  --indigo-dark: #21194f;
  --gold: #b8924a;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(35px, 6vw, 70px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.08;
}

h3,
h4 {
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.2;
}

p,
li,
a,
button,
input,
textarea {
  font-size: 16px;
}

.site-shell {
  border-left: 1px solid rgba(47, 37, 110, 0.16);
  border-right: 1px solid rgba(47, 37, 110, 0.16);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--ink);
  white-space: nowrap;
}

.desktop-nav,
.header-phone-desktop {
  display: none !important;
}

.mobile-menu-button {
  display: inline-flex !important;
}

.mobile-panel {
  display: none;
}

.mobile-panel.is-open {
  display: block;
}

.nav-link {
  color: #2d3140;
  line-height: 1;
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  background: var(--indigo);
  bottom: -9px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.btn-primary,
.header-phone-desktop,
.mobile-menu-phone,
.sticky-call-button {
  align-items: center;
  background: var(--indigo);
  color: #fff !important;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 48px;
  padding: 14px 22px;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn-primary:hover,
.header-phone-desktop:hover,
.mobile-menu-phone:hover,
.sticky-call-button:hover {
  background: var(--indigo-dark);
  box-shadow: 0 18px 35px rgba(47, 37, 110, 0.22);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--indigo) !important;
}

.btn-light:hover {
  background: #f2f0fb;
  color: var(--indigo-dark) !important;
}

.hero-section {
  background: linear-gradient(180deg, rgba(18, 17, 31, 0.74), rgba(18, 17, 31, 0.56)), url('../images/hero-kitchen.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 720px;
  position: relative;
}

.hero-section h1,
.hero-section p,
.hero-section .hero-kicker {
  color: #fff;
}

.hero-particle-canvas {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.section-badge {
  display: inline-flex;
  background: var(--indigo);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.stars {
  color: var(--gold);
  font-size: 26px;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.review-icon-row img {
  height: 45px;
  max-width: 92px;
  object-fit: contain;
  width: auto;
}

.section-line::after,
.heading-line::after {
  background: var(--indigo);
  content: "";
  display: block;
  height: 3px;
  margin-top: 16px;
  width: 72px;
}

.heading-line.center::after {
  margin-left: auto;
  margin-right: auto;
}

.classic-card {
  background: #fff;
  border: 1px solid rgba(47, 37, 110, 0.16);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
  color: var(--body);
}

.classic-card h3,
.classic-card h4 {
  color: var(--ink);
}

.classic-card h3::after,
.classic-card h4::after {
  background: var(--indigo);
  content: "";
  display: block;
  height: 2px;
  margin-top: 10px;
  width: 48px;
}

.service-icon,
.trust-icon {
  align-items: center;
  background: #f3f1fa;
  border: 1px solid rgba(47, 37, 110, 0.18);
  color: var(--indigo);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.service-icon svg,
.trust-icon svg {
  height: 30px;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
  width: 30px;
}

.two-column-media {
  align-items: stretch;
  display: grid;
  gap: 28px;
}

.two-column-media .media-text {
  order: 2;
}

.two-column-media .media-image {
  order: 1;
}

.media-image img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  width: 100%;
}

.process-step {
  border-left: 3px solid var(--indigo);
  padding-left: 20px;
}

.zip-list {
  color: #243044;
  columns: 1;
}

.map-frame {
  border: 0;
  height: 420px;
  width: 100%;
}

.review-track {
  display: flex;
  gap: 18px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.review-slide {
  flex: 0 0 100%;
}

.carousel-dot {
  background: var(--stone);
  height: 3px;
  width: 38px;
}

.carousel-dot.is-active {
  background: var(--indigo);
}

.cta-band {
  background: linear-gradient(135deg, var(--indigo), #1d183c);
  color: #fff;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.footer-section {
  background: #12111f;
  color: #e8e8ef;
  font-size: 14px;
}

.footer-section p,
.footer-section a,
.footer-section li,
.footer-section address {
  color: #e8e8ef;
  font-size: 14px;
}

.footer-section h3,
.footer-section h4,
.footer-section .logo-text {
  color: #fff;
}

.sticky-call-wrap {
  bottom: 0;
  display: none !important;
  left: 0;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: fixed;
  right: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 70;
}

.sticky-call-wrap.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-call-button {
  box-shadow: 0 -12px 32px rgba(17, 24, 39, 0.2);
  min-height: 56px;
  padding: 14px 12px;
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 767px) {
  h1 {
    font-size: clamp(35px, 12vw, 49px);
  }

  h2 {
    font-size: clamp(25px, 9vw, 31px);
  }

  .hero-section {
    min-height: 690px;
  }

  body {
    padding-bottom: 74px;
  }

  .sticky-call-wrap {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }

  .header-phone-desktop {
    display: inline-flex !important;
  }

  .mobile-menu-button,
  .mobile-panel,
  .sticky-call-wrap {
    display: none !important;
  }

  .two-column-media {
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
  }

  .two-column-media.image-left {
    grid-template-columns: minmax(260px, 3fr) minmax(0, 7fr);
  }

  .two-column-media .media-text {
    order: 1;
  }

  .two-column-media .media-image {
    order: 2;
  }

  .two-column-media.image-left .media-image {
    order: 1;
  }

  .two-column-media.image-left .media-text {
    order: 2;
  }

  .review-slide {
    flex: 0 0 calc((100% - 36px) / 3);
  }

  .zip-list {
    columns: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   HEADER FIX: solid background and responsive layout
   ========================================= */

/* Prevent padding and borders from increasing element width */
.site-shell,
.site-shell *,
.site-shell *::before,
.site-shell *::after {
  box-sizing: border-box;
}

/* Sticky header: keep the background solid while scrolling */
.site-shell > header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  background: #f7f7f7 !important;
  background-color: #f7f7f7 !important;
  opacity: 1;
  isolation: isolate;
  border-bottom: 1px solid rgba(200, 206, 214, 0.9);
}

/* Header's inner row */
.site-shell > header > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  min-width: 0;
}

/* Logo and company name */
.site-shell > header > div:first-child > a {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
}

.site-shell > header > div:first-child > a img {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.logo-text {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Desktop navigation */
.desktop-nav {
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  gap: 16px;
}

.desktop-nav .nav-link {
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone-desktop {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Burger button */
.mobile-menu-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 8px;
  margin: 0;
  cursor: pointer;
  background: #f7f7f7;
  color: var(--indigo);
}

/* Keep the three burger lines within the button */
.mobile-menu-button span.block {
  display: block;
  width: 26px;
  max-width: 100%;
}

/* Mobile navigation panel */
.mobile-panel {
  display: none;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: #fff;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.mobile-panel nav a {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mobile-menu-phone {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* Small screens */
@media (max-width: 767px) {
  .site-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-shell > header > div:first-child {
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-shell > header > div:first-child > a {
    flex: 1 1 auto;
    max-width: calc(100% - 54px);
    gap: 8px;
  }

  .site-shell > header > div:first-child > a img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .logo-text {
    font-size: 15px;
    line-height: 1.15;
    white-space: normal;
  }

  .desktop-nav,
  .header-phone-desktop {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  .mobile-panel {
    padding: 20px 16px;
  }

  .mobile-panel .mobile-menu-phone {
    padding: 12px;
  }
}

/* Extra narrow phones */
@media (max-width: 380px) {
  .site-shell > header > div:first-child {
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-shell > header > div:first-child > a {
    max-width: calc(100% - 50px);
    gap: 6px;
  }

  .site-shell > header > div:first-child > a img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .logo-text {
    font-size: 13px;
  }

  .mobile-menu-button {
    flex-basis: 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
  }
}

/* Tablet widths: use the burger until the full desktop menu fits */
@media (min-width: 768px) and (max-width: 1099px) {
  .desktop-nav,
  .header-phone-desktop {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  .mobile-panel {
    display: none;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .site-shell > header > div:first-child > a {
    flex: 1 1 auto;
    max-width: calc(100% - 60px);
  }

  .logo-text {
    font-size: 17px;
  }
}

/* Wide desktop: show the full navigation */
@media (min-width: 1100px) {
  .desktop-nav {
    display: flex !important;
    gap: 16px;
  }

  .header-phone-desktop {
    display: inline-flex !important;
  }

  .mobile-menu-button,
  .mobile-panel {
    display: none !important;
  }
}

/* Avoid accidental horizontal overflow from media */
img,
iframe,
canvas,
video {
  max-width: 100%;
}
/* Чёрные линии бургер-меню */
.mobile-menu-button > span.block {
  display: block !important;
  width: 26px !important;
  height: 2px !important;
  min-height: 2px;
  background-color: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}