:root {
  --cream: #f8f4ef;
  --sand: #efe6d8;
  --sand-deep: #d9d0bf;
  --coffee: #8b5a2b;
  --coffee-dark: #65401f;
  --ink: #1e1208;
  --text: #2b2b2b;
  --muted: #666;
  --quiet: #999;
  --gold: #c8a45d;
  --white: #fff;
  --shadow: 0 4px 20px rgba(30, 18, 8, 0.08);
  --shadow-hover: 0 18px 44px rgba(30, 18, 8, 0.15);
  --radius: 12px;
  --header-height: 72px;
  --container: 1320px;
  --watermark: "CIC 家居";
  color-scheme: light;
}

html[lang="en"] {
  --watermark: "CIC Home";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
}

h2 {
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 700;
}

h3 {
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 600;
}

h4 {
  font-size: 22px;
  font-weight: 600;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section--compact {
  padding: 50px 0;
}

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

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

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

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.section-heading__eyebrow,
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 13px;
}

.section-heading__line {
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto 16px;
  background: var(--gold);
}

.section-heading--left .section-heading__line {
  margin-left: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.text-gold {
  color: var(--gold);
}

.small-en {
  display: block;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(139, 90, 43, 0.1);
  background: rgba(248, 244, 239, 0.96);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(30, 18, 8, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin-inline: auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 48px;
  height: 34px;
  object-fit: contain;
}

.brand__copy {
  display: grid;
  gap: 1px;
  padding-left: 10px;
  border-left: 1px solid var(--gold);
}

.brand__name {
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand__tagline {
  color: var(--quiet);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 20px;
}

.nav-link {
  position: relative;
  display: grid;
  align-content: center;
  color: var(--text);
  font-size: 14px;
  line-height: 1.12;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link small {
  display: block;
  margin-top: 3px;
  color: var(--quiet);
  font-size: 9px;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  height: 4px;
  background: var(--gold);
  content: "";
  transition: left 0.25s ease, right 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--coffee);
}

.nav-link:hover small,
.nav-link.is-active small {
  color: var(--coffee);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 18%;
  left: 18%;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.language-switch {
  padding: 7px 2px;
  border-bottom: 1px solid var(--gold);
  color: var(--coffee);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.language-switch:hover {
  border-color: var(--coffee);
  color: var(--ink);
}

.mobile-language-link {
  display: block;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid var(--coffee);
  border-radius: 7px;
  color: var(--coffee);
  font-weight: 600;
  text-align: center;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--coffee);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  z-index: 990;
  inset: var(--header-height) 0 0;
  display: none;
  padding: 36px 24px 100px;
  background: var(--cream);
  opacity: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-drawer__nav {
  display: grid;
}

.mobile-drawer__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--sand-deep);
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}

.mobile-drawer__nav a span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 400;
}

.mobile-drawer__phone {
  position: fixed;
  right: 20px;
  bottom: 24px;
  left: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--primary:hover {
  background: var(--coffee-dark);
  box-shadow: 0 12px 24px rgba(139, 90, 43, 0.27);
}

.btn--outline {
  border-color: var(--coffee);
  background: transparent;
  color: var(--coffee);
}

.btn--outline:hover {
  background: var(--coffee);
  color: var(--white);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: #d5b66f;
  box-shadow: 0 12px 24px rgba(200, 164, 93, 0.25);
}

.btn svg,
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* Hero carousel */
.hero {
  position: relative;
  height: 620px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: var(--ink);
}

.hero__track,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(3%) contrast(105%) brightness(102%);
  transform: scale(1.025);
  transition: transform 6s ease;
}

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

.hero__slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 18, 8, 0.72), rgba(30, 18, 8, 0.4) 52%, rgba(30, 18, 8, 0.25));
  content: "";
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin-inline: auto;
}

