
:root {
  --primary: #b98242;
  --primary-dark: #8d612f;
  --dark: #1e2329;
  --text: #313131;
  --muted: #686868;
  --light: #f6f3ef;
  --white: #ffffff;
  --border: #e4dfd8;
  --danger: #b24b35;

  --IMAGE_FACTORY_MAIN: url("assets/hero-showroom.webp");
  --IMAGE_PRODUCT_1: url("assets/product-handbag.webp");
  --IMAGE_PRODUCT_2: url("assets/cat-hobo.jpg");
  --IMAGE_PRODUCT_3: url("assets/product-tote.webp");
  --IMAGE_PRODUCT_4: url("assets/product-shoulder.webp");
  --IMAGE_PRODUCT_5: url("assets/product-crossbody.webp");
  --IMAGE_PRODUCT_6: url("assets/product-backpack.webp");
  --IMAGE_PRODUCT_7: url("assets/cat-bucket.jpg");
  --IMAGE_PRODUCT_8: url("assets/cat-box.jpg");
  --IMAGE_PRODUCT_9: url("assets/cat-baguette.jpg");
  --IMAGE_PRODUCT_10: url("assets/product-oem.webp");
  --IMAGE_MATERIAL_CUTTING: url("assets/material-cutting.webp");
  --IMAGE_PRODUCTION_LINE: url("assets/production-line.webp");
  --IMAGE_QUALITY_INSPECTION: url("assets/quality-inspection.webp");
  --IMAGE_PACKING_SHIPPING: url("assets/packing-finished.webp");
  --IMAGE_FACTORY_OVERVIEW: url("assets/production-line.webp");
  --IMAGE_SOLUTION_SAMPLE_CHECK: url("assets/quality-inspection.webp");
  --IMAGE_SOLUTION_EXPORT_LOADING: url("assets/container-loading.webp");
  --IMAGE_GALLERY_SHOWROOM: url("assets/showroom-display.webp");
  --IMAGE_GALLERY_HERO: url("assets/hero-showroom.webp");
  --IMAGE_GALLERY_CONTAINER: url("assets/container-loading.webp");
  --IMAGE_GALLERY_PRODUCTION: url("assets/production-line.webp");
  --IMAGE_GALLERY_PACKING: url("assets/packing-finished.webp");
  --IMAGE_GALLERY_MATERIAL: url("assets/material-cutting.webp");
  --IMAGE_GALLERY_BUYER: url("assets/buyer-visit-africa.webp");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.hero-metrics span {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(20,20,20,.48);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.product-info::after {
  content: "Логотип и цвета под заказ";
  display: inline-block;
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.trust-badges span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
}

.form-row > :only-child {
  grid-column: 1 / -1;
}

.email-copy {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 22px 0;
  color: var(--white);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
}

.header-actions {
  display: flex;
  gap: 12px;
  font-weight: 700;
}

.header-actions a {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 4px;
  background: rgba(0, 0, 0, .12);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 29, .92) 0%, rgba(20, 24, 29, .7) 50%, rgba(20, 24, 29, .18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: center;
}

.hero-text {
  max-width: 760px;
}

.eyebrow {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-subtitle {
  max-width: 640px;
  color: #eeeeee;
  font-size: 19px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
  font-size: 19px;
}

.hero-points li::before {
  content: "\2713";
  color: var(--primary);
  margin-right: 10px;
  font-weight: 800;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-quick-form {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  background: rgba(20, 24, 29, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
}

.hero-quick-form h2 {
  color: #fff;
  font-size: 25px;
  margin-bottom: 8px;
}

.hero-quick-form > p {
  color: #e7e7e7;
  font-size: 14px;
  margin-bottom: 16px;
}

.hero-quick-form input,
.hero-quick-form select {
  width: 100%;
  height: 46px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
}

.hero-quick-form .btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  transition: .2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  color: var(--dark);
  background: var(--white);
}

.trust-section {
  background: var(--dark);
  color: var(--white);
  padding: 34px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  border-left: 1px solid rgba(255, 255, 255, .25);
  padding-left: 24px;
}

.trust-item strong {
  display: block;
  color: var(--primary);
  font-size: 34px;
  line-height: 1.1;
}

.trust-item span {
  display: block;
  color: #dedede;
  margin-top: 6px;
}

.section {
  padding: 86px 0;
}

.section-header {
  max-width: 740px;
  margin-bottom: 42px;
}

.section-header h2,
.inquiry-text h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--muted);
}

.split-header {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.split-header h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.split-header > p {
  color: var(--muted);
}

.pain-section {
  background: #fbfaf8;
}

.pain-grid,
.factory-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-cta-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
}

.product-cta-card .eyebrow { color: var(--primary); }
.product-cta-card h3 { font-size: 27px; line-height: 1.2; margin: 10px 0 14px; }
.product-cta-card p { color: #d7dbe0; margin-bottom: 20px; }
.product-cta-card .btn { align-self: flex-start; }

.pain-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--danger);
  background: var(--white);
}

.pain-card span {
  display: inline-flex;
  color: var(--danger);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 22px;
}

.pain-card h3 {
  color: var(--dark);
  font-size: 22px;
  margin-bottom: 10px;
}

.pain-card p {
  color: var(--muted);
  font-size: 15px;
}

.solution-section {
  background: var(--dark);
  color: var(--white);
}

.solution-wrapper {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.solution-copy h2 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.16;
  margin-bottom: 16px;
}

.solution-copy > p {
  color: #d8d8d8;
  margin-bottom: 26px;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
}

.solution-list strong,
.solution-list span {
  display: block;
}

.solution-list strong {
  color: var(--primary);
  margin-bottom: 4px;
}

.solution-list span {
  color: #dcdcdc;
  font-size: 15px;
}

.solution-visual {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.solution-large,
.solution-small {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 230px;
}

.solution-large {
  grid-row: span 2;
  min-height: 520px;
}

.buyer-carousel {
  overflow: hidden;
  background: #171c21;
  isolation: isolate;
}

.buyer-carousel-track,
.buyer-carousel-slide {
  position: absolute;
  inset: 0;
}

.buyer-carousel-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

.buyer-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.buyer-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.buyer-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  background: rgba(20,24,29,.68);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.buyer-carousel-control:hover,
.buyer-carousel-control:focus-visible {
  background: rgba(185,130,66,.94);
}

.buyer-carousel-prev { left: 12px; }
.buyer-carousel-next { right: 12px; }

.buyer-carousel-dots {
  position: absolute;
  right: 24px;
  bottom: 61px;
  z-index: 4;
  display: flex;
  gap: 7px;
}

.buyer-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  cursor: pointer;
}

.buyer-carousel-dot.is-active { background: var(--primary); }
.buyer-carousel .photo-caption { z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .buyer-carousel-slide { transition: none; }
}

.product-card,
.factory-step {
  background: var(--white);
  border: 1px solid var(--border);
}

.card-image {
  min-height: 230px;
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 3;
}

.product-info {
  padding: 22px;
}

.product-info h3,
.factory-step h3,
.why-item h3 {
  color: var(--dark);
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.product-info p,
.factory-step p,
.why-item p {
  color: var(--muted);
  font-size: 15px;
}

.product-inquiry-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.factory-section,
.gallery-section,
.video-section,
.faq-section {
  background: var(--light);
}

.photo-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 11px;
  background: rgba(24, 29, 34, .82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.factory-step h3 {
  padding: 20px 20px 6px;
  margin-bottom: 0;
}

.factory-step p {
  padding: 0 20px 22px;
}

.capability-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.capability-image {
  min-height: 520px;
  background-size: cover;
  background-position: center;
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.capability-list article {
  padding: 26px;
  background: var(--light);
  border: 1px solid var(--border);
}

.capability-list strong,
.capability-list span {
  display: block;
}

.capability-list strong {
  color: var(--dark);
  font-size: 20px;
  margin-bottom: 8px;
}

.capability-list span {
  color: var(--muted);
  font-size: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-item {
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.gallery-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.why-item {
  background: #fafafa;
  border-top: 4px solid var(--primary);
  padding: 28px;
}

.video-wrapper {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}

.video-box {
  min-height: 430px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.video-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 29, .52);
}

.video-embed {
  background: var(--dark) var(--IMAGE_FACTORY_OVERVIEW) center / cover no-repeat;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 0;
  width: 100%;
  cursor: pointer;
}

.video-embed::before {
  display: block;
  z-index: 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-load-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  color: #fff;
  text-align: center;
}

.video-load-content strong {
  font-size: clamp(22px, 3vw, 32px);
}

.play-button {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
  margin-bottom: 18px;
}

.play-button::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 23px;
  border-left: 22px solid var(--white);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.video-copy h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  margin-bottom: 14px;
}

.video-copy p {
  color: var(--muted);
  margin-bottom: 24px;
}

.gallery-company-card {
  grid-column: span 2;
  grid-row: span 2;
  padding: 30px;
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
}

.gallery-company-card h3 { font-size: 25px; margin: 8px 0 14px; }
.gallery-company-card p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.gallery-company-card ul { margin: 18px 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.gallery-company-card a { color: var(--primary-dark); text-decoration: underline; }
.gallery-company-card .company-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.gallery-company-card .company-links a { padding: 8px 11px; border: 1px solid var(--border); border-radius: 4px; background: var(--light); text-decoration: none; font-weight: 700; }

.verification-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.verification-row span {
  padding: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.faq-wrapper {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 54px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 24px;
}

.faq-intro h2 {
  color: var(--dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 500;
  line-height: .9;
  margin-bottom: 24px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  color: var(--dark);
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.faq-item h3::before {
  content: "\25BC";
  color: var(--primary);
  font-size: 15px;
  margin-right: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.inquiry-section {
  background: var(--dark);
  color: var(--white);
}

.inquiry-wrapper {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.inquiry-text h2 {
  color: var(--white);
}

.inquiry-text p {
  color: #d8d8d8;
  margin-bottom: 24px;
}

.contact-note {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .22);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note span {
  color: #d8d8d8;
  margin-top: 6px;
}

.inquiry-form {
  background: var(--white);
  border-radius: 6px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  height: 52px;
  margin-bottom: 14px;
  padding: 0 15px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--primary);
}

.inquiry-form textarea {
  height: auto;
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.field-error {
  display: block;
  min-height: 16px;
  margin: -9px 0 8px;
  color: var(--danger);
  font-size: 12px;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-button {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

.form-note-success { color: #177245; }
.form-note-error { color: var(--danger); }

.float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  font-weight: 800;
  padding: 13px 20px;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.wa-btn {
  background: #25d366;
}

.wa-btn:hover {
  background: #1fb85a;
}

.tg-btn {
  background: #2aabee;
}

.tg-btn:hover {
  background: #1e96d4;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.image-factory-main { background-image: var(--IMAGE_FACTORY_MAIN); }
.image-product-1 { background-image: var(--IMAGE_PRODUCT_1); }
.image-product-2 { background-image: var(--IMAGE_PRODUCT_2); }
.image-product-3 { background-image: var(--IMAGE_PRODUCT_3); }
.image-product-4 { background-image: var(--IMAGE_PRODUCT_4); }
.image-product-5 { background-image: var(--IMAGE_PRODUCT_5); }
.image-product-6 { background-image: var(--IMAGE_PRODUCT_6); }
.image-product-7 { background-image: var(--IMAGE_PRODUCT_7); }
.image-product-8 { background-image: var(--IMAGE_PRODUCT_8); }
.image-product-9 { background-image: var(--IMAGE_PRODUCT_9); }
.image-product-10 { background-image: var(--IMAGE_PRODUCT_10); }
.image-material-cutting { background-image: var(--IMAGE_MATERIAL_CUTTING); }
.image-production-line { background-image: var(--IMAGE_PRODUCTION_LINE); }
.image-quality-inspection { background-image: var(--IMAGE_QUALITY_INSPECTION); }
.image-packing-shipping { background-image: var(--IMAGE_PACKING_SHIPPING); }
.image-factory-overview { background-image: var(--IMAGE_FACTORY_OVERVIEW); }
.image-solution-sample-check { background-image: var(--IMAGE_SOLUTION_SAMPLE_CHECK); }
.image-solution-export-loading { background-image: var(--IMAGE_SOLUTION_EXPORT_LOADING); }
.image-gallery-showroom { background-image: var(--IMAGE_GALLERY_SHOWROOM); }
.image-gallery-hero { background-image: var(--IMAGE_GALLERY_HERO); }
.image-gallery-container { background-image: var(--IMAGE_GALLERY_CONTAINER); }
.image-gallery-production { background-image: var(--IMAGE_GALLERY_PRODUCTION); }
.image-gallery-packing { background-image: var(--IMAGE_GALLERY_PACKING); }
.image-gallery-material { background-image: var(--IMAGE_GALLERY_MATERIAL); }
.image-gallery-buyer { background-image: var(--IMAGE_GALLERY_BUYER); }

@media (max-width: 980px) {
  .hero {
    min-height: 680px;
  }

  .trust-grid,
  .product-grid,
  .factory-grid,
  .why-grid,
  .pain-grid,
  .capability-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-header,
  .hero-grid,
  .solution-wrapper,
  .capability-layout,
  .video-wrapper,
  .faq-wrapper,
  .inquiry-wrapper {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .hero-quick-form {
    max-width: 620px;
  }

  .solution-large {
    min-height: 420px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
    padding-top: 16px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
  }

  .header-actions a {
    flex: 1 1 auto;
    text-align: center;
    padding: 7px 9px;
  }

  .hero {
    min-height: auto;
    padding-top: 205px;
    background-position: center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 42px);
    overflow-wrap: anywhere;
  }

  .hero-subtitle,
  .hero-points {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-grid,
  .hero-text,
  .hero-quick-form {
    min-width: 0;
    width: 100%;
  }

  .float-stack {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
    gap: 8px;
  }

  .float-btn {
    padding: 11px 15px;
    font-size: 13px;
    white-space: normal;
  }

  .trust-grid,
  .product-grid,
  .factory-grid,
  .why-grid,
  .pain-grid,
  .solution-visual,
  .capability-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .solution-large {
    grid-row: auto;
    min-height: 280px;
  }

  .solution-small,
  .capability-image,
  .video-box {
    min-height: 280px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro p,
  .faq-item p {
    font-size: 16px;
  }

  .inquiry-form {
    padding: 24px;
  }

  .float-stack {
    right: 14px;
    bottom: 14px;
    gap: 9px;
  }

  .float-btn {
    padding: 12px 17px;
    font-size: 13px;
  }

  .inquiry-section {
    padding-bottom: 110px;
  }

  .gallery-company-card { grid-column: 1 / -1; grid-row: auto; }
  .verification-row { grid-template-columns: repeat(2, 1fr); }
}


/* ===== RTL 修正（阿拉伯语站） ===== */
[dir="rtl"] .hero-content, [dir="rtl"] .split { direction: rtl; }
[dir="rtl"] .float-stack { left: 18px; right: auto; }
[dir="rtl"] .wa-float, [dir="rtl"] .tg-btn { left: 18px; right: auto; }
[dir="rtl"] .breadcrumb .sep { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .btn .arrow, [dir="rtl"] .more::after { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] ul.checklist li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] ul.checklist li::before { left: auto; right: 0; }
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { text-align: right; }

/* ===== 补充：阿语首页新增区块的样式（与全站同一套配色） ===== */
.brand { font-weight:800; font-size:20px; color:#1e2329; text-decoration:none; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.header-nav { display:flex; gap:18px; flex-wrap:wrap; }
.header-nav a { color:#4a5158; font-weight:600; text-decoration:none; font-size:15px; }
.header-nav a:hover { color:#b98242; }
.header-cta { padding:8px 18px; font-size:14px; }
.sec-title { font-size:30px; line-height:1.35; color:#1e2329; margin:0 0 12px; }
.thumb { background-size:cover; background-position:center; border-radius:10px; min-height:190px; background-color:#e9e4dd; }
.gallery-grid .thumb { min-height:165px; }
.product-card h3, .factory-step h3 { margin:12px 0 6px; font-size:18px; color:#1e2329; }
.product-card p, .factory-step p { margin:0; color:#5b636b; line-height:1.7; font-size:15px; }
.more { display:inline-block; margin-top:10px; color:#b98242; font-weight:700; font-size:14px; }
.faq { display:flex; flex-direction:column; gap:10px; margin-top:20px; }
.faq details { background:#fff; border:1px solid #e4dfd8; border-radius:10px; padding:14px 18px; }
.faq summary { font-weight:700; cursor:pointer; color:#1e2329; font-size:16px; }
.faq .ans { margin-top:10px; color:#5b636b; line-height:1.8; }
.capability-grid, .solution-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:24px; }
.capability-card, .solution-card { background:#fff; border:1px solid #e4dfd8; border-radius:12px; padding:22px; }
.capability-card h3, .solution-card h3 { margin:0 0 8px; color:#1e2329; font-size:18px; }
.capability-card p, .solution-card p { margin:0; color:#5b636b; line-height:1.75; font-size:15px; }
.product-section, .why-section { background:#f6f3ef; }
@media (max-width:720px){
  .sec-title { font-size:23px; }
  .header-nav { gap:12px; font-size:14px; }
}
