
:root {
  --bg: #070d18;
  --bg-deep: #030814;
  --surface: #f3f5f9;
  --surface-soft: #eef1f6;
  --surface-dark: #0a1222;
  --card: #ffffff;
  --text: #111a2b;
  --muted: #69748b;
  --line: rgba(255,255,255,0.10);
  --line-dark: rgba(18,26,43,0.08);
  --accent: #d8a24d;
  --accent-2: #efc56d;
  --shadow: 0 18px 54px rgba(7,13,24,0.18);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 22px;
  --radius-lg: 28px;
  --container: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lightbox-open, body.lightbox-open { overflow: hidden !important; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
main, section, header, footer { position: relative; }
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100000;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.site-wrapper { background: var(--surface); }
.site-wrapper.is-home { background: var(--bg-deep); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  background: rgba(5, 11, 22, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topbar {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr minmax(230px, 280px);
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.brand-block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.brand-with-logo { display: inline-flex; align-items: center; }
.brand-logo-image {
  display: block;
  width: 118px;
  max-width: 100%;
  filter: grayscale(1) brightness(1.85) contrast(0.95);
}
.tagline {
  min-width: 0;
  color: rgba(255,255,255,0.95);
  line-height: 1.3;
}
.tagline-strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}
.tagline-regular {
  display: block;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255,255,255,0.86);
}
.main-nav {
  min-width: 0;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: rgba(255,255,255,0.92);
  font-weight: 700;
}
.main-nav a:hover,
.main-nav a:focus { color: var(--accent-2); }
.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 52px;
}
.header-contact {
  text-align: right;
}
.header-contact a,
.header-contact div {
  display: block;
}
.header-contact .phone {
  color: #fff;
  font-size: 1.04rem;
  font-weight: 800;
}
.header-contact .email {
  margin-top: 4px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 88px 0 74px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(3,8,20,0.94) 0%, rgba(4,10,24,0.9) 32%, rgba(4,10,24,0.62) 56%, rgba(4,10,24,0.44) 100%),
    url('../images/hero/hero-embroidery-machine.png');
  background-size: cover;
  background-position: center center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 440px);
  gap: 88px;
  align-items: start;
}
.hero-copy {
  max-width: 760px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--accent-2);
  font-weight: 700;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(216,162,77,0.2));
}
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(2.35rem, 4.1vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 28ch;
  text-wrap: balance;
}
.hero-title-line { display: block; }
.hero-title-line + .hero-title-line { margin-top: 6px; }
.hero-copy p {
  max-width: 62ch;
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
  line-height: 1.72;
  margin: 0 0 34px;
}
.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(216,162,77,0.3);
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #d8a24d, #efc56d);
  color: #111;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(216,162,77,0.22);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 760px;
}
.hero-metrics li {
  min-height: 136px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,16,32,0.55);
  backdrop-filter: blur(12px);
}
.hero-metrics strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.3;
}
.hero-metrics span {
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
.hero-card { align-self: stretch; }
.hero-card-inner {
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.34);
}
.service-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}
.service-pills span,
.pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(216,162,77,0.20);
  color: #f9e2b6;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  font-size: 0.96rem;
}
.hero-card h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.9rem, 2vw, 2.3rem);
}
.process-list,
.check-list {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(255,255,255,0.90);
  line-height: 1.75;
}
.process-note {
  margin-top: 18px;
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
}

