﻿/* Guangzhou Auto Parts — Figma 1:1 (1920 design width) */
:root {
  --color-olive: #3d4a2d;
  --color-olive-muted: #505c42;
  --color-lime: #d4dd82;
  --color-lime-soft: #c8d175;
  --color-ink: #000f22;
  --color-body: #43474d;
  --color-muted: #5a5e52;
  --color-label: #8b8a97;
  --color-placeholder: #9a9e8e;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8f6;
  --color-bg-soft-2: #f7f8f5;
  --color-partner: #e6eadf;
  --color-border: #e4e8db;
  --color-hero-title: #f7f8f7;
  --color-hero-btn-text: #141d23;
  --max: 1500px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.25s;
  --dur: 0.7s;
  --dur-slow: 1.1s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-ink);
  background: #f6faff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft),
    height var(--dur-fast) var(--ease-soft);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(61, 74, 45, 0.08);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 2px;
  color: var(--color-olive);
  white-space: nowrap;
}

.logo img {
  display: block;
  max-height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 20px;
  line-height: 21px;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-soft);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease-out);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active,
.nav-link:hover {
  font-weight: 700;
  color: var(--color-olive);
  line-height: 24px;
}

.search-box {
  width: 256px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.05);
}

.search-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 20px;
  color: var(--color-ink);
}

.search-box input::placeholder {
  color: var(--color-placeholder);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--color-olive);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: clamp(460px, 85vh, 850px);
  margin-top: 0;
  overflow: hidden;
  opacity: 0.9;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease-out);
}

body:not(.is-loading) .hero-swiper .swiper-slide-active .hero-image,
body:not(.is-loading) .hero-image {
  transform: scale(1);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(896px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  text-align: center;
}

.hero-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: width var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 9999px;
  background: var(--color-lime);
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(20, 29, 35, 0.28);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-soft);
}

.hero-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-40%, -50%) rotate(45deg);
}

.hero-nav--prev {
  left: 28px;
}

.hero-nav--prev::before {
  transform: translate(-20%, -50%) rotate(-135deg);
}

.hero-nav--next {
  right: 28px;
}

.hero-nav:hover {
  background: rgba(20, 29, 35, 0.45);
  border-color: rgba(255, 255, 255, 0.55);
  transform: scale(1.04);
}

.hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2rem, 5.2vw, 6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-hero-title);
  white-space: normal;
  word-break: break-word;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: clamp(14px, 2vw, 20px) clamp(20px, 4vw, 56px);
  border-radius: 9999px;
  background: var(--color-lime);
  color: var(--color-hero-btn-text);
  font-size: clamp(14px, 1.6vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease-out) 0.2s,
    transform var(--dur) var(--ease-out) 0.2s,
    box-shadow var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft);
}

body:not(.is-loading) .hero-swiper .swiper-slide-active .hero-title,
body:not(.is-loading) .hero-swiper .swiper-slide-active .btn-hero,
body:not(.is-loading) .hero-title,
body:not(.is-loading) .btn-hero {
  opacity: 1;
  transform: translateY(0);
}

.hero-swiper .swiper-slide:not(.swiper-slide-active) .hero-title,
.hero-swiper .swiper-slide:not(.swiper-slide-active) .btn-hero {
  opacity: 0;
  transform: translateY(20px);
}

.btn-hero:hover {
  transform: translateY(-3px);
  background: #dde68f;
  box-shadow: 0 24px 30px -6px rgba(0, 0, 0, 0.18);
}

.btn-hero:active {
  transform: translateY(-1px);
}

/* ========== About ========== */
.about {
  background: #fff;
  opacity: 0.9;
}

.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 635px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: inherit;
  text-decoration: none;
}

a.section-label:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-label img {
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
}

.section-label span {
  font-size: 24px;
  font-weight: 900;
  line-height: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-lime);
}

.about-title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink);
}

.about-title span {
  display: block;
}

.about-text {
  margin: 0 0 48px;
  max-width: 512px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--color-body);
}

.about-stats {
  display: flex;
  gap: 32px;
}

.stat {
  flex: 1;
  min-width: 0;
}

