/* ==========================================================
   Vee Yel Fruit Products – Senthu Jams & Sauces
   ========================================================== */

:root {
  --green: #8ca833;        /* old theme links / labels */
  --green-dark: #617b12;
  --green-soft: #eef5d9;
  --yellow: #ffc700;       /* old Courgette label colour */
  --yellow-soft: #fff5c7;
  --brown: #51331a;        /* old text / headings */
  --brown-dark: #341d0a;
  --cream: #fffdf0;        /* old page background */
  --cream-2: #fbf5e2;
  --text: #5b4a3b;
  --muted: #86735f;
  --line: #eee3c8;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(81, 51, 26, .1);
  --header-h: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-dark); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
a:hover { color: var(--brown); }

h1, h2, h3 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-dark);
  margin: 0 0 .55em;
}
h1 { font-size: clamp(32px, 4.6vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--brown-dark);
  color: #fff;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

.script {
  display: block;
  margin-bottom: 8px;
  font-family: 'Courgette', cursive;
  font-size: 22px;
  line-height: 1.3;
  color: var(--green-dark);
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--yellow);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(81, 51, 26, .1); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.logo img { width: auto; height: 68px; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 9px 15px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--brown); }
.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-current > a { background: var(--green-soft); color: var(--green-dark); }

.caret { width: 14px; height: 14px; margin-left: 2px; vertical-align: -2px; fill: currentColor; }

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 6px 0 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: 8px 12px; border-radius: 8px; }
.submenu a:hover,
.submenu a[aria-current] { background: var(--cream-2); color: var(--green-dark); }

.nav-toggle { display: none; padding: 8px; background: none; border: 0; cursor: pointer; }
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--brown-dark);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.btn .icon { width: 16px; height: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }
.btn-white { background: #fff; color: var(--brown-dark); }
.btn-white:hover { background: var(--brown-dark); color: #fff; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 199, 0, .2) 0, transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(140, 168, 51, .18) 0, transparent 40%),
    var(--cream);
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 90px);
}
.hero .script { font-size: 26px; }
.hero h1 { margin-bottom: 16px; }
.hero-lead { max-width: 520px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brown);
}
.hero-badges .icon { color: var(--green); }

.slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.slider-dots button {
  width: 26px;
  height: 26px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.slider-dots button::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(81, 51, 26, .4);
  transition: background-color .2s, transform .2s;
}
.slider-dots button.is-active::before { background: var(--yellow); transform: scale(1.15); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(52px, 8vw, 90px); }
.section-white { background: #fff; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 30px;
  margin-bottom: 32px;
}
.head-row .section-head { margin-bottom: 0; }
.lead { font-size: 18px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 24px 22px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--brown);
}
.feature-icon svg { width: 26px; height: 26px; fill: currentColor; }
.feature h3 { margin-bottom: 6px; font-size: 18px; }
.feature p { margin: 0; font-size: 15px; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.product-media { aspect-ratio: 10 / 7; overflow: hidden; background: #f6f4ee; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.tag {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.product-body h3 { margin-bottom: 6px; }
.product-body p { margin-bottom: 12px; font-size: 15px; }
.sizes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; }
.sizes li { padding: 3px 10px; border-radius: 6px; background: var(--yellow-soft); font-size: 13px; font-weight: 500; color: var(--brown); }
.sizes.lg li { padding: 8px 16px; border-radius: 10px; font-size: 15px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--green-dark); }
.card-link .icon { width: 16px; height: 16px; }

.placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffd9a0, #f5a04c);
  font-family: 'Courgette', cursive;
  font-size: 22px;
  text-align: center;
  color: #fff;
}
.placeholder svg { width: 64px; height: 64px; fill: rgba(255, 255, 255, .9); }

.group-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.group-nav a {
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
}
.group-nav a:hover { border-color: var(--green); color: var(--green-dark); }
.group-section { padding-top: 48px; }
.group-section .section-head { margin-bottom: 24px; }

