/* Avcı Defence — global business site design system */
:root {
  --color-primary: #c8102e;
  --color-primary-dark: #a00d24;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-text: #374151;
  --color-muted: #6b7280;
  --color-dark: #111827;
  --color-border: #e5e7eb;
  --color-error: #b91c1c;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --primary: var(--color-primary);
  --primary-dark: var(--color-primary-dark);
  --dark: var(--color-dark);
  --text: var(--color-text);
  --muted: var(--color-muted);
  --border: var(--color-border);
  --bg: var(--color-bg);
  --bg-alt: var(--color-bg-alt);
  --header-h: 76px;
  --container: 1200px;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-display: "Montserrat", var(--font);
  --focus-ring: 0 0 0 3px rgba(200, 16, 46, 0.35);
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/pxiEyp8kv8JHgFVrFJA.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/pxiByp8kv8JHgFVrLEj6V1s.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w-.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
body.nav-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-dark); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}
button, input, textarea, select { font: inherit; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--dark); line-height: 1.25; margin-top: 0; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 9999;
  width: auto; height: auto; padding: 0.75rem 1rem; margin: 0; clip: auto;
  background: var(--dark); color: #fff; border-radius: var(--radius);
}

/* Header — modern global business navigation */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
}
.topbar {
  background: var(--dark);
  color: #d1d5db;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.5rem 0; flex-wrap: wrap;
}
.topbar__right {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.topbar__brand { color: #e5e7eb; font-weight: 600; letter-spacing: 0.02em; margin: 0; }
.topbar__contact { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin: 0; }
.topbar__contact a { color: #f3f4f6; }
.topbar__contact a:hover { color: #fff; }
.topbar__sep { opacity: 0.35; }
.social-icons { display: flex; align-items: center; gap: 0.35rem; }
.social-icons__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px; color: #f3f4f6;
  transition: color 0.2s, background 0.2s;
}
.social-icons__link:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.social-icons__link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.social-icons__link svg { width: 18px; height: 18px; fill: currentColor; }

.navbar { background: #fff; border-bottom: 1px solid var(--border); }
.navbar__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: var(--header-h);
  position: relative;
}
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 50px; width: auto; }

.site-nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 1rem;
}
.nav-menu {
  display: flex; align-items: center; gap: 0.1rem;
}
.nav-menu > .nav-menu__item > a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  color: var(--dark); font-weight: 600; font-size: 0.88rem;
  border-radius: 8px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.nav-menu__chevron {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: 0.55;
}
.nav-menu > .nav-menu__item > a:hover,
.nav-menu > .nav-menu__item.is-active > a,
.nav-menu a[aria-current="page"] {
  color: var(--primary); background: rgba(200, 16, 46, 0.07);
}
.navbar__cta {
  padding: 0.55rem 1rem; font-size: 0.85rem; white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); position: relative; }

.nav-menu > .nav-menu__item > a,
.submenu a,
.navbar__cta,
.btn {
  min-height: 44px;
}
.has-submenu { position: relative; }
.submenu-toggle { display: none; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.4rem 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  display: block; padding: 0.55rem 1rem; color: var(--text);
  font-size: 0.88rem; font-weight: 500; text-transform: none; letter-spacing: 0;
}
.submenu a:hover, .submenu a[aria-current="page"] {
  background: var(--bg-alt); color: var(--primary);
}

.megamenu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(640px, 92vw); background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.has-megamenu:hover .megamenu,
.has-megamenu:focus-within .megamenu,
.has-megamenu.is-open .megamenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.megamenu__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem;
}
.megamenu__item {
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  padding: 0.75rem 0.5rem; border-radius: 8px; color: var(--dark); text-align: center;
  font-size: 0.78rem; font-weight: 600; line-height: 1.25;
}
.megamenu__item:hover { background: var(--bg-alt); color: var(--primary); }
.megamenu__item img {
  width: 56px; height: 56px; object-fit: contain; border-radius: 50%;
  border: 2px solid var(--border); background: #fff; padding: 0.25rem;
}
.megamenu__all {
  display: block; margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid var(--border); text-align: center;
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
}

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  cursor: pointer; border-radius: 8px;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; background: var(--dark);
  margin: 5px auto; transition: transform 0.2s;
}
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45);
  z-index: 1000;
}
.site-header.is-scrolled .navbar { box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06); }
.site-header.is-scrolled .brand img { height: 44px; transition: height 0.2s ease; }