.hero__copy {
  max-width: 800px;
  color: var(--white);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero__kicker::before {
  width: 42px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  margin-bottom: 14px;
  color: var(--white);
}

.hero__subtitle {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--cream);
  font-size: 20px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__counter {
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

.hero__controls {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(30, 18, 8, 0.3);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.hero:hover .carousel-arrow,
.carousel-arrow:focus-visible {
  opacity: 1;
}

.carousel-arrow:hover {
  background: var(--coffee);
}

.carousel-dots {
  position: absolute;
  z-index: 5;
  bottom: 36px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.carousel-dot.is-active {
  width: 28px;
  border-radius: 8px;
  background: var(--white);
}

.hero__watermark,
.media::after,
.gallery-card::after,
.solution-visual::after,
.product-tile::after,
.advantage-card__visual::after,
.product-card__image::after,
.strength-block__visual::after {
  position: absolute;
  right: 12px;
  bottom: 9px;
  z-index: 2;
  color: rgba(255,255,255,0.7);
  content: var(--watermark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.65);
}

/* Reusable cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.business-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(139,90,43,0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.business-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.business-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.business-card__image::after {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(255,255,255,0.7);
  content: var(--watermark);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.business-card__image img,
.gallery-card img,
.solution-visual img,
.product-tile img,
.advantage-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(3%) contrast(105%) brightness(102%);
  transition: transform 0.45s ease;
}

.business-card:hover img,
.gallery-card:hover img,
.product-tile:hover img,
.advantage-card:hover img {
  transform: scale(1.03);
}

.business-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.business-card__body h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.business-card__body p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.text-link span {
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.advantage-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 2px 14px rgba(30,18,8,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.advantage-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.advantage-card__visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--white);
}

.advantage-card__visual img.contain {
  object-fit: contain;
  padding: 20px;
}

.advantage-card__body {
  padding: 26px;
}

.advantage-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.advantage-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(139,90,43,0.2);
  border-radius: 50%;
  color: var(--coffee);
}

.advantage-card__number,
.stat__number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.advantage-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.advantage-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Process */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 56px;
}

.process-track::before {
  position: absolute;
  top: 23px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--sand-deep);
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  text-align: center;
}

.process-step__number {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--coffee);
  color: var(--white);
  font-family: Georgia, serif;
  transition: background 0.25s ease, transform 0.25s ease;
}

.process-step:hover .process-step__number {
  background: var(--gold);
  transform: translateY(-3px);
}

.process-step strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.process-step small {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.35;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.gallery-grid--masonry {
  align-items: start;
}

.gallery-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.gallery-card:nth-child(3n + 2) {
  height: 360px;
}

.gallery-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card__overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 55px 20px 18px;
  background: linear-gradient(transparent, rgba(30,18,8,0.88));
  color: var(--white);
}

.gallery-card__overlay h3 {
  margin-bottom: 2px;
  color: var(--white);
  font-size: 19px;
}

.gallery-card__overlay p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
}

.gallery-card__tag {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  background: rgba(30,18,8,0.75);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gallery-card__zoom {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  background: rgba(30,18,8,0.35);
  color: var(--white);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-card:hover .gallery-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--coffee);
  border-radius: 7px;
  background: var(--white);
  color: var(--coffee);
  font-size: 14px;
  transition: background 0.25s ease, color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--coffee);
  color: var(--white);
}

/* CTA and forms */
.cta-section {
  padding: 60px 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(200,164,93,0.13), transparent 28%),
    linear-gradient(115deg, #1e1208, #2c1b0d);
  color: var(--white);
}

.cta-section__head {
  margin-bottom: 30px;
  text-align: center;
}

.cta-section__head h2 {
  margin-bottom: 8px;
  color: var(--white);
}

.cta-contact {
  color: var(--gold);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
}

.cta-contact small {
  margin-right: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 400;
}

.quote-form--inline {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.5fr auto;
  gap: 12px;
  align-items: end;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
}

.cta-section .field label {
  color: rgba(255,255,255,0.72);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--sand-deep);
  border-radius: 6px;
  outline: none;
  background: var(--white);
  color: var(--muted);
  font-size: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--coffee);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.field--full {
  grid-column: 1 / -1;
}

.quote-form .btn[type="submit"] {
  width: 100%;
  min-height: 50px;
}

