/* =========================================================
   Mega-Roll d.o.o. — Modern Static HTML Website
   Brand Palette preserved from megaroll.ba:
   - Brand Crimson Red: #E3002A
   - Primary Black:     #0B0B0D / #141418
   - Clean White:       #FFFFFF
   - Architectural Gray:#F6F6F8
   ========================================================= */

:root {
  --brand-red: #E3002A;
  --brand-red-dark: #BE0023;
  --brand-red-soft: rgba(227, 0, 42, 0.08);

  --whatsapp: #16A34A;
  --whatsapp-dark: #15803D;
  --viber: #7360F2;
  --viber-dark: #5B46E0;

  --black: #0B0B0D;
  --dark-surface: #141418;
  --dark-card: #1B1B21;
  --dark-border: rgba(255, 255, 255, 0.09);

  --white: #FFFFFF;
  --surface: #F6F6F8;
  --border: #E5E7EB;

  --text-main: #111114;
  --text-muted: #52525B;
  --text-light: #A1A1AA;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(11, 11, 13, 0.08);
  --shadow-lg: 0 24px 54px rgba(11, 11, 13, 0.14);

  --font-display: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 700;
}

.container {
  width: min(1220px, 92%);
  margin-inline: auto;
}

.text-accent {
  color: var(--brand-red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--lg {
  padding: 0.92rem 1.8rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.48rem 0.95rem;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--brand-red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(227, 0, 42, 0.28);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.26);
}

.btn--viber {
  background: var(--viber);
  color: var(--white);
}

.btn--viber:hover {
  background: var(--viber-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(115, 96, 242, 0.26);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.btn--outline-dark {
  border-color: var(--border);
  color: var(--text-main);
  background: var(--white);
}

.btn--outline-dark:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--brand-red);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--black);
}

.btn--white:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--dark-solid {
  background: var(--black);
  color: var(--white);
}

.btn--dark-solid:hover {
  background: #222228;
  transform: translateY(-2px);
}

/* ---------- Top Utility Bar ---------- */
.top-bar {
  background: var(--black);
  color: #D4D4D8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.4rem;
}

.top-bar__info,
.top-bar__actions,
.top-bar__socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-bar__item,
.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.top-bar__item svg,
.top-bar__link svg {
  color: var(--brand-red);
}

.top-bar__link:hover,
.top-bar__socials a:hover {
  color: var(--white);
}

.top-bar__divider {
  opacity: 0.35;
}

.top-bar__socials {
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Header & Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.5rem;
}

.logo__img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo__fallback,
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo__fallback small,
.footer__logo small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.75;
}

.logo__mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 3px;
}

.logo__mark span {
  width: 10px;
  height: 12px;
  background: var(--brand-red);
  border-radius: 1.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--brand-red);
  background: var(--brand-red-soft);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 9px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(3.2rem, 6vw, 4.8rem);
  border-bottom: 3px solid var(--brand-red);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(227, 0, 42, 0.22), transparent 55%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #A1A1AA;
  margin-bottom: 0.9rem;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: var(--brand-red);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 660px;
  color: #D4D4D8;
  font-size: 1.05rem;
}

/* ---------- Home Hero Section ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 5s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(11, 11, 13, 0.92) 0%, rgba(11, 11, 13, 0.74) 48%, rgba(11, 11, 13, 0.35) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.25) 0%, rgba(11, 11, 13, 0.75) 100%);
}

.hero__container {
  position: relative;
  z-index: 2;
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: 3.5rem;
}

.hero__content {
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #E4E4E7;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(227, 0, 42, 0.28);
}

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #D4D4D8;
  max-width: 580px;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}

.hero__slider-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__dot {
  width: 32px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.hero__dot.is-active {
  width: 48px;
  background: var(--brand-red);
}

.hero__slide-label {
  margin-left: 0.6rem;
  font-size: 0.8rem;
  color: #A1A1AA;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.hero__stats-wrap {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(12px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 1.45rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--brand-red);
  padding-left: 1rem;
}

.hero__stat strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.hero__stat span {
  font-size: 0.84rem;
  color: #A1A1AA;
}

/* ---------- Sections & Headers ---------- */
.section {
  padding-block: clamp(4rem, 6.5vw, 5.8rem);
}

.section--light {
  background: var(--white);
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--dark-surface);
  color: var(--white);
}

