/* ============================================
   Vigi Packers — Industry-specific single page
   Wood / packaging B2B palette, clean layout
   ============================================ */

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2c2416;
  background-color: #f8f6f3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: min(90vw, 72rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:focus-visible {
  outline: 2px solid #b8860b;
  outline-offset: 2px;
}

.btn-primary {
  background-color: #2c2416;
  color: #fff;
}

.btn-primary:hover {
  background-color: #4a3f2f;
}

.btn-secondary {
  background-color: transparent;
  color: #2c2416;
  border: 2px solid #2c2416;
}

.btn-secondary:hover {
  background-color: #2c2416;
  color: #fff;
}

.link {
  color: #b8860b;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.link:hover {
  color: #2c2416;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 4rem;
  background-color: rgba(248, 246, 243, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5dfd6;
  transition: background-color 0.35s, border-color 0.35s;
}

.header-inner {
  max-width: min(90vw, 72rem);
  margin-inline: auto;
  /* padding-inline: 4rem; */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c2416;
}

.logo img {
  mix-blend-mode: multiply;
  max-width: 140px;
  height: auto;
}

@media (max-width: 480px) {
  .logo img {
    max-width: 120px;
  }
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #5c5244;
  position: relative;
  padding-block: 0.5rem;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #b8860b;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #2c2416;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #2c2416;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.35s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-overlay {
  background: rgba(248, 246, 243, 0.8);
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(44, 36, 22, 0.03) 60px,
    rgba(44, 36, 22, 0.03) 61px
  );
  transform: rotate(-15deg);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(90vw, 72rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
  max-width: 38rem;
  padding-bottom: 2rem;
}

.hero-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b8860b;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.hero-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #2c2416;
  margin: 0 0 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

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

.hero-desc {
  font-size: 1.125rem;
  color: #5c5244;
  margin: 0 0 2rem;
  max-width: 32rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

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

.hero-stats {
  flex-shrink: 0;
  padding-inline: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  max-width: min(90vw, 72rem);
  margin-inline: auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  font-size: clamp(0.75rem, 2vw, 0.8125rem);
  color: #5c5244;
}

.hero-stats span + span::before {
  content: "·";
  margin-right: 2rem;
  color: #e5dfd6;
}

/* Sections */
.section {
  padding-block: 6rem;
}

.section--alt {
  background-color: #efeae4;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b8860b;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: #2c2416;
  margin: 0 0 1.5rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: #5c5244;
  /* max-width: 42rem; */
  text-align: center;
  margin: 0 0 3rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  margin: 0 0 1rem;
  text-align: justify;
  color: #5c5244;
}

.about-list {
  margin-top: 2rem;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #5c5244;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background-color: #b8860b;
  border-radius: 50%;
}

.about-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-card {
  background-color: #ffffff;
  border: 1px solid #e5dfd6;
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.35s, transform 0.35s;
}

.about-card:hover {
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.08);
}

.about-card-value {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2416;
  margin-bottom: 0.25rem;
}

.about-card-label {
  font-size: 0.8125rem;
  color: #5c5244;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

/* For 5 cards: 3 on top row, 2 centered on bottom row */
.products-grid > .product-card:nth-child(4) {
  grid-column: 1 / 2;
}

.products-grid > .product-card:nth-child(5) {
  grid-column: 2 / 3;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #e5dfd6;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.35s, border-color 0.35s;
  min-width: 0;
  width: 100%;
}

.product-card.is-viewable {
  cursor:  pointer;
}

.product-card.is-viewable:focus-visible {
  outline: 2px solid #b8860b;
  outline-offset: 2px;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(44, 36, 22, 0.1);
  border-color: #e5dfd6;
}

.product-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
}

.product-card-image {
  aspect-ratio: 4/3;
  /* background-color: #efeae4; */
  width: 100%;
  overflow: hidden;
  position: relative;
}

.product-card--wide .product-card-image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 200px;
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #d4c4a8 0%, #b8a890 50%, #9a8c76 100%); */
  opacity: 0.9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-placeholder img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-card-body {
  padding: 1rem;
  background-color:#dad3cb;
}

.product-card-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c2416;
  margin: 0 0 0.5rem;
}

.product-card-desc {
  font-size: 0.9375rem;
  color: #5c5244;
  margin: 0;
  line-height: 1.55;
}

/* Media Section - Video */
.media-video-wrap {
  margin-top: 2rem;
  max-width: min(90vw, 56rem);
  margin-inline: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(44, 36, 22, 0.12);
  background-color: #1a1814;
}

.media-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(44, 36, 22, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lightbox-caption #lightbox-title {
  font-size: 1rem;
  font-weight: 600;
  display: none;
}

.lightbox-counter {
  font-size: 0.875rem;
  opacity: 0.8;
}

.lightbox.lightbox--single .lightbox-prev,
.lightbox.lightbox--single .lightbox-next,
.lightbox.lightbox--single .lightbox-counter {
  display: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.why-item {
  background-color: #ffffff;
  border: 1px solid #e5dfd6;
  border-radius: 6px;
  padding: 3rem;
  transition: box-shadow 0.35s;
}

.why-item:hover {
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.06);
}

.why-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8860b;
  margin-bottom: 1.5rem;
}

.why-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c2416;
  margin: 0 0 0.5rem;
}

.why-desc {
  font-size: 0.9375rem;
  color: #5c5244;
  margin: 0;
  line-height: 1.6;
}

/* Contact / Reach Us */
.contact-reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.contact-reach-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.contact-details {
  background-color: #f5f1eb;
  border-radius: 8px;
  padding: 2rem;
  min-width: 0;
}

.contact-details-heading {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c2416;
  margin: 0 0 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e8dcc8;
  color: #8b6914;
  border-radius: 50%;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.contact-detail-content strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2c2416;
}

