.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--purple);
  padding: 8px 12px;
  z-index: 10000;
}
.skip-link:focus { top: 8px; }

.topbar {
  background: var(--orange);
  color: #fff;
  min-height: 59px;
}
.topbar-grid {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-height: 59px;
}
.topbar-spacer { display: none; }
.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.top-link svg,
.footer-contacts svg,
.contact-box svg,
.address-line svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 auto;
}
.btn-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  height: 39px;
  padding: 0 18px;
  border-radius: 3px;
  white-space: nowrap;
}
.btn-catalog:hover { background: #3d0a8a; }

.midbar { background: #fff; }
.midbar-inner {
  min-height: 151px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo img { display: block; width: 200px; height: auto; }
.nav-desktop { flex: 1; }
.nav-desktop ul,
.mobile-panel ul,
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.nav-desktop ul { justify-content: space-evenly; }
.mobile-panel ul,
.site-footer nav ul { gap: 8px; }
.nav-desktop a,
.mobile-panel a,
.site-footer nav a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"],
.mobile-panel a:hover,
.mobile-panel a[aria-current="page"],
.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--orange);
}
.nav-toggle {
  display: none;
  margin: 0 auto 18px;
  width: 42px;
  height: 38px;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #54595f;
  border-radius: 3px;
  cursor: pointer;
}

.hero-slider {
  position: relative;
  height: 550px;
  overflow: hidden;
  background: #111;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
}
.slide.is-active .slide-bg { animation: kenburns 6s linear forwards; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
}
.slide-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  text-align: center;
}
.slide-heading {
  max-width: 50%;
  margin: 0;
  background: rgba(245, 131, 69, .88);
  color: #fff;
  border-radius: 20px;
  padding: 10px;
  font-size: 35px;
  font-weight: 700;
  line-height: 39px;
}
.slide.is-active .slide-heading { animation: fadeInUp .8s both; }
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slide-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}
.slide-dots button.is-active { background: #fff; }

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to { opacity: 1; transform: none; }
}

.about-home { padding: 50px 0 40px; }
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
  min-height: 350px;
}
.about-copy { padding-left: 6%; }
.kicker {
  margin: 0 0 -6px;
  color: var(--orange);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}
.brand {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}
.prose { color: var(--text); font-size: 16px; line-height: 1.65; }
.prose p { margin: 0 0 16px; }
.prose strong { color: #666; font-weight: 700; }
.about-photo {
  background: url('/assets/img/033-home.webp') center / cover no-repeat;
  min-height: 280px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--orange-hover); }
.btn-sm { font-size: 15px; font-weight: 500; padding: 12px 22px; }
.btn-xs {
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2px;
  padding: 10px 8px;
  text-transform: uppercase;
}
.btn-xs svg { width: 14px; height: 14px; fill: #fff; flex: 0 0 auto; }

.products-home { padding: 10px 0 50px; }
.section-title {
  margin: 10px 0 36px;
  text-align: center;
  color: var(--purple);
  font-size: 25px;
  font-weight: 600;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
}
.product-card {
  background: var(--gray);
  padding: 15px 15px 18px;
  text-align: center;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 25px;
  background: #fff;
  display: block;
}
.product-card h3 {
  margin: 14px 8px 12px;
  color: var(--purple);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card h3.compact { font-size: 15px; }

.info-band {
  background: url('/assets/img/034-shape-12.png') center / cover no-repeat;
  padding: 70px 0 80px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.info-grid article { text-align: center; }
.info-card {
  display: block;
  background: #fff;
  border-radius: 25px;
  padding: 30px 24px;
  text-decoration: none;
  color: var(--purple);
  transition: background .3s;
}
.info-card:hover { background: #fdf0f09c; }
.info-card svg {
  width: 48px;
  height: 48px;
  fill: var(--purple);
  margin-bottom: 12px;
}
.info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--purple);
}
.info-card p {
  margin: 0;
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}
.info-grid .btn { margin-top: 22px; }

.site-footer { background: var(--gray); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr 1fr;
  gap: 20px;
  padding: 70px 0;
  align-items: center;
}
.footer-logo img { width: 170px; height: auto; display: block; }
.site-footer nav ul { flex-direction: column; gap: 8px; }
.site-footer nav a { font-weight: 600; }
.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #54595f;
  font-size: 15px;
  line-height: 1.45;
}
.footer-contacts li,
.contact-box li,
.address-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contacts svg,
.address-line svg,
.contact-box svg { fill: var(--orange); margin-top: 3px; }
.footer-contacts a { color: #54595f; text-decoration: none; }
.footer-contacts a:hover { color: var(--orange); }
.copyright {
  margin: 0;
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 14px 16px;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.wa-float:hover { background: var(--wa-hover); }
.wa-float svg { width: 32px; height: 32px; }

.page-banner {
  background: var(--gray);
  padding: 22px 0;
}
.page-banner h1 {
  margin: 0;
  color: var(--purple);
  font-size: 28px;
  font-weight: 600;
}
.page-body { padding: 48px 0 70px; }
.about-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
}
.about-inline { width: 100%; height: auto; display: block; }
.prose-wide { max-width: 1140px; }
.gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  padding: 0;
  border: 5px double var(--orange);
  background: #fff;
  cursor: zoom-in;
}
.gallery-item img { display: block; width: 100%; height: 180px; object-fit: cover; }
.products-page { padding-top: 36px; }

.address-line {
  color: #54595f;
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0 22px;
}
.address-line svg { width: 16px; height: 16px; }
.map-frame {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
.contact-page h2 {
  margin: 8px 0 28px;
  color: #7b7b7b;
  font-size: 22px;
  font-weight: 600;
}
.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-box {
  list-style: none;
  margin: 0;
  padding: 28px 24px;
  background: #f3f3f3;
  display: grid;
  gap: 14px;
}
.contact-box a {
  color: #54595f;
  text-decoration: none;
  font-size: 16px;
}
.contact-box a:hover { color: var(--orange); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .88);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .topbar-grid { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 30px, 1140px); }
  .topbar-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0 18px;
  }
  .top-link { font-size: 16px; }
  .btn-catalog { align-self: center; min-width: 220px; margin-top: 6px; }
  .midbar-inner {
    min-height: 0;
    flex-direction: column;
    padding-top: 18px;
    gap: 8px;
  }
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-panel {
    background: #fff;
    border-top: 1px solid #eee;
  }
  .mobile-panel ul { flex-direction: column; gap: 0; }
  .mobile-panel a { display: block; padding: 12px 16px; border-bottom: 1px solid #f2f2f2; }
  .hero-slider { height: 333px; }
  .slide-heading { max-width: 93%; font-size: 20px; line-height: 1.3; }
  .about-home-grid,
  .about-split,
  .info-grid,
  .contact-cols,
  .product-grid,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-copy { padding-left: 0; }
  .about-photo { min-height: 220px; }
  .gallery-item img { height: auto; }
  .slide-inner { padding: 24px 16px; }
  .map-frame { height: 320px; }
}
