/* ==========================================================================
   STUDIO DOKMAI — Modern B2B Wholesale Design System
   Aesthetic: Botanical Luxury Atelier & Contemporary B2B Wholesale
   ========================================================================== */

:root {
  /* Colors */
  --bg-main: #fcfbf7;
  --bg-alt: #f4f2ea;
  --bg-dark: #0f241a;
  --bg-darker: #091711;
  --surface-card: #ffffff;
  --surface-card-hover: #faf9f5;
  
  --emerald-900: #0f241a;
  --emerald-800: #143527;
  --emerald-700: #1a4432;
  --emerald-600: #235942;
  --emerald-100: #e8f0eb;
  --emerald-50: #f2f7f4;

  --gold-primary: #c5a059;
  --gold-light: #dfc185;
  --gold-dark: #78581c;
  --gold-soft: rgba(197, 160, 89, 0.12);
  --gold-glow: rgba(197, 160, 89, 0.25);

  --text-main: #1b211d;
  --text-muted: #5e6660;
  --text-light: #687169;
  --text-inverse: #f8f9f8;
  --text-inverse-muted: #b5c2ba;

  --border-light: #e7e5dc;
  --border-medium: #d4d0c2;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 53, 39, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 53, 39, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 53, 39, 0.12);
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.2);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 1040px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--emerald-800);
}

/* Typography Utilities */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.2;
  color: var(--emerald-900);
}

.font-editorial {
  font-family: var(--font-sans);
}

.text-gold {
  color: var(--gold-dark);
}

.text-emerald {
  color: var(--emerald-800);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

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

.section-sm {
  padding: 64px 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-inverse);
}

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

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #0d2319 0%, #16382b 50%, #0d2319 100%);
  color: var(--gold-light);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.announcement-bar a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
  font-weight: 600;
}

.announcement-bar a:hover {
  color: var(--gold-light);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 247, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(20, 53, 39, 0.06);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-icon {
  width: 154px;
  height: auto;
  flex-shrink: 0;
}

.brand-wordmark {
  width: 180px;
  height: auto;
  flex-shrink: 0;
}

.brand-white .brand-wordmark {
  filter: invert(1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--emerald-900);
  white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.5875rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold-dark);
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
}

.brand-white .brand-name {
  color: #ffffff;
}

.brand-white .brand-tagline {
  color: var(--gold-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--emerald-800);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--emerald-900);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: var(--radius-full);
  transition: var(--transition);
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.btn-primary {
  background-color: var(--emerald-800);
  color: #ffffff;
  border: 1px solid var(--emerald-800);
}

.btn-primary:hover {
  background-color: var(--emerald-700);
  border-color: var(--emerald-700);
  box-shadow: 0 6px 20px rgba(20, 53, 39, 0.25);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #c5a059 0%, #b38b42 100%);
  color: var(--emerald-900);
  border: 1px solid var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d4af65 0%, #c5a059 100%);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--emerald-900);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--emerald-800);
  background-color: var(--emerald-50);
  color: var(--emerald-800);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--emerald-900);
  border-color: #ffffff;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.9375rem;
}

/* Badge Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-gold {
  background-color: var(--gold-soft);
  color: var(--gold-dark);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.badge-emerald {
  background-color: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid rgba(26, 68, 50, 0.2);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Section Header */
