:root {
  --bg: #f8f3ee;
  --bg-2: #efe4d6;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --primary: #8b4f2d;
  --primary-dark: #6e3b20;
  --text: #221b17;
  --muted: #6f6259;
  --border: rgba(139, 79, 45, 0.18);
  --shadow: 0 10px 24px rgba(54, 32, 15, 0.08);
  --shadow-soft: 0 6px 16px rgba(54, 32, 15, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

section[id] {
  scroll-margin-top: 100px;
}

body {
  position: relative;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(139, 79, 45, 0.1), transparent 20%),
    radial-gradient(circle at bottom left, rgba(45, 35, 28, 0.06), transparent 18%),
    linear-gradient(180deg, #fffaf5 0%, #f3ebe3 100%);
  color: var(--text);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  overflow-anchor: none;
}

.hero h1,
.hero h2,
.section-head h1,
.section-head h2,
.works-title h2,
.brand {
  font-family: "Cormorant Garamond", "Cairo", serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  opacity: 0.24;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background: rgba(139, 79, 45, 0.16);
  top: -120px;
  right: -60px;
}

body::after {
  background: rgba(56, 43, 32, 0.1);
  left: -100px;
  bottom: -120px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
  background-color: #efe4d6;
  cursor: default;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 6, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(94vw, 1000px);
  max-height: min(86vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  background: #fff;
  cursor: default;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.24s ease;
}

.image-lightbox.is-open .lightbox-image {
  transform: translateY(0) scale(1);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
}

@media (max-width: 768px) {
  .image-lightbox {
    padding: 14px;
  }

  .lightbox-image {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .lightbox-close {
    width: 52px;
    height: 52px;
    top: 12px;
    right: 12px;
  }
}

.topbar,
.hero-content,
.works-slider {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  margin: 16px auto 0;
  max-width: 1220px;
  width: calc(100% - 24px);
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 12px;
  z-index: 20;
  border: 1px solid rgba(139, 79, 45, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-links a,
.dropdown-toggle {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.dropdown-toggle:hover,
.dropdown-toggle[aria-expanded="true"] {
  color: var(--primary);
  background: rgba(139, 79, 45, 0.05);
  border-color: rgba(139, 79, 45, 0.08);
  box-shadow: none;
}

.nav-item {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-caret {
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.8;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(139, 79, 45, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
  padding: 8px;
  display: none;
  z-index: 20;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: rgba(139, 79, 45, 0.08);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  padding: 60px 24px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(139, 79, 45, 0.12);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.works-slider-section {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 18px 22px 42px;
}

.works-title {
  margin-bottom: 18px;
  text-align: center;
}

.works-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.works-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(139, 79, 45, 0.7), transparent);
}

.works-slider {
  position: relative;
  width: min(82%, 980px);
  height: 500px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(139, 79, 45, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 34px rgba(54, 32, 15, 0.08);
}

.works-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.work-slide {
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  background: #f9f2ec;
  transition: opacity 0.35s ease;
}

.work-slide.active {
  opacity: 1;
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f1eb;
  padding: 0;
  filter: none;
  opacity: 1;
  border-radius: 22px;
}

.works-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(139, 79, 45, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(54, 32, 15, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.works-arrow:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 10px 20px rgba(139, 79, 45, 0.14);
}

.works-arrow.prev {
  right: 16px;
}

.works-arrow.next {
  left: 16px;
}

.works-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(139, 79, 45, 0.08);
  box-shadow: 0 6px 16px rgba(54, 32, 15, 0.05);
}

.work-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(139, 79, 45, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.work-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 79, 45, 0.12);
}


.eyebrow {
  color: #7a3c1f;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.95rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  margin-bottom: 8px;
  color: #3f2619;
  text-shadow: 0 1px 2px rgba(255,255,255,0.55);
  line-height: 0.98;
  letter-spacing: 0.2px;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6a4025;
  margin-bottom: 14px;
}

.hero-text {
  color: #4f3a2d;
  font-size: 1.08rem;
  margin-bottom: 22px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.35);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: stretch;
}

.hero-dropdown {
  position: relative;
  display: inline-flex;
}

.hero-dropdown .dropdown-toggle.btn,
.hero-actions > a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(139, 79, 45, 0.14);
  color: #4a2c1b;
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(139, 79, 45, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-dropdown .dropdown-toggle.btn:hover,
.hero-actions > a.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(139, 79, 45, 0.1);
  border-color: rgba(139, 79, 45, 0.18);
  background: rgba(255, 255, 255, 0.98);
}

.hero-dropdown .dropdown-toggle.btn .dropdown-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1;
  position: static;
}

.hero-dropdown .dropdown-menu {
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(139, 79, 45, 0.18);
  box-shadow: 0 18px 38px rgba(58, 35, 21, 0.16);
  padding: 10px;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-dropdown:hover .dropdown-menu,
.hero-dropdown:focus-within .dropdown-menu,
.hero-dropdown.open .dropdown-menu {
  display: flex;
}

.hero-dropdown .dropdown-menu a {
  padding: 8px 12px;
  margin-bottom: 0;
  font-weight: 600;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.95);
  color: #4a2c1b;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(139, 79, 45, 0.24);
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.84);
  padding: 14px 16px;
  border-radius: 16px;
  min-width: 110px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(139, 79, 45, 0.12);
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.hero-card img {
  border-radius: 24px;
  height: 460px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.features,
.section,
.about,
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.features article,
.contact-card,
.contact-info {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 24px;
}

.section-head h1,
.section-head h2,
.works-title h2 {
  position: relative;
}

.section-head h1,
.section-head h2 {
  display: block;
}

.section-head h1,
.about h2,
.contact-header h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #3f2619;
}

.section-head h2 {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto;
  color: #7a7a7a;
  max-width: 720px;
}

.section-head h1::before,
.section-head h1::after,
.section-head h2::before,
.section-head h2::after,
.works-title h2::before,
.works-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 79, 45, 0.6), transparent);
}

.section-head h1::before,
.section-head h2::before,
.works-title h2::before {
  right: calc(100% + 4px);
}

.section-head h1::after,
.section-head h2::after,
.works-title h2::after {
  left: calc(100% + 4px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, opacity 0.24s ease;
  contain: layout paint;
  box-shadow: var(--shadow-soft);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(139, 79, 45, 0.22);
}

.product-card.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  pointer-events: none;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.load-more-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.product-card img {
  height: 220px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  transition: none;
  opacity: 1;
}

.img-wrap {
  position: relative;
  overflow: hidden;
}

.img-wrap img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  opacity: 1;
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  margin-bottom: 6px;
}

.product-info p {
  color: var(--muted);
  margin-bottom: 8px;
}

.product-info span {
  color: var(--primary);
  font-weight: 700;
}

.category-section {
  scroll-margin-top: 96px;
}

.contact-section {
  display: block;
  max-width: 980px;
  padding: 24px 12px 28px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 12px 12px 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(139, 79, 45, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(54, 32, 15, 0.04);
}

.contact-card,
.about-cards div,
.features article {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.about-cards div:hover,
.features article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  background: rgba(248, 243, 238, 0.8);
  border: 1px solid rgba(139, 79, 45, 0.08);
  border-radius: 14px;
  min-height: 86px;
}

.contact-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  text-align: right;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  direction: rtl;
  text-align: right;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  font-size: 15px;
  line-height: 1;
  opacity: 0.92;
}

.contact-info p,
.contact-info a {
  margin: 0;
  font-weight: 600;
  white-space: normal;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

.contact-info p {
  font-size: 0.96rem;
}

.contact-info a {
  color: var(--primary-dark);
  text-decoration: none;
  display: inline-block;
  font-size: 0.96rem;
  min-height: 24px;
}

.contact-info a:hover {
  color: var(--primary);
}

.phone-line {
  margin-top: 0;
}

.contact-barcode {
  display: block !important;
  width: 100px !important;
  max-width: 100px !important;
  height: auto !important;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(139, 79, 45, 0.12);
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

@media (max-width: 430px) {
  .contact-section {
    padding: 16px 8px 18px;
  }

  .contact-card {
    width: 100%;
    padding: 10px 8px;
    border-radius: 14px;
    gap: 8px;
  }

  .contact-info {
    gap: 10px;
    padding: 10px 8px;
    min-height: 78px;
  }

  .contact-details {
    gap: 4px;
  }

  .contact-line {
    gap: 7px;
  }

  .contact-icon {
    width: 16px;
    min-width: 16px;
    font-size: 14px;
  }

  .contact-info p,
  .contact-info a {
    font-size: 0.85rem;
  }

  .contact-barcode {
    width: 82px !important;
    max-width: 82px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .contact-card {
    width: min(100%, 760px);
  }

  .contact-info {
    min-height: 84px;
  }

  .contact-barcode {
    width: 94px !important;
    max-width: 94px !important;
  }
}

footer {
  text-align: center;
  padding: 28px 24px 40px;
  color: var(--muted);
  border-top: 1px solid rgba(139, 79, 45, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.social-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(139, 79, 45, 0.08);
  border: 1px solid rgba(139, 79, 45, 0.12);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(58, 35, 22, 0.05);
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.social-label {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%) translateY(8px);
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(34, 27, 23, 0.9);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(34, 27, 23, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(139, 79, 45, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover .social-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 600px) {
  .footer-social {
    gap: 14px;
    margin-top: 16px;
  }

  .social-link {
    width: 52px;
    height: 52px;
  }

  .social-link svg {
    width: 23px;
    height: 23px;
  }

  .social-label {
    display: none;
  }
}

img.loaded,
img:not(.loaded) {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1024px) {
  .hero,
  .about,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 42px 20px 32px;
    gap: 22px;
  }

  .hero-content {
    padding: 26px;
    border-radius: 22px;
  }

  .hero h2 {
    font-size: 2.2rem;
    line-height: 1.12;
  }

  .hero-text {
    font-size: 1rem;
    margin: 18px 0;
  }

  .hero-actions {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions > a.btn,
  .hero-dropdown,
  .hero-dropdown .dropdown-toggle.btn {
    width: calc(50% - 6px);
    max-width: none;
    flex: 1 1 0;
  }

  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }

  .hero-stats div {
    flex: 1 1 calc(33% - 8px);
    min-width: 110px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
  }

  .works-slider-section {
    padding: 18px 16px 34px;
  }

  .works-slider {
    width: min(100%, 760px);
    height: 360px;
    border-radius: 22px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 18px;
  }

  .product-card img {
    height: 190px;
  }

  .product-info {
    padding: 16px;
  }

  .product-info h3 {
    font-size: 1rem;
    margin: 0;
  }

  .contact-section {
    gap: 18px;
    padding: 20px 16px;
  }

  .contact-card {
    width: 100%;
    margin: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-barcode {
    width: 100%;
    max-width: 240px;
    margin: 10px 0 0;
  }

  .load-more-btn {
    display: none !important;
  }

  .product-card.is-hidden {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .hero-content {
    padding: 22px;
  }

  .section-head h1,
  .about h2,
  .contact-header h2 {
    font-size: 28px;
  }

  .section-head h2 {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 12px 14px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .menu-toggle {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.98);
    padding: 12px;
    border: 1px solid rgba(139, 79, 45, 0.16);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    width: auto;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.25s ease, visibility 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    max-height: 520px;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .dropdown-toggle {
    padding: 10px 12px;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    justify-content: flex-start;
    width: 100%;
  }

  .nav-item,
  .dropdown-toggle,
  .dropdown-menu {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: auto;
    margin-top: 8px;
    width: 100%;
    background: rgba(248, 243, 238, 0.96);
    border: 1px solid rgba(139, 79, 45, 0.08);
    box-shadow: none;
  }

  .dropdown-toggle {
    justify-content: flex-start;
  }

  .dropdown-menu a {
    text-align: right;
    padding: 9px 10px;
  }

  .hero {
    padding: 24px 14px 24px;
    gap: 16px;
  }

  .hero-content {
    padding: 20px 18px;
  }

  .hero h2 {
    font-size: 1.8rem;
    line-height: 1.14;
  }

  .hero-text {
    font-size: 0.94rem;
    margin: 14px 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-dropdown,
  .hero-actions > a.btn,
  .hero-dropdown .dropdown-toggle.btn,
  .hero-dropdown .dropdown-menu {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }

  .hero-dropdown .dropdown-toggle.btn {
    justify-content: center;
    width: 100%;
  }

  .hero-dropdown .dropdown-menu {
    position: static;
    min-width: auto;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-stats div {
    flex: 1 1 100%;
  }

  .works-slider {
    width: 100%;
    height: 270px;
    border-radius: 18px;
  }

  .work-slide {
    inset: 10px;
    border-radius: 16px;
  }

  .work-slide img {
    border-radius: 16px;
  }

  .works-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .works-arrow.prev {
    right: 10px;
  }

  .works-arrow.next {
    left: 10px;
  }

  .works-dots {
    bottom: 12px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    padding-bottom: 8px;
    border-radius: 16px;
  }

  .product-card img {
    height: 180px;
  }

  .product-info {
    padding: 14px;
  }

  .contact-info {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-barcode {
    width: 100%;
    max-width: 240px;
    margin: 10px 0 0;
  }

  .hero {
    padding-top: 28px;
  }
}
