:root {
  --bg-primary: #ffffff;
  --bg-structured: #f4f5f6;
  --text-primary: #111111;
  --text-secondary: #5d5852;
  --accent-gold-start: #d4b179;
  --accent-gold-end: #a67c3f;
  --border-light: #e6e6e6;
  --shadow-soft: rgba(0, 0, 0, 0.05);
  --charcoal: #191c20;
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  letter-spacing: 0.01em;
  line-height: 1.65;
  opacity: 0;
  transition: opacity 450ms ease;
}

body.page-loaded {
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.structured {
  background: var(--bg-structured);
}

.section-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold-start), var(--accent-gold-end));
  margin: 18px 0 34px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 780;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 730;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 650;
}

p {
  margin: 0;
  color: var(--text-secondary);
}

.muted {
  color: var(--text-secondary);
}

.accent-text {
  background: linear-gradient(90deg, var(--accent-gold-start), var(--accent-gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 620;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.04);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-gold-start), var(--accent-gold-end));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(166, 124, 63, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(166, 124, 63, 0.3);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: #cec8be;
  background: #fff;
}

.btn-light {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.btn-light:hover {
  background: #f4f4f2;
  border-color: #f4f4f2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 22px 0;
  transition: background-color 300ms ease, box-shadow 300ms ease, padding 300ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px var(--shadow-soft);
  padding: 14px 0;
  backdrop-filter: blur(7px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-image {
  gap: 0;
}

.brand-logo {
  width: auto;
  height: 60px;
  max-width: 160px;
  object-fit: contain;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 2px solid transparent;
  border-image: linear-gradient(140deg, var(--accent-gold-start), var(--accent-gold-end)) 1;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 540;
  color: #2d2925;
  padding: 10px 0;
  transition: color 200ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold-start), var(--accent-gold-end));
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #5e5851;
  border-bottom: 1.5px solid #5e5851;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 220ms ease;
}

.dropdown.open .dropdown-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.dropdown-trigger.active::before {
  display: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  min-width: 220px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 30px rgba(10, 20, 30, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
  overflow: hidden;
}

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

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: #2e2924;
  border-bottom: 1px solid #f2f2f2;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover {
  background: #fbfbfb;
}

.lang-switcher .dropdown-trigger {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 620;
  letter-spacing: 0.04em;
  gap: 8px;
}

.lang-icon {
  width: 14px;
  height: 14px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.lang-icon::before,
.lang-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lang-icon::before {
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: currentColor;
}

.lang-icon::after {
  top: 50%;
  left: -1px;
  right: -1px;
  transform: translateY(-50%);
  height: 1px;
  background: currentColor;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #2f2924;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  width: 18px;
  height: 2px;
  background: #2f2924;
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.hero {
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 48px) 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url("erc-background.png");
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.06);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(16, 13, 10, 0.74) 0%, rgba(16, 13, 10, 0.66) 52%, rgba(16, 13, 10, 0.52) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 72px
    );
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 26px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(18, 15, 12, 0.48);
  backdrop-filter: blur(2px);
}

.hero-content p {
  max-width: 560px;
  font-size: 0.98rem;
  margin-top: 16px;
}

.home-page .hero-content h1 {
  font-size: clamp(1.95rem, 4.3vw, 3.2rem);
  margin-bottom: 8px;
}

.home-page .hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.home-page .hero-content h1,
.home-page .hero-content p {
  color: #ffffff;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  border: 1px solid #d8dbe0;
  border-radius: 14px;
  background: linear-gradient(165deg, #ffffff 0%, #f7f4ef 100%);
  padding: 24px;
  box-shadow: 0 20px 35px rgba(24, 18, 12, 0.16);
  display: grid;
  align-content: space-between;
  min-height: 390px;
}

.hero-panel h3,
.hero-panel p,
.hero-panel .panel-feature p,
.hero-panel .metric-box span,
.hero-panel .line {
  color: #111111;
}

.hero-panel-top {
  display: grid;
  gap: 15px;
}

.hero-panel .line {
  height: 1px;
  background: #d8dce1;
}

.panel-feature {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  align-items: start;
}

.hero-panel p,
.panel-feature p {
  line-height: 1.72;
}

.panel-feature-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold-start), var(--accent-gold-end));
}

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

.metric-box {
  padding: 14px;
  border: 1px solid #ddd6ca;
  border-radius: var(--radius-sm);
  background: #fff;
}

.metric-box strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.metric-box span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-link,
.site-header:not(.scrolled) .lang-switcher .dropdown-trigger {
  color: #ffffff;
}