.stat-value {
  font-size: 32px;
  line-height: 48px;
  color: var(--color-ink);
}

.stat-label {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-label);
}

.about-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.about-media img {
  position: absolute;
  top: 0;
  left: -20.8%;
  width: 141.59%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.about-media.is-inview img {
  transform: scale(1.04);
}

/* ========== Products ========== */
.products {
  background: var(--color-bg-soft);
  padding: 128px 0;
  opacity: 0.9;
}

.products .container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.products-header {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-heading {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 900;
  line-height: 24px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section-heading img {
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
}

.section-heading--muted {
  color: var(--color-olive-muted);
}

.section-heading--accent {
  color: var(--color-lime);
}

.heading-rule {
  width: 96px;
  height: 4px;
  margin: 16px auto 0;
  background: var(--color-lime);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s var(--ease-out) 0.15s;
}

.reveal.is-inview .heading-rule {
  transform: scaleX(1);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: 0;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-muted);
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-soft);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--color-lime);
  color: var(--color-olive);
  font-weight: 700;
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.filter-btn.is-active {
  box-shadow: 0 8px 18px rgba(212, 221, 130, 0.35);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  transition: opacity var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft);
}

.product-grid.is-switching {
  opacity: 0.35;
  transform: translateY(8px);
}

.product-card {
  transition: transform var(--dur-fast) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card h3 {
  margin: 12px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-ink);
}

.product-card p {
  margin: 12px 0 24px;
  min-height: 80px;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-muted);
}

.product-thumb {
  height: 280px;
  padding: 32px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 1px;
  border: 1px solid var(--color-olive);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-olive);
  transition: background var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out);
}

.btn-outline:hover {
  background: var(--color-olive);
  color: #fff;
}

.products-more {
  display: flex;
  justify-content: center;
}

.btn-show-all {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 9px 9px 9px 33px;
  border: 1px solid var(--color-lime);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-olive);
  transition: background var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out);
}

.btn-show-all:hover {
  background: rgba(212, 221, 130, 0.2);
  transform: translateY(-2px);
}

.btn-show-all__icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--color-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn-show-all:hover .btn-show-all__icon {
  transform: translateX(3px);
}

.btn-show-all__icon img {
  width: 13px;
  height: 13px;
  transform: rotate(-45deg);
}

/* ========== Advantages ========== */
.advantages {
  background: #fff;
  padding: 0 0 96px;
  opacity: 0.9;
}

.advantages-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 128px 24px 0;
  text-align: center;
}

.advantage-grid {
  width: 100%;
  max-width: 1452px;
  margin: 96px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.advantage-card {
  position: relative;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
}

.advantage-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.advantage-card:hover .advantage-card__bg {
  transform: scale(1.08);
}

.advantage-card__bg--wide {
  object-position: center;
}

.advantage-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: opacity var(--dur-fast) var(--ease-soft);
}

.advantage-card:hover .advantage-card__gradient {
  opacity: 0.92;
}

.advantage-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(6px);
  transition: transform var(--dur-fast) var(--ease-out);
}

.advantage-card:hover .advantage-card__body {
  transform: translateY(0);
}

.accent-bar {
  width: 48px;
  height: 4px;
  background: var(--color-lime);
  transform-origin: left center;
  transition: width var(--dur-fast) var(--ease-out);
}

.advantage-card:hover .accent-bar {
  width: 72px;
}

.advantage-card__body h3 {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: #fff;
}

.advantage-card__body p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== Partners ========== */
.partners {
  background: var(--color-bg-soft-2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 96px 0;
  opacity: 0.9;
}

.partners-header {
  max-width: var(--max);
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: center;
}

.partner-logos {
  width: 100%;
  max-width: 1452px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  opacity: 0.7;
}

.partner-logo {
  width: 100%;
  min-width: 0;
  height: 100px;
  border-radius: 12px;
  background: var(--color-partner);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 1.4vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--color-olive);
  transition: transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft);
}

.partner-logo:hover {
  transform: translateY(-4px);
  background: #edf1e6;
  box-shadow: 0 10px 20px rgba(61, 74, 45, 0.08);
}