.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-top: 14px;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--text-inverse-muted);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 160px));
  padding: 56px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-main);
  background-image: url("../images/hero-thai-orchid-wide.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: clamp(860px, 74vw, 1160px);
  background: linear-gradient(
    90deg,
    var(--bg-main) 0%,
    var(--bg-main) 36%,
    rgba(252, 251, 247, 0.99) 50%,
    rgba(252, 251, 247, 0.86) 68%,
    rgba(252, 251, 247, 0.5) 84%,
    rgba(252, 251, 247, 0.16) 95%,
    rgba(252, 251, 247, 0) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: clamp(72px, 13vh, 150px);
  background: linear-gradient(180deg, rgba(252, 251, 247, 0) 0%, var(--bg-main) 100%);
  pointer-events: none;
}

.hero-grid {
  width: 100%;
  display: block;
}

.hero-content {
  max-width: 620px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.hero-photo {
  display: none;
}

.hero-title {
  position: relative;
  isolation: isolate;
  font-size: 3.5rem;
  line-height: 1.12;
  margin: 20px 0 24px;
  color: var(--emerald-900);
}

.hero-lead {
  isolation: isolate;
}

.hero-title::before,
.hero-lead::before {
  display: none;
}

.hero-title span {
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.1875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.stat-item h4 {
  font-family: var(--font-sans);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--emerald-800);
}

.stat-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.hero-visual,
.hero-card-main,
.hero-floating-card {
  display: none;
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.floating-text h5 {
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--emerald-900);
}

.floating-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Trust Bar / Logos */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}

.trust-title {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 24px;
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
}

/* B2B Advantage Grid */
.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.b2b-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
}

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

.b2b-card-icon {
  width: 56px;
  height: 56px;
  background: var(--emerald-50);
  color: var(--emerald-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.b2b-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

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

/* 5-Step Ordering Process */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 48px;
}

.process-step {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.process-step h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Featured Collections Showcase */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.collection-img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.collection-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-img-wrap img {
  transform: scale(1.08);
}

.collection-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.6875rem;
  padding: 4px 10px;
}

.collection-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.collection-category {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.collection-title {
  font-size: 1.1875rem;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.collection-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
}

.wholesale-price {
  font-weight: 700;
  color: var(--emerald-900);
}

.suggested-retail {
  color: var(--text-light);
  font-size: 0.75rem;
}

/* Private Label / Packaging Showcase */
.packaging-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.packaging-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #ffffff;
}

.packaging-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.packaging-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.packaging-item-icon {
  width: 28px;
  height: 28px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.packaging-item-text h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--emerald-900);
}

.packaging-item-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Testimonials / Retailer Reviews */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonials-grid > .testimonial-card:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 860px;
  justify-self: center;
}

.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--gold-dark);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--emerald-900);
  font-style: normal;
  margin-bottom: 24px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--bg-alt);
}

.reviewer-info h5 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.reviewer-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--emerald-900);
  transition: var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--gold-dark);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-content {
  padding: 0 28px 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA Wholesale Banner */
.cta-banner {
  background: radial-gradient(circle at 90% 10%, rgba(197, 160, 89, 0.25) 0%, rgba(15, 36, 26, 0.98) 70%), #0f241a;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: var(--shadow-lg);
}

.cta-banner-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 2.75rem;
  color: #ffffff;
  margin: 16px 0;
}

