/* 
 * JMD Packaging Solutions - Clean Style Sheet
 * Aligned with BaseDesign.png
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --primary: #b21f24;
  /* JMD Red */
  --primary-hover: #91161a;
  --primary-light: #fbeeed;
  --secondary: #c59b27;
  /* Gold/Bronze */
  --secondary-hover: #a37f1e;
  --secondary-light: #faf5e6;
  --success: #4c7a34;
  /* Eco Green */
  --success-light: #edf2ea;

  /* Neutrals */
  --dark: #2b2b2b;
  /* Charcoal body text */
  --light-bg: #faf8f5;
  /* Warm off-white background */
  --border-light: #e6e2da;
  /* Warm soft border */
  --text-muted: #666666;
  --white: #ffffff;
  --dark-maroon: #2d1314;
  /* Premium wine/burgundy footer */

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(45, 19, 20, 0.03);
  --shadow-md: 0 10px 30px rgba(45, 19, 20, 0.06);
  --shadow-lg: 0 20px 40px rgba(45, 19, 20, 0.09);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Base Resets & Typography --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #1a1a1a;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark-maroon);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: var(--white);
  border-color: #25d366;
  color: #128c7e;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background-color: #25d366;
  color: var(--white);
  transform: translateY(-1px);
}

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

/* --- Sticky Header --- */
header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1240px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 19, 20, 0.06);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(45, 19, 20, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.sticky {
  top: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(45, 19, 20, 0.05);
  border-color: rgba(178, 31, 36, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .logo-img {
    height: 48px;
  }
}

.logo-text h2 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo-text span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 0.15rem;
}

.desktop-nav {
  display: none;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.phone-number svg {
  color: var(--primary);
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }

  .nav-actions {
    display: flex;
  }

  .desktop-nav ul {
    display: flex;
    gap: 1.5rem;
  }

  .desktop-nav a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
    padding: 0.5rem 0;
    position: relative;
  }

  .desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
  }

  .desktop-nav a:hover,
  .desktop-nav li.active a {
    color: var(--primary);
  }

  .desktop-nav a:hover::after,
  .desktop-nav li.active a::after {
    width: 100%;
  }
}

/* Hamburger mobile button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 101;
  box-shadow: var(--shadow-lg);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: var(--transition);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer a {
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-drawer a:hover {
  color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  background-color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-maroon);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.25rem;
  }
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero Badge Pillars Row */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

@media (min-width: 480px) {
  .hero-pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pillar-icon {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.pillar-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Organic Golden Arch Frame around Hero Image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-img-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.05 / 1;
  background-color: #f7f3ea;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  /* organic pebble shape */
  border: 2px solid var(--secondary);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.hero-img-frame img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
}

/* Excellence Seal Badge (Gold Circle with Red Ribbons) */
.badge-excellence {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 10;
}

.seal-circle {
  width: 84px;
  height: 84px;
  background-color: var(--white);
  border: 2px dashed var(--secondary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.seal-circle strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary);
  line-height: 1;
}

.seal-circle span {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Red ribbons behind seal */
.seal-ribbons {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 35px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.ribbon-left,
.ribbon-right {
  width: 18px;
  height: 100%;
  background-color: var(--primary);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.ribbon-right {
  transform: rotate(5deg);
}

.ribbon-left {
  transform: rotate(-5deg);
}

/* Unified Brands & Stats Ribbon Card */
.hero-ribbon-card {
  margin-top: -1rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.ribbon-inner {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 2.25rem;
}

/* Logos row styling */
.ribbon-logos-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ribbon-logos-row {
    flex-direction: row;
    align-items: center;
  }
}

.ribbon-logos-row h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-width: 180px;
}

.brand-logos-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.brand-logos-container img {
  height: 24px;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%) opacity(65%);
  transition: var(--transition);
}

.brand-logos-container img:hover {
  filter: grayscale(0%) opacity(100%);
}

/* Stats counter row */
.ribbon-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .ribbon-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ribbon-stats-row {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon-wrapper {
  color: var(--secondary);
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-maroon);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

/* --- Products Section --- */
.products {
  background-color: var(--white);
  padding: 4rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.card-image-box {
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background-color: var(--light-bg);
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-text-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-title-row svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.card-title-row h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-maroon);
}

.card-text-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.5;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.card-action-link svg {
  transition: var(--transition);
}

.product-card:hover .card-action-link svg {
  transform: translateX(4px);
}

/* --- Why Choose Section --- */
.why-choose {
  background-color: var(--white);
  padding: 4rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.why-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 480px) {
  .why-features-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-svg-wrapper {
  color: var(--secondary);
  flex-shrink: 0;
}

.feature-check-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* Custom rounded corners machinery wrapper */
.why-machinery-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  aspect-ratio: 1.35 / 1;
}

.why-machinery-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Featured Products Carousel --- */
.featured {
  background-color: var(--white);
  padding: 4rem 0;
  overflow: hidden;
}

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.featured-actions {
  display: flex;
  gap: 0.5rem;
}

.carousel-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
}

.carousel-arrow-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.carousel-arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-viewport {
  margin: 0 -1rem;
  padding: 0 1rem 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  display: flex;
  gap: 1.5rem;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  max-width: 100%;
}

@media (min-width: 640px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
}

.slide-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.slide-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.slide-img-box {
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background-color: var(--light-bg);
}

.slide-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.slide-card:hover .slide-img-box img {
  transform: scale(1.02);
}

.slide-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark-maroon);
  margin-bottom: 0.25rem;
}