/* Inner-page hero */
.page-hero {
  position: relative;
  display: grid;
  min-height: 410px;
  margin-top: var(--header-height);
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  text-align: center;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(3%) contrast(105%) brightness(90%);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background: rgba(30,18,8,0.62);
  content: "";
}

.page-hero::before {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255,255,255,0.7);
  content: var(--watermark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.65);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 850px);
  color: var(--white);
}

.page-hero h1 {
  margin-bottom: 10px;
  color: var(--white);
}

.page-hero p {
  margin: 0 auto;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Solutions */
.solution-layout {
  display: grid;
  grid-template-columns: 260px minmax(0,1fr);
  gap: 48px;
  align-items: start;
}

.solution-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  overflow: hidden;
  border: 1px solid rgba(139,90,43,0.1);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.solution-sidebar__title {
  padding: 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

.solution-tab {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 0;
  border-bottom: 1px solid var(--sand-deep);
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
}

.solution-tab:last-child {
  border-bottom: 0;
}

.solution-tab small {
  color: var(--quiet);
  font-size: 10px;
}

.solution-tab:hover,
.solution-tab.is-active {
  background: var(--coffee);
  color: var(--white);
}

.solution-tab:hover small,
.solution-tab.is-active small {
  color: rgba(255,255,255,0.72);
}

.solution-panel {
  display: none;
  animation: panel-in 0.45s ease both;
}

.solution-panel.is-active {
  display: block;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.solution-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 38px;
  align-items: center;
}

.solution-visual {
  position: relative;
  height: 510px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.solution-copy h2 {
  margin-bottom: 8px;
}

.solution-copy__en {
  margin-bottom: 20px;
  color: var(--coffee);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.solution-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.check-list li::before {
  position: absolute;
  top: 0.5em;
  left: 2px;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  content: "";
  transform: rotate(-45deg);
}

/* Products */
.product-mosaic {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  grid-auto-rows: 170px;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.product-tile:first-child,
.product-tile:nth-child(7) {
  grid-column: span 2;
}

.product-categories {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 26px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(139,90,43,0.1);
  border-radius: var(--radius);
  background: var(--cream);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card__image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(3%) contrast(105%) brightness(102%);
  transition: transform 0.4s ease;
}

.product-card__body {
  padding: 24px;
}

.product-card__body h3 {
  margin-bottom: 8px;
  font-size: 22px;
  transition: color 0.3s ease;
}

.product-card__body p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.3s ease;
}

.product-card:hover {
  background: var(--coffee);
  color: var(--white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card:hover h3,
.product-card:hover p,
.product-card:hover .text-link {
  color: var(--white);
}

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

/* Strength page */
.strength-stack {
  display: grid;
  gap: 34px;
}

.strength-block {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--sand);
}

.strength-block:nth-child(even) .strength-block__visual {
  order: 2;
}

.strength-block__visual {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
}

.strength-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(3%) contrast(105%) brightness(102%);
}

.strength-block__visual img.contain {
  object-fit: contain;
  padding: 20px;
}

.strength-block h2 {
  margin-bottom: 12px;
}

.strength-block p {
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 25px;
}

.stat {
  padding-top: 14px;
  border-top: 1px solid var(--sand-deep);
}

.stat__number {
  display: block;
  margin-bottom: 6px;
  font-size: 36px;
}

.stat__label {
  color: var(--muted);
  font-size: 12px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 30px;
}

.quality-item {
  padding: 22px;
  border: 1px solid var(--sand-deep);
  border-radius: 8px;
  background: var(--white);
}

.quality-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-family: Georgia,serif;
  font-size: 30px;
}

.quality-item span {
  color: var(--text);
  font-size: 14px;
}

.logo-wall {
  margin-top: 25px;
  padding: 8px;
  border-radius: 8px;
  background: var(--cream);
  overflow: hidden;
}

.logo-wall img {
  width: 100%;
  max-height: 360px;
  border-radius: 5px;
  object-fit: cover;
  object-position: center;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-intro,
.contact-form-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-intro {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
}

.contact-intro h2 {
  color: var(--white);
}

.contact-intro .eyebrow {
  color: var(--gold);
}

.contact-person {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid rgba(200,164,93,0.25);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}

.contact-person__name {
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-list .icon {
  margin-top: 3px;
  color: var(--gold);
}

.contact-list strong {
  display: block;
  color: var(--gold);
  font-weight: 600;
}

.contact-list span,
.contact-list a {
  color: var(--white);
}

.contact-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.52);
  font-size: 12px;
}

/* Footer */
.site-footer {
  padding: 50px 0 0;
  background: var(--ink);
  color: rgba(255,255,255,0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  gap: 70px;
  padding-bottom: 38px;
}

.footer-brand .brand__name {
  color: var(--gold);
}

.footer-brand p {
  max-width: 420px;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 13px;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px 18px;
}

.footer-links a {
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.footer-contact a {
  color: var(--gold);
  font-size: 20px;
  font-weight: 600;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.09);
  color: #999;
  font-size: 12px;
  text-align: center;
}

.mobile-consult {
  position: fixed;
  z-index: 900;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(30,18,8,0.96);
  box-shadow: 0 -5px 18px rgba(0,0,0,0.2);
  gap: 8px;
}

.mobile-consult .btn {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 13px;
}

/* Modals */
.modal {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  padding: 30px;
  place-items: center;
  background: rgba(0,0,0,0.84);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__close {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  background: rgba(30,18,8,0.5);
  color: var(--white);
  font-size: 26px;
}

.lightbox__figure {
  position: relative;
  display: grid;
  max-width: min(1100px, calc(100vw - 120px));
  max-height: calc(100vh - 80px);
  gap: 12px;
  margin: 0;
  place-items: center;
}

.lightbox__figure::after {
  position: absolute;
  right: 14px;
  bottom: 48px;
  color: rgba(255,255,255,0.72);
  content: var(--watermark);
  font-family: Georgia,serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px #000;
}

.lightbox__image {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__caption {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  text-align: center;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  background: rgba(30,18,8,0.5);
  color: var(--white);
  font-size: 28px;
  transform: translateY(-50%);
}

.lightbox__arrow--prev { left: 22px; }
.lightbox__arrow--next { right: 22px; }

.success-dialog {
  width: min(100%, 440px);
  padding: 40px;
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
  box-shadow: 0 25px 80px rgba(0,0,0,0.28);
}

.success-dialog__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 30px;
}

.success-dialog h3 {
  margin-bottom: 8px;
}

.success-dialog p {
  color: var(--muted);
}

.product-dialog {
  position: relative;
  display: grid;
  width: min(1100px, calc(100vw - 50px));
  max-height: calc(100vh - 50px);
  grid-template-columns: 1.1fr 0.9fr;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
}

.product-dialog__gallery {
  position: sticky;
  top: 0;
  height: min(720px, calc(100vh - 50px));
  overflow: hidden;
  background: var(--ink);
}

.product-dialog__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(3%) contrast(105%) brightness(102%);
}

.product-dialog__nav {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.product-dialog__nav button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(30,18,8,0.55);
  color: var(--white);
}

.product-dialog__content {
  padding: 48px 36px 36px;
}

.product-dialog__content h2 {
  margin-bottom: 6px;
}

.product-dialog__content > p {
  color: var(--muted);
}

.spec-table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th {
  padding: 11px 13px;
  background: var(--coffee);
  color: var(--white);
  text-align: left;
}

.spec-table td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--sand-deep);
}

.spec-table tr:nth-child(even) td {
  background: var(--sand);
}

.toast {
  position: fixed;
  z-index: 2600;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 12px;
  }

  .header-actions .btn {
    padding-inline: 14px;
    font-size: 13px;
  }

  .card-grid,
  .product-categories {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 960px) {
  :root { --header-height: 68px; }

  .desktop-nav,
  .header-actions .btn,
  .header-actions .language-switch {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-drawer,
  .mobile-consult {
    display: block;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(139, 90, 43, 0.28);
    border-radius: 7px;
    background: rgba(239, 230, 216, 0.55);
  }

  .mobile-menu-toggle span {
    flex: 0 0 2px;
    margin: 3px 0;
  }

  .mobile-consult {
    display: grid;
  }

  .menu-open .mobile-drawer {
    opacity: 1;
    transform: translateX(0);
  }

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

  .process-track {
    grid-template-columns: repeat(4,1fr);
    gap: 30px 0;
  }

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

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

  .solution-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solution-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(5,1fr);
  }

  .solution-sidebar__title {
    display: none;
  }

  .solution-tab {
    display: grid;
    justify-items: center;
    border-right: 1px solid var(--sand-deep);
    border-bottom: 0;
    padding-inline: 10px;
    text-align: center;
  }

  .solution-tab:last-child { border-right: 0; }

  .solution-split,
  .strength-block,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .strength-block:nth-child(even) .strength-block__visual {
    order: initial;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .product-dialog {
    grid-template-columns: 1fr;
  }

  .product-dialog__gallery {
    position: relative;
    height: 360px;
  }

  .site-footer {
    padding-bottom: 66px;
  }
}

@media (max-width: 640px) {
  body { font-size: 15px; }

  .container,
  .header-inner {
    width: min(calc(100% - 40px), var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .brand img {
    width: 42px;
  }

  .brand__name { font-size: 16px; }

  .hero {
    height: 400px;
  }

  .hero__slide::after {
    background: rgba(30,18,8,0.58);
  }

  .hero__copy {
    text-align: center;
  }

  .hero__kicker {
    justify-content: center;
    font-size: 10px;
  }

  .hero__kicker::before { display: none; }

  .hero h1 {
    font-size: 30px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero__subtitle {
    margin-bottom: 22px;
    font-size: 15px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .section-heading p {
    max-width: 100%;
    word-break: break-all;
  }

  .hero__meta {
    justify-content: center;
  }

  .hero__counter {
    display: none;
  }

  .hero__controls {
    display: none;
  }

  .carousel-dots {
    bottom: 18px;
  }

  .page-hero {
    min-height: 330px;
  }

  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 15px; }

  .card-grid,
  .advantages-grid,
  .gallery-grid,
  .product-categories,
  .quality-grid,
  .form-grid,
  .quote-form--inline {
    grid-template-columns: 1fr;
  }

  .field--full { grid-column: auto; }

  .business-card { min-height: 400px; }

  .gallery-card,
  .gallery-card:nth-child(3n + 2) {
    height: 290px;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    text-align: left;
  }

  .process-step__number {
    margin: 0;
  }

  .process-step::after {
    position: absolute;
    top: 58px;
    bottom: -13px;
    left: 22px;
    width: 1px;
    background: var(--sand-deep);
    content: "";
  }

  .process-step:last-child::after { display: none; }

  .solution-sidebar {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .solution-tab {
    min-width: 128px;
    border-right: 1px solid var(--sand-deep);
    scroll-snap-align: start;
  }

  .solution-split { gap: 24px; }
  .solution-visual { height: 330px; }

  .product-mosaic {
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 120px;
  }

  .product-tile:first-child,
  .product-tile:nth-child(7) { grid-column: auto; }

  .strength-block {
    gap: 26px;
    padding: 24px;
  }

  .strength-block__visual { height: 280px; }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .contact-intro,
  .contact-form-card {
    padding: 26px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand { grid-column: auto; }

  .lightbox__figure {
    max-width: calc(100vw - 30px);
  }

  .lightbox__arrow {
    top: auto;
    bottom: 20px;
  }

  .lightbox__arrow--prev { left: calc(50% - 60px); }
  .lightbox__arrow--next { right: calc(50% - 60px); }

  .modal {
    padding: 14px;
  }

  .product-dialog {
    width: 100%;
    max-height: calc(100vh - 28px);
  }

  .product-dialog__gallery { height: 270px; }
  .product-dialog__content { padding: 32px 20px 24px; }
}
