@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Condensed+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Iosevka+Charon:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
/* =====================================================================
   AVTOKAR — Design System
   =====================================================================
   Direction: industrial engineering + premium technology.
   Not a "yellow hard-hat" construction template — closer to a modern
   automotive/tech brand that happens to build heavy machinery.

   Palette:
   - Graphite/near-black for depth and seriousness
   - Warm off-white surfaces (not sterile white) for premium contrast
   - A single confident accent — a burnt industrial amber — used
     sparingly so it reads as a brand mark, not decoration
   - Metallic gray-blue for secondary structure/borders

   Typography:
   - Manrope (display/body): geometric, technical, confident — full
     Latin + Cyrillic coverage
   - Noto Sans Armenian (display/body for AM content): the only
     reliable pairing partner that matches Manrope's weight range and
     covers Armenian glyphs cleanly
   - JetBrains Mono: technical spec tables / numbers, to reinforce the
     "engineering" feel
   ===================================================================== */



.font-am{
  font-family: "Iosevka Charon", monospace;
  font-weight: 300;
  font-style: normal;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html:has(body.menu-open),
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 var(--space-2); letter-spacing: -0.01em; }
h1.am, h2.am, h3.am, h4.am { font-family: var(--font-display); line-height: 1.15; margin: 0 0 var(--space-2); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 var(--space-2); color: #717171; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h2.section-title-alternative{
  text-align: center;
}

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--color-graphite); color: #fff;
  padding: .75rem 1.25rem; z-index: 1000; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.section-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-5) 0; }
.section.alt-bg { background: var(--color-surface-alt); }
.prose p { max-width: 70ch; font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--radius); font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: var(--color-graphite); color: #fff; }
.full-width { width: 100%; }

/* ---------- LOADER (first visit only, toggled via JS/sessionStorage) --------- */
/* ============================================================
   AVTOKAR — INDUSTRIAL SYSTEM LOADER
   Heavy machinery / construction technology aesthetic
   ============================================================ */

#site-loader {
  position: fixed;
  inset: 0;
  background: var(--color-graphite);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;

  transition:
          opacity .8s cubic-bezier(.76, 0, .24, 1),
          visibility .8s cubic-bezier(.76, 0, .24, 1);
}

#site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* ============================================================
   STAGE
   ============================================================ */

.loader-stage {
  position: relative;
  width: min(760px, 88vw);
  height: min(620px, 78vh);

  display: flex;
  align-items: center;
  justify-content: center;

  isolation: isolate;
}


/* ============================================================
   BACKGROUND GRID
   ============================================================ */

.loader-grid {
  position: absolute;
  inset: -20%;

  opacity: .14;

  background-image:
          linear-gradient(
                  rgba(255,255,255,.055) 1px,
                  transparent 1px
          ),
          linear-gradient(
                  90deg,
                  rgba(255,255,255,.055) 1px,
                  transparent 1px
          );

  background-size: 42px 42px;

  transform:
          perspective(700px)
          rotateX(58deg)
          translateY(15%);

  transform-origin: center bottom;

  animation:
          loader-grid-move 7s linear infinite;
}

@keyframes loader-grid-move {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 42px;
  }
}


/* ============================================================
   CENTRAL MACHINE
   ============================================================ */

.loader-machine {
  position: relative;

  width: 280px;
  height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  animation: machine-enter 1.2s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes machine-enter {
  0% {
    opacity: 0;
    transform: scale(.65) rotate(-12deg);
  }

  60% {
    opacity: 1;
    transform: scale(1.04) rotate(1deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}


/* ============================================================
   ROTATING TECHNICAL RINGS
   ============================================================ */

.loader-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.loader-ring--outer {
  width: 250px;
  height: 250px;

  border:
          1px solid rgba(255,255,255,.16);

  border-top-color: var(--color-accent);
  border-right-color: rgba(177,27,56,.45);

  animation:
          loader-spin 7s linear infinite;
}

.loader-ring--outer::before,
.loader-ring--outer::after {
  content: "";
  position: absolute;

  width: 7px;
  height: 7px;

  background: var(--color-accent);

  box-shadow:
          0 0 12px rgba(177,27,56,.7);
}

.loader-ring--outer::before {
  top: -4px;
  left: 50%;

  transform: translateX(-50%);
}

.loader-ring--outer::after {
  bottom: 12%;
  right: 3%;

  border-radius: 50%;
}


.loader-ring--inner {
  width: 205px;
  height: 205px;

  border:
          1px dashed rgba(255,255,255,.2);

  animation:
          loader-spin-reverse 11s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}


/* ============================================================
   CROSSHAIR
   ============================================================ */

.loader-crosshair {
  position: absolute;
  background: rgba(255,255,255,.1);
}

.loader-crosshair--h {
  width: 310px;
  height: 1px;
}

.loader-crosshair--v {
  width: 1px;
  height: 310px;
}


/* ============================================================
   LOGO
   ============================================================ */

.loader-logo {
  position: relative;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 9px;

  text-align: center;

  animation:
          loader-logo-pulse 2.2s ease-in-out infinite;
}

.loader-logo img {
  display: block;

  width: 150px;
  height: auto;

  object-fit: contain;

  filter:
          drop-shadow(0 0 18px rgba(177,27,56,.18));
}

.loader-logo span {
  font-family: var(--font-display);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: .32em;

  color: #fff;

  padding-left: .32em;
}

@keyframes loader-logo-pulse {
  0%,
  100% {
    opacity: .82;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}


/* ============================================================
   TECHNICAL CORNERS
   ============================================================ */

.loader-corner {
  position: absolute;

  width: 34px;
  height: 34px;

  opacity: .5;
}

.loader-corner::before,
.loader-corner::after {
  content: "";

  position: absolute;

  background: var(--color-accent);
}

.loader-corner::before {
  width: 34px;
  height: 1px;
}

.loader-corner::after {
  width: 1px;
  height: 34px;
}

.loader-corner--tl {
  top: 0;
  left: 0;
}

.loader-corner--tr {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.loader-corner--bl {
  bottom: 0;
  left: 0;
  transform: rotate(-90deg);
}

.loader-corner--br {
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}


/* ============================================================
   LOADING INFORMATION
   ============================================================ */

.loader-info {
  position: absolute;

  left: 50%;
  bottom: 55px;

  width: min(520px, 72vw);

  transform: translateX(-50%);

  font-family: var(--font-mono);

  font-size: 9px;
  letter-spacing: .13em;

  color: rgba(255,255,255,.45);
}

.loader-info-top,
.loader-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;
}

.loader-info-top {
  margin-bottom: 9px;
}

.loader-info-bottom {
  margin-top: 9px;
}

.loader-percent {
  color: #fff;
}


/* ============================================================
   PROGRESS BAR
   ============================================================ */

.loader-progress {
  position: relative;

  width: 100%;
  height: 2px;

  background: rgba(255,255,255,.1);

  overflow: visible;
}

.loader-progress-fill {
  position: absolute;

  inset: 0 auto 0 0;

  width: 0%;

  background:
          linear-gradient(
                  90deg,
                  var(--color-accent-dark),
                  var(--color-accent)
          );

  box-shadow:
          0 0 14px rgba(177,27,56,.55);

  animation:
          loader-progress 2.8s cubic-bezier(.65, 0, .35, 1) forwards;
}

.loader-progress-glow {
  position: absolute;

  top: 50%;
  left: 0;

  width: 40px;
  height: 20px;

  transform: translateY(-50%);

  background: var(--color-accent);

  filter: blur(14px);

  opacity: .3;

  animation:
          loader-progress-glow 2.8s cubic-bezier(.65, 0, .35, 1) forwards;
}

@keyframes loader-progress {
  0% {
    width: 0%;
  }

  30% {
    width: 26%;
  }

  55% {
    width: 58%;
  }

  78% {
    width: 82%;
  }

  100% {
    width: 100%;
  }
}

@keyframes loader-progress-glow {
  0% {
    left: 0;
  }

  100% {
    left: calc(100% - 40px);
  }
}


/* ============================================================
   MEASUREMENTS
   ============================================================ */

.loader-measure {
  position: absolute;

  font-family: var(--font-mono);

  font-size: 8px;
  letter-spacing: .15em;

  color: rgba(255,255,255,.28);
}

.loader-measure--left {
  left: -5px;
  top: 50%;

  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  gap: 14px;

  align-items: center;
}

.loader-measure--left i {
  width: 1px;
  height: 22px;

  background: rgba(255,255,255,.15);
}

.loader-measure--right {
  right: -5px;
  top: 50%;

  transform:
          translateY(-50%)
          rotate(90deg);

  color: var(--color-accent);
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

  .loader-stage {
    width: 86vw;
    height: 72vh;
  }

  .loader-machine {
    width: 230px;
    height: 230px;
  }

  .loader-ring--outer {
    width: 205px;
    height: 205px;
  }

  .loader-ring--inner {
    width: 170px;
    height: 170px;
  }

  .loader-crosshair--h {
    width: 250px;
  }

  .loader-crosshair--v {
    height: 250px;
  }

  .loader-logo img {
    width: 125px;
  }

  .loader-logo span {
    font-size: 10px;
  }

  .loader-info {
    bottom: 35px;
    width: 82vw;
    font-size: 7px;
  }

  .loader-info-bottom span:last-child {
    display: none;
  }

  .loader-measure {
    display: none;
  }

  .loader-grid {
    background-size: 30px 30px;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .loader-grid,
  .loader-machine,
  .loader-ring,
  .loader-logo,
  .loader-progress-fill,
  .loader-progress-glow {
    animation: none !important;
  }

  .loader-progress-fill {
    width: 100%;
  }
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; z-index: 500; background: rgba(244,242,238,.72); backdrop-filter: blur(8px); width: 100vw;
  border-bottom: 1px solid var(--color-border); transition: background .2s ease;
}
.header-inner { max-width: var(--container-max); margin: 0 auto; padding: .85rem var(--space-3); display: flex; align-items: center; gap: var(--space-3); }
.brand{
  display: flex;}
.brand h1.name{
  font-family: "Special Gothic Condensed One", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0 !important;
  font-size: clamp(2.2rem, 5vw, 1.6rem);
}
.brand img { height: 34px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: var(--space-3); }
.main-nav a { font-weight: 600; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); position: relative; }

.header-search { position: relative; display: flex; align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.header-search input { border: none; background: transparent; padding: .5rem .75rem; width: 200px; font-family: inherit; }
.header-search button { border: none; background: transparent; padding: .5rem .6rem; cursor: pointer; }


.header-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--color-text);
  text-decoration: none;

  border: 1px solid var(--color-border);
  border-radius: 50%;

  background: transparent;

  transition:
          color .25s ease,
          background-color .25s ease,
          border-color .25s ease,
          transform .25s ease;
}

.header-social-link i {
  font-size: 15px;
}

.header-social-link:hover {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .header-socials {
    display: none;
  }

  .header-socials.mobileContacts{
    display: flex;
  }
}


.search-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-card); max-height: 320px; overflow-y: auto; z-index: 50; }
.search-suggestions a { display: flex; gap: .6rem; align-items: center; padding: .6rem .75rem; border-bottom: 1px solid var(--color-border); font-size: .9rem; }
.search-suggestions a:hover { background: var(--color-surface-alt); }
.suggestion-type { font-size: .65rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; }

.lang-switcher { position: relative; }
.lang-current { border: 1px solid var(--color-border); background: var(--color-surface); padding: .5rem .75rem; border-radius: var(--radius); font-weight: 700; font-size: .8rem; cursor: pointer; }
.lang-options { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-card); min-width: 100px; }
.lang-switcher.is-open .lang-options { display: block; }
.lang-options a { display: block; padding: .5rem .75rem; font-size: .85rem; }
.lang-options a:hover { background: var(--color-surface-alt); }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: .4rem; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: var(--color-graphite); transition:
        transform 0.3s ease,
        opacity 0.2s ease,
        width 0.3s ease;}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-menu { display: none; }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs { padding: calc(var(--space-2) + 82px) 0 var(--space-2); background: var(--color-surface-alt); }