.slide-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Testimonials & Contact CTA --- */
.testimonials {
  background-color: var(--white);
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.quotes-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quote-box {
  background-color: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 2rem;
  border: 1px solid var(--border-light);
  position: relative;
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(197, 155, 39, 0.15);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.star-rating {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.quote-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.quote-author {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* JMD Side CTA Box with stacked boxes illustration */
.cta-box-card {
  background-color: var(--light-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-graphic {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.box-vector {
  width: 45px;
  height: 45px;
  background-color: #d8c29d;
  border: 1.5px solid #bba177;
  position: relative;
  border-radius: 2px;
}

.box-vector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}

.box-vector.sm {
  width: 32px;
  height: 32px;
  background-color: #e5d8bf;
}

.cta-box-card h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--dark-maroon);
  margin-bottom: 1rem;
}

.cta-box-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-action-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 260px;
}

.cta-action-list .btn {
  width: 100%;
}

/* --- Dark Wine Maroon Footer --- */
footer {
  background-color: var(--dark-maroon);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 580px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: 1.2fr 0.75fr 0.75fr 1fr;
  }
}

.footer-brand-col p {
  font-size: 0.85rem;
  color: #c4b0b1;
  margin: 1.5rem 0;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-circle-link {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  transition: var(--transition);
}

.social-circle-link:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list a {
  color: #c4b0b1;
  font-size: 0.85rem;
}

.footer-list a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-row-item svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-row-item p {
  color: #c4b0b1;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #8f7f80;
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
  }
}

/* --- Interactive Inquiry Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(45, 19, 20, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 540px;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  transform: scale(1.05);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-full {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-maroon);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--light-bg);
  transition: var(--transition);
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(178, 31, 36, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.modal-footer {
  padding: 1rem 2rem 2rem;
}

.modal-footer .btn {
  width: 100%;
}

/* Form Success overlay container */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 10;
}

.form-success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--success-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

.form-success-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-maroon);
  margin-bottom: 0.5rem;
}

.form-success-overlay p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Utilities */
.no-scroll {
  overflow: hidden !important;
}

/* --- Industries We Serve Bar --- */
.industries-bar {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  margin-top: 1.5rem;
}

.industries-bar::-webkit-scrollbar {
  display: none;
  /* Safari/Chrome */
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  /* Theme Red */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.industry-item:hover {
  color: var(--secondary);
  /* Theme Gold on hover */
}

.industry-icon {
  color: var(--secondary);
  /* Theme Gold */
  flex-shrink: 0;
  transition: var(--transition);
}

.industry-item:hover .industry-icon {
  color: var(--primary);
  /* Theme Red on hover */
  transform: translateY(-1px);
}

.industry-separator {
  width: 1px;
  height: 18px;
  background-color: var(--border-light);
  flex-shrink: 0;
  display: none;
  /* hidden on mobile */
}

@media (min-width: 1024px) {
  .industry-separator {
    display: block;
  }
}

/* --- Sustainability Section --- */
.sustainability-section {
  padding: 3rem 0;
}

.sustainability-banner {
  background: linear-gradient(135deg, #fdfbf7 0%, #f7f3ea 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: visible;
  /* Allows leaves to overlap borders */
}

@media (min-width: 1024px) {
  .sustainability-banner {
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 2.5rem 3rem 8rem;
    /* Space on the left for absolute leaves */
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .sustainability-banner {
    padding: 3.5rem 3rem 3.5rem 10rem;
    /* Increased padding for larger screens */
  }
}

.sustain-content-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .sustain-content-wrapper {
    flex: 1.1;
    gap: 0;
  }
}

.sustain-leaves-img {
  width: 90px;
  height: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  display: none;
}

@media (min-width: 480px) {
  .sustain-leaves-img {
    display: block;
  }
}

@media (min-width: 1024px) {
  .sustain-leaves-img {
    display: block;
    position: absolute;
    left: -20px;
    top: -20px;
    height: calc(100% + 40px);
    width: auto;
    max-width: 130px;
    object-fit: contain;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 5;
  }
}

@media (min-width: 1200px) {
  .sustain-leaves-img {
    left: -35px;
    top: -30px;
    height: calc(100% + 60px);
    max-width: 155px;
  }
}

.sustain-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.sustain-tag {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  display: block;
}

.sustain-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-maroon);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .sustain-title {
    font-size: 2.1rem;
  }
}

