/* ============================================================
   Hedrapack — Modern Design System v4
   Premium packaging catalog · Fast quote flow
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --c-bg:           #f5efe6;
  --c-bg-warm:      #faf5ed;
  --c-bg-white:     #ffffff;
  --c-ink:          #1a1814;
  --c-ink-2:        #2c2a25;
  --c-muted:        #6b6455;
  --c-muted-light:  #9b9285;
  --c-yellow:       #f5b019;
  --c-yellow-light: #ffd266;
  --c-yellow-dark:  #c98b00;
  --c-yellow-glow:  rgba(245, 176, 25, 0.28);
  --c-green:        #2d5040;
  --c-green-2:      #1e3629;
  --c-green-light:  #3d6b57;
  --c-line:         rgba(26, 24, 20, 0.1);
  --c-line-strong:  rgba(26, 24, 20, 0.18);

  /* Typography */
  --font-sans:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Shadows */
  --shadow-xs:    0 2px 8px rgba(26, 24, 20, 0.06);
  --shadow-sm:    0 6px 18px rgba(26, 24, 20, 0.08);
  --shadow-md:    0 12px 32px rgba(26, 24, 20, 0.11);
  --shadow-lg:    0 22px 52px rgba(26, 24, 20, 0.14);
  --shadow-xl:    0 36px 80px rgba(26, 24, 20, 0.18);
  --shadow-glow:  0 12px 32px rgba(245, 176, 25, 0.30);
  --shadow-focus: 0 0 0 3px rgba(245, 176, 25, 0.36);

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Spacing */
  --section-pad: clamp(52px, 6vw, 96px);
  --container:   1160px;

  /* Transitions */
  --t-fast:   160ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-base:   240ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-slow:   400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    background-color var(--t-base),
    border-color var(--t-base),
    color var(--t-base);
}

.btn-brand {
  color: var(--c-ink) !important;
  background: var(--c-yellow) !important;
  border: none !important;
  box-shadow: var(--shadow-glow);
}

.btn-brand:hover {
  background: var(--c-yellow-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 176, 25, 0.38);
}

.btn-brand:active { transform: translateY(0); }

.btn-ghost {
  color: #fff !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: rgba(255,255,255,0.48) !important;
  transform: translateY(-2px);
}

.btn-outline-brand {
  color: var(--c-green) !important;
  background: #fff !important;
  border: 1.5px solid var(--c-line-strong) !important;
}

.btn-outline-brand:hover {
  border-color: var(--c-yellow) !important;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-with-arrow { gap: 8px; }
.btn-with-arrow span,
.boxes-section-cta span,
.boxes-product-actions a span {
  display: inline-block;
  transition: transform var(--t-base);
}
.btn-with-arrow:hover span,
.boxes-section-cta:hover span,
.boxes-product-actions a:hover span { transform: translateX(4px); }

/* Focus rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

main {
  transform-origin: 50% 32px;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: hedraPageLeave 180ms ease both;
}

::view-transition-new(root) {
  animation: hedraPageEnter 220ms ease both;
}

::view-transition-group(product-image) {
  animation-duration: 240ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.boxes-detail-preview img {
  view-transition-name: product-image;
}

body.page-enter main {
  animation: hedraPageEnter 220ms ease both;
}

body.page-leave main {
  pointer-events: none;
  animation: hedraPageLeave 180ms ease both;
}

@keyframes hedraPageEnter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hedraPageLeave {
  to {
    opacity: 0;
    transform: translateY(4px) scale(0.986);
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.market-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 239, 230, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  transition:
    background var(--t-slow),
    border-color var(--t-slow),
    box-shadow var(--t-slow);
}

.market-header.is-scrolled {
  background: rgba(250, 245, 237, 0.95);
  border-bottom-color: var(--c-line);
  box-shadow: 0 2px 24px rgba(26, 24, 20, 0.07);
}

.market-header-main {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding-block: 12px;
}

/* Logo */
.market-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.market-logo img {
  width: 156px;
  max-height: 48px;
  object-fit: contain;
  transform-origin: left center;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.market-logo:hover img {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Search */
.market-search {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 90px;
  align-items: center;
  width: min(100%, 640px);
  justify-self: stretch;
  min-height: 48px;
  overflow: visible;
  background: #fff;
  border: 2px solid var(--c-line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-base);
}

.market-search:focus-within {
  border-color: var(--c-yellow);
  box-shadow: var(--shadow-focus), var(--shadow-sm);
  transform: translateY(-1px);
}

.market-live-search {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 260;
  display: grid;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(26, 24, 20, 0.12);
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(26, 24, 20, 0.16);
  backdrop-filter: blur(18px);
  transform-origin: top center;
  animation: liveSearchIn 180ms ease both;
}

.market-live-search[hidden] {
  display: none;
}

@keyframes liveSearchIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.market-live-search-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 8px;
  color: var(--c-ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.market-live-search-item:hover,
.market-live-search-item:focus-visible,
.market-live-search-item.is-active {
  color: var(--c-ink);
  background: var(--c-bg-warm);
  border-color: rgba(245, 176, 25, 0.42);
  transform: translateY(-1px);
}

.market-live-search-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: #f4eadb;
}

.market-live-search-item span {
  display: block;
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.market-live-search-item strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-live-search-item small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-live-search-empty {
  padding: 16px 14px;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.45;
}

.market-search-icon {
  display: grid;
  place-items: center;
  color: var(--c-muted);
}

.market-search-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.market-search input {
  min-height: 44px;
  padding: 0 8px 0 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-ink);
}

.market-search input:hover,
.market-search input:focus,
.market-search input:focus-visible {
  border-color: transparent;
  outline: none;
  box-shadow: none;
}

.market-search input::placeholder { color: var(--c-muted-light); }

.market-search button {
  align-self: stretch;
  min-height: 100%;
  min-width: 0;
  padding-inline: 16px;
  border: none !important;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink) !important;
  background: var(--c-yellow) !important;
  transition: background-color var(--t-fast);
  cursor: pointer;
}

.market-search button:hover { background: var(--c-yellow-light) !important; }

/* Nav */
.market-simple-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.5vw, 20px);
  white-space: nowrap;
}

.market-simple-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: var(--c-ink-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}

.market-simple-nav a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--c-yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.market-simple-nav a:hover { color: var(--c-ink); }
.market-simple-nav a:hover::after,
.market-simple-nav a:focus-visible::after { transform: scaleX(1); }

/* Mobile toggle */
.market-menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.market-menu-toggle:hover {
  border-color: var(--c-yellow);
  box-shadow: var(--shadow-xs);
}

.navbar-toggler-icon {
  width: 18px;
  height: 2px;
  background: var(--c-ink);
  box-shadow: 0 6px 0 var(--c-ink), 0 -6px 0 var(--c-ink);
  border-radius: 2px;
}

/* Mobile nav dropdown */
.market-mobile-nav {
  background: rgba(250, 245, 237, 0.97);
  border-top: 1px solid var(--c-line);
  backdrop-filter: blur(16px);
}