.partner-logo img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
}

.partner-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ========== Contact ========== */
.contact {
  background: var(--color-bg-soft-2);
  padding: 128px 0;
  opacity: 0.9;
}

.contact .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.contact-item__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-item__title img {
  width: 31px;
  flex: 0 0 31px;
}

.contact-item__title span {
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--color-ink);
}

.contact-item p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-ink);
}

.contact-item p a {
  color: inherit;
  text-decoration: none;
}

.contact-item p a:hover {
  color: var(--color-olive);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand {
  color: inherit;
  text-decoration: none;
  display: block;
}

.footer-brand:hover .footer-brand__name {
  color: var(--color-lime);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 65px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-cta__text {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 900;
  line-height: 24px;
  color: var(--color-ink);
}

.status-dots {
  position: relative;
  width: 36px;
  height: 24px;
  flex: 0 0 36px;
}

.status-dots i {
  position: absolute;
  top: 0;
  border-radius: 9999px;
  display: block;
}

.status-dots i:nth-child(1) {
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--color-lime);
  animation: pulse-dot 1.8s var(--ease-soft) infinite;
}

.status-dots i:nth-child(2) {
  left: 12px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--color-olive);
}

.status-dots i:nth-child(3) {
  left: 24px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-border);
}

.btn-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 9999px;
  background: var(--color-olive);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: opacity var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-soft);
}

.btn-chat img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.btn-chat:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(61, 74, 45, 0.28);
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

/* ========== Scroll reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translateX(-24px);
}

.reveal--right {
  transform: translateX(24px);
}

main {
  overflow-x: clip;
  width: 100%;
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--color-olive);
  color: #fff;
  padding: 80px 0 40px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 1px;
}

.footer-brand__tag {
  font-size: 13px;
  line-height: 19.5px;
  color: var(--color-lime-soft);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-placeholder);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.socials a {
  width: 20px;
  height: 20px;
}

.socials img {
  width: 20px;
  height: 20px;
}

.footer-note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-placeholder);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  color: var(--color-placeholder);
}

/* ========== Responsive ========== */
@media (max-width: 1440px) {
  .about-copy {
    padding: 80px 48px;
  }
}

@media (max-width: 1200px) {
  .site-nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 16px;
  }

  .search-box {
    width: min(200px, 28vw);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-card {
    height: 480px;
  }

  .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .search-box {
    display: none;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .hero-nav--prev {
    left: 12px;
  }

  .hero-nav--next {
    right: 12px;
  }

  .hero-pagination {
    bottom: 20px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 64px 24px;
  }

  .about-media {
    min-height: 360px;
  }

  .about-media img {
    left: 0;
    width: 100%;
  }

  .products,
  .contact {
    padding: 80px 0;
  }

  .products .container,
  .contact .container {
    gap: 40px;
  }

  .advantages-header {
    padding-top: 80px;
  }

  .advantage-grid {
    margin-top: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-cta {
    flex-direction: column;
    align-items: stretch;
    padding-top: 40px;
    gap: 20px;
  }

  .contact-cta__text {
    font-size: 18px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .container,
  .footer-inner,
  .advantages-header,
  .advantage-grid,
  .partner-logos {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 1px;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-nav {
    display: none;
  }

  .hero-content {
    padding: 0 16px;
    gap: 24px;
  }

  .btn-hero {
    width: 100%;
  }

  .section-label span,
  .section-heading {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-value {
    font-size: 28px;
    line-height: 1.2;
  }

  .category-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .filter-btn {
    flex: 0 0 auto;
    font-size: 15px;
    padding: 10px 18px;
  }

  .product-grid,
  .advantage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .advantage-card {
    height: 380px;
  }

  .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .partner-logo {
    height: 80px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .btn-chat {
    width: 100%;
    justify-content: center;
  }
}
@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;
  }

  .reveal,
  .reveal--left,
  .reveal--right,
  .hero-title,
  .btn-hero,
  .hero-image {
    opacity: 1 !important;
    transform: none !important;
  }

  body.is-loading .hero-title,
  body.is-loading .btn-hero {
    opacity: 1;
    transform: none;
  }
}