.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.product-photo {
  display: block;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.info-block { margin-bottom: 26px; }
.info-block h2 { margin-bottom: 10px; font-size: 20px; }
.ingredients { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.ingredients li { padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.rounded-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.about-card { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.about-card img { width: 100%; border-radius: 14px; }
.about-card .facts { margin-top: 16px; }

.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding: 0; }
.facts li { padding: 12px 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; }
.facts span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts strong { color: var(--brown-dark); }

.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.prose > img { margin-bottom: 28px; }
.prose p { font-size: 17px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.side-box { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.side-box h2 { font-size: 18px; }
.side-box p { font-size: 15px; }
.side-box.is-yellow { background: var(--yellow-soft); border-color: #f5e3a0; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--text); }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--green-dark); }
.side-links img,
.thumb-ph { flex-shrink: 0; width: 46px; height: 34px; border-radius: 6px; object-fit: cover; }
.thumb-ph { background: linear-gradient(135deg, #ffd9a0, #f5a04c); }

.group-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.group-box h2 { margin-bottom: 8px; }
.group-box p { margin: 0; }

/* ---------- Video ---------- */
.video {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: #000; border: 0; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-play:hover img { opacity: 1; }
.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.play-icon svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--brown-dark); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- CTA ---------- */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 36px;
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(120deg, #ffd84d, var(--yellow) 55%, #ffb300);
  border-radius: 24px;
  color: var(--brown);
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; font-size: 17px; }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.client img,
.client-initials { width: 100%; max-width: 200px; aspect-ratio: 218 / 165; border-radius: 10px; object-fit: contain; }
.client-initials {
  display: grid;
  place-items: center;
  background: var(--cream-2);
  font-family: 'Courgette', cursive;
  font-size: 40px;
  color: var(--green-dark);
}
.client h3 { margin: 0; font-size: 16px; font-weight: 500; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 44px 42px;
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #f4f9e6;
}
.page-hero::before,
.page-hero::after { content: ""; position: absolute; border-radius: 50%; }
.page-hero::before { right: -60px; top: -90px; width: 260px; height: 260px; background: rgba(255, 199, 0, .25); }
.page-hero::after { right: 190px; bottom: -80px; width: 140px; height: 140px; background: rgba(255, 255, 255, .12); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { max-width: 720px; margin: 0; font-size: 17px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; font-size: 14px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .5); }
.breadcrumb a { color: #e6f0c8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); }
.contact-card.is-factory { border-top-color: var(--yellow); }
.contact-card h2 { font-size: 20px; }
.contact-card address { margin-bottom: 14px; font-style: normal; }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; overflow-wrap: anywhere; }
.contact-lines .icon { margin-top: 4px; color: var(--green); }

.dealer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: center;
  margin-top: 40px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--yellow-soft);
  border: 1px solid #f5e3a0;
  border-radius: 20px;
}
.dealer-box h2 { margin-bottom: 8px; }
.dealer-box p { margin: 0; }

.map { margin-top: 40px; aspect-ratio: 16 / 7; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dark); font-size: 15px; color: #dccbb6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-block: 60px 40px; }
.footer-logo { display: inline-block; margin-bottom: 16px; padding: 8px 12px; background: #fff; border-radius: 14px; }
.footer-logo img { width: auto; height: 64px; }
.site-footer h2 { margin-bottom: 14px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.site-footer p { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 4px 0; }
.site-footer a { color: #dccbb6; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; overflow-wrap: anywhere; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 5px; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding-block: 18px;
  font-size: 14px;
}

/* ---------- Back to top ---------- */
.go-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--shadow);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background-color .2s;
}
.go-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.go-top:hover { background: var(--green-dark); color: #fff; }
.go-top svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 72px;
  background: rgba(30, 18, 6, .92);
}
.lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; margin: 0; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(100vh - 150px); border-radius: 6px; background: #fff; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; font-size: 15px; text-align: center; color: #f3e9dc; }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn svg { width: 26px; height: 26px; fill: currentColor; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 20px rgba(81, 51, 26, .12);
    transition: max-height .35s ease;
  }
  .main-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; border-top: 1px solid var(--line); }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 6px 20px 0; }
  .main-nav > ul > li > a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > ul > li > a:hover,
  .main-nav > ul > li.is-current > a { background: none; }
  .caret { display: none; }
  .submenu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 4px 0 8px 14px;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .submenu a { padding: 7px 4px; color: var(--muted); }
  .header-cta { align-self: flex-start; margin: 14px 20px 20px; }

  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 74px; }

  .logo img { height: 54px; }

  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
  .slider { aspect-ratio: 16 / 10; border-radius: 20px; }
  .hero .script { font-size: 22px; }
  .hero-lead { font-size: 16px; }

  .split,
  .product-detail,
  .contact-grid,
  .dealer-box,
  .group-box { grid-template-columns: minmax(0, 1fr); }
  .map { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .features,
  .footer-grid,
  .facts,
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .client { padding: 12px; }
  .client-initials { font-size: 30px; }
  .btn { padding: 11px 20px; }
  .cta .btn { width: 100%; }

  .lightbox { padding: 64px 10px 80px; }
  .lb-prev,
  .lb-next { top: auto; bottom: 14px; transform: none; }
  .go-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; }
}