/* Hero */
.page-hero {
  background: linear-gradient(120deg, #1f2937 0%, #111827 100%);
  color: #fff; padding: 2.75rem 0 2.25rem;
}
.page-hero__title { color: #fff; font-size: clamp(1.75rem, 4vw, 2.35rem); margin-bottom: 0.5rem; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  list-style: none; padding: 0; margin: 0;
  font-size: 0.875rem; color: #cbd5e1;
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; opacity: 0.5; }
.breadcrumb a { color: #e5e7eb; }
.breadcrumb a:hover { color: #fff; }

.site-main { min-height: 50vh; flex: 1; }
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__title { text-align: center; margin-bottom: 2rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.section__lead { text-align: center; max-width: 680px; margin: -1rem auto 2rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.35rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--outline { border-color: var(--border); color: var(--dark); background: #fff; }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }

/* Home hero — circular product showcase (original avciss.com design) */
.hero-products {
  position: relative;
  padding: 0 0 3rem;
  background: #fff;
  overflow: hidden;
}
.hero-products__sky {
  background: url("../img/s-bg.jpg") center top / cover no-repeat;
  height: 320px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
.hero-products__sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 109, 199, 0.88);
}
.hero-products .container {
  position: relative;
  z-index: 1;
}
.hero-products__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding-top: 2.5rem;
}
.hero-products__item {
  flex: 0 1 170px;
  text-align: center;
  margin-top: 0;
  padding: 0 0.35rem;
}
.hero-products__item + .hero-products__item {
  margin-left: -1.25rem;
}
.hero-products__item a {
  display: block;
  color: inherit;
}
.hero-products__item img {
  width: 170px;
  height: 170px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  border: 10px solid rgba(0, 0, 0, 0.26);
  object-fit: cover;
  background: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.12);
}
.hero-products__item:nth-child(1) img { border-color: rgba(215, 23, 31, 0.55); }
.hero-products__item:nth-child(2) img { border-color: rgba(34, 104, 191, 0.45); }
.hero-products__item:nth-child(3) img { border-color: rgba(34, 104, 191, 0.45); }
.hero-products__item:nth-child(4) img { border-color: rgba(34, 104, 191, 0.45); }
.hero-products__item:nth-child(5) img { border-color: rgba(34, 104, 191, 0.45); }
.hero-products__item:nth-child(6) img { border-color: rgba(34, 104, 191, 0.45); }
.hero-products__item:hover img {
  border-color: #d7171f;
  transform: translateY(-4px);
}
.hero-products__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #152545;
  padding-top: 1.1rem;
  margin: 0;
  line-height: 1.35;
  max-width: 150px;
  margin-inline: auto;
}
.hero-products__item:hover .hero-products__title { color: #2268bf; }

/* Legacy product grid (category pages) */
.product-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
.product-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s; color: inherit;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.product-card__media {
  aspect-ratio: 1; display: grid; place-items: center; padding: 0.85rem; background: #fff;
}
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.product-card__title {
  padding: 0.75rem; text-align: center; font-size: 0.8rem; font-weight: 600;
  color: var(--dark); border-top: 1px solid var(--border); min-height: 3.25rem;
  display: flex; align-items: center; justify-content: center;
}

.about-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.about-split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.phone-highlight { font-size: 1.15rem; font-weight: 700; }
.phone-highlight a { color: var(--primary); }

/* References carousel */
.ref-section { padding-top: 2.5rem; padding-bottom: 3rem; }
.ref-carousel {
  position: relative; overflow: hidden; border: 1px solid var(--border);
  border-radius: var(--radius); background: #fff; padding: 1.25rem 0;
}
.ref-carousel__track {
  display: flex; align-items: center; gap: 3rem;
  width: max-content; animation: ref-scroll 24s linear infinite;
}
.ref-carousel__track:hover { animation-play-state: paused; }
.ref-carousel img {
  height: 56px; width: auto; max-width: 160px; object-fit: contain;
  filter: grayscale(15%); opacity: 0.92;
}
@keyframes ref-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Cards / categories */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card a { color: inherit; display: block; }
.card__media { aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.card__body { padding: 1rem 1.1rem 1.15rem; }
.card__title { font-size: 0.98rem; margin: 0; color: var(--dark); }

/* Product detail */
.product-detail {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 2rem; align-items: start;
}
.product-gallery { position: relative; }
.product-gallery__main {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
}
.product-gallery__main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 0.75rem; }
.product-gallery__thumbs {
  display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 72px; height: 72px; border: 2px solid var(--border); border-radius: 8px;
  overflow: hidden; cursor: pointer; background: #fff; padding: 0;
}
.product-gallery__thumb.is-active { border-color: var(--primary); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__body { min-width: 0; }
.product-detail__body h2 { margin-bottom: 1rem; font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.content-prose { max-width: none; }
.content-prose img,
.content-prose table img {
  max-width: 100% !important; width: auto !important; height: auto !important;
  border-radius: var(--radius); margin: 0.75rem 0;
}
.content-prose table { width: 100% !important; display: block; overflow-x: auto; }
.content-prose ul { padding-left: 1.2rem; list-style: disc; margin-bottom: 1rem; }
.content-prose li { margin-bottom: 0.35rem; }

/* Gallery — thumbnail grid + lightbox */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.gallery-item {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-alt);
  position: relative; cursor: zoom-in;
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(17, 24, 39, 0); transition: background 0.2s;
}
.gallery-item:hover::after { background: rgba(17, 24, 39, 0.08); }
.gallery-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform 0.25s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__label {
  padding: 0.55rem 0.65rem; font-size: 0.78rem; font-weight: 600;
  color: var(--dark); background: #fff; border-top: 1px solid var(--border);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(17, 24, 39, 0.92);
  display: grid; place-items: center; padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox__figure { margin: 0; max-width: min(1100px, 96vw); text-align: center; }
.lightbox__image {
  max-width: min(1100px, 96vw); max-height: 78vh;
  width: auto; height: auto; margin: 0 auto;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.lightbox__caption {
  color: #e5e7eb; margin-top: 0.85rem; font-size: 0.95rem;
}
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1.75rem;
  cursor: pointer; line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 2rem;
  cursor: pointer; line-height: 1;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.video-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #000; }
.video-card__embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card video { width: 100%; aspect-ratio: 16/9; }
.video-card--inline { max-width: 720px; margin: 1.5rem 0; }
.video-card__caption { padding: 0.75rem 1rem; background: var(--bg-alt); font-weight: 600; color: var(--dark); }
.video-card__meta { font-size: 0.85rem; font-weight: 400; color: var(--muted); margin: 0.25rem 0 0; }
.video-card__placeholder { padding: 2rem; text-align: center; color: var(--muted); background: var(--bg-alt); aspect-ratio: 16/9; display: grid; place-items: center; }
.section-title { font-size: 1.35rem; margin: 0 0 1rem; color: var(--dark); }
.card--album .card__media { aspect-ratio: 4/3; }

.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination a {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; color: var(--dark); font-weight: 600;
}
.pagination a:hover, .pagination a.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Contact — standard business layout */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl);
  align-items: start; padding-bottom: var(--spacing-xl);
}
.contact-info__lead { color: var(--muted); margin-bottom: var(--spacing-lg); }
.contact-details { margin: 0; }
.contact-details__row { display: grid; grid-template-columns: 120px 1fr; gap: 0.5rem 1rem; margin-bottom: 0.85rem; }
.contact-details dt { font-weight: 600; color: var(--dark); margin: 0; }
.contact-details dd { margin: 0; color: var(--text); }
.contact-form {
  display: grid; gap: var(--spacing-md);
  padding: var(--spacing-lg); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.form-field { display: grid; gap: 0.35rem; }
.form-field__label { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.form-field input,
.form-field textarea {
  width: 100%; padding: 0.75rem 0.85rem;
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
}
.form-honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.contact-form__status { min-height: 1.25rem; font-size: 0.9rem; color: var(--dark); margin: 0; }
.contact-map {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #fff; margin-bottom: var(--spacing-2xl);
}
.contact-map__header {
  padding: 1.1rem 1.25rem; background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.contact-map__header h2 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.contact-map__header p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.contact-map__embed { display: block; width: 100%; height: 380px; border: 0; }
.contact-map__actions {
  padding: 1rem 1.1rem; background: var(--bg-alt);
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}

/* Footer — shared site component */
.site-footer { background: var(--dark); color: #cbd5e1; margin-top: auto; }
.footer-top.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr 1fr 1fr 0.85fr; gap: 2rem;
  padding: 3rem 0 2.25rem;
}
.footer-col h4 {
  color: #fff; font-size: 0.95rem; margin: 0 0 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-block--brand p { margin-top: 0.85rem; max-width: 28ch; line-height: 1.6; }
.footer-brand img { height: 42px; width: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #fff; }
.footer-links--plain li { color: #cbd5e1; line-height: 1.55; }
.footer-bottom.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 0;
  font-size: 0.875rem; color: #9ca3af;
}
.site-footer__bottom-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}

.scroll-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--primary); color: #fff; cursor: pointer; box-shadow: var(--shadow);
}
.scroll-top:hover { background: var(--primary-dark); }

@media (max-width: 1100px) {
  .hero-products__item { flex-basis: 150px; }
  .hero-products__item + .hero-products__item { margin-left: -0.75rem; }
  .hero-products__item img { width: 150px; height: 150px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .navbar__inner { flex-wrap: wrap; padding: 0.65rem 0; }
  .nav-toggle { display: block; }
  .navbar__cta { display: none; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 340px); top: 0;
    background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform 0.25s ease;
    padding: 5rem 1rem 1.5rem; z-index: 1001;
    flex-direction: column; align-items: stretch; margin-left: 0;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav .navbar__cta {
    display: inline-flex; margin: 1rem 0 0; width: 100%; justify-content: center;
  }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-menu > .nav-menu__item > a {
    padding: 0.85rem 0.5rem; border-radius: 8px; white-space: normal;
  }
  .submenu-toggle {
    display: block; position: absolute; right: 0; top: 0.55rem;
    width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer;
  }
  .submenu-toggle::before {
    content: ""; display: block; width: 8px; height: 8px;
    border-right: 2px solid var(--dark); border-bottom: 2px solid var(--dark);
    transform: rotate(45deg); margin: 10px auto 0;
  }
  .has-submenu { position: relative; }
  .submenu, .megamenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 0.75rem; display: none;
    width: 100%;
  }
  .has-submenu.is-open .submenu,
  .has-megamenu.is-open .megamenu { display: block; }
  .megamenu__grid { grid-template-columns: 1fr 1fr; }
  .about-split, .product-detail, .contact-inner, .site-footer__grid { grid-template-columns: 1fr; }
  .hero-products__grid { gap: 1rem 0.5rem; padding-top: 1.5rem; }
  .hero-products__item { flex: 0 1 calc(33.333% - 0.5rem); margin-left: 0 !important; }
  .hero-products__item img { width: 130px; height: 130px; border-width: 8px; }
  .hero-products__title { font-size: 0.82rem; max-width: 120px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero-products__sky { height: 220px; }
  .hero-products__item { flex: 0 1 calc(50% - 0.25rem); }
  .hero-products__item img { width: 118px; height: 118px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .contact-details__row { grid-template-columns: 1fr; }
  .footer-top.site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ref-carousel__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