/* Generic sections */
.section {
  padding: 84px 0;
  background: var(--surface);
}
.section-soft {
  background: var(--surface-soft);
}
.section-darkband {
  color: #fff;
  background: linear-gradient(180deg, #081120 0%, #0c1526 100%);
}
.section-heading { margin-bottom: 34px; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.7;
}
.section-heading.light h2,
.section-heading.light p { color: #fff; }
.section-heading.light p { color: rgba(255,255,255,0.78); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card,
.portfolio-card,
.price-card,
.contact-card {
  background: #fff;
  color: var(--text);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.card {
  padding: 28px;
}
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: rgba(216,162,77,0.16);
  color: #9a6a1a;
  font-weight: 800;
}
.card h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
}
.card p {
  margin: 0;
  color: #5e6880;
  line-height: 1.72;
}
.accent-card {
  background: linear-gradient(180deg, #10203b, #0b172d);
  color: #fff;
}
.accent-card p { color: rgba(255,255,255,0.80); }

/* Portfolio */
.portfolio-grid--real {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.photo-card {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #fff;
}
.portfolio-link {
  display: block;
  color: inherit;
}
.portfolio-media {
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  background: #e9edf3;
}
.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.photo-card:hover .portfolio-media img,
.photo-card:focus-within .portfolio-media img {
  transform: scale(1.03);
}
.portfolio-body {
  padding: 20px 22px 24px;
}
.portfolio-body h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}
.portfolio-body p {
  margin: 0;
  color: #5e6880;
  line-height: 1.65;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.price-card {
  padding: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-dark);
  color: #fff;
}
.price-label {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.price-card h3 { margin: 0 0 10px; font-size: 1.4rem; }
.price-card p { margin: 0; color: rgba(255,255,255,0.78); line-height: 1.65; }
.featured { background: linear-gradient(180deg, rgba(216,162,77,0.18), rgba(255,255,255,0.06)); }

/* FAQ */
.faq-wrap { max-width: 1040px; }
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 26px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 28px 32px;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.45;
  cursor: pointer;
}
.faq-answer {
  display: none;
  padding: 0 32px 28px;
  color: #556176;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }
.faq-item.is-open .faq-answer { display: block; }

/* Contacts */
.contacts-section {
  background: #f4f6fa;
}
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 40px;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.contact-list li {
  margin-bottom: 16px;
  color: #30405c;
  line-height: 1.65;
}
.contact-list strong { color: var(--text); }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(18,26,43,0.08);
  box-shadow: 0 10px 24px rgba(10,18,34,0.08);
  color: #111;
  font-weight: 700;
}
.social-link__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-link__icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-link--max .social-link__icon { background: linear-gradient(135deg, #52a8ff, #315df2); color: #fff; }
.social-link--vk .social-link__icon { background: #1f74f2; color: #fff; }
.social-link--avito { padding-right: 22px; }
.avito-mark { display: inline-flex; align-items: center; gap: 10px; }
.avito-dots { position: relative; width: 28px; height: 28px; }
.avito-dot { position: absolute; border-radius: 50%; }
.avito-dot--green { width: 14px; height: 14px; left: 0; top: 8px; background: #44d06f; }
.avito-dot--blue { width: 14px; height: 14px; left: 7px; top: 0; background: #3e82ff; }
.avito-dot--red { width: 12px; height: 12px; left: 16px; top: 10px; background: #ff4b6f; }
.avito-dot--purple { width: 10px; height: 10px; left: 12px; top: 16px; background: #7a50ff; }
.avito-word { font-weight: 800; font-size: 1.05rem; }
.contact-card {
  padding: 28px;
  min-height: 100%;
}
.contact-card--request {
  background: #fff;
}
.contact-card h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}
.check-list li { color: #44516a; margin-bottom: 12px; }

/* Footer */
.site-footer {
  background: #081120;
  color: #fff;
  padding: 34px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.footer-row p { margin: 0; color: rgba(255,255,255,0.72); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a { color: rgba(255,255,255,0.92); font-weight: 600; }

/* Inner pages / Gallery */
.system-content--inner {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #07111f 0%, #0a1222 100%);
  color: #fff;
  min-height: 60vh;
}
.inner-page-shell h1,
.inner-page-shell h2,
.inner-page-shell h3,
.inner-page-shell .page-header {
  color: #fff;
}
.inner-page-shell .blog,
.inner-page-shell .blog-items,
.inner-page-shell .items-row,
.inner-page-shell .com-content-category-blog {
  color: #fff;
}
.inner-page-shell .blog-items,
.inner-page-shell .items-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.inner-page-shell article,
.inner-page-shell .item,
.inner-page-shell .blog-item {
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-dark);
}
.inner-page-shell .item-image,
.inner-page-shell .article-intro-image,
.inner-page-shell .intro-image {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  padding: 16px;
  min-height: 320px;
}
.inner-page-shell .item-image img,
.inner-page-shell .article-intro-image img,
.inner-page-shell .intro-image img,
.inner-page-shell .item-page img,
.inner-page-shell .com-content-article img {
  width: 100%;
  max-width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}
.inner-page-shell article h2,
.inner-page-shell .page-header {
  margin: 0;
  padding: 18px 20px 10px;
  font-size: 1.12rem;
}
.inner-page-shell article p,
.inner-page-shell .article-introtext,
.inner-page-shell .introtext,
.inner-page-shell .item-content {
  padding: 0 20px 20px;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
}
.inner-page-shell .article-info,
.inner-page-shell .com-content-category-blog__navigation,
.inner-page-shell .pagination,
.inner-page-shell .list-inline,
.inner-page-shell .category-name,
.inner-page-shell .createdby,
.inner-page-shell .published,
.inner-page-shell .hits,
.inner-page-shell .modifydate,
.inner-page-shell dl.article-info,
.inner-page-shell dd,
.inner-page-shell dt,
.inner-page-shell .icons,
.inner-page-shell .readmore {
  display: none !important;
}

/* Lightbox */
body > .site-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3,8,20,0.92);
}
body > .site-lightbox.is-open { display: flex !important; }
body > .site-lightbox .site-lightbox__stage {
  position: relative;
  width: min(100%, 1200px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
body > .site-lightbox .site-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: min(82vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
body > .site-lightbox .site-lightbox__caption {
  color: rgba(255,255,255,0.84);
  text-align: center;
}
body > .site-lightbox .site-lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.portfolio-link,
.lightbox-trigger,
.lightbox-trigger-image { cursor: zoom-in; }
.lightbox-trigger-image { outline: none; }

/* Responsive */
@media (max-width: 1280px) {
  .topbar {
    grid-template-columns: minmax(230px, 360px) 1fr minmax(220px, 260px);
    gap: 20px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 48px;
  }
}
@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr;
    grid-template-areas:
      'brand contact'
      'nav nav';
    align-items: center;
  }
  .brand-block { grid-area: brand; }
  .header-contact { grid-area: contact; }
  .main-nav { grid-area: nav; }
  .main-nav ul { justify-content: flex-start; flex-wrap: wrap; }
  .hero {
    padding: 72px 0 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-copy,
  .hero-actions,
  .hero-metrics { max-width: 100%; }
  .service-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid--real { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-grid,
  .contacts-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-page-shell .blog-items,
  .inner-page-shell .items-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-header { background: rgba(5,11,22,0.9); }
  .topbar {
    grid-template-columns: 1fr;
    grid-template-areas:
      'brand'
      'toggle'
      'contact'
      'nav';
    gap: 14px;
    min-height: auto;
  }
  .brand-block {
    grid-area: brand;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: start;
  }
  .brand-logo-image { width: 84px; }
  .tagline-strong { font-size: 0.98rem; }
  .tagline-regular { font-size: 0.92rem; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-area: toggle;
    justify-self: start;
  }
  .main-nav {
    grid-area: nav;
    position: relative;
  }
  .main-nav ul {
    display: none;
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(11,18,34,0.96);
    border: 1px solid rgba(255,255,255,0.10);
  }
  .main-nav.is-open ul { display: flex; }
  .main-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
  }
  .header-contact {
    grid-area: contact;
    text-align: left;
  }
  .header-contact .email { display: none; }
  .hero {
    padding: 48px 0 52px;
    background-position: 62% center;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
    max-width: 100%;
  }
  .hero-copy p { font-size: 1rem; margin-bottom: 26px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics li { min-height: auto; }
  .service-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 68px 0; }
  .card-grid,
  .portfolio-grid--real,
  .pricing-cards,
  .inner-page-shell .blog-items,
  .inner-page-shell .items-row { grid-template-columns: 1fr; }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .brand-block {
    grid-template-columns: 74px 1fr;
    gap: 12px;
  }
  .brand-logo-image { width: 74px; }
  .tagline-strong { font-size: 0.95rem; }
  .tagline-regular { font-size: 0.88rem; }
  .hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.6rem);
    line-height: 1.08;
  }
  .hero-title-line + .hero-title-line { margin-top: 4px; }
  .btn { min-height: 58px; }
  .service-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card-inner,
  .card,
  .price-card,
  .contact-card,
  .faq-question,
  .faq-answer {
    padding-left: 22px;
    padding-right: 22px;
  }
  .faq-question { min-height: 120px; display: flex; align-items: center; }
  .contact-card h3 { font-size: 1.28rem; }
  body > .site-lightbox { padding: 18px; }
  body > .site-lightbox .site-lightbox__close {
    top: 14px; right: 14px; width: 48px; height: 48px;
  }
}


/* v157 refinements */
@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.24fr) minmax(380px, 430px);
    gap: 96px;
  }
  .hero-title--balanced {
    max-width: none;
    font-size: clamp(2.35rem, 3.9vw, 3.75rem);
    line-height: 1.05;
  }
  .hero-title--balanced .hero-title-line {
    white-space: nowrap;
  }
}
.hero-copy p.hero-text {
  margin-bottom: 40px;
}
.hero-card-inner {
  padding: 30px 34px;
}
.hero-card .service-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.hero-card .service-pills .card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(216,162,77,0.20);
  color: #f9e2b6;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.hero-card h2 {
  margin-top: 6px;
}
.reviews-section {
  background: #f4f6fa;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.review-card {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(18,26,43,0.08);
  box-shadow: 0 14px 38px rgba(12,18,34,0.08);
  min-height: 100%;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0e1c9;
  color: #24324a;
  font-weight: 800;
  flex: 0 0 auto;
}
.review-head h3 {
  margin: 0 0 2px;
  font-size: 1.2rem;
}
.review-head p {
  margin: 0;
  color: #65728d;
  font-size: 0.96rem;
}
.review-stars {
  color: #d8a24d;
  letter-spacing: 0.14em;
  font-size: 1rem;
  margin-bottom: 10px;
}
.review-meta {
  font-weight: 700;
  color: #b97d20;
  margin-bottom: 14px;
  line-height: 1.45;
}
.review-text {
  margin: 0;
  color: #273449;
  line-height: 1.72;
  font-size: 1.01rem;
}
.reviews-cta-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.btn-reviews {
  background: #2c313a;
  color: #fff;
  border-color: #2c313a;
  min-width: 320px;
  box-shadow: 0 14px 30px rgba(20,24,31,0.22);
}
.btn-reviews:hover, .btn-reviews:focus {
  background: #232831;
  border-color: #232831;
}
@media (max-width: 1079px) {
  .hero-card .service-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hero-title--balanced {
    font-size: clamp(2.1rem, 6vw, 3.1rem);
  }
  .hero-title--balanced .hero-title-line {
    white-space: normal;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .btn-reviews {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 560px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review-card {
    padding: 22px;
    border-radius: 24px;
  }
}


@media (max-width: 1279px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 56px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.3rem);
    max-width: 24ch;
  }
}

@media (max-width: 980px) {
  .service-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .service-pills span,
  .pill {
    white-space: normal;
  }
}


/* v159 hero heading fit */
@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
    gap: 72px;
  }
  .hero-copy {
    max-width: 700px;
  }
  .hero-title--balanced,
  .hero h1.hero-title--balanced {
    font-size: clamp(1.95rem, 2.75vw, 2.95rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em;
    max-width: none;
  }
  .hero-title--balanced .hero-title-line {
    white-space: nowrap;
  }
  .hero-copy p.hero-text {
    max-width: 58ch;
  }
}


/* v160 hero heading 3 lines */
@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
    gap: 88px;
    align-items: start;
  }
  .hero-copy {
    max-width: 660px;
  }
  .hero-title--balanced,
  .hero h1.hero-title--balanced {
    font-size: clamp(1.82rem, 2.45vw, 2.7rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em;
    max-width: 17ch;
    margin-bottom: 28px;
  }
  .hero-title--balanced .hero-title-line {
    white-space: nowrap;
  }
  .hero-title-line + .hero-title-line {
    margin-top: 10px;
  }
  .hero-copy p.hero-text {
    max-width: 54ch;
  }
}


/* v161 consolidated hero desktop + mobile restore */
@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 410px) !important;
    gap: 96px !important;
    align-items: start !important;
  }
  .hero-copy {
    max-width: 640px !important;
  }
  .hero-title--balanced,
  .hero h1.hero-title--balanced {
    font-size: clamp(1.85rem, 2.35vw, 2.6rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    max-width: none !important;
    margin-bottom: 28px !important;
  }
  .hero-title--balanced .hero-title-line {
    white-space: nowrap !important;
  }
  .hero-copy p.hero-text {
    max-width: 54ch !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px) !important;
    gap: 60px !important;
    align-items: start !important;
  }
  .hero-copy {
    max-width: 610px !important;
  }
  .hero-title--balanced,
  .hero h1.hero-title--balanced {
    font-size: clamp(1.72rem, 3vw, 2.28rem) !important;
    line-height: 1.08 !important;
    max-width: none !important;
  }
  .hero-title--balanced .hero-title-line {
    white-space: nowrap !important;
  }
  .hero-copy p.hero-text {
    max-width: 52ch !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    background: rgba(5, 11, 22, 0.92) !important;
    backdrop-filter: blur(14px);
  }
  .topbar {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      'brand'
      'toggle'
      'contact'
      'nav' !important;
    gap: 14px !important;
    align-items: start !important;
  }
  .brand-block {
    grid-template-columns: 74px 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
  .brand-logo-image {
    width: 74px !important;
  }
  .tagline {
    padding-top: 2px;
    max-width: 230px;
  }
  .tagline-strong,
  .tagline-regular {
    display: block;
  }
  .nav-toggle {
    justify-self: start !important;
  }
  .header-contact {
    text-align: left !important;
  }
  .header-contact__email,
  .header-contact .email {
    display: none !important;
  }
  .hero {
    padding: 32px 0 44px !important;
    background-position: 60% center !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .hero-copy {
    max-width: 100% !important;
  }
  .hero-title--balanced,
  .hero h1.hero-title--balanced {
    font-size: clamp(1.72rem, 8.4vw, 2.35rem) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
  .hero-title--balanced .hero-title-line {
    white-space: normal !important;
  }
  .hero-copy p.hero-text {
    max-width: 100% !important;
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
    margin-bottom: 22px !important;
  }
  .hero-actions {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
  }
  .hero-metrics {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .hero-metrics li {
    min-height: auto !important;
  }
  .hero-card {
    order: 2;
    width: 100%;
    max-width: none !important;
  }
  .hero-card-inner {
    width: 100%;
    max-width: none !important;
    padding: 22px 20px !important;
  }
  .hero-card .service-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .hero-card .service-pills .card-chip {
    min-height: 42px !important;
    padding: 0 10px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
  .tagline {
    max-width: 210px;
  }
  .hero-title-line + .hero-title-line {
    margin-top: 6px !important;
  }
}


/* v162 mobile sticky header contact text color fix */
@media (max-width: 860px) {
  .site-header .header-contact,
  .site-header .header-contact a,
  .site-header .header-contact div,
  .site-header .header-contact .phone,
  .site-header .header-contact .email,
  .site-header .header-contact__phone,
  .site-header .header-contact__email {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 1px 10px rgba(0,0,0,0.22);
  }

  .site-header .header-contact .phone,
  .site-header .header-contact__phone {
    font-weight: 800 !important;
  }

  .site-header .header-contact .email,
  .site-header .header-contact__email {
    color: rgba(255,255,255,0.92) !important;
  }
}

/* v163 universal header contact text color fix */
.site-header .header-contact,
.site-header .header-contact a,
.site-header .header-contact div,
.site-header .header-contact .phone,
.site-header .header-contact .email,
.site-header .header-contact__phone,
.site-header .header-contact__email {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.22);
}
.site-header .header-contact .phone,
.site-header .header-contact__phone {
  color: #ffffff !important;
  font-weight: 800 !important;
}
.site-header .header-contact .email,
.site-header .header-contact__email {
  color: rgba(255,255,255,0.92) !important;
  font-weight: 600 !important;
}

/* v164 mobile landscape compact sticky header */
@media (max-width: 960px) and (max-height: 520px) and (orientation: landscape) {
  .site-header {
    background: rgba(5, 11, 22, 0.92);
    backdrop-filter: blur(16px);
  }
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      'brand toggle contact'
      'nav nav nav';
    gap: 8px 12px;
    min-height: 0;
    padding: 8px 0;
    align-items: center;
  }
  .brand-block {
    grid-area: brand;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }
  .brand-logo-image {
    width: 56px;
  }
  .tagline {
    line-height: 1.15;
  }
  .tagline-strong {
    font-size: 0.88rem;
    font-weight: 800;
  }
  .tagline-regular {
    display: none;
  }
  .nav-toggle {
    grid-area: toggle;
    min-height: 42px;
    padding: 10px 16px;
    justify-self: center;
  }
  .header-contact {
    grid-area: contact;
    text-align: right;
  }
  .header-contact .phone,
  .site-header .header-contact .phone,
  .site-header .header-contact__phone {
    font-size: 0.96rem;
    line-height: 1.1;
  }
  .header-contact .email,
  .site-header .header-contact .email,
  .site-header .header-contact__email {
    display: none;
  }
  .main-nav {
    grid-area: nav;
    position: relative;
  }
  .main-nav ul {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 88px);
    overflow: auto;
    margin-top: 0;
    padding: 12px;
    z-index: 5200;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .main-nav a {
    padding: 10px 12px;
  }
  .hero {
    padding-top: 34px;
    padding-bottom: 36px;
  }
  .hero-grid {
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.04;
  }
  .hero-copy p {
    margin-bottom: 18px;
  }
  .hero-actions {
    gap: 12px;
  }
  .section {
    padding: 52px 0;
  }
}

/* v165 robust landscape mobile header compact override */
@media (orientation: landscape) and (max-height: 760px) and (max-width: 960px) {
  .site-header {
    background: rgba(5, 11, 22, 0.94) !important;
    backdrop-filter: blur(14px) !important;
  }

  .site-header .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-areas: 'brand contact toggle' 'nav nav nav' !important;
    gap: 8px 12px !important;
    min-height: 0 !important;
    padding: 8px 0 !important;
    align-items: center !important;
  }

  .site-header .brand-block {
    grid-area: brand !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .site-header .brand-logo-image {
    width: 56px !important;
  }

  .site-header .tagline {
    line-height: 1.08 !important;
  }

  .site-header .tagline-strong {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
  }

  .site-header .tagline-regular,
  .site-header .header-contact .email,
  .site-header .header-contact__email {
    display: none !important;
  }

  .site-header .header-contact {
    grid-area: contact !important;
    text-align: right !important;
    min-width: 0 !important;
  }

  .site-header .header-contact .phone,
  .site-header .header-contact__phone {
    font-size: 1rem !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }

  .site-header .nav-toggle {
    display: inline-flex !important;
    grid-area: toggle !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    justify-self: end !important;
    align-self: center !important;
  }

  .site-header .main-nav {
    grid-area: nav !important;
    position: relative !important;
  }

  .site-header .main-nav ul {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    width: min(360px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 92px) !important;
    overflow: auto !important;
    margin-top: 0 !important;
    padding: 12px !important;
    border-radius: 18px !important;
    z-index: 5600 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
  }

  .site-header .main-nav a {
    padding: 10px 12px !important;
  }

  .hero {
    padding-top: 28px !important;
    padding-bottom: 34px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .hero-card {
    order: 2 !important;
  }

  .hero-copy {
    order: 1 !important;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 4.6vw, 2.8rem) !important;
    line-height: 1.06 !important;
    max-width: 100% !important;
  }

  .hero-copy p {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  .hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .hero-metrics li {
    min-height: auto !important;
  }
}


/* v166 desktop safety override for 1366x768 and other short desktops */
@media (min-width: 961px) {
  .site-header .nav-toggle {
    display: none !important;
  }
  .site-header .main-nav {
    position: static !important;
  }
  .site-header .main-nav ul {
    display: flex !important;
    position: static !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 26px !important;
  }
  .site-header .main-nav a {
    display: inline-flex !important;
    padding: 0 !important;
    background: transparent !important;
  }
}


/* v167 desktop header/menu stabilization for 1366x768 and similar laptops */
@media (min-width: 1024px) and (max-width: 1440px) {
  .site-header {
    background: rgba(5, 11, 22, 0.84) !important;
  }
  .site-header .topbar {
    grid-template-columns: minmax(210px, 320px) 1fr minmax(210px, 250px) !important;
    gap: 16px !important;
    min-height: 84px !important;
    padding: 12px 0 !important;
    align-items: center !important;
  }
  .site-header .brand-block {
    gap: 12px !important;
    min-width: 0 !important;
  }
  .site-header .brand-logo-image {
    width: 86px !important;
  }
  .site-header .tagline {
    max-width: 220px !important;
  }
  .site-header .tagline-strong {
    font-size: 0.94rem !important;
    line-height: 1.18 !important;
  }
  .site-header .tagline-regular {
    font-size: 0.88rem !important;
    line-height: 1.18 !important;
  }
  .site-header .main-nav {
    min-width: 0 !important;
  }
  .site-header .main-nav ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
  }
  .site-header .main-nav li {
    flex: 0 0 auto !important;
  }
  .site-header .main-nav a {
    display: inline-flex !important;
    white-space: nowrap !important;
    font-size: 0.98rem !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .site-header .header-contact {
    text-align: right !important;
  }
  .site-header .header-contact__phone,
  .site-header .header-contact .phone {
    font-size: 1rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
  .site-header .header-contact__email,
  .site-header .header-contact .email {
    font-size: 0.88rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1024px) {
  .site-header .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .site-header .main-nav {
    position: static !important;
  }
  .site-header .main-nav ul {
    display: flex !important;
    position: static !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    flex-direction: row !important;
    align-items: center !important;
  }
}

html.is-desktop-nav .site-header .nav-toggle {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.is-desktop-nav .site-header .main-nav {
  position: static !important;
}
html.is-desktop-nav .site-header .main-nav ul {
  display: flex !important;
  position: static !important;
  width: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  flex-direction: row !important;
  align-items: center !important;
}
html.is-desktop-nav .site-header .main-nav a {
  display: inline-flex !important;
  padding: 0 !important;
  background: transparent !important;
  white-space: nowrap !important;
}


/* v168 mobile header compact + menu right + price text update */
@media (max-width: 860px) {
  .site-header {
    background: rgba(5,11,22,0.92) !important;
  }
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand brand"
      "contact toggle" !important;
    gap: 10px 14px !important;
    padding: 12px 0 !important;
    min-height: auto !important;
    align-items: center !important;
  }
  .brand-block {
    grid-area: brand !important;
    grid-template-columns: 72px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
  }
  .brand-logo-image {
    width: 72px !important;
  }
  .tagline {
    align-self: center !important;
  }
  .tagline-strong {
    font-size: 0.96rem !important;
    line-height: 1.18 !important;
  }
  .tagline-regular {
    font-size: 0.88rem !important;
    line-height: 1.22 !important;
  }
  .header-contact {
    grid-area: contact !important;
    text-align: left !important;
    align-self: center !important;
  }
  .header-contact__phone,
  .header-contact .phone {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
  .header-contact__email,
  .header-contact .email {
    display: none !important;
  }
  .main-nav {
    grid-area: toggle !important;
    position: relative !important;
    justify-self: end !important;
    align-self: center !important;
    min-width: auto !important;
  }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    margin: 0 !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    font-size: 0.98rem !important;
    line-height: 1 !important;
    border-radius: 999px !important;
  }
  .main-nav ul {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(320px, calc(100vw - 32px)) !important;
    margin-top: 0 !important;
    z-index: 6000 !important;
    box-shadow: 0 22px 56px rgba(0,0,0,0.42) !important;
  }
  .hero {
    padding-top: 42px !important;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px 12px !important;
    padding: 10px 0 !important;
  }
  .brand-block {
    grid-template-columns: 64px 1fr !important;
    gap: 10px !important;
  }
  .brand-logo-image {
    width: 64px !important;
  }
  .tagline-strong {
    font-size: 0.92rem !important;
  }
  .tagline-regular {
    font-size: 0.84rem !important;
  }
  .header-contact__phone,
  .header-contact .phone {
    font-size: 0.9rem !important;
  }
  .nav-toggle {
    min-height: 42px !important;
    padding: 0 16px !important;
  }
}

/* v169 mobile landscape header compact row-only refinement (based on v168) */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 520px) {
  .site-header {
    background: rgba(5,11,22,0.94) !important;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-areas: "brand contact toggle" !important;
    gap: 8px 12px !important;
    padding: 8px 0 !important;
    align-items: center !important;
  }

  .brand-block {
    grid-area: brand !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-width: 0 !important;
    align-items: center !important;
  }

  .brand-logo-image {
    width: 56px !important;
  }

  .tagline {
    min-width: 0 !important;
    align-self: center !important;
  }

  .tagline-strong {
    display: block !important;
    font-size: 0.86rem !important;
    line-height: 1.12 !important;
  }

  .tagline-regular {
    display: none !important;
  }

  .header-contact {
    grid-area: contact !important;
    text-align: right !important;
    align-self: center !important;
    min-width: 0 !important;
  }

  .header-contact__phone,
  .header-contact .phone {
    font-size: 0.9rem !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .main-nav {
    grid-area: toggle !important;
    justify-self: end !important;
    align-self: center !important;
  }

  .nav-toggle {
    min-height: 40px !important;
    padding: 0 14px !important;
    font-size: 0.92rem !important;
  }

  .main-nav ul {
    top: calc(100% + 8px) !important;
    width: min(280px, calc(100vw - 24px)) !important;
  }

  .hero {
    padding-top: 26px !important;
  }
}


/* v170 stronger mobile landscape compact header fix (from v169 only) */
@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 600px) {
  .site-header {
    background: rgba(5, 11, 22, 0.95) !important;
    backdrop-filter: blur(14px) !important;
  }

  .site-header .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    grid-template-areas: 'brand tagline contact toggle' 'nav nav nav nav' !important;
    gap: 8px 12px !important;
    min-height: 0 !important;
    padding: 8px 0 !important;
    align-items: center !important;
  }

  .site-header .brand-block {
    grid-area: brand !important;
    display: contents !important;
  }

  .site-header .brand {
    grid-area: brand !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .site-header .brand-logo-image {
    width: 54px !important;
    max-width: 54px !important;
  }

  .site-header .tagline {
    grid-area: tagline !important;
    min-width: 0 !important;
    line-height: 1.08 !important;
    align-self: center !important;
  }

  .site-header .tagline-strong {
    display: block !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .site-header .tagline-regular {
    display: none !important;
  }

  .site-header .header-contact {
    grid-area: contact !important;
    text-align: right !important;
    align-self: center !important;
  }

  .site-header .header-contact .phone,
  .site-header .header-contact__phone {
    font-size: 0.94rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    display: block !important;
  }

  .site-header .header-contact .email,
  .site-header .header-contact__email {
    display: none !important;
  }

  .site-header .nav-toggle {
    display: inline-flex !important;
    grid-area: toggle !important;
    justify-self: end !important;
    align-self: center !important;
    min-height: 40px !important;
    padding: 8px 16px !important;
    font-size: 0.95rem !important;
  }

  .site-header .main-nav {
    grid-area: nav !important;
    position: relative !important;
  }

  .site-header .main-nav ul {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(320px, calc(100vw - 28px)) !important;
    max-height: calc(100vh - 78px) !important;
    overflow: auto !important;
    margin-top: 0 !important;
    padding: 10px !important;
    border-radius: 16px !important;
    z-index: 5600 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
  }

  .site-header .main-nav a {
    padding: 10px 12px !important;
  }

  .hero {
    padding-top: 26px !important;
  }
}


/* adminready v2: hero background variable */
.hero {
  background-image:
    linear-gradient(90deg, rgba(3,8,20,0.94) 0%, rgba(4,10,24,0.9) 32%, rgba(4,10,24,0.62) 56%, rgba(4,10,24,0.44) 100%),
    var(--hero-bg-image);
}
/* ensure current header contact classes are styled */
.header-contact .phone,
.header-contact__phone { color: #fff; font-size: 1.04rem; font-weight: 800; }
.header-contact .email,
.header-contact__email { margin-top: 4px; color: rgba(255,255,255,0.88); font-weight: 600; }

/* v175: restore ultra-compact mobile landscape header after clean CSS */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 520px) {
  .site-header {
    background: rgba(5, 11, 22, 0.97) !important;
    backdrop-filter: blur(14px) !important;
  }

  .site-header .topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 6px 0 !important;
  }

  .site-header .brand-block {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .site-header .brand,
  .site-header .brand-with-logo {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }

  .site-header .brand-logo-image {
    width: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain !important;
  }

  .site-header .tagline {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    flex: 1 1 auto !important;
  }

  .site-header .tagline-strong {
    display: block !important;
    font-size: 0.78rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }

  .site-header .tagline-regular,
  .site-header .header-contact__email,
  .site-header .header-contact .email {
    display: none !important;
  }

  .site-header .header-contact {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    text-align: right !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    min-width: auto !important;
  }

  .site-header .header-contact__phone,
  .site-header .header-contact .phone {
    display: block !important;
    font-size: 0.86rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .site-header .main-nav {
    order: 3 !important;
    position: relative !important;
    flex: 0 0 auto !important;
    min-width: auto !important;
    margin: 0 !important;
  }

  .site-header .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 0.86rem !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    margin: 0 !important;
  }

  .site-header .main-nav ul {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(260px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 72px) !important;
    overflow: auto !important;
    margin: 0 !important;
    padding: 10px !important;
    border-radius: 14px !important;
    z-index: 5600 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
  }

  .site-header .main-nav a {
    padding: 10px 12px !important;
  }

  .hero {
    padding-top: 18px !important;
  }
}