.site-header:not(.scrolled) .dropdown-trigger::after {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

.site-header:not(.scrolled) .lang-switcher .dropdown-trigger {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.site-header:not(.scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.site-header:not(.scrolled) .menu-toggle span,
.site-header:not(.scrolled) .menu-toggle span::before,
.site-header:not(.scrolled) .menu-toggle span::after {
  background: #ffffff;
}

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

.content-frame {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 28px;
}

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

.product-preview {
  border: 1px solid #dce0e5;
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: 250px auto;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.product-preview:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 36px rgba(28, 20, 12, 0.14);
}

.product-visual {
  position: relative;
  background:
    linear-gradient(140deg, #dde1e7 0%, #f5f6f8 85%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.2) 0,
      rgba(255, 255, 255, 0.2) 2px,
      transparent 2px,
      transparent 24px
    );
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.product-visual.workwear-preview {
  background-image: url("work-wear 2.png");
  background-size: cover;
  background-position: center;
}

.product-visual.bed-sets-preview {
  background-image: url("bed-set 2.png");
  background-size: cover;
  background-position: center;
}

.product-visual.towels-preview {
  background-image: url("towels 6.png");
  background-size: cover;
  background-position: center;
}

.product-visual.hotel-preview {
  background-image: url("hotel 6.png");
  background-size: cover;
  background-position: center;
}

.product-visual.restaurant-preview {
  background-image: url("restaurant 1.png");
  background-size: cover;
  background-position: center;
}

.product-content {
  padding: 24px;
}

.product-content h3 {
  transition: transform 240ms ease, color 240ms ease;
}

.product-preview:hover .product-content h3 {
  transform: translateX(4px);
  color: #2b251f;
}

.stats-row {
  border: 1px solid #d7dce2;
  border-radius: var(--radius-md);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.stat-item {
  padding: 34px 20px;
  text-align: center;
  border-right: 1px solid #e8ebee;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-value {
  display: inline-flex;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 760;
  line-height: 1;
}

.stat-suffix {
  margin-left: 2px;
  font-size: 1.35rem;
  color: #43474d;
}

.stat-item p {
  margin-top: 10px;
  font-size: 0.94rem;
}

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

.capability-card {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fff;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.capability-index {
  color: #8b939d;
  font-size: 0.85rem;
  font-weight: 580;
}

.cta-panel {
  border: 1px solid #d2d7dd;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr auto;
  align-items: center;
  gap: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f7f8 100%),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.02) 0,
      rgba(0, 0, 0, 0.02) 1px,
      transparent 1px,
      transparent 64px
    );
}

.cta-panel .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.cta-panel h2 {
  margin-bottom: 14px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 82px;
  border-bottom: 1px solid #e4e7eb;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url("erc-background.png");
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.05);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(16, 13, 10, 0.74) 0%, rgba(16, 13, 10, 0.66) 52%, rgba(16, 13, 10, 0.52) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 74px
    );
  z-index: 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.9fr);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: end;
  position: relative;
  z-index: 1;
}

.page-hero-grid > div {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: 10px;
}

.page-hero-grid > div .eyebrow {
  margin-bottom: 10px;
}

.page-hero-grid > div .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero-grid > div h1,
.page-hero-grid > div p {
  color: #ffffff;
}

.page-hero-grid > div p {
  line-height: 1.72;
  max-width: 62ch;
  text-wrap: pretty;
}

.page-panel {
  min-width: 280px;
  max-width: 520px;
  justify-self: end;
  border: 1px solid #d8dde2;
  border-radius: var(--radius-md);
  padding: 20px;
  background: #fff;
  display: grid;
  align-content: start;
  gap: 10px;
}

.page-panel p {
  line-height: 1.74;
}

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

.collection-card {
  border: 1px solid #dee2e7;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.collection-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px rgba(26, 19, 12, 0.14);
}