.breadcrumbs ol { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-3); display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--color-muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .4rem; }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs li[aria-current="page"] span { color: var(--color-text); font-weight: 600; }

/* ---------- HERO ---------- */
/*.hero { position: relative; background: var(--color-graphite); color: #fff; overflow: hidden; padding: var(--space-6) 0 var(--space-5); height: 100vh}*/
/*.hero-inner { max-width: var(--container-max); margin: 0 215px; padding: 0 var(--space-3); position: relative; z-index: 2; max-width: 640px; }*/
     /* =========================================================
        AVTOKAR HERO SLIDER
        ========================================================= */

/* =========================================================
  AVTOKAR — CINEMATIC HERO SLIDER
  ========================================================= */

.hero {
  position: relative;

  min-height: 100svh;
  height: 100svh;

  overflow: hidden;

  display: flex;
  align-items: center;

  background: var(--color-graphite);
  color: #fff;

  isolation: isolate;
}


/* =========================================================
   SLIDER
   ========================================================= */

.hero-slider {
  position: absolute;
  inset: 0;

  z-index: -2;

  overflow: hidden;

  background: var(--color-graphite);
}


/* =========================================================
   SLIDES
   ========================================================= */

.hero-slide {
  position: absolute;
  inset: -2%;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform: scale(1.025);

  transition:
          opacity 1.45s cubic-bezier(.22, 1, .36, 1),
          visibility 1.45s ease,
          transform 7s cubic-bezier(.22, 1, .36, 1);

  will-change: opacity, transform;
}


/*
 * Active slide
 */

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;

  transform: scale(1);

  z-index: 2;
}


/* =========================================================
   IMAGE
   ========================================================= */

.hero-slide img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center center;

  transform:
          scale(1.045)
          translate3d(0, 0, 0);

  filter:
          saturate(.94)
          contrast(1.04)
          brightness(.88);

  transition:
          transform 8s cubic-bezier(.16, 1, .3, 1),
          filter 1.45s ease;

  will-change: transform, filter;
}


/*
 * Cinematic movement while active
 */

.hero-slide.is-active img {
  transform:
          scale(1)
          translate3d(0, 0, 0);

  filter:
          saturate(1)
          contrast(1.02)
          brightness(.92);
}


/*
 * Slight alternating movement
 */

.hero-slide:nth-child(odd).is-active img {
  transform:
          scale(1)
          translate3d(-.4%, 0, 0);
}

.hero-slide:nth-child(even).is-active img {
  transform:
          scale(1)
          translate3d(.4%, 0, 0);
}


/* =========================================================
   PREMIUM OVERLAY
   ========================================================= */

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 3;

  pointer-events: none;

  background:

    /*
     * Main left readability gradient
     */
          linear-gradient(
                  90deg,
                  rgba(20, 21, 26, .91) 0%,
                  rgba(20, 21, 26, .78) 22%,
                  rgba(20, 21, 26, .48) 48%,
                  rgba(20, 21, 26, .20) 72%,
                  rgba(20, 21, 26, .12) 100%
          ),

            /*
             * Bottom cinematic shadow
             */
          linear-gradient(
                  180deg,
                  rgba(20, 21, 26, .08) 0%,
                  rgba(20, 21, 26, .05) 45%,
                  rgba(20, 21, 26, .58) 100%
          );
}


/* =========================================================
   SUBTLE VIGNETTE
   ========================================================= */

.hero-slider::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 4;

  pointer-events: none;

  background:
          radial-gradient(
                  ellipse at center,
                  transparent 42%,
                  rgba(0, 0, 0, .20) 100%
          );

  opacity: .65;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-inner {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: var(--container-max);

  margin: 0 auto;

  padding:
          calc(64px + 2rem)
          var(--space-3)
          7rem;
}


/* =========================================================
   CONTENT ENTRANCE
   ========================================================= */