.section-header {
  margin-bottom: 2.8rem;
  max-width: 680px;
}

.section-header--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-red);
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand-red);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -0.015em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 480px;
  margin-top: 0.65rem;
}

.section--dark .section-desc {
  color: #A1A1AA;
}

/* ---------- Uniform Products Grid (No inconsistent overlays!) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.products-grid--four {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(227, 0, 42, 0.35);
}

/* Uniform 4:3 clean image frame across ALL products — zero overlays */
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.img--crop-margins {
  transform: scale(1.14);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card:hover .product-card__media img.img--crop-margins {
  transform: scale(1.19);
}

.product-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__cat {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-red);
  margin-bottom: 0.35rem;
}

.product-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.product-card__body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
}

.product-card__list {
  list-style: none;
  display: grid;
  gap: 0.42rem;
  margin-bottom: 1.4rem;
  font-size: 0.87rem;
  color: var(--text-main);
}

.product-card__list li {
  position: relative;
  padding-left: 1.15rem;
}

.product-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
}

.product-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--brand-red);
  transition: gap var(--transition);
}

.product-card__cta:hover {
  gap: 0.75rem;
}

.section-footer-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- Product Technical Specs (proizvodi.html) ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-red);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.spec-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.spec-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 1rem;
}

.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.spec-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(227, 0, 42, 0.55);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(227, 0, 42, 0.14);
  color: var(--brand-red);
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.92rem;
  color: #A1A1AA;
}

/* ---------- About & FAQ Split ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.about-lead {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-main);
  margin-top: 1.1rem;
  margin-bottom: 0.95rem;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.branches-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.75rem 0 2rem;
}

.branch-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-red);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
}

.branch-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-main);
}

.branch-pill span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.faq-box__title {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.accordion__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  transition: transform var(--transition);
}

.accordion__icon::after {
  transform: rotate(90deg);
}

.accordion__item.is-open .accordion__icon::after {
  transform: rotate(0deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__item.is-open .accordion__panel {
  max-height: 220px;
}

.accordion__panel p {
  padding-bottom: 1.15rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- Partners / Profile Brands Strip ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  height: 92px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter var(--transition), opacity var(--transition);
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Crimson Brand Banner ---------- */
.brand-banner {
  background: linear-gradient(110deg, var(--brand-red) 0%, #B80021 100%);
  color: var(--white);
  padding-block: 3.5rem;
}

.brand-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand-banner__text {
  max-width: 600px;
}

.brand-banner__text h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  margin-bottom: 0.45rem;
}

.brand-banner__text p {
  color: rgba(255, 255, 255, 0.92);
}

.brand-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Uniform Gallery Grid + Lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.gallery-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(11, 11, 13, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox__btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #D4D4D8;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

/* ---------- Contact & Quote Form (WhatsApp / Viber / Email) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem;
  align-items: start;
}

.quote-card,
.contact-card,
.map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.1rem;
  box-shadow: var(--shadow-sm);
}

.quote-card__desc {
  color: var(--text-muted);
  margin: 0.65rem 0 1.65rem;
  font-size: 0.94rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.05rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 0.78rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-main);
  transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  background: var(--white);
}

.send-channels__label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0.5rem 0 0.75rem;
}

.send-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.form-status {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.3em;
}

.form-status.is-success {
  color: #15803D;
}

.form-status.is-error {
  color: var(--brand-red);
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.contact-list__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  margin-bottom: 0.2rem;
}

.contact-list__muted {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-weight: 600;
}

.contact-phones a:hover {
  color: var(--brand-red);
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.map-card__header strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.map-card__header span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.map-card iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: #D4D4D8;
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: #A1A1AA;
  max-width: 340px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer__links a {
  color: #A1A1AA;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.35rem;
  font-size: 0.84rem;
  color: #71717A;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials {
  display: flex;
  gap: 1.25rem;
}

.footer__socials a:hover {
  color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products-grid--four,
  .gallery-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid,
  .contact-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .top-bar__info {
    display: none;
  }

  .top-bar__inner {
    justify-content: flex-end;
  }

  .hamburger {
    display: flex;
  }

  .header__cta .btn--primary {
    display: none;
  }

  .nav {
    position: fixed;
    top: 118px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid--four,
  .gallery-grid--four,
  .features-grid,
  .gallery-grid,
  .branches-pills,
  .form-row,
  .send-channels,
  .partners-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .map-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