.market-mobile-nav .container {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
  gap: 4px;
}

.market-mobile-nav a {
  padding: 12px 4px;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}

.market-mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.boxes-home-hero {
  padding: 22px 0 36px;
  background: var(--c-bg);
}

.boxes-hero-card {
  position: relative;
  min-height: clamp(400px, 40vw, 540px);
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #1e1b14;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-xl);
}

/* Premium variant */
.boxes-hero-card--premium {
  background: #f0e8d6;
}

.boxes-hero-card--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(250, 245, 237, 0.98) 0%,
      rgba(250, 245, 237, 0.92) 30%,
      rgba(250, 245, 237, 0.55) 55%,
      rgba(250, 245, 237, 0.04) 100%),
    linear-gradient(180deg, rgba(250, 245, 237, 0) 60%, rgba(34, 28, 18, 0.09) 100%);
  pointer-events: none;
}

/* Dark variant */
.boxes-hero-card:not(.boxes-hero-card--premium)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(18, 14, 8, 0.92) 0%,
      rgba(18, 14, 8, 0.65) 40%,
      rgba(18, 14, 8, 0.12) 75%),
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.20) 100%);
  pointer-events: none;
}

.boxes-hero-visual {
  position: absolute;
  inset: 0;
  background: #e8dcc8;
}

.boxes-hero-visual > img,
.boxes-hero-visual .hero-slide,
.boxes-hero-visual .placeholder-product {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.boxes-hero-visual .hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s ease;
}

.boxes-hero-visual .hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Hero copy */
.boxes-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0;
  min-height: clamp(400px, 40vw, 540px);
  max-width: 580px;
  padding: clamp(36px, 6vw, 72px);
  color: var(--c-ink);
}

.boxes-hero-card:not(.boxes-hero-card--premium) .boxes-hero-copy {
  color: #fff;
}

.boxes-hero-copy > span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin-bottom: 18px;
  background: rgba(245, 176, 25, 0.18);
  border: 1px solid rgba(245, 176, 25, 0.42);
  border-radius: var(--r-pill);
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.boxes-hero-card:not(.boxes-hero-card--premium) .boxes-hero-copy > span {
  color: var(--c-yellow);
  background: rgba(245, 176, 25, 0.14);
  border-color: rgba(245, 176, 25, 0.30);
}

.boxes-hero-copy h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.8vw, 74px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.boxes-hero-card:not(.boxes-hero-card--premium) .boxes-hero-copy h1 {
  color: #fff;
}

.boxes-hero-copy p {
  max-width: 430px;
  margin: 20px 0 0;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--c-muted);
}

.boxes-hero-card:not(.boxes-hero-card--premium) .boxes-hero-copy p {
  color: rgba(255,255,255,0.75);
}

.boxes-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.boxes-hero-actions .btn {
  min-height: 50px;
  min-width: 154px;
  padding-inline: 24px;
  font-size: 15px;
}

.boxes-hero-card--premium .boxes-hero-actions .btn-ghost {
  color: var(--c-ink) !important;
  background: rgba(255,255,255,0.72) !important;
  border-color: rgba(26, 24, 20, 0.2) !important;
}

.boxes-hero-card--premium .boxes-hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.92) !important;
}

/* Builder card (floating info) */
.boxes-builder-card,
.boxes-mobile-builder {
  display: none !important;
}

/* Hero carousel dots */
.hb-banner-controls {
  position: absolute;
  left: clamp(36px, 6vw, 72px);
  right: clamp(20px, 3vw, 40px);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hb-banner-controls strong { display: none; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.boxes-trust-strip {
  padding: 18px 0;
  background: transparent;
  border-block: 1px solid var(--c-line);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
}

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

.boxes-trust-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.boxes-trust-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(245, 176, 25, 0.35);
}

.boxes-trust-icon {
  flex: 0 0 44px;
  display: grid !important;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  color: var(--c-green);
  background: linear-gradient(135deg, #fff8e1, #fff3c4);
  border: 1px solid rgba(245, 176, 25, 0.28);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
}

.boxes-trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.boxes-trust-grid strong {
  display: block;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.boxes-trust-grid span:not(.boxes-trust-icon) {
  display: block;
  margin-top: 2px;
  color: var(--c-muted);
  font-size: 13px;
}

/* ============================================================
   SECTION HEADING
   ============================================================ */
.boxes-section {
  padding-block: clamp(32px, 4.5vw, 60px);
  background: var(--c-bg);
}

.boxes-products-section {
  background: var(--c-bg-white);
  padding-top: clamp(28px, 3.5vw, 48px);
}

.boxes-section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px 18px;
  align-items: end;
  margin-bottom: 22px;
}

.boxes-section-head > span {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-section-head h2 {
  grid-column: 1;
  margin: 6px 0 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.boxes-section-cta {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--c-green);
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--t-base), box-shadow var(--t-base), color var(--t-base);
}

.boxes-section-cta:hover {
  color: var(--c-ink);
  border-color: rgba(245, 176, 25, 0.6);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   PRODUCT GRID & CARDS
   ============================================================ */
.market-product-grid,
.boxes-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.boxes-catalog-grid {
  transition: opacity 170ms ease;
  transform-origin: top center;
}

.boxes-catalog-grid.is-filtering {
  opacity: 0;
}

.boxes-catalog-grid.is-filtered {
  opacity: 1;
}

.boxes-catalog-grid .catalog-card-visible {
  animation: catalogCardIn 220ms ease both;
  animation-delay: var(--catalog-card-delay, 0ms);
}

@keyframes catalogCardIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.market-product-card,
.boxes-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    border-color var(--t-base);
}

.market-product-card:hover,
.boxes-product-card:hover,
.boxes-product-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(245, 176, 25, 0.55);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(245, 176, 25, 0.12);
}

.market-product-media,
.boxes-product-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f1e8;
  text-decoration: none;
}

.market-product-media img,
.boxes-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform var(--t-slow);
}

.market-product-card:hover .market-product-media img,
.boxes-product-card:hover .boxes-product-media img,
.boxes-product-card:focus-within .boxes-product-media img {
  transform: scale(1.04);
}

.market-product-body,
.boxes-product-body {
  display: grid;
  gap: 8px;
  padding: 14px;
  flex: 1;
}

.market-product-category,
.boxes-product-category {
  display: block;
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.boxes-product-title-link {
  color: inherit;
  text-decoration: none;
}

.boxes-product-title-link:hover { color: var(--c-ink); }

.market-product-body h3,
.boxes-product-body h3 {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.market-product-body p,
.boxes-product-body p,
.market-product-meta {
  display: none !important;
}

.market-product-actions,
.boxes-product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
}

.market-product-actions a,
.boxes-product-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-ink) !important;
  background: var(--c-yellow) !important;
  border: none !important;
  transition: background-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.market-product-actions a:hover,