.hero-title,
.hero-sub,
.hero-ctas {
  opacity: 0;
  transform: translateY(18px);

  animation:
          heroContentIn
          .9s
          cubic-bezier(.22, 1, .36, 1)
          .25s
          forwards;
}

.hero-sub {
  animation-delay: .38s;
}

.hero-ctas {
  animation-delay: .52s;
}


@keyframes heroContentIn {

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 960px) {

  .hero {
    min-height: 100svh;
    height: 100svh;
  }


  .hero-inner {
    padding-top: 0;
    padding-bottom: 5rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
  }


  .hero-overlay {
    background:

            linear-gradient(
                    90deg,
                    rgba(20, 21, 26, .86) 0%,
                    rgba(20, 21, 26, .62) 60%,
                    rgba(20, 21, 26, .40) 100%
            ),

            linear-gradient(
                    180deg,
                    rgba(20, 21, 26, .12) 0%,
                    rgba(20, 21, 26, .62) 100%
            );
  }


  .hero-slider::after {
    opacity: .45;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .hero-inner {
    padding:
            5rem
            var(--space-3)
            5rem;
  }


  .hero-title {
    font-size: clamp(2.15rem, 11vw, 2.5rem);
    line-height: 1.03;
  }


  .hero-sub {
    max-width: 36ch;

    font-size: .98rem;
    line-height: 1.55;
  }


  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }


  .hero-ctas .btn {
    width: 100%;
  }


  .hero-slide img {
    object-position: center center;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .hero-title {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: .92rem;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .hero-slide,
  .hero-slide img,
  .hero-title,
  .hero-sub,
  .hero-ctas {
    transition: none;
    animation: none;
  }

  .hero-title,
  .hero-sub,
  .hero-ctas {
    opacity: 1;
    transform: none;
  }

}









.hero-inner {
  margin: 0 auto;
  padding: 0 var(--space-3);
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  padding-top: calc(100vh - 450px);
}
.hero-title { color: #fff; }
.hero-sub { color: #cfd3d8; font-size: 1.1rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: var(--space-2); margin-top: var(--space-3); flex-direction: row }
/*.hero-media { position: absolute; inset: 0; opacity: .35; }*/
/*.hero-media img { width: 100%; height: 100%; object-fit: cover; }*/
.hero-media.img-empty { background: linear-gradient(135deg, var(--color-graphite-2), var(--color-graphite)); }
.hero-media.img-empty img { display: none; }
.page-hero { background: var(--color-graphite); color: #fff; padding: var(--space-5) 0 var(--space-4); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #cfd3d8; max-width: 60ch; }

/* ---------- GRIDS ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-2); margin-top: var(--space-3); }
.category-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease; }
.category-card:hover { transform: translateY(-3px); }
.category-image { display: block; aspect-ratio: 4/3; background: var(--color-surface-alt); overflow: hidden; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-image.img-empty { background: var(--color-graphite-2); }
.category-name { display: block; padding: .9rem; font-weight: 700; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.product-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .2s ease; }
.product-card:hover { transform: translateY(-3px); }
.product-card-media { display: block; aspect-ratio: 4/3; background: var(--color-surface-alt); }
.product-card-media img { width: 100%; height: 300px; object-fit: cover;}
.product-card-media.img-empty { background: repeating-linear-gradient(135deg, var(--color-surface-alt), var(--color-surface-alt) 10px, var(--color-border) 10px, var(--color-border) 12px); }
.product-card-body { padding: var(--space-2); display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card-body h3 { font-size: 1rem; }
.product-card-body p { font-size: .9rem; color: var(--color-muted); flex: 1; }
.product-card-cta { font-weight: 700; color: var(--color-accent); font-size: .9rem; margin-top: auto; }

/* ---------- SERVICES ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  padding: var(--space-3);

  box-shadow: var(--shadow-card);

  overflow: hidden;

  transition:
          transform .3s cubic-bezier(.22, 1, .36, 1),
          border-color .3s ease,
          box-shadow .3s ease;
}

/* subtle technical accent line */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 0;
  height: 2px;

  background: var(--color-accent);

  transition: width .4s cubic-bezier(.22, 1, .36, 1);
}

/* icon container */
.service-card > span {
  width: 54px;
  height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1.25rem;

  border: 1px solid rgba(177, 27, 56, .22);
  border-radius: 14px;

  background:
          linear-gradient(
                  135deg,
                  rgba(177, 27, 56, .11),
                  rgba(177, 27, 56, .035)
          );

  color: var(--color-accent);

  transition:
          transform .35s cubic-bezier(.22, 1, .36, 1),
          background .3s ease,
          color .3s ease,
          border-color .3s ease;
}

/* Lucide SVG created by lucide.createIcons() */
.service-card > svg {
  width: 25px;
  height: 25px;

  stroke-width: 1.7;

  transition:
          transform .35s cubic-bezier(.22, 1, .36, 1);
}

.service-card h3,
.service-card h2 {
  margin-bottom: .5rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: .92rem;
  margin-bottom: 0;
}

/* hover */

.service-card:hover {
  transform: translateY(-5px);

  border-color: rgba(177, 27, 56, .35);

  box-shadow:
          var(--shadow-card),
          0 16px 35px rgba(20, 21, 26, .08);
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover > i {
  transform: translateY(-2px);

  background: var(--color-accent);
  border-color: var(--color-accent);

  color: #fff;
}

.service-card:hover > i svg {
  transform: scale(1.08) rotate(-3deg);
}
.service-card-link { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--color-accent); font-size: .9rem; }

.section-footer {
  margin-top: var(--space-3);
  text-align: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--color-graphite);
  padding: .4rem 0;
  transition: color .3s ease;
}

.link-arrow .arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--color-graphite);
  background: var(--color-graphite);
  transition: background .3s ease, border-color .3s ease;
}

.link-arrow .arrow-circle svg {
  width: 16px;
  height: 16px;
  transition: transform .3s ease;
}

.link-arrow .arrow-circle svg path {
  stroke: #fff;
  transition: stroke .3s ease;
}

.link-arrow:hover {
  color: var(--color-accent);
}

.link-arrow:hover .arrow-circle {
  background: transparent;
  border-color: var(--color-graphite);
}

.link-arrow:hover .arrow-circle svg {
  transform: rotate(-45deg);
}

.link-arrow:hover .arrow-circle svg path {
  stroke: var(--color-graphite);
}

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));justify-content: center; gap: var(--space-3); margin-top: var(--space-3); }
.why-grid li { border-left: 3px solid var(--color-accent); padding-left: var(--space-2); }

/*.process-steps { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }*/
/*.process-steps li { display: flex; align-items: center; gap: .7rem; font-weight: 700; }*/
/*.step-num { font-family: var(--font-mono); color: var(--color-accent); font-size: 1.3rem; }*/

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }


/* =========================================================
   PROCESS — HOW WE WORK
   Industrial / Technical Timeline
   ========================================================= */

.process-section {
  position: relative;
  overflow: hidden;
}

/* subtle technical background */
.process-section::before {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
          linear-gradient(
                  90deg,
                  transparent 0,
                  rgba(177, 27, 56, .035) 50%,
                  transparent 100%
          );
}

.process-section .section-inner {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------
   PROCESS HEADING
   --------------------------------------------------------- */

.process-section h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;

  margin-bottom: 0;
}


/* ---------------------------------------------------------
   STEPS CONTAINER
   --------------------------------------------------------- */

.process-steps {
  position: relative;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  margin-top: var(--space-4);

  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}


/* ---------------------------------------------------------
   CONNECTING LINE
   --------------------------------------------------------- */

.process-steps::before {
  content: "";

  position: absolute;

  top: 50px;
  left: 12%;
  right: 12%;

  height: 1px;

  background:
          linear-gradient(
                  90deg,
                  var(--color-accent),
                  rgba(177, 27, 56, .18)
          );

  z-index: 0;
}


/* ---------------------------------------------------------
   STEP
   --------------------------------------------------------- */