.sustain-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.sustain-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: var(--transition);
}

.sustain-link:hover {
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.sustain-link svg {
  transition: var(--transition);
}

.sustain-link:hover svg {
  transform: translateX(4px);
}

.sustain-flowchart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (min-width: 1024px) {
  .sustain-flowchart {
    flex: 1.3;
    justify-content: flex-end;
    gap: 0.75rem;
  }
}

@media (min-width: 1200px) {
  .sustain-flowchart {
    gap: 1.25rem;
  }
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  width: 80px;
}

@media (min-width: 480px) {
  .flow-step {
    width: 90px;
  }
}

.flow-icon-circle {
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

@media (min-width: 768px) {
  .flow-icon-circle {
    width: 68px;
    height: 68px;
  }
}

.flow-step:hover .flow-icon-circle {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.flow-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dark-maroon);
  text-transform: none;
  /* mixed-case labels matching BaseDesign.png */
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.flow-arrow-svg {
  width: 20px;
}

@media (min-width: 480px) {
  .flow-arrow-svg {
    width: 32px;
  }
}

@media (min-width: 768px) {
  .flow-arrow-svg {
    width: 48px;
  }
}

@media (max-width: 639px) {
  .sustain-flowchart {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .flow-connector {
    display: none;
  }

  .flow-step {
    width: 100%;
  }
}

/* ==========================================
     SUBPAGE STYLING ELEMENTS
     ========================================== */
.subpage-hero {
  padding: 12rem 0 8rem;
  background-image: linear-gradient(rgba(45, 19, 20, 0.78), rgba(45, 19, 20, 0.88)), url('assets/hero_subpage_bg.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
}

.subpage-hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.subpage-hero p {
  color: #dfd8cf;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .subpage-hero {
    text-align: center;
    padding: 10rem 0 6rem;
  }

  .subpage-hero h1 {
    font-size: 2.75rem;
  }

  .subpage-hero p {
    font-size: 1.1rem;
    margin: 0 auto;
  }
}

/* Specific Products Subpage Hero */
#products-hero {
  padding: 10.5rem 0 6.5rem;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(22, 9, 8, 0.95) 0%, rgba(32, 14, 11, 0.88) 32%, rgba(32, 14, 11, 0.45) 58%, rgba(32, 14, 11, 0.1) 100%), url('assets/product-page-header-bg.png');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: left;
}

.products-hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  display: inline-block;
  color: #e5b842;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.products-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.products-hero-desc {
  color: #ede3d8;
  font-size: 1.12rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.hero-badge-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  color: #f7f3ed;
  transition: transform 0.25s ease;
  cursor: default;
}

.hero-badge-item .badge-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(229, 184, 66, 0.6);
  background: rgba(32, 14, 11, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5b842;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge-item:hover .badge-icon-wrap {
  border-color: #e5b842;
  background: rgba(229, 184, 66, 0.22);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 18px rgba(229, 184, 66, 0.35);
}

.hero-badge-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f7f3ed;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

@media (max-width: 991px) {
  #products-hero {
    background-image: linear-gradient(180deg, rgba(22, 9, 8, 0.94) 0%, rgba(32, 14, 11, 0.86) 60%, rgba(32, 14, 11, 0.6) 100%), url('assets/product-page-header-bg.png');
    background-position: center right;
    padding: 9rem 0 5rem;
  }

  .products-hero-content {
    max-width: 100%;
  }

  .hero-feature-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .hero-badge-item {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 576px) {
  #products-hero {
    padding: 8rem 0 4rem;
    text-align: left;
  }

  .products-hero-title {
    font-size: 2.15rem;
  }

  .products-hero-desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-feature-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .hero-badge-item .badge-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .hero-badge-item .badge-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .hero-badge-item span {
    font-size: 0.72rem;
  }
}