.boxes-product-actions a:hover {
  background: var(--c-yellow-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

/* Placeholder (no image) */
.placeholder-product {
  display: grid;
  place-items: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0e8d8, #e8dcc8);
  color: var(--c-muted);
  text-align: center;
  padding: 16px;
}

.placeholder-product span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted-light);
}

.placeholder-product strong {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-muted);
}

/* ============================================================
   WHOLESALE / CTA SECTION
   ============================================================ */
.boxes-wholesale {
  padding-block: clamp(44px, 5vw, 72px);
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-2) 100%);
  position: relative;
  overflow: hidden;
}

.boxes-wholesale::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245, 176, 25, 0.08), transparent),
    linear-gradient(135deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(225deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  pointer-events: none;
}

.boxes-wholesale-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.boxes-wholesale span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(245, 176, 25, 0.18);
  border: 1px solid rgba(245, 176, 25, 0.32);
  border-radius: var(--r-pill);
  color: var(--c-yellow-light);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-wholesale h2 {
  max-width: 700px;
  margin: 10px 0 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ============================================================
   PAGE HERO (Catalog, About, Contact)
   ============================================================ */
.boxes-page-hero {
  padding: clamp(40px, 5vw, 72px) 0;
  background:
    linear-gradient(110deg, var(--c-bg-warm) 0 56%, #eddfc5 56% 100%);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}

.boxes-page-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 40%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245, 176, 25, 0.08), transparent 70%);
  pointer-events: none;
}

.boxes-page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
}

.boxes-page-hero span,
.boxes-page-hero > span,
.boxes-page-hero-inner > div > span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  margin-bottom: 10px;
  background: rgba(245, 176, 25, 0.14);
  border: 1px solid rgba(245, 176, 25, 0.30);
  border-radius: var(--r-pill);
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-page-hero h1 {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.boxes-page-hero p {
  margin: 0;
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.5;
}

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.boxes-catalog-section {
  padding: clamp(28px, 3.5vw, 48px) 0;
  background: var(--c-bg);
}

.boxes-catalog-hero { display: none; }

.boxes-catalog-title {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}

.boxes-catalog-title span {
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-catalog-title h1 {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

/* Category chips */
.boxes-category-chips {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 2px;
}

.boxes-category-chips::-webkit-scrollbar { display: none; }

.boxes-category-chips a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  color: var(--c-ink);
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-base), border-color var(--t-base), color var(--t-base), box-shadow var(--t-base);
}

.boxes-category-chips a:hover {
  border-color: rgba(245, 176, 25, 0.5);
  box-shadow: var(--shadow-xs);
}

.boxes-category-chips a.is-active {
  color: var(--c-ink);
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  box-shadow: var(--shadow-glow);
}

/* Catalog filter */
.boxes-catalog-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  padding: 14px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}

.boxes-catalog-filter label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.boxes-catalog-filter label span {
  color: var(--c-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.boxes-catalog-filter input,
.boxes-catalog-filter select {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  color: var(--c-ink);
  background: var(--c-bg-warm);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}

.boxes-catalog-filter input:focus,
.boxes-catalog-filter select:focus {
  outline: none;
  border-color: var(--c-yellow);
  background: #fff;
  box-shadow: var(--shadow-focus);
  transform: translateY(-1px);
}

.boxes-catalog-filter .btn {
  min-height: 42px;
  padding-inline: 18px;
}

/* Toolbar */
.boxes-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--c-muted);
}

.boxes-catalog-toolbar div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--c-ink);
}

.boxes-catalog-toolbar strong {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.boxes-catalog-toolbar p { margin: 0; font-size: 14px; }

/* Category note */
.boxes-category-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
}

.boxes-category-note strong {
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
}