.process-steps li {
  position: relative;

  min-height: 190px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;

  padding: 1.5rem 1.5rem 1.6rem;

  border-right: 1px solid var(--color-border);

  font-weight: 700;

  background:
          linear-gradient(
                  180deg,
                  rgba(255,255,255,.55),
                  rgba(255,255,255,.15)
          );

  transition:
          background .35s ease,
          transform .35s cubic-bezier(.22,1,.36,1),
          box-shadow .35s ease;
}

.process-steps li:first-child {
  border-left: 1px solid var(--color-border);
}


/* ---------------------------------------------------------
   STEP NUMBER
   --------------------------------------------------------- */

.step-num {
  position: relative;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  border: 1px solid var(--color-border);
  border-radius: 50%;

  background: var(--color-surface);

  color: var(--color-accent);

  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;

  letter-spacing: .04em;

  box-shadow:
          0 0 0 7px var(--color-bg);

  transition:
          background .35s ease,
          color .35s ease,
          border-color .35s ease,
          transform .35s cubic-bezier(.22,1,.36,1),
          box-shadow .35s ease;
}


/* ---------------------------------------------------------
   STEP LABEL
   --------------------------------------------------------- */

.process-steps li > span:last-child {
  position: relative;
  z-index: 2;

  display: block;

  max-width: 180px;

  color: var(--color-text);

  font-size: 1rem;
  line-height: 1.35;

  transition: color .3s ease;
}


/* ---------------------------------------------------------
   TECHNICAL CORNER
   --------------------------------------------------------- */

.process-steps li::before {
  content: "";

  position: absolute;

  top: 14px;
  right: 14px;

  width: 9px;
  height: 9px;

  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);

  opacity: .45;

  transition:
          width .3s ease,
          height .3s ease,
          opacity .3s ease;
}


/* bottom technical line */

.process-steps li::after {
  content: "";

  position: absolute;

  left: 1.5rem;
  bottom: 0;

  width: 0;
  height: 2px;

  background: var(--color-accent);

  transition:
          width .4s cubic-bezier(.22,1,.36,1);
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

.process-steps li:hover {
  background: var(--color-surface);

  transform: translateY(-5px);

  box-shadow:
          0 14px 30px rgba(20,20,20,.07);
}

.process-steps li:hover .step-num {
  background: var(--color-accent);

  border-color: var(--color-accent);

  color: #fff;

  transform: scale(1.06);

  box-shadow:
          0 0 0 7px var(--color-bg),
          0 8px 22px rgba(177,27,56,.22);
}

.process-steps li:hover > span:last-child {
  color: var(--color-accent);
}

.process-steps li:hover::before {
  width: 15px;
  height: 15px;

  opacity: 1;
}

.process-steps li:hover::after {
  width: calc(100% - 3rem);
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

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

  .process-steps::before {
    display: none;
  }

  .process-steps li:nth-child(2) {
    border-right: none;
  }

  .process-steps li:nth-child(3),
  .process-steps li:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .process-section h2::before {
    width: 24px;
    flex-basis: 24px;
  }

  .process-steps {
    display: flex;
    flex-direction: column;

    margin-top: var(--space-3);
  }

  .process-steps li,
  .process-steps li:nth-child(3),
  .process-steps li:nth-child(4) {
    min-height: 0;

    flex-direction: row;
    align-items: center;

    gap: 1rem;

    padding: 1.1rem 1rem;

    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-top: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .process-steps li:first-child {
    border-top: 1px solid var(--color-border);
  }

  .process-steps li:hover {
    transform: none;
  }

  .step-num {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    box-shadow:
            0 0 0 5px var(--color-bg);
  }

  .process-steps li > span:last-child {
    max-width: none;
    font-size: .95rem;
  }

  .process-steps li::before {
    top: 50%;
    right: 1rem;

    transform: translateY(-50%);
  }

  .process-steps li::after {
    left: 0;
    bottom: 0;
  }

  .process-steps li:hover .step-num {
    box-shadow:
            0 0 0 5px var(--color-bg),
            0 6px 16px rgba(177,27,56,.2);
  }

}



/* =========================================================
   FAQ ACCORDION
   ========================================================= */

.faq-accordion {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  max-width: 860px;
}

.faq-item {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
          border-color .35s ease,
          box-shadow .35s ease,
          transform .35s cubic-bezier(.22, 1, .36, 1);
}

.faq-item[hidden] { display: none; }

/* accent line on the left, grows when open */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.faq-item:hover {
  border-color: rgba(177, 27, 56, .3);
}

.faq-item.is-open {
  border-color: rgba(177, 27, 56, .35);
  box-shadow: 0 14px 34px rgba(20, 21, 26, .08);
}

.faq-item.is-open::before {
  transform: scaleY(1);
}

.faq-question {
  margin: 0;
  font-size: inherit;
  letter-spacing: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;

  padding: 1.15rem 1.35rem;

  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;

  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);

  transition: color .3s ease;
}

.faq-trigger:hover,
.faq-item.is-open .faq-trigger {
  color: var(--color-accent);
}

.faq-trigger:focus-visible {
  outline-offset: -3px;
  border-radius: var(--radius);
}

/* ---------- PLUS → X ICON (in a circle) ---------- */
.faq-icon {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;

  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  background: transparent;

  transition:
          transform .45s cubic-bezier(.22, 1, .36, 1),
          background .3s ease,
          border-color .3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-graphite);
  transform: translate(-50%, -50%);
  transition: background .3s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-trigger:hover .faq-icon {
  border-color: var(--color-accent);
}

.faq-item.is-open .faq-icon {
  transform: rotate(135deg);          /* + turns into × */
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #fff;
}

/* ---------- SMOOTH OPEN / CLOSE ---------- */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
          grid-template-rows .45s cubic-bezier(.22, 1, .36, 1),
          visibility 0s linear .45s;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
          grid-template-rows .45s cubic-bezier(.22, 1, .36, 1),
          visibility 0s linear 0s;
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 calc(1.35rem + 38px + 1.25rem) 0 1.35rem;
  opacity: 0;
  transform: translateY(-6px);
  transition:
          opacity .35s ease,
          transform .45s cubic-bezier(.22, 1, .36, 1),
          padding .45s cubic-bezier(.22, 1, .36, 1);
}

.faq-item.is-open .faq-panel-inner {
  padding-bottom: 1.3rem;
  opacity: 1;
  transform: none;
  transition-delay: .08s;
}

.faq-panel-inner p {
  margin: 0;
  max-width: 68ch;
  color: var(--color-muted);
  font-size: .98rem;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .faq-trigger { padding: 1rem; font-size: 1rem; gap: .9rem; }
  .faq-icon { flex-basis: 34px; width: 34px; height: 34px; }
  .faq-panel-inner { padding-left: 1rem; padding-right: 1rem; }
}
.faq-search input { width: 100%; max-width: 480px; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: var(--space-3); }

.contact-cta { background: var(--color-graphite); color: #fff; text-align: center; }
.contact-cta h2 { color: #fff; margin-bottom: var(--space-2); }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-4); }
/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-5); align-items: start; }

/* ---------- Info column ---------- */
.contact-info h2 { margin-bottom: .5rem; }
.contact-lead { max-width: 44ch; margin-bottom: var(--space-3); }

.contact-list { display: flex; flex-direction: column; margin-bottom: var(--space-3); border-top: 1px solid var(--color-border); }
.contact-list li { border-bottom: 1px solid var(--color-border); }

.contact-row {
  position: relative; display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem .25rem; color: var(--color-text);
  transition: padding .3s cubic-bezier(.22,1,.36,1);
}
a.contact-row:hover { padding-left: .85rem; }

.contact-row__icon {
  flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--color-border); border-radius: 50%;
  color: var(--color-accent); background: var(--color-surface);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.contact-row__icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
a.contact-row:hover .contact-row__icon { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

.contact-row__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.contact-row__text small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.contact-row__text strong { font-size: 1.02rem; font-weight: 600; overflow-wrap: anywhere; }

.contact-row__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--color-muted); opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s ease, transform .3s ease, color .3s ease; }
a.contact-row:hover .contact-row__arrow { opacity: 1; transform: none; color: var(--color-accent); }