.collection-image {
  position: relative;
  height: 230px;
  background:
    linear-gradient(160deg, #dadfe5 0%, #f2f4f6 100%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.32) 0,
      rgba(255, 255, 255, 0.32) 3px,
      transparent 3px,
      transparent 16px
    );
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-copy {
  padding: 24px;
}

.product-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-image-grid .collection-card {
  min-height: 0;
}

.product-image-grid .collection-image {
  height: 260px;
}

.fabric-choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.fabric-choice-btn {
  border: 1px solid #ced4db;
  border-radius: 999px;
  background: #ffffff;
  color: #1b1f24;
  font-weight: 620;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 220ms ease;
}

.fabric-choice-btn:hover {
  transform: translateY(-2px);
  border-color: #171717;
}

.fabric-choice-btn.active {
  background: #171717;
  border-color: #171717;
  color: #ffffff;
}

.fabric-gallery .collection-image {
  position: relative;
  transition: opacity 320ms ease, transform 320ms ease, filter 320ms ease;
}

.fabric-gallery .collection-image.is-switching {
  opacity: 0.2;
  transform: scale(0.986);
  filter: blur(1px);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.timeline-item {
  border: 1px solid #dde1e6;
  border-radius: var(--radius-md);
  padding: 22px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card,
.contact-form {
  border: 1px solid #d8dde2;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.contact-list strong {
  color: #1a1612;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 8px;
  color: #3a4048;
  font-size: 0.9rem;
  font-weight: 560;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8dce2;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #be9a61;
  box-shadow: 0 0 0 3px rgba(212, 177, 121, 0.12);
}

textarea {
  min-height: 122px;
  resize: vertical;
}

.site-footer {
  background: #ffffff;
  color: #1e1a16;
  padding: 72px 0 26px;
  border-top: 1px solid #e8e2d8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-title {
  color: #d4b179;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 620;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #4f463c;
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: #1b1713;
}

.footer-copy {
  margin-top: 14px;
  color: #5a5046;
}

.footer-logo {
  width: auto;
  height: 46px;
  max-width: 180px;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 16px;
  border-top: 1px solid #e9e2d8;
  color: #6a5f54;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 40ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 110ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 250ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 390ms; }

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .page-hero-grid,
  .contact-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .page-hero h1,
  .page-hero-grid > div p {
    max-width: 100%;
  }

  .page-panel {
    justify-self: start;
  }

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

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

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid #e8ebee;
  }

  .product-preview-grid,
  .collection-grid,
  .product-image-grid,
  .timeline-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 30px, var(--max-width));
  }

  .section {
    padding: 74px 0;
  }

  .site-header {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 28px var(--shadow-soft);
  }

  .menu-toggle {
    display: inline-flex;
    border-color: #d4dbe2;
    background: #ffffff;
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background: #2f2924;
  }

  .site-header:not(.scrolled) .menu-toggle {
    border-color: #d4dbe2;
    background: #ffffff;
  }

  .site-header:not(.scrolled) .menu-toggle span,
  .site-header:not(.scrolled) .menu-toggle span::before,
  .site-header:not(.scrolled) .menu-toggle span::after {
    background: #2f2924;
  }

  .nav-wrap {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(86vw, 340px);
    background: #fff;
    border-left: 1px solid #e3e6ea;
    padding: 92px 20px 24px;
    display: grid;
    align-content: start;
    gap: 20px;
    transform: translateX(104%);
    transition: transform 340ms ease;
    box-shadow: -12px 0 28px rgba(24, 18, 12, 0.16);
  }

  .site-header:not(.scrolled) .nav-wrap .nav-link,
  .site-header:not(.scrolled) .nav-wrap .dropdown-trigger {
    color: var(--text-primary);
  }

  .nav-wrap .nav-link,
  .nav-wrap .dropdown-trigger,
  .nav-wrap .dropdown-menu a {
    color: var(--text-primary);
  }

  .site-header:not(.scrolled) .nav-wrap .dropdown-trigger::after {
    border-right-color: #1b1f24;
    border-bottom-color: #1b1f24;
  }

  .site-header:not(.scrolled) .nav-wrap .lang-switcher .dropdown-trigger {
    border-color: #d4dbe2;
    background: #ffffff;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .lang-switcher .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    border-radius: var(--radius-sm);
  }

  .nav-wrap.open {
    transform: translateX(0);
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-item,
  .nav-link,
  .nav-link.active::before {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eceef1;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    box-shadow: none;
    border-radius: var(--radius-sm);
    max-height: 0;
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
    transform: none;
    transition: max-height 280ms ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 72vh;
    overflow-y: auto;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 24px) 0 56px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-content {
    padding: 18px 16px;
  }

  .home-page .hero-content h1 {
    font-size: clamp(1.7rem, 8.8vw, 2.3rem);
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    line-height: 1.12;
  }

  .page-hero-grid > div p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .product-preview-grid,
  .collection-grid,
  .product-image-grid,
  .timeline-grid,
  .footer-grid,
  .capability-grid,
  .stats-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stats-row .stat-item {
    border-right: 0;
    border-bottom: 1px solid #e8ebee;
  }

  .stats-row .stat-item:last-child {
    border-bottom: 0;
  }

  .cta-panel {
    padding: 30px;
  }

  .contact-card,
  .contact-form,
  .content-frame {
    padding: 22px;
  }
}