/* Specific About Us Subpage Hero */
#about-hero {
  padding: 10.5rem 0 6.5rem;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(22, 9, 8, 0.95) 0%, rgba(32, 14, 11, 0.88) 32%, rgba(32, 14, 11, 0.45) 58%, rgba(32, 14, 11, 0.1) 100%), url('assets/factory_machinery.png');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: left;
}

@media (max-width: 991px) {
  #about-hero {
    background-image: linear-gradient(180deg, rgba(22, 9, 8, 0.94) 0%, rgba(32, 14, 11, 0.86) 60%, rgba(32, 14, 11, 0.6) 100%), url('assets/factory_machinery.png');
    background-position: center right;
    padding: 9rem 0 5rem;
  }
}

@media (max-width: 576px) {
  #about-hero {
    padding: 8rem 0 4rem;
    text-align: left;
  }
}

/* About Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
  margin-top: 1rem;
}

.about-stat-box {
  background: #faf8f5;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.1rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.about-stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.12);
}

.about-stat-box h4 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.about-stat-box span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 576px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Infrastructure Feature List */
.infra-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1rem;
}

.infra-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  transition: all 0.25s ease;
}

.infra-feature-item:hover {
  border-color: var(--secondary);
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.infra-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--secondary-light);
  border: 1px solid rgba(197, 155, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-hover);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.infra-feature-item:hover .infra-icon-wrap {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.infra-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-maroon);
  margin-bottom: 0.25rem;
}

.infra-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Vision/Mission Grid */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vision-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.75rem 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 155, 39, 0.4);
  box-shadow: 0 12px 30px rgba(45, 19, 20, 0.08);
}

.vision-card:hover::before {
  opacity: 1;
}

.vision-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--secondary-light);
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  color: var(--secondary-hover);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.vision-card:hover .vision-icon-wrap {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.08);
}

.vision-card h3 {
  font-family: var(--font-heading);
  color: var(--dark-maroon);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.vision-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Catalog Detail Section */
.catalog-details {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  margin-top: 4rem;
}

.catalog-item-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .catalog-item-row {
    grid-template-columns: 1.05fr 1.15fr;
  }

  .catalog-item-row.reverse {
    grid-template-columns: 1.15fr 1.05fr;
  }
}

.catalog-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(45, 19, 20, 0.08);
  aspect-ratio: 1.35 / 1;
  background-color: #f7f4ee;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.catalog-img-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(45, 19, 20, 0.12);
}

.catalog-img-box img.catalog-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.catalog-img-box img.catalog-main-img.is-switching {
  opacity: 0.25;
  transform: scale(0.985);
}

/* Floating Caption Badge on Image */
.catalog-img-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.catalog-img-caption .caption-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(178, 31, 36, 0.7);
  animation: captionPulse 2s infinite;
}

@keyframes captionPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(178, 31, 36, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(178, 31, 36, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(178, 31, 36, 0);
  }
}

.catalog-img-caption .caption-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-maroon);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.catalog-content h3 {
  font-size: 2.1rem;
  color: var(--dark-maroon);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}

.catalog-content h3 svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.catalog-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* Sub-Types Interactive Header & Grid */
.sub-types-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(230, 226, 218, 0.6);
}

.sub-types-header-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-maroon);
}

.sub-types-hover-hint {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--secondary-hover);
  font-weight: 600;
  background: var(--secondary-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 155, 39, 0.2);
}

.bullet-list-custom.sub-types-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 2rem;
  text-align: left;
}

@media (min-width: 640px) {
  .bullet-list-custom.sub-types-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bullet-list-custom .sub-type-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--dark);
  background: #faf8f5;
  border: 1px solid var(--border-light);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.bullet-list-custom .sub-type-item::before {
  display: none;
}

.bullet-list-custom .sub-type-item .item-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow: hidden;
}

.bullet-list-custom .sub-type-item .item-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.bullet-list-custom .sub-type-item .item-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.bullet-list-custom .sub-type-item .item-arrow {
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.bullet-list-custom .sub-type-item:hover,
.bullet-list-custom .sub-type-item.active {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(178, 31, 36, 0.12);
  font-weight: 600;
}

.bullet-list-custom .sub-type-item:hover .item-name,
.bullet-list-custom .sub-type-item.active .item-name {
  color: var(--primary);
}

.bullet-list-custom .sub-type-item:hover .item-bullet,
.bullet-list-custom .sub-type-item.active .item-bullet {
  background: var(--primary);
  transform: scale(1.4);
}

.bullet-list-custom .sub-type-item:hover .item-arrow,
.bullet-list-custom .sub-type-item.active .item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}