.contact-detail-content span,
.contact-detail-content a {
  font-size: 0.9375rem;
  color: #5c5244;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-detail-content a:hover {
  color: #b8860b;
}

.contact-business-hours {
  background-color: #ebe4d9;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  min-width: 0;
}

.contact-business-hours-heading {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2c2416;
  margin: 0 0 1rem;
}

.contact-business-hours-row {
  font-size: 0.9375rem;
  color: #5c5244;
  margin: 0 0 0.35rem;
}

.contact-business-hours-row:last-child {
  margin-bottom: 0;
}

/* Legacy contact grid (kept for any other uses) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-company {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2416;
  margin: 0 0 1rem;
}

.contact-info .logo {
  display: inline-block;
  background: none !important;
}
.contact-info .logo img,
.contact-info .logo img.bg-none {
  mix-blend-mode: multiply;
  background: transparent !important;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

.contact-address {
  font-style: normal;
  font-size: 1rem;
  color: #5c5244;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-person {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.contact-gst {
  font-size: 0.8125rem;
  color: #5c5244;
  margin-bottom: 2rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-map-placeholder {
  background-color: #efeae4;
  border: 1px solid #e5dfd6;
  border-radius: 6px;
  padding: 3rem;
  text-align: center;
  color: #5c5244;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 280px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.contact-map-embed {
  border: 1px solid #e5dfd6;
  border-radius: 6px;
  overflow: hidden;
  min-height: 280px;
  height: 100%;
  flex: 1;
  background-color: #efeae4;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.contact-map-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

.contact-directions-link {
  color: #b8860b;
  font-weight: 500;
  text-underline-offset: 3px;
}
.contact-directions-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #2c2416;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-copy {
  font-size: 0.8125rem;
  opacity: 0.7;
  margin: 0;
}

/* Scroll-in animation utility */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .contact-reach-grid {
    grid-template-columns: 1fr;
  }

  .contact-reach-grid {
    gap: 1.5rem;
  }

  .contact-map-wrap {
    min-height: 240px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
  }

  .products-grid > .product-card:nth-child(4),
  .products-grid > .product-card:nth-child(5) {
    grid-column: auto;
  }

  .product-card,
  .product-card-image,
  .product-card-placeholder {
    width: 100%;
    max-width: 100%;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding-block: 4rem;
  }
}

/* Media section: 100% mobile responsive */
@media (max-width: 768px) {
  .media .container {
    padding-inline: 1rem;
    max-width: 100%;
  }

  .media-video-wrap {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    margin-top: 1.5rem;
    border-radius: 8px;
  }

  .media-video {
    width: 100%;
    min-height: 0;
    object-fit: contain;
  }

  .media .section-title,
  .media .section-desc {
    padding-inline: 0;
  }
}

@media (max-width: 480px) {
  .media .container {
    padding-inline: 1.75rem;
  }

  .media-video-wrap {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .nav {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e5dfd6;
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s, opacity 0.35s, visibility 0.35s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about-visual {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 3.5rem;
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .product-card-body {
    padding: 1.5rem;
  }

  .why-item {
    padding: 2rem;
  }

  .contact-details,
  .contact-business-hours {
    padding: 1.25rem 1rem;
  }

  .contact-detail-item {
    gap: 0.875rem;
    margin-bottom: 1rem;
  }

  .contact-detail-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .contact-detail-content strong,
  .contact-detail-content span,
  .contact-detail-content a {
    font-size: 0.875rem;
  }

  .contact-map-wrap {
    min-height: 220px;
    width: 100%;
  }

  .contact-map-embed {
    min-height: 220px;
    height: 220px;
    flex: none;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer-inner {
    padding-inline: 0;
  }

  .footer-brand,
  .footer-tagline,
  .footer-copy {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .footer-tagline {
    font-size: 0.8125rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .hero-stats span + span::before {
    display: none;
  }
}

/* Hero: extra small screens – prevent overlap, comfortable tap targets */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  /* Products: 100% width on mobile */
  .products-grid {
    gap: 1.25rem;
  }

  .product-card,
  .product-card-image,
  .product-card-placeholder,
  .product-card-placeholder img {
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding-block: 3rem;
  }

  .contact-details,
  .contact-business-hours {
    padding: 1rem 0.875rem;
  }

  .contact-details-heading {
    font-size: 1.125rem;
  }

  .contact-reach-grid {
    gap: 1.25rem;
  }

  .contact-map-embed {
    min-height: 200px;
    height: 200px;
  }

  .footer {
    padding: 1.5rem 0.75rem;
  }

  .footer-brand {
    font-size: 1rem;
  }

  .footer-tagline,
  .footer-copy {
    font-size: 0.75rem;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .hero-stats {
    font-size: 0.8125rem;
    padding-left: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-desc {
    margin-bottom: 2rem;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   Gallery Page
   ============================================ */

.gallery-main {
  padding-top: 4rem;
  min-height: 100vh;
}

.gallery-hero {
  padding-block: 4rem 2rem;
}

.gallery-title {
  margin-bottom: 0.5rem;
}

.container--wide {
  max-width: min(95vw, 88rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background-color: #efeae4;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: box-shadow 0.35s;
}

.gallery-card-visible {
  animation: gallery-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes gallery-card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-card:hover {
  box-shadow: 0 12px 32px rgba(44, 36, 22, 0.15);
}

.gallery-card:focus-visible {
  outline: 2px solid #b8860b;
  outline-offset: 2px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.footer-back {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  text-underline-offset: 3px;
}

.footer-back:hover {
  color: #fff;
}

.nav-link-active {
  color: #2c2416;
  font-weight: 600;
}

.nav-link-active::after {
  width: 100%;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-card {
    aspect-ratio: 4 / 3;
  }
}