.boxes-category-note span {
  max-width: 680px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Empty state */
.boxes-empty-catalog {
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.boxes-detail-shell {
  padding: clamp(28px, 3.5vw, 48px) 0;
  background: var(--c-bg);
}

.boxes-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.boxes-detail-gallery {
  position: static;
  top: auto;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.boxes-detail-preview {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.boxes-detail-preview img,
.boxes-detail-preview .placeholder-product {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boxes-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  overflow: visible;
  padding: 4px 2px 2px;
}

.boxes-detail-thumbs .variant-thumb,
.boxes-detail-thumbs img {
  flex: 0 0 168px;
  width: 168px;
  min-width: 168px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.boxes-detail-thumbs .variant-thumb:hover,
.boxes-detail-thumbs img:hover {
  border-color: rgba(245, 176, 25, 0.6);
}

.boxes-detail-thumbs .variant-thumb.is-active {
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 2px rgba(245, 176, 25, 0.22);
}

.boxes-detail-thumbs .variant-thumb {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 176px;
  padding: 10px;
  text-align: left;
}

.boxes-detail-thumbs .variant-thumb img,
.boxes-detail-thumbs > img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
}

.boxes-detail-thumbs .variant-thumb span {
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Detail info panel */
.boxes-detail-info {
  position: static;
  top: auto;
  display: grid;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.boxes-detail-info h1 {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.boxes-detail-info .lead {
  margin: 0;
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.55;
}

.boxes-detail-category {
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Offer panel */
.boxes-offer-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #fffbee, #fff6d6);
  border: 1.5px solid rgba(245, 176, 25, 0.4);
  border-radius: var(--r-md);
}

.boxes-offer-panel span {
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.boxes-offer-panel strong {
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

/* Detail facts */
.boxes-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}

.boxes-detail-facts article {
  padding: 12px;
  background: var(--c-bg-warm);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
}

.boxes-detail-facts span {
  display: block;
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.boxes-detail-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* Variant selector */
.boxes-variant-selector { display: grid; gap: 10px; }

.boxes-variant-title { display: grid; gap: 4px; }

.boxes-variant-title span {
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-variant-title strong {
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
}

.boxes-variant-options { display: grid; gap: 8px; }

.boxes-variant-card {
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.boxes-variant-card:hover { border-color: rgba(245, 176, 25, 0.5); }

.boxes-variant-card.is-active {
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 2px rgba(245, 176, 25, 0.18);
}

.boxes-variant-card .variant-card-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  color: var(--c-ink);
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
}

.boxes-variant-card small { color: var(--c-muted); font-weight: 500; }

.boxes-variant-card .variant-card-body { padding: 0 15px 13px; }

.boxes-variant-card .variant-card-body p {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.45;
}

body.variant-modal-open {
  overflow: hidden;
}

.boxes-variant-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  overscroll-behavior: contain;
}

.boxes-variant-modal[hidden] {
  display: none;
}

.boxes-variant-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.54);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 180ms ease;
}

.boxes-variant-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  overflow: hidden;
  background: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 90px rgba(26, 24, 20, 0.26);
  opacity: 0;
  outline: none;
  transform: translateY(10px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.boxes-variant-modal.is-open .boxes-variant-modal-backdrop {
  opacity: 1;
}

.boxes-variant-modal.is-open .boxes-variant-modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.boxes-variant-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--c-ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(26, 24, 20, 0.12);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.boxes-variant-modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 176, 25, 0.62);
  box-shadow: 0 14px 30px rgba(26, 24, 20, 0.16);
}

.boxes-variant-modal-media {
  min-height: 420px;
  background: var(--c-bg-warm);
}

.boxes-variant-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.boxes-variant-modal-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 46px);
}

.boxes-variant-modal-content span {
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boxes-variant-modal-content h2 {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.boxes-variant-modal-content p {
  margin: 0;
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.55;
}

.boxes-variant-modal-content p:not([hidden]) + p:not([hidden]) {
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}

/* ============================================================
   ABOUT / CONTENT SECTIONS
   ============================================================ */
.boxes-about-section { background: var(--c-bg-white); }

.boxes-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.boxes-showcase-grid--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.boxes-showcase-copy > span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(245, 176, 25, 0.12);
  border: 1px solid rgba(245, 176, 25, 0.28);
  border-radius: var(--r-pill);
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-showcase-copy h2 {
  margin: 10px 0 18px;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.boxes-showcase-media,
.boxes-process-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #ede3d4;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.boxes-showcase-media { aspect-ratio: 16/10; }
.boxes-process-media { aspect-ratio: 16/11; }

.boxes-showcase-media img,
.boxes-process-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info list */
.boxes-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.boxes-info-list article {
  padding: 16px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.boxes-info-list article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(245, 176, 25, 0.35);
}

.boxes-info-list--compact article { min-height: 100px; }

.boxes-info-list strong {
  display: block;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.boxes-info-list span {
  display: block;
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Content grid (3-col on about) */
.boxes-content-grid,
.boxes-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.boxes-content-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.boxes-sector-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }

.boxes-content-grid article,
.boxes-sector-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 160px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.boxes-content-grid article:hover,
.boxes-sector-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(245, 176, 25, 0.38);
}

.boxes-content-grid span,
.boxes-sector-grid span,
.boxes-detail-content span {
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.boxes-content-grid h3,
.boxes-sector-grid strong {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.boxes-content-grid p,
.boxes-detail-content p,
.boxes-detail-description p,
.boxes-info-grid p,
.boxes-whatsapp-checklist li,
.boxes-split-info p {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Split info */
.boxes-split-info {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.boxes-split-info > div:first-child > span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(245, 176, 25, 0.12);
  border: 1px solid rgba(245, 176, 25, 0.28);
  border-radius: var(--r-pill);
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-split-info h2 {
  margin: 10px 0 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.boxes-split-info p { margin: 14px 0 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.boxes-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.boxes-contact-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.boxes-contact-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 176, 25, 0.4);
}

.boxes-contact-grid article:first-child {
  background: linear-gradient(135deg, #fffbee, #fff6d6);
  border-color: rgba(245, 176, 25, 0.35);
}

.boxes-contact-grid span {
  display: block;
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boxes-contact-grid strong {
  display: block;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.boxes-contact-grid .btn { margin-top: 8px; }

.boxes-contact-muted {
  margin: 8px 0 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.45;
}

.boxes-contact-help-section { background: var(--c-bg-white); }

/* Info grid */
.boxes-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.boxes-info-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.boxes-info-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.boxes-info-grid span { color: var(--c-yellow-dark); font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.boxes-info-grid h3 { margin: 0; color: var(--c-ink); font-family: var(--font-sans); font-size: 18px; font-weight: 700; line-height: 1.18; }
.boxes-info-grid p { margin: 0; color: var(--c-muted); font-size: 14px; line-height: 1.45; }

/* ============================================================
   DETAIL CONTENT BLOCKS
   ============================================================ */
.boxes-detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.boxes-detail-content article {
  padding: 15px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
}

.boxes-detail-content span {
  display: block;
  margin-bottom: 6px;
}

.boxes-detail-description,
.boxes-whatsapp-checklist {
  padding: 18px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
}

.boxes-detail-description strong,
.boxes-whatsapp-checklist strong {
  display: block;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.boxes-detail-description p { margin-top: 10px; }

.boxes-whatsapp-checklist {
  background: linear-gradient(135deg, #fffbee, #fff6d6);
  border-color: rgba(245, 176, 25, 0.30);
}

.boxes-whatsapp-checklist ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.boxes-whatsapp-checklist li {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Step grid */
.boxes-step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}

.boxes-step-grid article {
  display: grid;
  gap: 14px;
  min-height: 132px;
  padding: 18px;
  background: var(--c-bg-warm);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.boxes-step-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.boxes-step-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--c-ink);
  background: var(--c-yellow);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

.boxes-step-grid strong {
  align-self: end;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.18;
}

.boxes-step-grid--compact { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Type grid */
.boxes-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.boxes-type-grid a {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
  padding: 22px;
  color: #fff;
  background: #2a2015;
  border-radius: var(--r-lg);
  text-decoration: none;
}

.boxes-type-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.68), rgba(0,0,0,0.05));
}

.boxes-type-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.boxes-type-grid a:hover img { transform: scale(1.04); }

.boxes-type-grid span,
.boxes-type-grid strong {
  position: relative;
  z-index: 1;
  display: block;
}

.boxes-type-grid span {
  color: var(--c-yellow-light);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.boxes-type-grid strong {
  margin-top: 8px;
  max-width: 260px;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.market-footer {
  color: rgba(255,255,255,0.85);
  background: #141210 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.market-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding-block: 52px 36px;
}

.market-footer-grid > div:last-child { display: none; }

.market-footer img {
  width: 148px;
  max-height: 44px;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(10) contrast(0.7);
  margin-bottom: 12px;
}

.market-footer p {
  margin: 0;
  color: rgba(255,255,255,0.55) !important;
  font-size: 14px;
  line-height: 1.55;
}

.market-footer span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.4) !important;
  font-size: 13px;
}

.market-footer nav {
  display: grid;
  align-content: start;
  gap: 4px;
}

.market-footer nav strong {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.9) !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.market-footer nav a {
  display: block;
  padding: 5px 0;
  color: rgba(255,255,255,0.55) !important;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--t-fast);
}

.market-footer nav a:hover { color: rgba(255,255,255,0.9) !important; }

.market-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  margin-top: 14px;
  color: var(--c-ink) !important;
  background: var(--c-yellow);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.market-footer-cta:hover {
  background: var(--c-yellow-light);
  transform: translateY(-1px);
}

.market-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.market-footer-bottom span {
  color: rgba(255,255,255,0.35) !important;
  font-size: 13px;
  margin: 0 !important;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.floating-whatsapp {
  right: max(24px, env(safe-area-inset-right)) !important;
  bottom: max(24px, env(safe-area-inset-bottom)) !important;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50% !important;
  box-shadow: 0 8px 24px rgba(19, 113, 70, 0.24) !important;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(19, 113, 70, 0.30) !important;
}

.floating-whatsapp:active { transform: translateY(0) scale(0.97); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Hero cards skip reveal (always visible) */
.boxes-hero-card.reveal-ready,
.boxes-hero-card.reveal-ready.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   MICRO INTERACTIONS
   ============================================================ */
.btn,
.boxes-section-cta,
.boxes-category-chips a,
.market-product-actions a,
.contact-checklist-section .btn {
  will-change: transform;
}

.btn:active,
.boxes-category-chips a:active,
.boxes-section-cta:active {
  transform: translateY(0) scale(0.985);
}

.boxes-section-cta,
.market-product-actions a {
  position: relative;
  overflow: hidden;
}

.boxes-section-cta::after,
.market-product-actions a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.32;
  transition: transform var(--t-base);
}

.boxes-section-cta:hover::after,
.boxes-section-cta:focus-visible::after,
.market-product-actions a:hover::after,
.market-product-actions a:focus-visible::after {
  transform: scaleX(1);
}

.boxes-category-chips a {
  transition:
    background-color var(--t-base),
    border-color var(--t-base),
    color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-base);
}

.boxes-category-chips a:hover {
  transform: translateY(-2px);
}

.market-product-card,
.boxes-product-card,
.boxes-info-list article,
.boxes-content-grid article,
.boxes-sector-grid article,
.hedra-capability-grid article,
.hedra-contact-facts-grid article,
.contact-channel-card,
.contact-process-step,
.contact-checklist-item {
  will-change: transform, box-shadow;
}

.market-product-card:hover,
.boxes-product-card:hover,
.boxes-product-card:focus-within {
  box-shadow: 0 22px 54px rgba(26, 24, 20, 0.14);
}

.market-product-card::after,
.boxes-product-card::after,
.boxes-content-grid article::after,
.hedra-capability-grid article::after,
.contact-channel-card::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-yellow), rgba(45, 80, 64, 0.62));
  border-radius: 999px 999px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.82;
  transition: transform var(--t-base);
  pointer-events: none;
}

.market-product-card:hover::after,
.boxes-product-card:hover::after,
.boxes-product-card:focus-within::after,
.boxes-content-grid article:hover::after,
.hedra-capability-grid article:hover::after,
.contact-channel-card:hover::after {
  transform: scaleX(1);
}

.boxes-content-grid article,
.hedra-capability-grid article,
.contact-channel-card,
.market-product-card,
.boxes-product-card {
  position: relative;
  overflow: hidden;
}

.boxes-showcase-media img,
.hedra-proof-media img,
.hero-main-img,
.boxes-detail-preview img {
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter var(--t-base);
}

.boxes-showcase-media:hover img,
.hedra-proof-media:hover img,
.hero-visual-card:hover .hero-main-img,
.boxes-detail-preview:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.boxes-section-head h2,
.boxes-catalog-title h1,
.boxes-page-hero h1,
.contact-process-head h2,
.contact-checklist-copy h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.16em;
}

.boxes-section-head h2::after,
.boxes-catalog-title h1::after,
.boxes-page-hero h1::after,
.contact-process-head h2::after,
.contact-checklist-copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(96px, 36%);
  height: 3px;
  background: var(--c-yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.is-visible .boxes-section-head h2::after,
.boxes-section-head h2.is-visible::after,
.boxes-catalog-title h1.is-visible::after,
.boxes-page-hero h1.is-visible::after,
.contact-process-head h2.is-visible::after,
.contact-checklist-copy h2.is-visible::after,
.boxes-section-head.reveal-ready.is-visible h2::after {
  transform: scaleX(1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .market-product-grid,
  .boxes-catalog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .boxes-content-grid,
  .boxes-sector-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .market-header-main {
    grid-template-columns: auto minmax(0,1fr) auto;
  }
  .market-simple-nav { display: none; }
  .market-menu-toggle { display: inline-grid; }

  .boxes-trust-grid,
  .boxes-step-grid,
  .boxes-type-grid,
  .boxes-info-grid,
  .boxes-contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .boxes-detail-grid { grid-template-columns: 1fr; }
  .boxes-detail-info { position: static; }

  .boxes-showcase-grid,
  .boxes-showcase-grid--reverse,
  .boxes-content-grid--three { grid-template-columns: 1fr; }
  .boxes-showcase-grid--reverse .boxes-showcase-media { order: 2; }

  .boxes-catalog-filter { grid-template-columns: 1fr 1fr; }
  .boxes-catalog-filter label { grid-column: span 2; }
}

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

  .boxes-home-hero { padding-top: 14px; }

  .boxes-hero-card { min-height: 440px; border-radius: var(--r-lg); }
  .boxes-hero-card--premium { min-height: 480px; }
  .boxes-hero-copy { min-height: 440px; max-width: 100%; padding: 26px 22px; }
  .boxes-hero-card--premium .boxes-hero-copy { min-height: 480px; }

  .boxes-hero-copy h1 { font-size: clamp(34px, 11vw, 46px); }
  .boxes-hero-copy p { max-width: 290px; font-size: 15px; margin-top: 12px; }

  .boxes-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 300px;
    gap: 10px;
    margin-top: 20px;
  }
  .boxes-hero-actions .btn { width: 100%; min-width: 0; }

  .boxes-hero-card--premium::before {
    background:
      linear-gradient(180deg, rgba(250,245,237,0.98) 0%, rgba(250,245,237,0.88) 42%, rgba(250,245,237,0.18) 78%, rgba(250,245,237,0) 100%);
  }

  .boxes-trust-strip { padding: 12px 0; }
  .boxes-trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .boxes-page-hero-inner,
  .boxes-step-grid,
  .boxes-type-grid,
  .boxes-info-grid,
  .boxes-contact-grid,
  .market-product-grid,
  .boxes-catalog-grid { grid-template-columns: 1fr; }

  .boxes-page-hero { padding: 36px 0; background: var(--c-bg-warm); }

  .boxes-content-grid,
  .boxes-sector-grid,
  .boxes-split-info,
  .boxes-info-list,
  .boxes-detail-content { grid-template-columns: 1fr; }

  .boxes-content-grid article,
  .boxes-sector-grid article { min-height: 0; }

  .boxes-info-list--compact { grid-template-columns: 1fr; }
  .boxes-info-list--compact article { min-height: 0; padding: 14px; }

  .boxes-catalog-filter {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .boxes-catalog-filter label { grid-column: auto !important; }
  .boxes-catalog-filter .btn { min-height: 46px; width: 100%; }

  .boxes-catalog-toolbar,
  .boxes-wholesale-inner { display: grid; gap: 14px; }

  .boxes-section-head { grid-template-columns: 1fr; gap: 10px; }
  .boxes-section-cta { justify-self: start; }

  .boxes-detail-shell { padding-top: 22px; }
  .boxes-detail-info { padding: 20px; }
  .boxes-detail-facts { grid-template-columns: 1fr; }
  .boxes-detail-thumbs { display: flex; flex-wrap: wrap; }
  .boxes-detail-thumbs .variant-thumb,
  .boxes-detail-thumbs img {
    flex-basis: 148px;
    width: 148px;
    min-width: 148px;
  }

  .boxes-process-media { display: none; }

  .boxes-showcase-media,
  .boxes-process-media { border-radius: var(--r-md); }

  .boxes-step-grid--compact { grid-template-columns: 1fr; }
  .boxes-step-grid article {
    min-height: 80px;
    grid-template-columns: 38px minmax(0,1fr);
    align-items: center;
  }
  .boxes-step-grid strong { align-self: center; }

  .boxes-type-grid a { min-height: 210px; }

  .market-footer-grid { grid-template-columns: 1fr; padding-block: 36px 24px; }

  .market-footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }

  .floating-whatsapp {
    right: max(18px, env(safe-area-inset-right)) !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }
}

@media (max-width: 480px) {
  .market-search { grid-template-columns: 38px minmax(0,1fr) 72px; min-height: 46px; }
  .boxes-detail-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ============================================================
   CONTACT PAGE — Visual Redesign
   ============================================================ */

/* --- Hero --- */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 100px);
  background: #141210;
  color: #fff;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(245, 176, 25, 0.10), transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(45, 80, 64, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(225deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.contact-hero-copy { max-width: 620px; }

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 24px;
  background: rgba(245, 176, 25, 0.14);
  border: 1px solid rgba(245, 176, 25, 0.32);
  border-radius: 999px;
  color: var(--c-yellow-light, #ffd266);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.03em;
}

.contact-hero-copy p {
  margin: 24px 0 0;
  color: rgba(255,255,255,0.65);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.58;
}

.contact-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 16px;
  min-height: 56px;
  padding-inline: 28px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(245, 176, 25, 0.32);
}

/* Hero stats */
.contact-hero-stats {
  display: grid;
  gap: 14px;
}

.contact-stat {
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  text-align: center;
  min-width: 140px;
  transition: background 0.24s ease, border-color 0.24s ease;
}

.contact-stat:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(245, 176, 25, 0.28);
}

.contact-stat strong {
  display: block;
  color: var(--c-yellow, #f5b019);
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.contact-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- Channel Cards --- */
.contact-channels-section {
  padding: clamp(40px, 5vw, 72px) 0;
  background: var(--c-bg, #f5efe6);
}

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

.contact-channel-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px;
  background: #fff;
  border: 1.5px solid rgba(26, 24, 20, 0.10);
  border-radius: 20px;
  box-shadow: 0 6px 22px rgba(26, 24, 20, 0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.contact-channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  border-radius: 20px 20px 0 0;
  transition: background 0.22s ease;
}

.contact-channel-card--primary {
  background: linear-gradient(155deg, #1e3629 0%, #2d5040 100%);
  border-color: transparent;
  cursor: pointer;
}

.contact-channel-card--primary::before {
  background: var(--c-yellow, #f5b019);
}

.contact-channel-card--primary:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(45, 80, 64, 0.32);
}

.contact-channel-card:not(.contact-channel-card--primary):hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 24, 20, 0.12);
  border-color: rgba(245, 176, 25, 0.40);
}

.contact-channel-card:not(.contact-channel-card--primary):hover::before {
  background: var(--c-yellow, #f5b019);
}

/* Icon container */
.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  background: var(--c-yellow, #f5b019);
  color: var(--c-ink, #1a1814);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(245, 176, 25, 0.28);
}

.contact-channel-icon--neutral {
  background: linear-gradient(135deg, #f5efe6, #ede5d6);
  color: var(--c-green, #2d5040);
  box-shadow: 0 4px 12px rgba(26, 24, 20, 0.08);
}

/* Channel text */
.contact-channel-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-yellow-dark, #c98b00);
}

.contact-channel-card--primary .contact-channel-label {
  color: rgba(245, 176, 25, 0.80);
}

.contact-channel-value {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--c-ink, #1a1814);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact-channel-card--primary .contact-channel-value {
  color: #fff;
}

.contact-channel-desc {
  font-size: 14px;
  color: var(--c-muted, #6b6455);
  line-height: 1.45;
}

.contact-channel-card--primary .contact-channel-desc {
  color: rgba(255,255,255,0.60);
}

.contact-channel-arrow {
  justify-self: end;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(245, 176, 25, 0.18);
  border: 1px solid rgba(245, 176, 25, 0.32);
  border-radius: 50%;
  color: var(--c-yellow, #f5b019);
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-channel-card--primary:hover .contact-channel-arrow {
  background: rgba(245, 176, 25, 0.28);
  transform: translateX(3px);
}

/* --- Process Steps --- */
.contact-process-section {
  padding: clamp(52px, 6vw, 88px) 0;
  background: var(--c-bg-warm, #faf5ed);
  border-block: 1px solid rgba(26, 24, 20, 0.08);
}

.contact-process-head {
  margin-bottom: clamp(36px, 4vw, 56px);
  text-align: center;
}

.contact-process-head span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(245, 176, 25, 0.14);
  border: 1px solid rgba(245, 176, 25, 0.28);
  border-radius: 999px;
  color: var(--c-yellow-dark, #c98b00);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-process-head h2 {
  margin: 0;
  color: var(--c-ink, #1a1814);
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.contact-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.contact-process-step {
  position: relative;
  display: grid;
  align-content: start;
  padding: 0 20px;
}

.contact-step-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-yellow, #f5b019);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* Connector line */
.contact-step-line {
  position: absolute;
  top: 52px;
  left: calc(50% + 26px);
  right: -20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245, 176, 25, 0.5), rgba(245, 176, 25, 0.15));
  z-index: 0;
}

.contact-step-line--last {
  display: none;
}

.contact-step-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1.5px solid rgba(26, 24, 20, 0.09);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(26, 24, 20, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  min-height: 180px;
}

.contact-step-body:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(26, 24, 20, 0.10);
  border-color: rgba(245, 176, 25, 0.38);
}

.contact-step-body svg {
  color: var(--c-green, #2d5040);
}

.contact-step-body strong {
  display: block;
  color: var(--c-ink, #1a1814);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact-step-body span {
  display: block;
  color: var(--c-muted, #6b6455);
  font-size: 14px;
  line-height: 1.5;
}

/* --- Checklist --- */
.contact-checklist-section {
  padding: clamp(52px, 6vw, 88px) 0;
  background: var(--c-bg, #f5efe6);
}

.contact-checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.contact-checklist-copy span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(245, 176, 25, 0.14);
  border: 1px solid rgba(245, 176, 25, 0.28);
  border-radius: 999px;
  color: var(--c-yellow-dark, #c98b00);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-checklist-copy h2 {
  margin: 0 0 14px;
  color: var(--c-ink, #1a1814);
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.contact-checklist-copy p {
  margin: 0 0 28px;
  color: var(--c-muted, #6b6455);
  font-size: 16px;
  line-height: 1.6;
}

.contact-checklist-items {
  display: grid;
  gap: 12px;
}

.contact-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1.5px solid rgba(26, 24, 20, 0.09);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-checklist-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(26, 24, 20, 0.08);
  border-color: rgba(245, 176, 25, 0.38);
}

.contact-check-badge {
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--c-green, #2d5040);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(45, 80, 64, 0.24);
  margin-top: 2px;
}

.contact-checklist-item strong {
  display: block;
  color: var(--c-ink, #1a1814);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact-checklist-item span {
  display: block;
  margin-top: 3px;
  color: var(--c-muted, #6b6455);
  font-size: 13px;
  line-height: 1.45;
}

/* --- Contact Responsive --- */
@media (max-width: 980px) {
  .contact-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-channels-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-channel-card--primary { order: -1; }

  .contact-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .contact-step-line { display: none; }

  .contact-checklist-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .contact-hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .contact-stat { padding: 16px 12px; }

  .contact-stat strong { font-size: 28px; }

  .contact-process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-step-body { min-height: 0; }

  .contact-channel-card { padding: 22px; }
}

/* ============================================================
   HEADER LOGO ENHANCEMENT
   ============================================================ */
.market-logo img {
  width: 172px; /* Logo is slightly larger and more prominent */
  max-height: 52px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04)); /* Subtle shadow to make the logo pop */
}

/* ============================================================
   MODERN HOME HERO — Split Layout (Two Columns)
   ============================================================ */
.home-modern-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 84px);
  background: linear-gradient(185deg, var(--c-bg-warm, #faf5ed) 0%, var(--c-bg, #f5efe6) 100%);
  border-bottom: 1px solid var(--c-line);
}

/* Atmospheric glow shapes in background */
.hero-glow-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245, 176, 25, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 45%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(45, 80, 64, 0.14) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-split-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

/* Brand Details Column */
.hero-brand-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 8px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill, 999px);
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.hero-inline-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.95);
}

.hero-badge-tag {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

.hero-brand-details h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--c-ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12em;
}

.hero-title-line {
  display: block;
  line-height: 1.04;
}

.highlight-text {
  display: inline-block;
  line-height: 1.04;
  color: var(--c-green);
  background: linear-gradient(120deg, var(--c-yellow-light) 0%, #ffe9b3 100%);
  padding: 0.02em 0.1em 0.08em;
  border-radius: 6px;
}

.hero-lead {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.52;
  color: var(--c-muted);
  max-width: 520px;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  width: 100%;
}

.btn-lg-premium {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 16px;
  border-radius: 12px;
}

.hero-quick-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
}

.q-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-green);
}

/* Visual Column */
.hero-visual-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  background: #fff;
  border: 2px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 12px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

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

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #fbf8f3;
}

.visual-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: var(--c-green);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(45, 80, 64, 0.25);
}

.visual-floating-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  backdrop-filter: blur(8px);
}

.visual-floating-info strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
}

.visual-floating-info span {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 3px;
}

/* Hero Responsive */
@media (max-width: 980px) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-brand-details {
    align-items: center;
    text-align: center;
  }

  .hero-brand-details h1 {
    align-items: center;
    line-height: 1.08;
    gap: 0.14em;
  }

  .hero-title-line,
  .highlight-text {
    line-height: 1.08;
  }
  
  .hero-lead {
    margin-inline: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-quick-features {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-brand-details h1 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 1.1;
    gap: 0.16em;
  }

  .hero-title-line,
  .highlight-text {
    line-height: 1.1;
  }
}

@media (max-width: 485px) {
  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .btn-lg-premium {
    width: 100%;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .boxes-product-card:hover,
  .floating-whatsapp:hover,
  .btn:hover { transform: none !important; }
}

/* ============================================================
   Presentation refresh - corporate deck content
   ============================================================ */
.presentation-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.presentation-hero,
.presentation-page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.72)), var(--c-bg-warm);
}

.presentation-hero-grid,
.presentation-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: clamp(560px, 76vh, 760px);
  padding-block: clamp(44px, 7vw, 92px);
}

.presentation-page-hero-grid { min-height: clamp(440px, 58vh, 620px); }

.presentation-hero-copy h1,
.presentation-page-hero h1 {
  max-width: 820px;
  margin: 14px 0 20px;
  color: var(--c-ink);
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 900;
}

.presentation-page-hero h1 { font-size: clamp(36px, 5vw, 68px); }

.presentation-hero-copy p,
.presentation-page-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--c-muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.presentation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.presentation-hero-media,
.presentation-page-hero-grid > img,
.presentation-split figure,
.presentation-doc-grid figure { margin: 0; }

.presentation-hero-media { min-height: 440px; }

.presentation-hero-media img,
.presentation-page-hero-grid > img {
  width: 100%;
  height: min(68vh, 660px);
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.presentation-page-hero-grid > img { height: 420px; }

.presentation-metrics {
  background: var(--c-green);
  color: #fff;
}

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

.presentation-metrics article {
  min-height: 116px;
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
}

.presentation-metrics strong {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.presentation-metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,0.74);
  font-weight: 700;
}

.presentation-section {
  padding-block: var(--section-pad);
  background: #fff;
}

.presentation-section:nth-of-type(even) { background: var(--c-bg-warm); }

.presentation-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.presentation-split--reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 0.92fr);
}

.presentation-split h2,
.presentation-section-head h2,
.presentation-social-cta h2 {
  margin: 10px 0 16px;
  color: var(--c-ink);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 900;
}

.presentation-split p {
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.75;
}

.presentation-split figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.presentation-feature-list,
.presentation-step-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.presentation-feature-list article,
.presentation-step-list article,
.presentation-fact-grid article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.presentation-feature-list strong,
.presentation-step-list strong {
  display: block;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 900;
}

.presentation-feature-list span,
.presentation-step-list p,
.presentation-fact-grid span {
  display: block;
  margin: 6px 0 0;
  color: var(--c-muted);
  line-height: 1.55;
}

.presentation-step-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 16px;
}

.presentation-step-list article > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--c-ink);
  background: var(--c-yellow);
  border-radius: 8px;
  font-weight: 900;
}

.presentation-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.presentation-section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.presentation-section-head a {
  flex: 0 0 auto;
  color: var(--c-green);
  font-weight: 900;
  text-decoration: none;
}

.presentation-section-head a:hover { color: var(--c-yellow-dark); }

.presentation-family-grid,
.presentation-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.presentation-family-card,
.presentation-mini-grid article {
  display: grid;
  min-height: 100%;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.presentation-family-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,176,25,0.52);
  box-shadow: var(--shadow-md);
}

.presentation-family-card img,
.presentation-mini-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.presentation-family-card span {
  margin-top: 14px;
  color: var(--c-yellow-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.presentation-family-card h3 {
  margin: 6px 0 8px;
  color: var(--c-ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 900;
}

.presentation-family-card p {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.55;
}

.presentation-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.presentation-doc-grid figure {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.presentation-doc-grid img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #fff;
}

.presentation-doc-grid figcaption {
  padding: 16px 18px 18px;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-weight: 900;
}

.presentation-reference-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.presentation-reference-panels img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.presentation-reference-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.presentation-reference-chips span {
  padding: 9px 12px;
  color: var(--c-green);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.presentation-social-cta {
  padding-block: var(--section-pad);
  color: #fff;
  background: var(--c-green);
}

.presentation-social-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.presentation-social-cta .presentation-kicker,
.presentation-social-cta h2 { color: #fff; }

.presentation-social-cta p {
  max-width: 760px;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  line-height: 1.7;
}

.presentation-social-grid img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.presentation-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.presentation-fact-grid strong {
  display: block;
  color: var(--c-green);
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

.presentation-mini-grid strong,
.presentation-mini-grid span { display: block; }

.presentation-mini-grid strong {
  margin-top: 12px;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-weight: 900;
}

.presentation-mini-grid span {
  margin-top: 5px;
  color: var(--c-muted);
  font-size: 13px;
}

.presentation-contact-strip {
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

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

.presentation-contact-grid article {
  padding: 18px;
  background: var(--c-bg-warm);
  border: 1px solid var(--c-line);
  border-radius: 8px;
}

.presentation-contact-grid span,
.presentation-contact-grid strong { display: block; }

.presentation-contact-grid span {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 800;
}

.presentation-contact-grid strong {
  margin-top: 6px;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.market-footer-grid > div:last-child {
  display: none;
}

@media (max-width: 1100px) {
  .presentation-family-grid,
  .presentation-product-grid,
  .presentation-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .presentation-reference-panels { grid-template-columns: 1fr; }

  .presentation-reference-panels img {
    height: auto;
    max-height: 520px;
  }
}

@media (max-width: 860px) {
  .presentation-hero-grid,
  .presentation-page-hero-grid,
  .presentation-split,
  .presentation-split--reverse,
  .presentation-social-grid {
    grid-template-columns: 1fr;
  }

  .presentation-hero-grid,
  .presentation-page-hero-grid { min-height: auto; }

  .presentation-hero-media { min-height: 0; }

  .presentation-hero-media img,
  .presentation-page-hero-grid > img {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .presentation-metrics-grid,
  .presentation-doc-grid,
  .presentation-contact-grid {
    grid-template-columns: 1fr;
  }

  .presentation-section-head {
    display: grid;
    align-items: start;
  }

  .presentation-doc-grid img { height: auto; }
}

@media (max-width: 560px) {
  .presentation-hero-copy h1,
  .presentation-page-hero h1 {
    font-size: 38px;
  }

  .presentation-family-grid,
  .presentation-product-grid,
  .presentation-mini-grid,
  .presentation-fact-grid {
    grid-template-columns: 1fr;
  }

  .presentation-step-list article {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .presentation-step-list article > span {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 520px) {
  .market-header-main {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px 10px;
    min-height: 64px;
  }

  .market-logo img {
    width: 126px;
    max-height: 40px;
  }

  .market-search {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr) 64px;
    min-height: 44px;
  }

  .market-search input {
    min-width: 0;
    font-size: 14px;
  }

  .market-search button {
    width: 64px;
    min-width: 64px;
    padding: 0;
    font-size: 12px;
  }

  .market-live-search {
    top: calc(100% + 8px);
    width: 100%;
    max-height: min(62vh, 420px);
    overflow-y: auto;
  }

  .market-menu-toggle {
    width: 42px;
    height: 42px;
  }
}

/* PDF içerik eklentileri - mevcut premium stile uyumlu */
.hedra-proof-section {
  background: linear-gradient(180deg, #fff 0%, var(--c-bg-warm) 100%);
}

.hedra-proof-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.hedra-proof-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hedra-proof-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hedra-proof-copy > span,
.hedra-capability-grid span {
  display: inline-flex;
  color: var(--c-yellow-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hedra-proof-copy h2 {
  max-width: 680px;
  margin: 10px 0 12px;
  color: var(--c-ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

.hedra-proof-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.7;
}

.hedra-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hedra-proof-stats article,
.hedra-capability-grid article,
.hedra-contact-facts-grid article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.hedra-proof-stats strong {
  display: block;
  color: var(--c-green);
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

.hedra-proof-stats small {
  display: block;
  margin-top: 8px;
  color: var(--c-muted);
  font-weight: 800;
}

.hedra-family-section {
  padding-top: 0;
  background: var(--c-bg-warm);
}

.hedra-family-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hedra-family-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  color: var(--c-green);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  font-weight: 900;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.hedra-family-chips a:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 176, 25, 0.55);
  box-shadow: var(--shadow-sm);
}

.hedra-capability-section {
  padding-top: 0;
}

.hedra-capability-grid,
.hedra-contact-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hedra-capability-grid h3 {
  margin: 8px 0;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 900;
}

.hedra-capability-grid p {
  margin: 0;
  color: var(--c-muted);
  line-height: 1.65;
}

.about-card-section {
  padding-block: clamp(22px, 3vw, 36px);
}

.about-card-section + .about-card-section {
  padding-top: clamp(8px, 1.4vw, 18px);
}

.about-card-section .hedra-capability-grid,
.about-card-section .boxes-content-grid {
  gap: clamp(16px, 2vw, 24px);
}

.about-card-section .hedra-capability-grid article,
.about-card-section .boxes-content-grid article {
  min-height: 178px;
  padding: clamp(22px, 2.5vw, 30px);
}

.about-card-section .hedra-capability-grid h3,
.about-card-section .boxes-content-grid h3 {
  margin: 10px 0 8px;
}

.about-card-section .hedra-capability-grid p,
.about-card-section .boxes-content-grid p {
  line-height: 1.55;
}

.about-card-section--compact {
  padding-bottom: clamp(36px, 4.5vw, 58px);
}

.hedra-contact-facts {
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.hedra-contact-facts-grid article {
  background: var(--c-bg-warm);
}

.hedra-contact-facts-grid span,
.hedra-contact-facts-grid strong {
  display: block;
}

.hedra-contact-facts-grid span {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 800;
}

.hedra-contact-facts-grid strong {
  margin-top: 5px;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hedra-proof-grid,
  .hedra-capability-grid,
  .hedra-contact-facts-grid {
    grid-template-columns: 1fr;
  }

  .hedra-proof-media {
    order: 2;
  }

  .hedra-proof-stats {
    grid-template-columns: 1fr;
  }

  .boxes-variant-modal-panel {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }

  .boxes-variant-modal-media,
  .boxes-variant-modal-media img {
    min-height: 260px;
    max-height: 44vh;
  }

  .boxes-variant-modal-content {
    align-content: start;
  }
}

/* Keep public and admin typography on a single font family. */
:root {
  --font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body,
button,
input,
select,
textarea,
.btn,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body) !important;
}