.cta-banner p {
  font-size: 1.125rem;
  color: var(--text-inverse-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-inverse-muted);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-inverse-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.footer-contact-info a {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  gap: 24px;
}

.footer-bottom > div:last-child {
  flex-wrap: wrap;
  justify-content: center;
}

.page-title {
  font-size: 3rem;
  margin: 12px 0 16px;
}

.section-title,
.page-title {
  overflow-wrap: anywhere;
}

.faq-trigger {
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
}

.collection-meta {
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 56px 0;
    background-size: cover;
    background-position: 65% center;
  }
  .hero-grid {
    display: block;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-content {
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .b2b-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .packaging-split {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768.01px) and (max-width: 1024px) {
  .testimonials-grid > .testimonial-card:last-child:nth-child(odd):not(:only-child) {
    grid-column: 1 / -1;
    width: calc((100% - 32px) / 2);
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.875rem;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-sm {
    padding: 40px 0;
  }
  .section {
    padding: 64px 0;
  }
  .nav-actions .btn-primary, .nav-actions .btn-outline {
    display: none;
  }
  .hero {
    min-height: auto;
    display: block;
    padding: 48px 0 0;
    background-color: var(--bg-main);
    background-image: none;
  }
  .hero::before {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-content {
    max-width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    text-align: left;
  }
  .hero-title::before,
  .hero-lead::before {
    display: none;
  }
  .hero-photo {
    display: block;
    width: 100%;
    margin-top: 8px;
    position: relative;
  }
  .hero-photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 88px;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(252, 251, 247, 0.72) 46%, rgba(252, 251, 247, 0) 100%);
    pointer-events: none;
  }
  .hero-photo picture,
  .hero-photo img {
    display: block;
    width: 100%;
  }
  .hero-photo img {
    height: auto;
  }
  .hero-stats {
    gap: 12px;
  }
  .stat-item h4 {
    font-size: 1.25rem;
  }
  .b2b-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .collections-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cta-banner {
    padding: 48px 24px;
  }
  .cta-banner h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 36px;
    background-position: 25% center;
  }
  .hero::before {
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(252, 251, 247, 0.94) 0%,
      rgba(252, 251, 247, 0.78) 48%,
      rgba(252, 251, 247, 0.12) 100%
    );
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.08;
    margin: 14px 0 16px;
  }
  .hero-title::before {
    display: none;
  }
  .hero-lead {
    font-size: 0.9375rem;
    line-height: 1.48;
    margin-bottom: 20px;
  }
  .hero-cta-group {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-cta-group .btn {
    width: 100%;
    padding: 13px 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 20px;
  }
  .nav-wrap {
    height: 72px;
    gap: 16px;
  }
  .section {
    padding-block: 48px;
  }
  .hero-stats {
    padding-top: 24px;
  }
  .b2b-card, .testimonial-card {
    padding: 28px 24px;
  }
  .faq-trigger {
    padding: 20px;
  }
  .faq-content {
    padding: 0 20px 20px;
  }
  .cta-banner {
    padding: 32px 24px;
  }
  .cta-banner h2 {
    font-size: 1.75rem;
  }
  .footer {
    padding-top: 48px;
  }
}

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

/* Carmel's original homepage colour treatment, scoped to the homepage. */
.home-page .hero-title span,
.home-page .badge-gold {
  color: #a8833d;
}
.home-page .badge,
.home-page .trust-title {
  font-size: 0.8125rem;
}
.home-page .stat-item p {
  font-size: 0.875rem;
}
.home-page .trust-grid {
  flex-direction: column;
  gap: 16px;
}
.home-page .trust-item {
  text-align: center;
}
.calc-quantity-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--text-light);
}
.calc-quantity-labels span:last-child {
  text-align: right;
}
.supplied-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}
.supplied-gallery img,
.contact-lifestyle {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.contact-lifestyle {
  margin-top: 24px;
}
@media (max-width: 600px) {
  .supplied-gallery {
    grid-template-columns: 1fr;
  }
}

.footer-social-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0 0 16px;
}

.footer-social-links .social-link,
.footer-contact-actions .social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.footer-social-links .social-link:hover,
.footer-contact-actions .social-link:hover {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

.footer-social-links .social-link:focus-visible,
.footer-contact-actions .social-link:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.social-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: currentColor;
}

.footer-social-links .social-link {
  flex: 0 0 28px;
  width: 28px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  justify-content: center;
  box-shadow: none;
}

/* The links retain explicit accessible names and native hover titles. */
.footer-social-links .social-link > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.footer-social-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-inverse-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact-actions {
  margin-bottom: 24px;
}

.footer-contact-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-contact-actions .social-link {
  width: auto;
}

.social-link--facebook {
  background-color: #1877f2;
}

.social-link--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #8134af);
}

.social-link--youtube {
  background-color: #ff0000;
}

.social-link--tiktok {
  background-color: #111111;
}

.social-link--pinterest {
  background-color: #bd081c;
}

.social-link--linkedin {
  background-color: #0a66c2;
}

.social-link--x {
  background-color: #000000;
}

.social-link--snapchat {
  background-color: #fffc00;
}

.footer-social-links .social-link--snapchat {
  color: #171717;
}

.footer-social-links .social-link--snapchat:hover {
  color: #171717;
}

.social-link--messenger {
  background-color: #0084ff;
}

.social-link--whatsapp {
  background-color: #128c7e;
}