.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 16/10; background: var(--color-surface-alt); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
.contact-map:hover iframe { filter: none; }

/* ---------- Form ---------- */
.contact-form {
  position: relative; display: flex; flex-direction: column; gap: 1.6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.contact-form::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 3px; background: var(--color-accent); }
.contact-form__head h2 { margin-bottom: .35rem; }
.contact-form__head p { margin: 0; }

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }

.field { position: relative; padding-bottom: 1.1rem; }
.field input, .field textarea {
  width: 100%; display: block; padding: 1.35rem 0 .55rem;
  font-family: inherit; font-size: 1rem; color: var(--color-text);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--color-border);
  border-radius: 0; outline: none; resize: vertical;
  transition: border-color .25s ease;
}
.field textarea { min-height: 120px; }
.field:hover input, .field:hover textarea { border-bottom-color: #b9b5ad; }

.field label {
  position: absolute; left: 0; top: 1.3rem; pointer-events: none;
  font-size: 1rem; color: var(--color-muted); transform-origin: left top;
  transition: transform .25s cubic-bezier(.22,1,.36,1), color .25s ease;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.15rem) scale(.78);
  color: var(--color-accent);
  font-weight: 600;
}

/* accent line that grows from the left on focus */
.field-line { position: absolute; left: 0; bottom: 1.1rem; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.field input:focus ~ .field-line, .field textarea:focus ~ .field-line { transform: scaleX(1); }

.field-error { position: absolute; left: 0; bottom: -.1rem; font-size: .78rem; color: #b3261e; opacity: 0; transform: translateY(-3px); transition: opacity .2s ease, transform .2s ease; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #b3261e; }
.field.has-error label { color: #b3261e; }
.field.has-error .field-line { background: #b3261e; transform: scaleX(1); }
.field.has-error .field-error { opacity: 1; transform: none; }
.field.has-error .field-error:empty::before { content: "—"; }

.field-count { position: absolute; right: 0; bottom: -.1rem; font-family: var(--font-mono); font-size: .7rem; color: var(--color-muted); }
.field--area.has-error .field-error { right: 5rem; }

.contact-submit { margin-top: .25rem; padding: 1rem 1.6rem; }
.contact-submit svg { width: 18px; height: 18px; transition: transform .25s ease; }
.contact-submit:hover svg { transform: translateX(4px); }

.form-success { display: flex; align-items: center; gap: .6rem; margin: 0; background: #e7f4ea; border: 1px solid #a9d6b3; color: #1e5b2a; padding: .85rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.form-success svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 560px) {
  .field-pair { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-row__arrow { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-row, .field label, .field-line, .contact-row__arrow { transition: none; }
}

/*.contact-info ul { display: flex; flex-direction: column; gap: .5rem; margin: var(--space-2) 0 var(--space-3); }*/
/*.contact-map-placeholder { aspect-ratio: 16/9; background: var(--color-surface-alt); border: 1px dashed var(--color-border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--color-muted); }*/

/*.contact-form { display: flex; flex-direction: column; gap: var(--space-2); background: var(--color-surface); padding: var(--space-3); border-radius: var(--radius); border: 1px solid var(--color-border); }*/
/*.form-row { display: flex; flex-direction: column; gap: .35rem; }*/
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row textarea { padding: .7rem .8rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-family: inherit; font-size: .95rem; }
.field-error { color: #b3261e; font-size: .82rem; }
/*.form-success { background: #e7f4ea; border: 1px solid #a9d6b3; color: #1e5b2a; padding: .8rem 1rem; border-radius: var(--radius); }*/
.honeypot-field { position: absolute; left: -9999px; }

.products-layout { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-4); }
.category-filter ul { display: flex; flex-direction: column; gap: .3rem; margin-top: var(--space-2); }
.category-filter a { display: block; padding: .5rem .7rem; border-radius: var(--radius); font-size: .9rem; }
.category-filter a.active, .category-filter a:hover { background: var(--color-surface-alt); font-weight: 700; }
.products-search form { display: flex; gap: .5rem; max-width: 520px; }
.products-search input { flex: 1; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.products-search button, .page-search-form button { padding: .75rem 1.2rem; border: none; background: var(--color-graphite); color: #fff; border-radius: var(--radius); cursor: pointer; }
.page-search-form { display: flex; gap: .5rem; max-width: 480px; margin-top: var(--space-2); }
.page-search-form input { flex: 1; padding: .7rem 1rem; border-radius: var(--radius); border: none; }

.empty-state { color: var(--color-muted); padding: var(--space-3) 0; }

/* ---------- PRODUCT DETAIL / GALLERY ---------- */
.product-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-4); align-items: start; }
.product-gallery { position: relative; }
.gallery-main { position: relative; aspect-ratio: 4/3; background: var(--color-surface-alt); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.img-empty { background: repeating-linear-gradient(135deg, var(--color-surface-alt), var(--color-surface-alt) 12px, var(--color-border) 12px, var(--color-border) 14px); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.gallery-prev { left: 10px; } .gallery-next { right: 10px; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; }
.gallery-thumb { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--color-surface-alt); }
.gallery-thumb.active { border-color: var(--color-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-summary { padding-top: var(--space-2); }

.specs-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: .9rem; margin-top: var(--space-2); }
.specs-table th, .specs-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--color-border); }
.specs-table th { color: var(--color-muted); font-weight: 600; width: 40%; }
.feature-list li, .benefits-list li { padding: .4rem 0 .4rem 1.4rem; position: relative; }
.feature-list li::before, .benefits-list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

.job-list li { border-bottom: 1px solid var(--color-border); padding: var(--space-2) 0; }
.job-list a { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .3rem; }
.job-list span { color: var(--color-muted); font-size: .85rem; }

/*.search-results-list { display: flex; flex-direction: column; gap: .6rem; margin-top: var(--space-2); }*/
/*.search-result { display: flex; align-items: center; gap: .8rem; padding: .8rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }*/
/*.result-type { font-size: .7rem; font-weight: 700; color: var(--color-accent); }*/
.search-results-list { display: flex; flex-direction: column; gap: .6rem; margin-top: var(--space-2); }

.search-result {
  display: flex; align-items: center; gap: var(--space-2);
  padding: .8rem; border: 1px solid var(--color-border);
  border-radius: var(--radius); background: var(--color-surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-result:hover { border-color: rgba(177, 27, 56, .35); box-shadow: var(--shadow-card); }

.search-result-thumb {
  flex: 0 0 96px; width: 96px; height: 72px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.search-result-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-result-title { font-weight: 700; }
.search-result-title:hover { color: var(--color-accent); }
.search-result-desc { margin: 0; font-size: .88rem; color: var(--color-muted); }

.result-type { font-size: .7rem; font-weight: 700; color: var(--color-accent); }

@media (max-width: 480px) {
  .search-result-thumb { flex-basis: 72px; width: 72px; height: 56px; }
}
.error-page { text-align: center; padding: var(--space-6) 0; }
.error-page h1 { font-size: 5rem; }




/* ---------- PRODUCT ACTIONS ---------- */
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: var(--space-3);
}

.product-actions .btn {
  font-family: inherit;
  letter-spacing: .01em;
}

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

.btn i {
  font-size: .95em;
  transition: transform .2s ease;
}

.product-actions .btn-accent {
  box-shadow: 0 8px 20px -8px rgba(177, 27, 56, .6);
}

.product-actions .btn-accent:hover {
  box-shadow: 0 10px 24px -8px rgba(177, 27, 56, .7);
}

.product-actions .btn-accent:hover i {
  transform: translateX(3px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-graphite);
  color: var(--color-graphite);
}

.btn-secondary:hover {
  background: var(--color-graphite);
  color: #fff;
}

/* ---------- SOCIAL ICONS (small, borderless) ---------- */
.product-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.1rem;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}

.product-social-group {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.product-social-divider {
  width: 1px;
  height: 28px;
  background: var(--color-border);
}

.product-social-label {
  font-size: .85rem;
  color: var(--color-muted);
}

.social-icons {
  display: flex;
  gap: .5rem;
}

.social-icon {
  --brand: #999;
  --brand-soft: rgba(0, 0, 0, .06);

  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;
  font-size: 1.05rem;

  color: var(--brand);
  background: var(--brand-soft);

  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social-icon:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.social-icon--whatsapp  { --brand: #25D366; --brand-soft: rgba(37, 211, 102, .12); }
.social-icon--instagram { --brand: #E4405F; --brand-soft: rgba(228, 64, 95, .12); }
.social-icon--facebook  { --brand: #1877F2; --brand-soft: rgba(24, 119, 242, .12); }

@media (max-width: 560px) {
  .product-actions .btn { flex: 1 1 100%; }
}
/* ---------- SHARE ---------- */
.share { position: relative; }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 38px;
  padding: 0 1.05rem;
  border: 1px solid var(--color-graphite);
  border-radius: 999px;
  background: transparent;
  color: var(--color-graphite);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.share-btn i { font-size: .9em; transition: transform .2s ease; }

.share-btn:hover,
.share.is-open .share-btn {
  background: var(--color-graphite);
  color: #fff;
}

.share-btn:hover i { transform: translateY(-1px) rotate(-8deg); }

.share-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: 320px;
  padding: .6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 16px 40px rgba(20, 20, 20, .12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.share--flip .share-menu { left: auto; right: 0; }

.share.is-open .share-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.share-menu-title {
  padding: .35rem .5rem .65rem;
  margin-bottom: .35rem;
  border-bottom: 1px solid var(--color-border);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .25rem;
}

.share-item {
  --brand: var(--color-graphite);
  --brand-soft: rgba(28, 31, 36, .08);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem;
  padding: .6rem .25rem .5rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--color-text);
  cursor: pointer;
  transition: background .15s ease;
}

/* display:flex above would otherwise override the hidden attribute */
.share-item[hidden] { display: none; }

.share-item:hover { background: var(--color-surface-alt); }

.share-item i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.05rem;
  color: var(--brand);
  background: var(--brand-soft);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.share-item:hover i { background: var(--brand); color: #fff; transform: translateY(-2px); }

.share-item--whatsapp  { --brand: #25D366; --brand-soft: rgba(37, 211, 102, .12); }
.share-item--telegram  { --brand: #229ED9; --brand-soft: rgba(34, 158, 217, .12); }
.share-item--viber     { --brand: #7360F2; --brand-soft: rgba(115, 96, 242, .12); }
.share-item--facebook  { --brand: #1877F2; --brand-soft: rgba(24, 119, 242, .12); }
.share-item--instagram { --brand: #E4405F; --brand-soft: rgba(228, 64, 95, .12); }
.share-item--tiktok    { --brand: #111111; --brand-soft: rgba(17, 17, 17, .08); }
.share-item--x         { --brand: #111111; --brand-soft: rgba(17, 17, 17, .08); }
.share-item--linkedin  { --brand: #0A66C2; --brand-soft: rgba(10, 102, 194, .12); }
.share-item--vk        { --brand: #0077FF; --brand-soft: rgba(0, 119, 255, .12); }
.share-item--email     { --brand: #5b6067; --brand-soft: rgba(91, 96, 103, .12); }
.share-item--copy.is-copied { --brand: #1e5b2a; --brand-soft: #e7f4ea; }

/* Feedback line ("Link copied — paste it in Instagram") */
.share-note:not(:empty) {
  margin-top: .4rem;
  padding: .6rem .5rem .2rem;
  border-top: 1px solid var(--color-border);
  font-size: .8rem;
  font-weight: 600;
  color: #1e5b2a;
}

@media (max-width: 560px) {
  .product-social-divider { display: none; }
  .share { flex: 1 1 100%; }
  .share-menu { width: min(320px, calc(100vw - 2 * var(--space-3))); }
}

@media (max-width: 380px) {
  .share-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- APPLICATION MODAL ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  background: rgba(20, 20, 20, .6);
  backdrop-filter: blur(3px);
}

/* Required: display:flex above would otherwise override the hidden attribute */
.modal-backdrop[hidden] { display: none; }

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  animation: modal-in .25s ease both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
}
.modal-close:hover { color: var(--color-text); }

.modal-product-name { color: var(--color-muted); margin-bottom: var(--space-2); }

.apply-form { display: flex; flex-direction: column; gap: var(--space-2); }

.modal-feedback { font-size: .88rem; min-height: 1.2em; }
.modal-feedback.is-error   { color: #b3261e; }
.modal-feedback.is-success { color: #1e5b2a; }

@media (max-width: 560px) {
  .modal-dialog { padding: var(--space-3); }
}
/*.contact-options-grid { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--space-2); }*/
/*.contact-btn {*/
/*  display: inline-flex; align-items: center; gap: .5rem;*/
/*  padding: .8rem 1.4rem; border-radius: var(--radius); font-weight: 700; font-size: .9rem;*/
/*  border: 2px solid var(--color-border); cursor: pointer; background: var(--color-surface);*/
/*  transition: transform .15s ease, border-color .2s ease;*/
/*}*/
/*.contact-btn:hover { transform: translateY(-2px); }*/
/*.contact-btn--whatsapp { border-color: #25D366; color: #128C4A; }*/
/*.contact-btn--whatsapp:hover { background: #25D366; color: #fff; }*/
/*.contact-btn--instagram { border-color: #E4405F; color: #C1315A; }*/
/*.contact-btn--instagram:hover { background: #E4405F; color: #fff; }*/
/*.contact-btn--facebook { border-color: #1877F2; color: #1877F2; }*/
/*.contact-btn--facebook:hover { background: #1877F2; color: #fff; }*/
/*.contact-btn--apply { border-color: var(--color-accent); color: var(--color-accent); }*/
/*.contact-btn--apply:hover { background: var(--color-accent); color: #fff; }*/

/*.modal-backdrop {*/
/*  position: fixed; inset: 0; background: rgba(20,20,20,.6); z-index: 900;*/
/*  display: flex; align-items: center; justify-content: center; padding: var(--space-3);*/
/*}*/
/*.modal-backdrop[hidden] { display: none; }*/
/*.modal-dialog {*/
/*  position: relative; background: var(--color-surface); border-radius: var(--radius);*/
/*  max-width: 460px; width: 100%; padding: var(--space-4); box-shadow: var(--shadow-card);*/
/*  max-height: 90vh; overflow-y: auto;*/
/*}*/
/*.modal-close {*/
/*  position: absolute; top: .8rem; right: .8rem; background: none; border: none;*/
/*  font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--color-muted);*/
/*}*/
/*.modal-product-name { color: var(--color-muted); margin-bottom: var(--space-2); }*/
/*.apply-form { display: flex; flex-direction: column; gap: var(--space-2); }*/
/*.modal-feedback { font-size: .88rem; min-height: 1.2em; }*/
/*.modal-feedback.is-error { color: #b3261e; }*/
/*.modal-feedback.is-success { color: #1e5b2a; }*/

/* ========================================================= AVTOKAR — BRANDS INFINITE MARQUEE Directly above footer ========================================================= */

   .brands-marquee {
     --brands-height: 132px;
     --brand-gap: clamp(1.5rem, 4vw, 4.5rem);
     --brand-width: clamp(170px, 18vw, 250px);

     position: relative;
     width: 100%;
     overflow: hidden;

     background: var(--color-surface-alt);

     border-top: 1px solid rgba(255,255,255,.06);
     border-bottom: 1px solid rgba(255,255,255,.06);

     isolation: isolate;
   }


/* ---------------------------------------------------------
   VIEWPORT
   --------------------------------------------------------- */

.brands-marquee__viewport {
  position: relative;
  width: 100%;
  height: var(--brands-height);

  display: flex;
  align-items: center;

  overflow: hidden;
}


/* ---------------------------------------------------------
   TRACK
   --------------------------------------------------------- */

.brands-marquee__track {
  display: flex;
  align-items: center;

  width: max-content;

  gap: var(--brand-gap);

  padding-right: var(--brand-gap);

  will-change: transform;

  animation:
          brands-marquee-scroll
          28s
          linear
          infinite;
}


/*
 * The track moves exactly 50% of its total width.
 *
 * Because the second half is an identical copy of the
 * first half, the reset is invisible.
 */

@keyframes brands-marquee-scroll {

  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }

}


/* ---------------------------------------------------------
   BRAND ITEM
   --------------------------------------------------------- */

.brand-item {

  position: relative;

  flex: 0 0 var(--brand-width);

  width: var(--brand-width);
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: center;

  /*border: 1px solid rgba(255,255,255,.09);*/
  /*border-radius: 2px;*/

  /*background:*/
  /*        linear-gradient(*/
  /*                180deg,*/
  /*                rgba(255,255,255,.045),*/
  /*                rgba(255,255,255,.015)*/
  /*        );*/

  transition:
          border-color .25s ease,
          background .25s ease,
          transform .25s ease;
}


/* Small technical line */

/*.brand-item::before {*/
/*  content: "";*/

/*  position: absolute;*/

/*  left: 14px;*/
/*  top: 14px;*/

/*  width: 18px;*/
/*  height: 1px;*/

/*  background: var(--color-accent);*/

/*  opacity: .7;*/
/*}*/


/* Small technical corner */

/*.brand-item::after {*/
/*  content: "";*/

/*  position: absolute;*/

/*  right: 14px;*/
/*  bottom: 14px;*/

/*  width: 5px;*/
/*  height: 5px;*/

/*  border-right: 1px solid rgba(255,255,255,.3);*/
/*  border-bottom: 1px solid rgba(255,255,255,.3);*/
/*}*/


/* ---------------------------------------------------------
   BRAND TEXT
   --------------------------------------------------------- */

.brand-name {

  font-family: var(--font-display);

  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  font-weight: 800;

  letter-spacing: .08em;

  color: rgba(255,255,255,.62);

  white-space: nowrap;

  transition:
          color .25s ease,
          opacity .25s ease;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

.brand-item:hover {

  /*border-color: rgba(177,27,56,.55);*/

  /*background:*/
  /*        linear-gradient(*/
  /*                180deg,*/
  /*                rgba(177,27,56,.10),*/
  /*                rgba(255,255,255,.025)*/
  /*        );*/

  transform: translateY(-2px);
}


.brand-item:hover .brand-name {
  color: #fff;
}


/*
 * Pause the WHOLE marquee when the visitor is hovering
 * any brand.
 */

.brands-marquee__track:has(.brand-item:hover) {
  animation-play-state: paused;
}


/* ---------------------------------------------------------
   LEFT + RIGHT EDGE SHADOW / FADE
   ---------------------------------------------------------

   This is the "shadow imitation" you requested.

   Brands entering from the sides gradually disappear
   underneath these gradients.
   --------------------------------------------------------- */

.brands-marquee__viewport::before,
.brands-marquee__viewport::after {

  content: "";

  position: absolute;

  top: 0;
  bottom: 0;

  width: clamp(70px, 10vw, 180px);

  z-index: 5;

  pointer-events: none;
}


/* LEFT */

/* LEFT */
.brands-marquee__viewport::before {
  left: 0;

  background:
          linear-gradient(
                  90deg,
                  #ffffff 0%,
                  rgba(255, 255, 255, 0.96) 25%,
                  rgba(255, 255, 255, 0.60) 60%,
                  rgba(255, 255, 255, 0) 100%
          );
}


/* RIGHT */
.brands-marquee__viewport::after {
  right: 0;

  background:
          linear-gradient(
                  270deg,
                  #ffffff 0%,
                  rgba(255, 255, 255, 0.96) 25%,
                  rgba(255, 255, 255, 0.60) 60%,
                  rgba(255, 255, 255, 0) 100%
          );
}


/* ---------------------------------------------------------
   SUBTLE TOP / BOTTOM LIGHT
   --------------------------------------------------------- */

.brands-marquee::before {

  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 1px;

  background:
          linear-gradient(
                  90deg,
                  transparent,
                  rgba(177,27,56,.45),
                  transparent
          );

  opacity: .7;

  z-index: 10;

  pointer-events: none;
}


/* ---------------------------------------------------------
   REAL LOGO IMAGES
   --------------------------------------------------------- */

.brand-item img {

  display: block;

  width: auto;
  max-width: 212px;
  /*max-height: 42px;*/

  object-fit: contain;

  opacity: .62;

  filter:
          grayscale(1)
          brightness(1.7);

  transition:
          opacity .25s ease,
          filter .25s ease,
          transform .25s ease;
}


.brand-item:hover img {

  opacity: 1;

  filter:
          grayscale(0)
          brightness(1);

  transform: scale(1.04);
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .brands-marquee {
    --brands-height: 115px;
    --brand-width: 190px;
    --brand-gap: 1.5rem;
  }

  .brand-item {
    height: 68px;
  }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .brands-marquee {

    --brands-height: 100px;
    --brand-width: 155px;
    --brand-gap: 1rem;

  }


  .brand-item {

    height: 62px;

  }


  .brand-name {

    font-size: .85rem;

    letter-spacing: .06em;

  }


  .brand-item::before {
    left: 10px;
    top: 10px;
  }


  .brand-item::after {
    right: 10px;
    bottom: 10px;
  }


  .brands-marquee__viewport::before,
  .brands-marquee__viewport::after {

    width: 55px;

  }


  .brand-item img {

    max-width: 115px;
    max-height: 34px;

  }

}


/* ---------------------------------------------------------
   VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 380px) {

  .brands-marquee {

    --brand-width: 140px;
    --brand-gap: .8rem;

  }

}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .brands-marquee__track {

    animation: none;

    transform: none;

  }

}


/* ---------- FOOTER ---------- */
.site-footer { background: var(--color-graphite); color: #cfd3d8;}
.footer-inner { max-width: var(--container-max); margin: 0 auto; padding: var(--space-5) var(--space-3) var(--space-4); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-4); }
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: var(--space-2); }
.footer-col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: var(--space-2); }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: #cfd3d8; font-size: .9rem; }
.footer-col a:hover { color: var(--color-accent); }
.footer-contact li { font-size: .9rem; }

.footer-social {
 display: flex;
 align-items: center;
 gap: .65rem;
 margin-top: var(--space-2);
}

.footer-social a {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #454b53;
  border-radius: 50%;

  background: transparent;

  font-size: 1rem;

  transition:
          color .25s ease,
          background .25s ease,
          border-color .25s ease,
          transform .25s ease;
}

/* Facebook */
.footer-social .social-facebook {
  color: #1877F2;
}

.footer-social .social-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
  transform: translateY(-2px);
}

/* Instagram */
.footer-social .social-instagram {
  color: #E4405F;
}

.footer-social .social-instagram:hover {
  background: #E4405F;
  border-color: #E4405F;
  color: #fff;
  transform: translateY(-2px);
}

/* WhatsApp */
.footer-social .social-whatsapp {
  color: #25D366;
}

.footer-social .social-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom { border-top: 1px solid #33383f; padding: var(--space-2) var(--space-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; max-width: var(--container-max); margin: 0 auto; font-size: .82rem; }
.footer-legal { display: flex; gap: var(--space-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-inner{ margin: 0 auto;
    padding-top: calc(100vh - 550px);}
  .header-actions{margin-left: auto}
  .main-nav, .header-search, .header-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 62px);
    display: flex;
    flex-direction: column;
    background: rgba(244, 242, 238, .92);
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(220, 217, 210, 0.7);
    padding: var(--space-3) var(--space-3) var(--space-3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
    z-index: 499;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);

    transition:
            opacity .35s ease,
            transform .35s ease,
            visibility 0s linear 0s;
  }
  /*.mobile-menu[hidden] { display: none; }*/
  /*.mobile-menu { width: 100vw; height: 100dvh; position: fixed; display: block; backdrop-filter: blur(5px);background: rgba(244, 242, 238, .92); border-top: 1px solid var(--color-border); padding: var(--space-2) var(--space-3) var(--space-3); }*/
  .mobile-search input { width: 100%; padding: .7rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: var(--space-2); }
  .mobile-nav-list { display: flex; flex-direction: column; gap: .2rem; margin-bottom: var(--space-2); }
  .mobile-nav-list a { display: block; padding: .6rem 0; font-weight: 600; border-bottom: 1px solid var(--color-border); }
  .mobile-lang { display: flex; gap: .5rem; margin-bottom: var(--space-2);
    margin-top: 77%;}
  .mobile-lang a { padding: .4rem .8rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: .8rem; font-weight: 700; }
  .mobile-lang a.active { background: var(--color-graphite); color: #fff; }

  .product-hero-grid, .contact-layout, .products-layout, .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   MOBILE — FORCE PAGE CONTENT TO REMAIN VISIBLE
   ========================================================= */

@media (max-width: 960px) {

  body.page-products #main-content,
  body.page-products #main-content > *,
  body.page-products .page-hero,
  body.page-products .products-search,
  body.page-products .products-search *,
  body.page-products .section,
  body.page-products .products-layout,
  body.page-products .products-main,
  body.page-products .product-grid,
  body.page-products .product-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

}


/* =========================================================
   SMART GRID — HOME PAGE SECTIONS
   Card count divisible by 3  → 3 per row
   Any other count            → 4 per row
   (Categories / Featured products / Services)
   Mobile (≤560px) keeps the horizontal scroll layout.
   ========================================================= */

@media (min-width: 561px) {

  .categories-section .category-grid,
  .featured-section .product-grid,
  .services-section .service-grid {
    --cols: 4;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    gap: var(--space-3);
  }

  /* Count is 3, 6, 9, 12... → 3 columns */
  .categories-section .category-grid:has(> :last-child:nth-child(3n)),
  .featured-section .product-grid:has(> :last-child:nth-child(3n)),
  .services-section .service-grid:has(> :last-child:nth-child(3n)) {
    --cols: 3;
  }
}

/* Tablet: 2 columns, except counts divisible by 3 stay at 3 */
@media (min-width: 561px) and (max-width: 960px) {

  .categories-section .category-grid,
  .featured-section .product-grid,
  .services-section .service-grid {
    --cols: 2;
  }
}

@media (max-width: 560px) {

  .footer-inner {
    grid-template-columns: 1fr;
  }

  /* =========================================================
     MOBILE HORIZONTAL SCROLL
     Categories / Products / Services
     ========================================================= */

  .category-grid,
  .product-grid,
  .service-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding: var(--space-3) 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-grid::-webkit-scrollbar,
  .product-grid::-webkit-scrollbar,
  .service-grid::-webkit-scrollbar {
    display: none;
  }

  /* Cards */
  .category-card,
  .product-card,
  .service-card {
    flex: 0 0 82%;
    min-width: 82%;

    scroll-snap-align: start;
  }

  /* Category image */
  .category-image {
    aspect-ratio: 4 / 3;
  }

  /* Product image */
  .product-card-media {
    aspect-ratio: 4 / 3;
  }

  /* Prevent text from becoming too wide */
  .service-card {
    padding: var(--space-3);
  }

  .products-main .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    overflow: visible;
    padding: 0;
  }
}


.footer-credit {
  border-top: 1px solid #33383f;
  padding: var(--space-2) var(--space-3);
  text-align: center;
  font-size: .8rem;
}

.footer-credit p {
  margin: 0;
  color: #8b9199;
}

.footer-credit a {
  color: #cfd3d8;
  font-weight: 600;
  transition: color .25s ease;
}

.footer-credit a:hover {
  color: var(--color-accent);
}





/* =========================================================
   AVTOKAR — CAREERS HERO ICON REVEAL
   Industrial icon stack / staggered entrance
   ========================================================= */

.careers-page-hero .section-inner {
  position: relative;
}

.careers-hero-icons {
  --career-icon-size: 48px;
  --career-icon-overlap: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  isolation: isolate;
}

.careers-hero-icon {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: left;

  flex: 0 0 var(--career-icon-size);
  width: var(--career-icon-size);

  margin-left: calc(-1 * var(--career-icon-overlap));

  color: var(--color-accent);
  opacity: 0;
  transform: translate3d(-22px, 7px, 0) scale(0.78);
  /*animation: careersIconReveal 650ms*/
  /*cubic-bezier(0.22, 1, 0.36, 1) forwards;*/

  will-change: transform, opacity;
}

body.loader-done .careers-hero-icon {
  animation-name: careersIconReveal;
  animation-duration: 650ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.careers-hero-icon:first-child {
  margin-left: 0 !important;
}

/* Earlier icons remain in front of incoming icons */
.careers-hero-icon:nth-child(1) {
  z-index: 5;
  animation-delay: 100ms;
}

.careers-hero-icon:nth-child(2) {
  z-index: 4;
  animation-delay: 280ms;
}

.careers-hero-icon:nth-child(3) {
  z-index: 3;
  animation-delay: 460ms;
}

.careers-hero-icon:nth-child(4) {
  z-index: 2;
  animation-delay: 640ms;
}

.careers-hero-icon:nth-child(5) {
  z-index: 1;
  animation-delay: 820ms;
}

/* Lucide SVG icons */
.careers-hero-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke-width: 1.65;
}

/* Each icon emerges from behind the previous one */
@keyframes careersIconReveal {
  0% {
    opacity: 0;
    transform: translate3d(-22px, 7px, 0) scale(0.78);
  }

  65% {
    opacity: 1;
    transform: translate3d(3px, -2px, 0) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}



.careers-hero .hero-icon {
  opacity: 0;
  transform: translateY(20px) scale(0.7);
  transition:
          opacity 0.4s ease,
          transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.careers-hero .hero-icon.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Mobile */
@media (max-width: 600px) {
  .careers-hero-icons {
    --career-icon-size: 42px;
    --career-icon-overlap: 11px;

    margin-bottom: 1rem;
  }

  .careers-hero-icon {
    border-radius: 10px;
  }

  .careers-hero-icon svg {
    width: 19px;
    height: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .careers-hero-icon {
    animation: none !important;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}



.section-name-box{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  color: #1c1f24;
  font-family: var(--font-display);
}

.square_to_border_square {
  width: 12px;
  height: 12px;
  min-width: 10px;
  min-height: 10px;
  animation: forthAnimation 1s ease-in-out alternate forwards infinite;
}

@keyframes forthAnimation {
  0% {
    transform: rotate(0deg);
    border-radius: 0;
    background-color: #000000;
  }

  100% {
    transform: rotate(180deg);
    border-radius: 50%;
    background-color: #b11939;
  }
}



/* =========================================================
   APPLICATION MODAL
   ========================================================= */

.modal-dialog { padding: clamp(1.5rem, 4vw, 2.25rem); }
.modal-dialog::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 3px; background: var(--color-accent); }

.modal-head { margin-bottom: 1.25rem; padding-right: 2rem; }
.modal-head h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.modal-head .modal-product-name { margin: 0; font-size: .92rem; }
.modal-head .modal-product-name strong { color: var(--color-text); }

.modal-close {
  width: 36px; height: 36px; top: .9rem; right: .9rem;
  display: grid; place-items: center; border-radius: 50%;
  transition: background .2s ease, color .2s ease, transform .3s ease;
}
.modal-close:hover { background: var(--color-surface-alt); transform: rotate(90deg); }

.apply-form { gap: .9rem; }
.apply-form .field { padding-bottom: .9rem; }
.apply-form .field-line { bottom: .9rem; }
.apply-form .field textarea { min-height: 84px; }

.modal-feedback { min-height: 0; margin: 0; }
.modal-feedback:empty { display: none; }
.modal-feedback.is-error,
.modal-feedback.is-success { padding: .7rem .9rem; border-radius: var(--radius); }
.modal-feedback.is-error   { background: #fbeceb; border: 1px solid #efb9b5; }
.modal-feedback.is-success { background: #e7f4ea; border: 1px solid #a9d6b3; }

@media (prefers-reduced-motion: reduce) {
  .modal-close { transition: none; }
}