
:root {
  /* Core Palette */
  --linen:       #FBF5F5;
  --linen-d:     #F5EDED;
  --linen-dd:    #EDE0E0;
  --parchment:   #F0E8E8;

  /* Crimson reds (replacing sage greens) */
  --sage:        #C94040;
  --sage-light:  #E89090;
  --sage-mist:   #F5C6C6;
  --sage-dark:   #8B2020;
  --sage-deep:   #5C1010;

  /* Earth tones */
  --earth:       #8B6F5A;
  --sand:        #D4B896;
  --sand-light:  #E8D8C4;
  --clay:        #B08870;

  /* Text */
  --text-dark:   #2C1A1A;
  --text-body:   #4A3030;
  --text-muted:  #8A7272;
  --text-light:  #B5A0A0;

  /* Backgrounds */
  --bg-white:    #FDFAF8;
  --bg-section:  #F8F0F0;
  --bg-dark:     #2E1A1A;
  --bg-darker:   #1E0D0D;

/* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-head:    'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Radius & Spacing */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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


img { display: block; width: 100%; }
a { text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--sage);
  z-index: 9999;
  transition: width 0.1s linear;
  will-change: width;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--linen-dd); }
::-webkit-scrollbar-thumb { background: #DC143C;  border-radius: 10px; }

/* ─── FLOATING MESSAGE BUTTON ─── */
.float-msg-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #DC143C; 
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(139,32,32,0.35);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.float-msg-btn:hover {
  background: var(--sage-dark);
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(139,32,32,0.45);
}
.float-msg-btn svg {
  width: 22px; height: 22px;
  stroke: #fff;
}

/* ─── QUOTE MODAL ─── */
.quote-modal-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
  transition: background 0.3s ease;
}
.quote-modal-overlay.open {
  background: rgba(20, 8, 8, 0.25);
  pointer-events: all;
}

.quote-modal {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 320px;         
  max-height: 70vh;     
  background: var(--bg-white);
  border-radius: 20px 20px 4px 20px;
  padding: 22px;         
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--linen-dd);
  box-shadow:
    0 0 0 1px rgba(139,32,32,0.06),
    0 8px 24px rgba(0,0,0,0.10),
    0 24px 64px rgba(0,0,0,0.14);
  transform-origin: bottom right;
  transform: scale(0.15) translate(12px, 14px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  -webkit-transform: scale(0.15) translate(12px, 14px);
  transition:
    transform 0.3s cubic-bezier(0.55, 0, 0.8, 0.45),
    opacity 0.2s cubic-bezier(0.55, 0, 1, 1);
  z-index: 1001;
}
.quote-modal::-webkit-scrollbar { display: none; }

/* Tail */
.quote-modal::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 18px;
  width: 16px;
  height: 16px;
  background: var(--bg-white);
  border-right: 1px solid var(--linen-dd);
  border-bottom: 1px solid var(--linen-dd);
  border-radius: 0 0 4px 0;
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.06);
}

.quote-modal-overlay.open .quote-modal {
  transform: scale(1) translate(0, 0);
  -webkit-transform: scale(1) translate(0, 0);
  opacity: 1;
  pointer-events: all;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.45, 0.64, 1),
    opacity 0.22s ease-out;
}

.quote-modal-close {
  position: absolute;
  top: 12px; right: 12px;  
  width: 26px; height: 26px; 
  border-radius: 50%;
  border: 1px solid var(--linen-dd);
  background: var(--linen);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.quote-modal-close:hover {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

/* ── Shrink internals to match smaller container ── */
.quote-modal .form-header {
  margin-bottom: 20px;     
  padding-bottom: 16px;    
}
.quote-modal .form-header h3 {
  font-size: 17px;        
}
.quote-modal .form-header p {
  font-size: 11px;
}
.quote-modal .form-icon {
  width: 36px; height: 36px; 
}
.quote-modal .form-row {
  gap: 10px;               
  margin-bottom: 10px;     
}
.quote-modal .form-group {
  margin-bottom: 10px;     
}
.quote-modal .form-group label {
  font-size: 10px;       
  margin-bottom: 5px;
}
.quote-modal .form-group input,
.quote-modal .form-group select,
.quote-modal .form-group textarea {
  font-size: 13px;      
}
.quote-modal .form-group textarea {
  min-height: 80px;       
}
.quote-modal .form-submit {
  font-size: 13px;
  padding: 12px 20px;    
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .quote-modal {
    right: 12px;
    bottom: 90px;
    width: calc(100vw - 24px);
    max-height: 72vh;
    border-radius: 20px 20px 4px 20px;
    padding: 18px;
    transform-origin: bottom center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .quote-modal::after {
    right: 22px;
  }

  /* Override the scale animation with a lighter slide-up on mobile */
  .quote-modal {
    transform: translateY(20px) scale(0.97);
    -webkit-transform: translateY(20px) scale(0.97);
    transition:
      transform 0.25s cubic-bezier(.215,.61,.355,1),
      opacity 0.2s ease-out;
  }
  .quote-modal-overlay.open .quote-modal {
    transform: translateY(0) scale(1);
    -webkit-transform: translateY(0) scale(1);
    transition:
      transform 0.25s cubic-bezier(.215,.61,.355,1),
      opacity 0.18s ease-out;
  }
}


/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 44px;
  height: 76px;
  background: transparent;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: background, box-shadow;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(19,10,10,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 28px rgba(0,0,0,0.30);
}
@media (max-width: 768px) {
  #navbar {
    transition: background 0.4s ease, box-shadow 0.4s ease,
                left 0.4s ease, right 0.4s ease,
                border-radius 0.4s ease, border-bottom-color 0.4s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    left: 0;
    right: 0;
    border-radius: 0;
  }
  #navbar.scrolled {
    background: rgba(19,10,10,1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-dark);
}
.logo-mark { flex-shrink: 0; }

/* ── Logo text: horizontal layout ── */
.nav-logo-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transform: translateY(-3px);
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: rgba(44, 26, 26, 0.15);
  flex-shrink: 0;
  transition: background .3s ease;
}
#navbar.scrolled .brand-divider {
  background: rgba(255,255,255,0.14);
}

.brand-top {
  font-family: var(--font-bebas, var(--font-body));
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  transition: color .3s ease;
}

.brand-main {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1;
  white-space: nowrap;
  transition: color .3s ease;
}

/* Scrolled state — switch to dark */
#navbar.scrolled .brand-top  { color: #ffffff }
#navbar.scrolled .brand-main { color: rgba(255,255,255,0.50); }

/* Hero (light) state */
#navbar:not(.scrolled) .brand-top  { color: var(--sage-dark); }
#navbar:not(.scrolled) .brand-main { color: var(--text-muted); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}

.nav-links a { position: relative; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%; height: 2px;
  background: #DC143C; 
  border-radius: 99px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.2s ease;
  opacity: 0;
}
.nav-links a.active-nav::after,
.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;

}
#navbar.scrolled .nav-links a.active-nav:not(.nav-cta) { color: #fff !important; }
.nav-links a.nav-cta::after { display: none !important; }
#navbar.scrolled .nav-links a::after    { background: #DC143C; }

#navbar.scrolled .nav-links a { color: rgba(255,255,255,0.82); }
.nav-links a:hover { color: var(--sage-dark); background: rgba(201,64,64,0.08); }
#navbar.scrolled .nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }

.nav-cta {
  background:   #DC143C    !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover {
  background: var(--sage-dark) !important;
  transform: translateY(-1px) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 11px 12px; 
  position: relative;
  z-index: 1100;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; 
}
.nav-hamburger span {
  width: 22px;
  height: 2px; 
  background: var(--text-dark);
  display: block;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#navbar:not(.scrolled) .nav-hamburger span { background: var(--text-dark); }

@media (max-width: 768px) {
  #navbar:not(.scrolled) .nav-hamburger span { background: #2c1a1a; }
}
#navbar.scrolled .nav-hamburger span        { background: #fff; }
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Beating heart on the "I" ── */
.brand-i-wrap {
  position: relative;
  display: inline-block;
}

.brand-heart {
  position: absolute;
  top: -8px;
  left: 50.5%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #DC143C;
  line-height: 1;
  animation: heartbeat 1.2s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(220, 20, 60, 0.6));
}

/* On scrolled navbar, keep the heart crimson */
#navbar.scrolled .brand-heart {
  color: #DC143C;
}

@keyframes heartbeat {
  0% {
    transform: translateX(-45%) scale(1);
  }

  25% {
    transform: translateX(-45%) scale(1.08);
  }

  50% {
    transform: translateX(-45%) scale(1.12);
  }

  75% {
    transform: translateX(-45%) scale(1.05);
  }

  100% {
    transform: translateX(-45%) scale(1);
  }
}


/* ─── MOBILE NAV — PREMIUM ─── */
.nav-mobile {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--bg-darker);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(100%, 0, 0);
  contain: layout style paint;
  transition: transform 0.30s cubic-bezier(0.77, 0, 0.18, 1);
}
.nav-mobile.open { transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0); }
.nav-mobile.open { transform: translateX(0); }

/* Ambient red glow top-right */
.nav-mobile::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,64,64,0.13) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.nav-mobile::after {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 0 40px rgba(255,255,255,0.05),
    0 0 60px rgba(255,255,255,0.03);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: navBlobFloat 10s ease-in-out infinite;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.nav-mobile-dots::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 100px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: navBlobFloat2 7s ease-in-out infinite;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes navBlobFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  38%       { transform: translate3d(-14px, 16px, 0) scale(1.07); }
  70%       { transform: translate3d(8px, -10px, 0) scale(0.94); }
}

@keyframes navBlobFloat2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  45%       { transform: translate3d(10px, -12px, 0) scale(1.10); }
  75%       { transform: translate3d(-6px, 8px, 0) scale(0.92); }
}
/* Dot-grid texture */
.nav-mobile-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  will-change: auto;
  contain: strict;
}
.nav-mobile-est {
  position: relative; z-index: 1;
  align-self: flex-start;
  margin: 120px 24px 0;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  /* backdrop-filter removed — causes compositor thrash during slide */
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.nav-mobile-est-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.7;
  flex-shrink: 0;
}
/* ── Links ── */
.nav-mobile-links {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 24px;
}
.nav-mobile-item {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.215,0.61,0.355,1);
}
.nav-mobile.open .nav-mobile-item {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile.open .nav-mobile-item:nth-child(1) { transition-delay: 0.10s; }
.nav-mobile.open .nav-mobile-item:nth-child(2) { transition-delay: 0.17s; }
.nav-mobile.open .nav-mobile-item:nth-child(3) { transition-delay: 0.24s; }
.nav-mobile.open .nav-mobile-item:nth-child(4) { transition-delay: 0.31s; }
.nav-mobile.open .nav-mobile-item:nth-child(5) { transition-delay: 0.38s; }
.nav-mobile.open .nav-mobile-item:nth-child(6) { transition-delay: 0.45s; }
.nav-mobile.open .nav-mobile-item:nth-child(7) { transition-delay: 0.52s; }
.nav-mobile.open .nav-mobile-item:nth-child(8) { transition-delay: 0.59s; }

.nav-mobile-num {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.15);
  letter-spacing: 1px;
  margin-right: 14px;
  flex-shrink: 0;
  width: 20px;
}
.nav-mobile-item a {
  flex: 1;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(20px, 5.6vw, 26px);
  font-weight: 700; letter-spacing: -0.5px;
  color: rgba(255,255,255,0.8);
  padding: 16px 0;
  transition: color 0.2s ease, padding-left 0.3s cubic-bezier(0.34,1.56,0.64,1);
  text-decoration: none;
}
.nav-mobile-item a:hover { color: #fff; padding-left: 6px; }
.nav-mobile-item a .nav-item-arrow {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(201,64,64,0.45);
  font-size: 11px;
  transition: background 0.2s, color 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.nav-mobile-item a:hover .nav-item-arrow {
  background: rgba(201,64,64,0.18);
  color: var(--sage-light);
  transform: translateX(4px);
}
/* ── Mobile nav active state ── */
.nav-mobile-item a.active-nav {
  color: #fff;
  padding-left: 6px;
}
.nav-mobile-item a.active-nav .nav-item-arrow {
  background: rgba(201, 64, 64, 0.28);
  color: var(--sage-light);
  transform: translateX(4px);
}
.nav-mobile-num.active-num {
  color: rgba(201, 64, 64, 0.75);
}

/* ── Footer ── */
.nav-mobile-footer {
  position: relative; z-index: 1;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.42s, transform 0.4s ease 0.42s;
}
.nav-mobile.open .nav-mobile-footer { opacity: 1; transform: translateY(0); }

.nav-mobile-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.nav-mobile-contact {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}
.nav-mobile-contact-label {
  display: block;
  font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 2px;
}
.nav-mobile-social { display: flex; gap: 8px; }
.nav-mobile-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.nav-mobile-social a:hover {
  background: rgba(201,64,64,0.2);
  color: var(--sage-light);
  border-color: rgba(201,64,64,0.3);
}
.nav-mobile-social a.wa-social:hover {
  background: rgba(37,211,102,0.15);
  color: #25D366;
  border-color: rgba(37,211,102,0.3);
}

/* Reset — prevent old styles leaking in */
.cta-mobile { display: none !important; }

/* ─── Force opaque navbar on pages without a hero ─── */
body.no-hero #navbar {
  background: rgba(19,10,10,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 28px rgba(0,0,0,0.30);
}
body.no-hero #navbar .brand-top  { color: #ffffff; }
body.no-hero #navbar .brand-main { color: rgba(255,255,255,0.50); }
body.no-hero #navbar .brand-divider { background: rgba(255,255,255,0.14); }
body.no-hero #navbar .nav-links a { color: rgba(255,255,255,0.82); }
body.no-hero #navbar .nav-hamburger span { background: #fff; }
body.no-hero #navbar .nav-links a::after { background: #DC143C; }
/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.215,.61,.355,1), transform .7s cubic-bezier(.215,.61,.355,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ─── SECTION TYPOGRAPHY ─── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8b2020;    
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1.5px;
  background: var(--sage);
  flex-shrink: 0;
}
.section-eyebrow.light { color: #8B2020; }
.section-eyebrow.light::before { background: #8B2020; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.8px;
}
.section-title em {
  font-style: normal;
  font-weight: 800;
  color: #dc143c;
}

/* ─── SERVICES WORD FLIP ─── */
.word-flip {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  height: 1.15em;
  line-height: 1.15;
  
}

.word-flip-inner {
  display: flex;
  flex-direction: column;
  animation: word-flip-anim 6s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.word-flip-inner em {
  display: block;
  font-style: normal;
  font-weight: 800;
  color:  #DC143C;   
  height: 1.15em;
  line-height: 1.15;
  white-space: nowrap;
}

@keyframes word-flip-anim {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(0); }
  50%  { transform: translateY(-52.5%); }
  90%  { transform: translateY(-52.5%); }
  100% { transform: translateY(0); }
}
.section-title.left { text-align: left; }
.light-title { color: #2c1a1a; }
.light-title em { color: #DC143C; }


.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 540px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-eyebrow { justify-content: center; }
.section-header .section-eyebrow::before { display: none; }
.section-header .section-sub { margin: 16px auto 0; }

.accent-rule {
  width: 40px; height: 2px;
  background: var(--sage);
  border-radius: 2px;
  margin: 24px 0;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #DC143C;     
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 16px rgba(139,32,32,0.30);
  letter-spacing: 0.2px;
}
.btn-primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,32,32,0.38);
}
.btn-primary.mt-btn { margin-top: 36px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(44,26,26,.22);
  transition: border-color .25s, color .25s, background .25s;
  letter-spacing: 0.2px;
}
.btn-ghost:hover {
  background: rgba(44,26,26,.05);
  border-color: rgba(44,26,26,.38);
  color: var(--text-dark);
}

/* ═══════════════════════════════════════
   HERO — FULL UPGRADE
═══════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  background-color: #fafafa;
  background:
     radial-gradient(ellipse 100% 100% at 50% 50%, transparent 60%, rgba(20,20,20,0.03) 100%),
    radial-gradient(ellipse 70% 65% at 95% 95%,   rgba(160,120,80,0.04) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 0%  85%,   rgba(160,120,80,0.03) 0%, transparent 52%),
    linear-gradient(150deg, #f5f5f3 0%, #fafafa 40%, #f6f6f4 75%, #f4f4f2 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .hero {
    background:
           radial-gradient(ellipse 100% 100% at 50% 50%, transparent 60%, rgba(20,20,20,0.03) 100%),
      radial-gradient(ellipse 70% 60% at 95% 90%,   rgba(160,120,80,0.04) 0%, transparent 55%),
      linear-gradient(150deg, #f5f5f3 0%, #fafafa 40%, #f4f4f2 100%);
  }
}
/* ── Decorative layers ── */
.hero-noise {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.hero-glow--1 {
  top: -200px; right: -150px;
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(180,130,90,0.07) 0%, transparent 65%);
  z-index: 1;
}
.hero-glow--2 {
  bottom: 60px; left: -200px;
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(180,130,90,0.04) 0%, transparent 65%);
  z-index: 1;
}

.hero-dots {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  background-image: radial-gradient(circle, rgba(44,26,26,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 55% 90% at 90% 50%, rgba(0,0,0,0.4) 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 90% at 90% 50%, rgba(0,0,0,0.4) 0%, transparent 70%);
}

/* ── Layout ── */
.hero-layout {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 28px 80px;
  width: 100%;
}

/* ── Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(180deg, #fffdf8 0%, #fbf1e0 100%);
  border: 1px solid rgba(201,161,97,0.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 4px 14px rgba(139,32,32,0.07);
  color: #6b4e1e;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 9px 18px 9px 14px;
  border-radius: 100px;
  margin-bottom: 15px;
}
.badge-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}
.badge-text strong {
  color: #DC143C;
  font-weight: 800;
  letter-spacing: 1.3px;
}

/* ── Headline ── */
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 26px;
}
.h1-eyebrow {
  display: block;
  font-size: 0.42em; font-weight: 500;
  font-style: normal; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1;
}
.h1-main    { display: block; color: var(--text-dark); line-height: 1.0; font-weight: 800; }
.h1-accent  {
  display: block; font-style: normal;
  font-weight: 700; color: #DC143C;
  line-height: 1.05;
}
.h1-main strong {
  font-weight: 800;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  margin-top: -24px;
  margin-bottom: 36px;
  will-change: transform;
}

/* ── Subtext ── */
.hero-sub {
  font-size: 15.5px;
  color: var(--text-body);
  max-width: 440px;
  line-height: 1.82;
  min-height: 5.5em; 
  margin-bottom: 36px;
  opacity: 0; 
  transition: opacity 0.6s ease;
  
}
.hero-sub.typing-active {
  opacity: 1; 
 
}

.hero-sub .typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: rgba(201, 64, 64, 0.8);
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 1px;
  animation: cursor-blink 0.75s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Actions ── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ── Mobile: all three buttons in one row ── */
@media (max-width: 768px) {
  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
    
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 105px 24px 60px;
    gap: 32px;
  }


  .hero-visual {
    display: none;
  }
  /* Primary button takes full row */
  .hero-actions .btn-primary {
    flex: 0 0 100%;
    width: 100%;
    padding: 15px 28px;
    font-size: 14px;
    justify-content: center;
  }

  /* Ghost buttons share the second row */
  .hero-actions .btn-ghost {
    flex: 1;
    padding: 11px 8px;
    font-size: 12px;
    justify-content: center;
    white-space: nowrap;
  }

  .hero-actions .btn-primary svg {
    display: inline-block; /* bring arrow back */
  }
}

/* ── Trust strip ── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px; flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.hero-certifications {
  display: flex; align-items: center;
  gap: 7px; flex-wrap: wrap;
}
.cert-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  color: var(--text-muted);
  background: rgba(44,26,26,0.05);
  border: 1px solid rgba(44,26,26,0.12);
  border-radius: 100px;
  padding: 5px 12px;
  transition: background .2s, color .2s, border-color .2s;
}
.cert-pill:hover {
  background: rgba(201,64,64,0.09);
  color: var(--sage-dark);
  border-color: rgba(201,64,64,0.22);
}
.cert-pill i { color: var(--sage); font-size: 10px; }

/* ── Right visual ── */
.hero-visual {
  position: relative;
  height: 520px;
}

.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(201,64,64,0.1);
  pointer-events: none; z-index: 0;
}
.hero-ring::before {
  content: '';
  position: absolute; inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(201,64,64,0.06);
}

/* Primary image */
.hero-img-frame {
  position: absolute;
  top: 0; left: 30px; right: -10px; bottom: 64px;
  border-radius: 24px;
  overflow: hidden; z-index: 1;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 12px 32px rgba(0,0,0,0.12),
    0 4px 12px rgba(0,0,0,0.08);
}
.hero-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 10s ease;
}
.hero-img-frame:hover img { transform: scale(1.07); }

.hero-img-accent {
  position: absolute; inset: 0;
  background:
    linear-gradient(200deg, rgba(201,64,64,0.07) 0%, transparent 45%),
    linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.6) 100%);
}

/* Secondary image */
.hero-img-secondary {
  position: absolute;
  bottom: 0; left: 0;
  width: 42%; height: 175px;
  border-radius: 18px; overflow: hidden;
  z-index: 3;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  border: 3px solid var(--bg-darker);
}
.hero-img-secondary img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Years badge */
.hero-years-badge {
  position: absolute;
  top: 24px; right: -8px;
  background: #DC143C;   
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  z-index: 4;
  box-shadow: 0 8px 32px rgba(201,64,64,0.45);
}
.hero-years-badge .years-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: #fff; line-height: 1;
}
.years-label {
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.45; letter-spacing: 0.3px;
  margin-top: 4px; text-transform: uppercase;
}

/* Floating stat card */
.hero-stat-card {
  position: absolute;
  bottom: 32px; right: -14px;
  background: rgba(15, 5, 5, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  z-index: 4;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.stat-card-icon {
  width: 38px; height: 38px;
  background: rgba(201,64,64,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-light);
  font-size: 15px; flex-shrink: 0;
}
.stat-card-num {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: #fff; line-height: 1;
}
.stat-card-label {
  font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-top: 2px; letter-spacing: 0.2px;
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 108px; left: 44px;
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(44,26,26,0.30), transparent);
  animation: scroll-anim 2.2s ease infinite;
}
@keyframes scroll-anim {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.75) translateY(6px); }
}
.hero-scroll-label {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(44,26,26,0.32);
  writing-mode: vertical-rl;
}

/* ─── HERO MOBILE COFFEE IMAGE ─── */
.hero-mobile-coffee {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
.hero-mobile-coffee {
    display: block;
    position: relative;
    margin-top: 36px;
    height: 420px;
    border-radius: 20px;
    overflow: visible;
    animation: fadeUp 0.8s ease forwards 0.9s;
    opacity: 0;
  }

  .hero-mobile-coffee-frame {
    width: 100%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: none;
  }

  .hero-mobile-coffee-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
  }

  /* Deep gradient overlay so it blends into the dark hero */
.hero-mobile-coffee-glow {
  display: none;
}

  /* "37 Years" badge — top-right corner */
  .hero-mobile-coffee-badge {
    position: absolute;
    top: -14px;
    right: 16px;
    background: #DC143C;
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(201,64,64,0.45);
    z-index: 4;
    border: 2px solid rgba(255,255,255,0.1);
  }

  .hero-mobile-coffee-badge .years-num {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
  }

  .hero-mobile-coffee-badge .years-label {
    font-size: 8.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    letter-spacing: 0.3px;
    margin-top: 3px;
    text-transform: uppercase;
    line-height: 1.4;
  }

  /* Tonnes stat card — bottom-left corner */
  .hero-mobile-coffee-stat {
    position: absolute;
    bottom: -16px;
    left: 16px;
    background: rgba(15,5,5,0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
    box-shadow: 0 10px 32px rgba(0,0,0,0.4);
  }

  .hero-mobile-coffee-stat i {
    font-size: 16px;
  }

  .hero-mobile-coffee-stat .stat-card-num {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
  }

  .hero-mobile-coffee-stat .stat-card-label {
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
    letter-spacing: 0.2px;
  }
}

/* Extra breathing room below the image on small phones */
@media (max-width: 480px) {
  .hero-mobile-coffee {
    height: 360px;
    margin-top: 32px;
    margin-bottom: 8px;
  }
  .hero-mobile-coffee-frame {
    height: 360px;
  }
}

/* ── Certification ticker ── */
.hero-ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 13px 0;
  background: #191010;
  border-top: 1px solid rgba(220,20,60,0.22);
}

.hero-ticker::before,
.hero-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero-ticker::before {
  left: 0;
  background: linear-gradient(to right, #191010, transparent);
}
.hero-ticker::after {
  right: 0;
  background: linear-gradient(to left, #191010, transparent);
}

.hero-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 245, 240, 0.82);
  letter-spacing: 2.2px;
}

.hero-ticker-track span {
  display: inline-block;
  padding-right: 28px; /* spacing baked into every item */
}

.ticker-sep {
  display: inline-block;
  color: #DC143C;
  font-size: 14px;
  opacity: 0.9;
  padding-right: 28px;
}



/* ── Mobile — only change font-size, NEVER add gap ── */
@media (max-width: 480px) {
  .hero-ticker-track {
    font-size: 9.5px;
    /* gap must NOT appear here */
  }
}

/* ─── HERO MOBILE SLIDESHOW ─── */
.hmc-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hmc-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hmc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: blur(0);
  transform: scale(1);
  transition: transform 0.5s ease;
  will-change: transform;
  position: absolute;
  inset: 0;
}

.hmc-slide img.img-loaded {
  filter: blur(0);
  transform: scale(1);
}

.hmc-slide-label {
  position: absolute;
  bottom: 45px;
  left: 14px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.3;
  z-index: 4;
  pointer-events: none;

  /* Solid bar */
  background: #1a1a1a;
  color: #f5f5f5;
  border-left: 3px solid #e63b2e; /* match your brand red */
  padding: 7px 10px;
  border-radius: 0 6px 6px 0;
  display: inline-block;
  width: fit-content;
}
/* ── Dot indicators ── */
.hmc-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  pointer-events: all;
}

.hmc-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: rgba(44,26,26,0.20);
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: width 0.35s cubic-bezier(0.34,1.56,0.64,1),
              background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.hmc-dot.active {
  width: 20px;
  background: #2c1a1a;
}

/* ── Prev / Next arrows ── */
.hmc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10,3,3,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hmc-nav:hover  { background: rgba(220,20,60,0.55); }
.hmc-nav:active { transform: translateY(-50%) scale(0.92); }
.hmc-nav--prev  { left: 10px; }
.hmc-nav--next  { right: 10px; }

@media (prefers-reduced-motion: reduce) {
  
  .badge-dot,
  .brand-heart,
  .hero-scroll-line,
  .process-arrow,
  .cookie-spin-icon {
    animation: none !important;
  }

  .word-flip-inner {
    animation-duration: 12s !important;
  }
}

/* ── Entrance animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(52px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-badge, .hero-content h1, .hero-sub, .hero-tagline,
.hero-actions, .hero-trust, .hero-visual {
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-badge      { animation: fadeUp       0.7s ease                           forwards 0.15s; }
.hero-content h1 { animation: fadeUp       0.8s cubic-bezier(.215,.61,.355,1)  forwards 0.30s; }
.hero-sub        { animation: fadeUp       0.7s ease                           forwards 0.50s; }
.hero-tagline    { animation: fadeUp       0.7s ease                           forwards 0.58s; }
.hero-actions    { animation: fadeUp       0.7s ease                           forwards 0.65s; }
.hero-trust      { animation: fadeUp       0.6s ease                           forwards 0.80s; }
.hero-visual     { animation: slideInRight 1.0s cubic-bezier(.215,.61,.355,1)  forwards 0.40s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-layout { gap: 40px; }
  .hero-years-badge,
  .hero-stat-card { right: 0; }
}

@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
    padding: 130px 20px 64px;
    gap: 0;
  }
  .hero-visual { display: none; }
  .hero-scroll { display: none; }
  .hero-badge { font-size: 12px; letter-spacing: 2px; padding: 10px 16px; }
  .hero-content h1 { font-size: clamp(42px, 10vw, 58px); }
  .hero-sub { font-size: 14.5px; }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-ticker-track { font-size: 9.5px; }
}


/* ─── STATS BAR ─── */
.stats-bar {
  background: #fafafa;
  border-bottom: 1px solid var(--linen-dd);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 24px 36px;
  text-align: center;
  border-right: 1px solid var(--linen-dd);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 900;
  color: #DC143C;
  line-height: 1;
  letter-spacing: -2px;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  max-width: 120px;
  line-height: 1.4;
}

/* Stats bar responsive */
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--linen-dd); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--linen-dd); border-right: none; }
  .stat-num { font-size: 32px; }
}

@media (max-width: 480px) {
  .stat-item { padding: 24px 16px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 11px; }
}
/* ─── SERVICES ─── */
.services-section {
  padding: 100px 0 80px;
  background: #ffffff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #eeeeee;
  transition: box-shadow .3s ease,
              opacity .7s cubic-bezier(.215,.61,.355,1),
              transform .7s cubic-bezier(.215,.61,.355,1);
}
.service-card:hover {
  will-change: transform;
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ── Image wrap ── */
.service-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--linen-dd);  /* placeholder colour while loading */
}

/* ── Skeleton shimmer shown until img-loaded ── */
.service-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.45) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: img-shimmer 1.4s ease infinite;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* hide shimmer once loaded */
.service-img-wrap.loaded::before {
  opacity: 0;
  animation: none;
}

@keyframes img-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Subtle red overlay that deepens on hover ── */
.service-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(139,32,32,0.18) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover .service-img-wrap::after {
  opacity: 1;
}

/* ── Image itself ── */
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* blur-up: starts blurred, sharpens on load */
  filter: blur(10px);
  transform: scale(1.04); /* slightly zoomed to hide blur edges */
  transition:
    filter 0.55s ease,
    transform 0.5s ease;
  position: relative;
  z-index: 0;
}

/* sharp + normal scale once loaded */
.service-img-wrap img.img-loaded {
  filter: blur(0);
  transform: scale(1);
}

/* hover zoom — only applies after loaded */
.service-card:hover .service-img-wrap img.img-loaded {
  transform: scale(1.06);
}

/* ── Service body ── */
.service-body { padding: 28px 26px; }

.service-icon-pill {
  width: 36px; height: 36px;
  background: #f3f3f3;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  font-size: 14px;
  margin-bottom: 16px;
}
.service-body h3 {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}
.service-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.service-tags span {
  font-size: 11px; font-weight: 500;
  color: #555555;
  background: #f3f3f3;
  border: 1px solid #e0e0e0;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

/* ─── Services row 2 — flat cards ─── */
.services-row-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-flat {
  background: var(--linen);
  border: 1px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; gap: 20px;
  align-items: flex-start;
  transition: box-shadow .3s ease,
              opacity .7s cubic-bezier(.215,.61,.355,1),
              transform .7s cubic-bezier(.215,.61,.355,1);
}
.service-flat:hover { box-shadow: 0 8px 28px rgba(139,32,32,0.08); }
.sflt-icon {
  width: 44px; height: 44px;
  background: var(--parchment);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--earth);
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid var(--sand-light);
}
.sflt-body h4 {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.sflt-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ─── HOW WE WORK ─── */
.process-section {
  padding: 100px 0;
  background: #f7f7f7;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}
.process-steps {
  display: flex;
  align-items: stretch;
  gap: 12px;
  justify-content: center;
}

.process-step {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 32px 20px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--radius-lg);
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

/* Shimmer — opacity is GPU-composited, free to animate */
.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 64, 64, 0.04) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}

/* Bottom accent line */
.process-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sage-dark), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step-shadow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 2px  4px  rgba(139, 32, 32, 0.04),
    0 8px  20px rgba(139, 32, 32, 0.08),
    0 20px 40px rgba(139, 32, 32, 0.06);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.process-step:hover .process-step-shadow { opacity: 1; }

.process-step:hover {
  transform: translateY(-7px) scale(1.02);

}

.process-step:hover::before { opacity: 1; }
.process-step:hover::after  { transform: scaleX(1); }

.process-step:hover .ps-icon {
  background: rgba(201, 64, 64, 0.15);
  transform: scale(1.12) rotate(-4deg);
}

.process-step:hover .ps-num {
  color: var(--sage-dark);
}

.ps-num {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.ps-icon {
  width: 52px; height: 52px;
  background: #f0f0f0;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #2c1a1a;
  font-size: 20px;
  margin: 0 auto 18px;
  transition:
    background  0.35s ease,
    transform   0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Arrow ── */
.process-arrow {
  font-size: 22px;
  color: var(--sage-mist);
  margin-top: 60px;
  flex-shrink: 0;
  animation: arrowBounce 1.8s ease-in-out infinite;
  will-change: transform;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

/* ═══ RESPONSIVE ═══ */

@media (max-width: 768px) {
  .process-section { padding: 72px 0; }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .process-step {
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 20px 20px;
    will-change: auto;
  }

  .ps-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
  }

  .ps-num { margin-bottom: 0; }

  .ps-icon {
    margin: 0;
    width: 44px; height: 44px;
    font-size: 17px;
  }

  .ps-right { flex: 1; }

  .process-step h3 { font-size: 15px; margin-bottom: 6px; }
  .process-step p  { font-size: 13px; line-height: 1.6; }

  .process-arrow {
    margin: 0;
    font-size: 18px;
    /* Pause the animation off-screen to save battery */
    animation: arrowBounceDown 1.8s ease-in-out infinite;
  }

  .process-step:active {
    transform: scale(0.98);
    transition: transform 0.12s ease;
  }
}

@keyframes arrowBounceDown {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50%       { transform: rotate(90deg) translateX(5px); }
}

@media (max-width: 480px) {
  .process-section { padding: 60px 0; }
  .process-step    { padding: 18px 16px; gap: 14px; }
  .ps-icon         { width: 40px; height: 40px; font-size: 15px; }
  .process-step h3 { font-size: 14px; }
  .process-step p  { font-size: 12.5px; }
}

/* ─── ABOUT ─── */
.about-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--linen-dd);
  border-bottom: 1px solid var(--linen-dd);
}

/* Subtle dot texture */
.about-bg-texture {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(44,26,26,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}


.about-section .container { position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-imagery { position: relative; }
.about-img-primary-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(139,32,32,0.08),
    0 20px 60px rgba(0,0,0,0.14);
}
.about-img-primary {
  width: 100%; height: 440px;
  object-fit: cover;
}
.about-img-secondary-wrap {
  position: absolute;
  bottom: -32px; right: -28px;
  width: 48%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border: 4px solid #ffffff;
}
.about-img-secondary {
  width: 100%; height: 180px;
  object-fit: cover;
}

/* Years badge — flipped: crimson bg, white text */
.about-years-badge {
  position: absolute;
  top: 32px; left: -28px;
  background: #DC143C;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(220,20,60,0.35);
}
.about-years-badge .years-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  line-height: 1;
  color: #ffffff;
}
.years-label {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin-top: 4px;
}

/* Text on white */
.about-content .section-title { color: var(--text-dark); }
.about-content p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.78;
}
.about-p2 { margin-top: 16px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-feature {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.af-icon {
  width: 36px; height: 36px;
  background: rgba(220,20,60,0.10);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.about-feature:hover .af-icon {
  background: rgba(220,20,60,0.18);
  transform: scale(1.1);
}
.about-feature h4 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}
.about-feature p {
  font-size: 12.5px !important;
  color: var(--text-muted);
  line-height: 1.5 !important;
}

/* Eyebrow & rule on white */
.about-section .section-eyebrow       { color: var(--sage-dark); }
.about-section .section-eyebrow::before { background: var(--sage); }
.about-section .accent-rule            { background: var(--sage); }

/* Button — standard crimson */
.about-section .btn-primary {
  background: #DC143C;
  color: #fff;
  box-shadow: 0 4px 16px rgba(139,32,32,0.28);
}
.about-section .btn-primary:hover {
  background: var(--sage-deep);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139,32,32,0.38);
}

 /* ───────────────────────────────────────
       CEO SECTION
    ─────────────────────────────────────── */
.ceo-section {
      position: relative;
      padding: 120px 0;
      background: #ffffff;
      overflow: hidden;
    }

    /* Dot grid */
    .ceo-section::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
      background-size: 34px 34px;
      pointer-events: none;
      z-index: 0;
    }

    .ceo-container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 28px;
      position: relative;
      z-index: 1;
    }

    /* ── Eyebrow ── */
    .ceo-eyebrow {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgb(201, 64, 64);
      margin-bottom: 64px;
    }
    .ceo-eyebrow::before {
      content: '';
      display: inline-block;
      width: 28px; height: 1.5px;
      background: rgb(201, 64, 64);
      flex-shrink: 0;
    }

    /* ── Main grid ── */
    .ceo-grid {
      display: grid;
      grid-template-columns: 400px 1fr;
      gap: 72px;
      align-items: start;
    }

    /* ── LEFT: Portrait column ── */
    .ceo-portrait-col {
      position: relative;
    }

    .ceo-portrait-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

    .ceo-portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: blur(10px);
  transform: scale(1.04);
  transition: filter 0.55s ease, transform 8s ease;
  will-change: filter, transform;
}
.ceo-portrait-frame img.img-loaded {
  filter: blur(0);
  transform: scale(1);
}
.ceo-portrait-frame:hover img.img-loaded {
  transform: scale(1.04);
}
    .ceo-portrait-frame:hover img {
      transform: scale(1.04);
    }

    /* Portrait gradient overlay */
    .ceo-portrait-frame::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, transparent 45%, rgba(10,3,3,0.72) 100%),
        linear-gradient(135deg, rgba(201,64,64,0.06) 0%, transparent 55%);
      z-index: 1;
    }

.ceo-nameplate-below {
  padding: 20px 4px 0;
}
.ceo-nameplate-below h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 5px;
}
.ceo-nameplate-below .ceo-role {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}


.ceo-nameplate {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
}
.ceo-nameplate h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.ceo-nameplate .ceo-role {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  color: var(--sage-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

.ceo-sig-below {
  padding: 0;
  margin-top: -20px;
}

    /* Established badge — top right of portrait */
   
    .ceo-est-badge {
      position: absolute;
      top: -18px; right: -18px;
      width: 80px; height: 80px;
      background: #DC143C;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      box-shadow: 0 8px 28px rgba(201,64,64,0.45);
      z-index: 3;
      border: 3px solid #FAF7F5;
    }
    .ceo-est-badge .est-num {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 800;
      color: #fff;
      line-height: 1;
    }
    .ceo-est-badge .est-lbl {
      font-size: 8px;
      font-weight: 500;
      color: rgba(255,255,255,0.7);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-top: 2px;
    }

    /* Signature card – bottom left */


    .sig-img {
      font-family: 'Dancing Script', cursive;
      font-size: 28px;
      color: var(--text-dark);
      line-height: 1;
      letter-spacing: 1px;
      font-style: italic;
    }
    /* Use a CSS-drawn signature line as fallback */

    /* ── RIGHT: Content column ── */
    .ceo-content {
      padding-top: 8px;
    }

    .ceo-title-block {
      margin-bottom: 36px;
    }
   .ceo-title-block h3 {
      font-family: var(--font-display);
      font-size: clamp(32px, 3.2vw, 46px);
      font-weight: 800;
      color: var(--text-dark);
      letter-spacing: -1px;
      line-height: 1.1;
      margin-bottom: 6px;
    }
    .ceo-title-block h3 em {
      font-style: normal;
      color: #DC143C;
    }
    .ceo-sub-name {
      font-family: var(--font-body);
      font-size: 13px;
      color: var(--text-muted);
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-top: 12px;
    }

.about-years-badge .years-label {
  color: rgba(255, 255, 255, 0.78);
}
    /* Blockquote */
.ceo-quote {
  position: relative;
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(120,15,15,0.91) 0%, rgba(28,8,8,0.95) 100%),
    url('../images/hold tomato.jpg') center/cover no-repeat;
  border-left: 4px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 40px rgba(100,10,10,0.28);
  padding: 36px 40px 32px 52px;
}
   .ceo-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
.ceo-quote::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,20,60,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.ceo-quote-mark {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 800;
  color: rgba(220,20,60,0.28);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.ceo-quote-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.ceo-quote-line {
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.18);
}
.ceo-quote-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
   .ceo-quote p {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.78;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
.ceo-quote-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(220,20,60,0.40), rgba(255,255,255,0.05), transparent);
  margin: 24px 0 20px;
  position: relative;
  z-index: 1;
}
.ceo-quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.ceo-quote-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(220,20,60,0.18);
  border: 1.5px solid rgba(220,20,60,0.38);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #DC143C;
  flex-shrink: 0;
}
.ceo-quote-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}
.ceo-quote-role {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ceo-quote-badge {
  position: absolute;
  top: 18px; right: 20px;
  background: rgba(220,20,60,0.16);
  border: 1px solid rgba(220,20,60,0.28);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(220,20,60,0.70);
  z-index: 1;
}
    .ceo-quote cite {
      display: block;
      margin-top: 12px;
      font-style: normal;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--sage-dark);
    }

    /* Bio paragraphs */
  .ceo-bio p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.82;
      margin-bottom: 14px;
    }
    .ceo-bio p:last-child { margin-bottom: 0; }
    .ceo-bio strong {
      color: var(--text-dark);
      font-weight: 600;
    }

    /* Divider */
    .ceo-divider {
      width: 40px; height: 2px;
      background: linear-gradient(90deg, var(--sage), transparent);
      border-radius: 2px;
      margin: 32px 0;
    }

    /* Stat pills row */
.ceo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
   .ceo-stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
    .ceo-stat-pill:hover {
      background: rgba(201,64,64,0.06);
      border-color: rgba(201,64,64,0.30);
      transform: translateY(-3px);
    }
    .ceo-stat-icon {
      width: 36px; height: 36px;
      background: rgba(201,64,64,0.10);
      border-radius: var(--radius-sm);
      display: flex; align-items: center; justify-content: center;
      color: var(--sage-dark);
      font-size: 14px;
      flex-shrink: 0;
    }
    .ceo-stat-num {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 800;
      color: var(--text-dark);
      line-height: 1;
    }
    .ceo-stat-label {
      font-size: 11px;
      font-weight: 500;
      color: var(--text-muted);
      margin-top: 2px;
      letter-spacing: 0.3px;
    }

    /* ── Milestones / Timeline ── */
    .ceo-milestones {
      margin-top: 48px;
    }
   .ceo-milestones-title {
      font-family: var(--font-body);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 20px;
    }
    .milestone-track {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .milestone-item {
      display: flex;
      gap: 0;
      position: relative;
    }
    .milestone-left {
      width: 72px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .milestone-year {
      font-family: var(--font-display);
      font-size: 12px;
      font-weight: 700;
      color: var(--sage);
      letter-spacing: 0.5px;
      line-height: 1;
      padding-top: 2px;
    }
    .milestone-line-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 1;
      gap: 0;
    }
 .milestone-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      background: var(--sage);
      border: 2px solid #FAF7F5;
      box-shadow: 0 0 0 3px rgba(201,64,64,0.2);
      margin-top: 4px;
      flex-shrink: 0;
    }
    .milestone-connector {
      width: 2px;
      flex: 1;
      min-height: 24px;
      background: linear-gradient(to bottom, rgba(201,64,64,0.35), rgba(201,64,64,0.05));
      margin: 4px 0;
    }
    .milestone-item:last-child .milestone-connector {
      display: none;
    }
    .milestone-body {
      flex: 1;
      padding: 0 0 28px 20px;
    }
 .milestone-body h4 {
      font-family: var(--font-body);
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 4px;
      letter-spacing: -0.1px;
    }
    .milestone-body p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* ── Bottom social strip ── */
    .ceo-footer-strip {
      margin-top: 72px;
      padding-top: 40px;
      border-top: 1px solid var(--linen-dd);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }
    .ceo-footer-text {
      font-size: 13px;
      color: var(--text-muted);
    }
    .ceo-footer-text strong {
      color: var(--text-dark);
      font-weight: 600;
    }
    .ceo-socials {
      display: flex;
      gap: 8px;
    }
    .ceo-social-btn {
      width: 38px; height: 38px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid var(--linen-dd);
      display: flex; align-items: center; justify-content: center;
      color: var(--text-muted);
      font-size: 13px;
      text-decoration: none;
      transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .ceo-social-btn:hover {
      background: rgba(201,64,64,0.10);
      color: var(--sage-dark);
      border-color: rgba(201,64,64,0.30);
      transform: scale(1.1);
    }
    .ceo-signature-card img {
  filter: invert(1) sepia(0.8) saturate(1.5) brightness(0.28);
}


    /* ─── RESPONSIVE ─── */
    @media (max-width: 960px) {
      .ceo-grid {
        grid-template-columns: 1fr;
        gap: 80px;
      }
      .ceo-portrait-col {
        max-width: 345px;
        margin: 0 auto;
      }
    }

   @media (max-width: 768px) {
  .ceo-section { padding: 80px 0; }
  .ceo-container { padding: 0 20px; }
  .ceo-eyebrow { margin-bottom: 48px; }
  .ceo-portrait-frame { aspect-ratio: 4/5; }
  .ceo-est-badge { width: 64px; height: 64px; top: -12px; right: -12px; }
  .ceo-est-badge .est-num { font-size: 15px; }
  .ceo-signature-card { left: -12px; bottom: -20px; min-width: 160px; }
  .ceo-title-block h3 { font-size: 30px; }
  .ceo-quote p { font-size: 15px; }
  .ceo-stats { gap: 10px; grid-template-columns: 1fr 1fr; }
  .ceo-stat-pill { padding: 12px 16px; }
  .ceo-stat-num { font-size: 18px; }
  .ceo-footer-strip { flex-direction: column; align-items: flex-start; }
}


/* ─── MISSION & VISION ─── */
.mv-section {
  background: var(--linen-d);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.mv-noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(201,64,64,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.mv-container {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  position: relative; z-index: 1;
}
.mv-header { max-width: 560px; margin-bottom: 72px; }

.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 52px;
}
.mv-card {
  border-radius: 20px; padding: 40px 38px;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mv-card:hover { transform: translateY(-5px); }

.mv-card--mission {
  background: #DC143C;
  box-shadow: 0 16px 48px rgba(139,32,32,0.22);
}
.mv-card--mission:hover { box-shadow: 0 24px 64px rgba(139,32,32,0.30); }
.mv-card--vision {
  background: var(--linen); border: 1.5px solid var(--linen-dd);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.mv-card--vision:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.10); }

.mv-card-bg {
  position: absolute; bottom: -28px; right: -28px;
  width: 160px; height: 160px; border-radius: 50%; pointer-events: none;
}
.mv-card--mission .mv-card-bg { background: rgba(255,255,255,0.05); }
.mv-card--vision .mv-card-bg { background: rgba(201,64,64,0.06); }

.mv-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 24px;
}
.mv-card--mission .mv-card-icon { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.mv-card--vision .mv-card-icon { background: rgba(201,64,64,0.10); color: #DC143C; }

.mv-card-label {
  font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 14px;
}
.mv-card--mission .mv-card-label { color: rgba(255,255,255,0.55); }
.mv-card--vision .mv-card-label { color: var(--sage); }

.mv-card-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 16px;
}
.mv-card--mission .mv-card-title { color: #fff; }
.mv-card--vision .mv-card-title { color: var(--text-dark); }

.mv-card-text { font-size: 14.5px; line-height: 1.8; }
.mv-card--mission .mv-card-text { color: rgba(255,255,255,0.72); }
.mv-card--vision .mv-card-text { color: var(--text-muted); }

.mv-card-divider { height: 1px; margin: 24px 0; }
.mv-card--mission .mv-card-divider { background: rgba(255,255,255,0.12); }
.mv-card--vision .mv-card-divider { background: var(--linen-dd); }

.mv-card-footer { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.mv-card--mission .mv-card-footer { color: rgba(255,255,255,0.5); }
.mv-card--vision .mv-card-footer { color: var(--sage); }

.mv-card-footer-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  animation: mvPulse 2.5s ease infinite;
}
.mv-card--mission .mv-card-footer-dot { background: rgba(255,255,255,0.45); }
.mv-card--vision .mv-card-footer-dot { background: var(--sage); }
@keyframes mvPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

.mv-values-label {
  font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.mv-values-label::after { content: ''; flex: 1; height: 1px; background: var(--linen-dd); }

.mv-values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.mv-value-card {
  background: var(--linen); border: 1.5px solid var(--linen-dd);
  border-radius: 14px; padding: 24px 20px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.mv-value-card:hover {
  border-color: rgba(201,64,64,0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139,32,32,0.08);
}
.mv-value-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(201,64,64,0.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark); font-size: 14px; margin-bottom: 14px;
}
.mv-value-card:hover .mv-value-icon { background: rgba(201,64,64,0.18); }
.mv-value-num { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; }
.mv-value-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 7px; letter-spacing: -0.2px; }
.mv-value-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-values-grid { grid-template-columns: 1fr 1fr; }
  .mv-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .mv-values-grid { grid-template-columns: 1fr; }
  .mv-header { margin-bottom: 48px; }
}

/* ─── WHY SECTION ─── */
.why-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid var(--linen-dd);
  border-bottom: 1px solid var(--linen-dd);
}

/* Subtle dot grid texture */
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(44,26,26,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}


/* ── Content above decorations ── */
.why-section .container {
  position: relative;
  z-index: 1;
}

/* ── Header overrides ── */
.why-section .section-eyebrow        { color: var(--sage-dark); }
.why-section .section-eyebrow::before { background: var(--sage); }
.why-section .section-title           { color: var(--text-dark); }
.why-section .section-title em        { color: #DC143C; }
.why-section .section-sub             { color: var(--text-muted); }

/* ── Grid — desktop ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ── Card base ── */
.why-card {
  background: var(--linen);
  border: 1px solid var(--linen-dd);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease,
              background .3s ease, border-color .3s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: rgba(201,64,64,0.30);
  box-shadow:
    0 16px 40px rgba(139,32,32,0.10),
    inset 0 0 0 1px rgba(201,64,64,0.10);
}

/* Desktop: left/right wrappers are invisible — just normal flow */
.why-card-left  { display: contents; }
.why-card-right { display: contents; }

/* ── Card internals ── */
.why-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: block;
}
.why-icon {
  width: 44px; height: 44px;
  background: rgba(201,64,64,0.10);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  font-size: 18px;
  margin-bottom: 18px;
  transition: background .3s ease,
              transform .3s cubic-bezier(0.34,1.56,0.64,1);
}
.why-card:hover .why-icon {
  background: rgba(201,64,64,0.18);
  transform: scale(1.12);
}
.why-card h3 {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.1px;
}
.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .why-section { padding: 80px 0; }

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

  .why-card {
    padding: 22px 16px;
    background: var(--linen);
  }
  .why-num  { font-size: 11px; margin-bottom: 12px; }
  .why-icon { width: 36px; height: 36px; font-size: 14px; margin-bottom: 12px; }
  .why-card h3 { font-size: 13px; margin-bottom: 6px; }
  .why-card p  { font-size: 12px; line-height: 1.55; }
}

@media (max-width: 480px) {
  .why-section { padding: 64px 0; }

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

  .why-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
  }

  .why-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
    width: 44px;
  }

  .why-num {
    margin-bottom: 0;
    font-size: 10px;
    text-align: center;
  }

  .why-icon {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    font-size: 15px;
    flex-shrink: 0;
  }

  .why-card-right {
    display: block;
    flex: 1;
    min-width: 0;
  }

  .why-card h3 {
    font-size: 13.5px;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .why-card p {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-muted);
  }

  .why-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* ─── PRODUCTS SECTION ─── */
.products-section {
  padding: 100px 0;
  background: #FFFFFF;
}
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.proj-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end;
}
.proj-filter {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  color: #2c1a1a;
  background: rgba(196, 15, 15, 0.05);
  border: 2px solid rgba(255,255,255,.1);
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.3px;
}
.proj-filter:hover { color:#FFFFFF; background: #DC143C }
.proj-filter.active {
  color: var(--sage-deep);
  background: var(--sage-mist);
  border-color: var(--sage-mist);
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.prod-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.prod-card:nth-child(1) { grid-row: span 1; }
.prod-card:nth-child(4) { grid-column: span 2; }

.prod-card img {
  width: 100%; height: 280px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.215,.61,.355,1);
}
.prod-card:nth-child(4) img { height: 280px; }
.prod-card:hover img { transform: scale(1.07); }

.prod-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,8,8,0.88) 100%);
  transition: opacity .3s;
}
.prod-card:hover .prod-overlay { opacity: 0.9; }

.prod-badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: #DC143C;
  color: #fff;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}
.prod-badge.new { background: var(--earth); }
.prod-badge.export { background: var(--clay); }

.prod-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 22px;
  z-index: 2;
}
.prod-cat {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 6px;
}
.prod-name {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.prod-link {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 6px;
  transition: color .2s, gap .2s;
}
.prod-card:hover .prod-link { color: var(--sage-mist); gap: 10px; }


/* ─── CERTIFICATIONS ─── */
.certs-section {
  background: var(--parchment);
  border-top: 1px solid var(--sand-light);
  border-bottom: 1px solid var(--sand-light);
  padding: 32px 0;
}
.certs-inner {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.cert-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.certs-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cert-badge {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  color: var(--text-body);
  display: flex; align-items: center; gap: 6px;
}
.cert-badge i { color: var(--sage); font-size: 11px; }
.cert-sep { color: var(--text-light); font-size: 14px; }

@media (max-width: 600px) {
  .certs-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .cert-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .certs-row {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .cert-badge {
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.03); 
  }

  .cert-sep {
    display: none; 
  }
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  padding: 100px 0;
  background: #ffffff;
}

.t-stage {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-card-wrap {
  position: absolute;
  width: 100%;
  will-change: transform, opacity;
  transition:
    transform .55s cubic-bezier(.19, 1, .22, 1),
    opacity   .45s cubic-bezier(.19, 1, .22, 1);
}
.t-card-wrap.state-enter {
  transform: scale(.82) translateY(28px);
  opacity: 0;
  pointer-events: none;
}
.t-card-wrap.state-active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.t-card-wrap.state-exit {
  transform: scale(.88) translateY(-20px);
  opacity: 0;
  pointer-events: none;
}

.t-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.t-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 30px;
  font-family: var(--font-display);
  font-size: 112px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.t-badge {
  position: absolute;
  top: 28px; right: 28px;
  background: #f3f3f3;
  border: 1px solid #e0e0e0;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #555555;
  text-transform: uppercase;
}

.t-text {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-body);
  margin: 18px 0 36px;
  position: relative;
  z-index: 1;
}

.t-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--linen-dd);
  padding-top: 24px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--sage-dark);
  flex-shrink: 0;
}

.t-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text-dark);
}
.t-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.t-stars {
  display: flex;
  gap: 3px;
}
.t-star {
  font-size: 17px;
  color: #C9A961;
  opacity: 0;
  transform: scale(.4) translateY(6px);
  transition:
    opacity   .30s ease,
    transform .30s cubic-bezier(.34, 1.56, .64, 1);
}
.t-star.lit { opacity: 1; transform: scale(1) translateY(0); }
.t-star:nth-child(1) { transition-delay: .05s; }
.t-star:nth-child(2) { transition-delay: .14s; }
.t-star:nth-child(3) { transition-delay: .23s; }
.t-star:nth-child(4) { transition-delay: .32s; }
.t-star:nth-child(5) { transition-delay: .41s; }

/* ── Navigation ── */
.t-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 52px;
}

.t-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(220, 20, 60, 0.25);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.t-btn:hover {
  background: #DC143C;
  border-color: #DC143C;
  color: #fff;
  transform: scale(1.10);
}
.t-btn:active {
  transform: scale(.97);
}

.t-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-dot {
  width: 7px; height: 7px;
  border-radius: 100px;
  background: var(--linen-dd);
  cursor: pointer;
  transition:
    width    .35s cubic-bezier(.34, 1.56, .64, 1),
    background .25s ease;
}
.t-dot.active {
  width: 22px;
  background: #DC143C;
}

.t-counter {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  color: var(--text-light);
  letter-spacing: 1px;
  min-width: 36px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .testimonials-section { padding: 72px 0; }
  .t-stage { min-height: 360px; }
  .t-card  { padding: 32px 28px; }
  .t-card::before { font-size: 80px; }
  .t-text  { font-size: 15px; }
  .t-btn   { width: 46px; height: 46px; }
}

@media (max-width: 480px) {
  .t-card  { padding: 28px 22px; }
  .t-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .t-badge { top: 16px; right: 16px; }
}


/* ─── CONTACT ─── */
.contact-section {
  padding: 100px 0 0;
  background: #DC143C;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.8px;
}
.contact-info h2 em { font-style: normal; font-weight: 800; color: rgba(255,255,255,0.80); }
.contact-info > p {
  font-size: 15px;
  color: rgba(255,255,255,0.80);
  line-height: 1.75;
}
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-icon-box {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.contact-icon-box {
  transition: background 0.3s ease, color 0.3s ease,
              transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.contact-detail:hover .contact-icon-box {
  background: var(--sage) !important;
  color: #fff !important;
  transform: scale(1.1) rotate(-5deg);
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 4px;
}
.contact-detail p {
  font-size: 14.5px;
  color: #fff;
}

.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  margin-top: 32px;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
}
.whatsapp-btn { position: relative; }
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: #25D366;
  opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { opacity: 0.5; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.18); }
  100% { opacity: 0;   transform: scale(1.18); }
}
.whatsapp-btn:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}
.whatsapp-btn i { font-size: 18px; }

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 8px 60px rgba(0,0,0,0.18);
}
.form-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--linen-dd);
}
.form-icon {
  width: 44px; height: 44px;
  background: rgba(201,64,64,0.10);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgb(201,64,64);
  font-size: 18px;
  flex-shrink: 0;
}
.form-header h3 {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.form-header p {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--linen);
  border: 1.5px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgb(201,64,64);
  box-shadow: 0 0 0 3px rgba(201,64,64,0.14);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 110px; resize: vertical; }

.form-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #DC143C; 
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s;
  letter-spacing: 0.2px;
}
.form-submit:hover {
  background: rgb(175,45,45);
  transform: translateY(-1px);
}
.form-success {
  display: none;
  align-items: center; gap: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success i { color: #fff; font-size: 16px; }

/* Map */
.map-wrap {
  position: relative;
  margin-top: 80px;
  height: 380px;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none;
  filter: saturate(0.4) sepia(0.3) hue-rotate(320deg);
}
.map-badge {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 5;
  background: var(--bg-white);
  border: 1px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  color: var(--text-dark);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.map-badge i { color: var(--sage); }

/* ─── FOOTER ─── */
footer {
  background: #111111;
  padding-top: 0;
}
.footer-top-rule {
  display: block;
  width: 100%;
  line-height: 0;
  background: #ffffff; /* must match the section above the footer */
}
#products-page .footer-top-rule {
  background: #f0e8e8;
}
#distributor-page .footer-top-rule {
  background: #fafafa;
}
#investor-page .footer-top-rule {
  background: #fafafa;
}
#careers-page .footer-top-rule {
  background: #f5eded;
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #DC143C;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: gap 0.2s, color 0.2s;
}
.map-directions-link:hover {
  color: #8B2020;
  gap: 8px;
}
.map-directions-link i {
  font-size: 11px;
}

/* ─── CONTACT PAGE: MAP → FOOTER SEAMLESS BLEND ─── */

#contact-page footer .footer-top-rule {
  display: none;
}

#contact-page .map-wrap {
  overflow: visible;
}

#contact-page .map-wrap iframe {
  position: relative;
  z-index: 1;
  display: block;
  clip-path: inset(0 0 0 0);
}

.map-footer-wave {
  position: absolute;
  bottom: -1px;        
  left: 0;
  right: 0;
  z-index: 5;
  line-height: 0;
  pointer-events: none;
}

.map-footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.footer-top-rule svg {
  display: block;
  width: 100%;
  height: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.6fr;
  gap: 40px;
  padding: 60px 28px 48px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand { order: 5; }

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-top {
  display: block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.footer-brand-main {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
}
.footer-brand > p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 260px;
}

/* Newsletter inline */
.footer-brand::before {
  content: 'Get updates from Ritwand';
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.footer-newsletter-inline {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.footer-newsletter-inline input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: none;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #fff;
  outline: none;
}
.footer-newsletter-inline input::placeholder { color: rgba(255,255,255,0.28); }
.footer-newsletter-inline button {
  background: #DC143C;
  color: #fff;
  border: none;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}
.footer-newsletter-inline button:hover { background: #8B2020; }

.footer-social {
  display: flex; gap: 14px;
}
.social-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 15px;
  transition: color .2s;
  text-decoration: none;
}
.social-btn:hover { color: #ffffff; }
.social-btn.whatsapp-social:hover { color: #25D366; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: none;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col ul a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  display: flex; align-items: center; gap: 8px;
  transition: color .2s;
  text-decoration: none;
}
.footer-col ul a:hover { color: #ffffff; }
.footer-col ul a i { display: none; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 28px;
  max-width: 1280px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.30);
  flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  color: rgba(255,255,255,0.30);
  transition: color .2s;
  text-decoration: none;
  font-size: 12px;
}
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .footer-brand { order: unset; grid-column: span 2; }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 20px 32px;
  }
  .footer-brand { grid-column: span 2; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
  }
  .footer-legal { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  #navbar { padding: 0 20px; height: 66px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  
  .hero-badge {
  font-size: 12px;
  letter-spacing: 2px;
  padding: 10px 16px;
  gap: 8px;
}

  .badge-line {
    width: 14px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 110px 20px 60px;
    gap: 48px;
  }
  .hero-visual { display: none; }
  h1 { font-size: 44px; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .services-grid { grid-template-columns: 1fr; }
  .services-row-2 { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-secondary-wrap { display: none; }
  .about-years-badge { left: 16px; top: 16px; }

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

  .products-header { flex-direction: column; align-items: flex-start; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .prod-card:nth-child(4) { grid-column: span 1; }
  .prod-card img,
  .prod-card:nth-child(4) img { height: 200px; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .proj-filters {
  justify-content: flex-start;
}
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .hero-certifications { gap: 6px; }

  .hero-badge { font-size: 11px; letter-spacing: 1.5px; padding: 9px 14px; gap: 7px; }
  .badge-line { width: 12px; }

  .products-grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
  }
  .prod-card:nth-child(4) {
    grid-column: span 1;  
  }
  .prod-card img,
  .prod-card:nth-child(4) img {
    height: 220px;         
  }
}

/* ─── Product Filter States ─── */
.prod-card {
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.prod-card.is-hidden {
  opacity: 0 !important;
  transform: scale(0.92) !important;
  pointer-events: none !important;
}
.prod-card.is-visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

*,
a, button, input, textarea, select,
#navbar, .nav-hamburger, .nav-hamburger span,
.nav-logo, .nav-links a, .nav-cta,
.nav-mobile a, .float-msg-btn {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* ─── CONTACT SECTION OVERRIDES ─── */
.contact-section .section-eyebrow {
  color: rgba(255, 255, 255, 0.70);
  background: none;
}
.contact-section .section-eyebrow::before {
  background: rgba(255, 255, 255, 0.40);
}
.contact-section .accent-rule {
  background: rgba(255, 255, 255, 0.35);
}

/* ─── PRODUCT MODAL ─── */
.prod-modal-overlay {
  position: fixed; inset: 0;
  z-index: 1100;
  background: transparent;
  pointer-events: none;
  transition: background 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prod-modal-overlay.open {
  background: rgba(12, 4, 4, 0.82);
  pointer-events: all;
}

.prod-modal {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition:
    opacity 0.28s cubic-bezier(.215,.61,.355,1),
    transform 0.28s cubic-bezier(.215,.61,.355,1);
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(201,64,64,0.08),
    0 32px 80px rgba(0,0,0,0.35);
}
.prod-modal::-webkit-scrollbar { display: none; }

.prod-modal-overlay.open .prod-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Close button */
.prod-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.prod-modal-close:hover {
  background: rgb(201,64,64);
  transform: scale(1.1);
}

/* Cover image */
.prod-modal-cover {
  position: relative;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}
.prod-modal-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.prod-modal-overlay.open .prod-modal-cover img {
  transform: scale(1.03);
}
.prod-modal-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,3,3,0.15) 0%,
    rgba(10,3,3,0.65) 100%
  );
}
.prod-modal-cover-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--sage);
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  z-index: 2;
}
.prod-modal-cover-badge:empty { display: none; }
.prod-modal-cover-badge.new { background: var(--earth); }
.prod-modal-cover-badge.export { background: var(--clay); }

.prod-modal-cover-cat {
  position: absolute;
  bottom: 20px; left: 24px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  z-index: 2;
}

/* Body */
.prod-modal-body {
  padding: 32px 36px 40px;
}

.prod-modal-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.prod-modal-divider {
  width: 40px; height: 2px;
  background: rgb(201,64,64);
  border-radius: 2px;
  margin-bottom: 20px;
}

.prod-modal-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Tags */
.prod-modal-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.prod-modal-tags span {
  font-size: 11px; font-weight: 500;
  color: var(--sage-dark);
  background: rgba(201,64,64,0.08);
  border: 1px solid rgba(201,64,64,0.18);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

/* Detail rows */
.prod-modal-details {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--linen);
  border-radius: var(--radius-md);
  border: 1px solid var(--linen-dd);
}
.prod-modal-detail {
  display: flex; gap: 14px; align-items: flex-start;
}
.pmd-icon {
  width: 36px; height: 36px;
  background: rgba(201,64,64,0.10);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.prod-modal-detail h4 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.prod-modal-detail p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Actions */
.prod-modal-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.prod-modal-cta {
  flex: 1;
  justify-content: center;
  min-width: 160px;
}
.prod-modal-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  white-space: nowrap;
}
.prod-modal-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}
.prod-modal-whatsapp i { font-size: 16px; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .prod-modal-overlay { padding: 0; align-items: flex-end; }
  .prod-modal {
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(100%);
  }
  .prod-modal-overlay.open .prod-modal {
    transform: translateY(0);
  }
  .prod-modal-cover { height: 220px; }
  .prod-modal-cover img { transition: none; }
  .prod-modal-overlay.open .prod-modal-cover img { transform: none; }
  .prod-modal-body { padding: 24px 20px 36px; }

  .prod-modal-actions {
    flex-direction: row;  
    gap: 10px;
    justify-content: center;
  }
 .prod-modal-cta {
  flex: 1;
  justify-content: center;
  min-width: unset;
  max-width: 200px;
  padding: 10px 12px !important;
  font-size: 12px !important;
  border-radius: var(--radius-md) !important;
  white-space: nowrap;
}
  .prod-modal-whatsapp {
    justify-content: center;
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* ─── SERVICES SECTION — MOBILE FIX ─── */
@media (max-width: 768px) {
  .services-section {
    padding: 64px 0 48px;
  }

  .services-section .section-header {
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .services-section .section-title {
    font-size: clamp(26px, 7.5vw, 34px);
    letter-spacing: -0.4px;
    line-height: 1.2;
  }

  /* Drop the hard break — let the word-flip line break naturally */
  .services-section .section-title br {
    display: none;
  }

  .services-section .section-sub {
    font-size: 14.5px;
    padding: 0 8px;
  }

  /* Keep word-flip height in sync with the scaled-down title */
  .services-section .word-flip {
    height: 1.2em;
    line-height: 1.2;
  }

  .services-section .word-flip-inner em {
    height: 1.2em;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .services-section .section-title {
    font-size: clamp(24px, 7vw, 30px);
  }
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.toast i { color: #4ade80; font-size: 16px; }
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* ↓ ADD THIS — lifts toast above the mobile sticky CTA bar */
@media (max-width: 768px) {
  .toast {
    bottom: 90px;
    font-size: 13px;
    padding: 12px 18px;
  }
}

/* ─── BUTTON SENT TRANSITION ─── */
.form-submit {
  position: relative;
  overflow: hidden;
}
.form-submit .btn-text,
.form-submit .btn-sending,
.form-submit .btn-sent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.form-submit .btn-sending,
.form-submit .btn-sent {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  border-radius: inherit;
}
.form-submit .btn-sending {
  background: #8B2020;
}
.form-submit .btn-sent {
  background: #1a7a45;
}
.form-submit.sending,
.form-submit.sent {
  transform: none !important;
  pointer-events: none;
  cursor: default;
}
.form-submit.sending {
  background: #8B2020;
}
.form-submit.sent {
  background: #1a7a45;
}
.form-submit.sending .btn-text,
.form-submit.sent .btn-text {
  opacity: 0;
  transform: translateY(-12px);
}
.form-submit.sending .btn-sending,
.form-submit.sent .btn-sent {
  opacity: 1;
  transform: translateY(0);
}

/* ─── FLOAT BUTTON PROGRESS RING ─── */
.float-msg-wrap {
  position: fixed;
  bottom: 18px;
  right: 20px;
  z-index: 999;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .float-msg-wrap {
    bottom: 80px;
  }
}

.float-msg-wrap .float-msg-btn {
  position: absolute;
  bottom: auto;
  right: auto;
  width: 48px;
  height: 48px;
  z-index: 1;
}

.float-progress-ring {
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.float-ring-track {
  fill: none;
  stroke: rgba(201, 64, 64, 0.15);
  stroke-width: 3;
}

.float-ring-fill {
  fill: none;
  stroke: #DC143C; 
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 182;
  stroke-dashoffset: 182;
  transition: stroke-dashoffset 0.25s ease;
}

.back-to-top {
  position: fixed;
  bottom: 18px;
  left: 28px;
  z-index: 998;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  pointer-events: none;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px;
  }
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: #DC143C;  
  color: #fff;
}

/* ── Mobile Sticky CTA — White Theme ── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 850;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #EDE0E0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.07), 0 -1px 0 rgba(220, 20, 60, 0.10);
  gap: 10px;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mobile-sticky-cta.visible { transform: translateY(0); }

.mobile-cta-primary {
  flex: 1;
  text-align: center;
  padding: 13px 16px;
  border-radius: 12px;
  background: #DC143C;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background 0.2s ease;
}
.mobile-cta-primary:hover { background: #8B2020; }

.mobile-cta-wa {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: #25D366;
  color: #fff;
  border-radius: 12px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.mobile-cta-wa:hover { background: #1ebe5a; }

@media (max-width: 768px) {
  .mobile-sticky-cta { display: flex; }
  footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ── Testimonial Carousel (mobile) ── */
@media (max-width: 768px) {
    .testimonials-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    gap: 16px !important;
    padding: 0 12px 8px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .testimonials-grid:active { cursor: grabbing; }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 calc(100% - 24px) !important;
    scroll-snap-align: center !important;
  }
  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
  }
  .testimonial-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--linen-dd);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .testimonial-dot.active {
    width: 18px;
    border-radius: 3px;
    background: var(--sage);
  }
}
@media (min-width: 769px) {
  .testimonial-dots { display: none; }
}

/* ── Footer Newsletter ── */
.footer-newsletter {
  background: linear-gradient(135deg, var(--sage-dark), #3D1010);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-newsletter-text h3 {
  font-family: var(--font-display);
  font-size: clamp(16px,2.5vw,20px);
  font-weight: 700; color: #fff; margin-bottom: 5px;
}
.footer-newsletter-text p {
  font-size: 13.5px; color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
}
.footer-newsletter-form { display: flex; gap: 10px; flex-shrink: 0; }
.footer-newsletter-form input {
  padding: 11px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1); color: #fff;
  font-family: var(--font-body); font-size: 14px; width: 220px; outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-btn {
  padding: 11px 20px; background: #fff; color: var(--sage-dark);
  border: none; border-radius: 10px; font-family: var(--font-body);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease; white-space: nowrap;
}
.footer-newsletter-btn:hover { background: var(--linen-dd); transform: translateY(-1px); }
@media (max-width: 768px) {
  .footer-newsletter { flex-direction: column; padding: 28px 24px; text-align: center; }
  .footer-newsletter-form { flex-direction: column; width: 100%; }
  .footer-newsletter-form input { width: 100%; }
  .footer-newsletter-btn { width: 100%; }
}

/* ─── FORM VALIDATION ─── */
.form-error-msg {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: #E24B4A;
  margin-top: 5px;
  letter-spacing: 0.2px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.form-group input.invalid ~ .form-error-msg,
.form-group select.invalid ~ .form-error-msg,
.form-group textarea.invalid ~ .form-error-msg {
  opacity: 1;
  transform: translateY(0);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #E24B4A !important;
  box-shadow: 0 0 0 3px rgba(226,75,74,0.12) !important;
  animation: field-shake 0.35s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes field-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(3px); }
}

/* clear state on focus after invalid */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  animation: none;
}

/* tactile feedback before the modal opens */
@media (max-width: 768px) {
  .prod-card:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
  }
}

/* ─── FEEDBACK MODAL ADDITIONS ─── */

/* Role toggle */
.feedback-role-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.role-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--linen-dd);
  background: var(--linen);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.role-btn i { font-size: 11px; }
.role-btn.active {
  border-color: rgb(201, 64, 64);
  background: rgba(201, 64, 64, 0.07);
  color: rgb(201, 64, 64);
}
.role-btn:hover:not(.active) {
  border-color: var(--text-light);
  color: var(--text-body);
}

/* Optional tag */
.optional-tag {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-light);
  background: var(--linen-dd);
  padding: 2px 6px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  text-transform: none;
  margin-left: 4px;
  vertical-align: middle;
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}
.star-btn {
  font-size: 24px;
  color: var(--linen-dd);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  transition: color .15s, transform .2s cubic-bezier(0.34,1.56,0.64,1);
}
.star-btn:hover,
.star-btn.lit {
  color: #C9A961;
  transform: scale(1.18);
}
  /* ── DISTRIBUTOR ── */
:root {
  --linen:#FBF5F5;--linen-d:#F5EDED;--linen-dd:#EDE0E0;
  --sage:#C94040;--sage-light:#E89090;--sage-mist:#F5C6C6;
  --sage-dark:#8B2020;--sage-deep:#5C1010;
  --earth:#8B6F5A;--sand:#D4B896;--sand-light:#E8D8C4;
  --text-dark:#2C1A1A;--text-body:#4A3030;--text-muted:#8A7272;--text-light:#B5A0A0;
  --bg-white:#FDFAF8;--bg-section:#F8F0F0;--bg-dark:#2E1A1A;--bg-darker:#1E0D0D;
  --font-display:'Montserrat',sans-serif;--font-body:'Inter',sans-serif;
  --radius-sm:6px;--radius-md:12px;--radius-lg:20px;--radius-xl:32px;
  --crimson:#DC143C;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--font-body);background:var(--bg-darker);color:var(--text-body);overflow-x:hidden;line-height:1.6;}
img{display:block;width:100%;}a{text-decoration:none;}
 
/* ── DISTRIBUTOR HERO ── */
.dist-hero {
  position:relative;
  background: #fafafa;
  padding:100px 28px 80px;
  overflow:hidden;
  border-bottom:1px solid var(--linen-dd);
}
.dist-hero::before{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle,rgba(44,26,26,0.05) 1px,transparent 1px);
  background-size:32px 32px;pointer-events:none;
}

.dist-hero-inner{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;
  gap:80px;align-items:center;position:relative;z-index:1;
}
.dist-hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  background:rgba(201,64,64,0.08);border:1px solid rgba(201,64,64,0.22);
  color:var(--sage-dark);font-family:var(--font-body);font-size:9px;
  letter-spacing:3px;text-transform:uppercase;padding:8px 16px;
  border-radius:100px;margin-bottom:20px;
}
.dist-hero-eyebrow span{
  width:6px;height:6px;border-radius:50%;background:var(--crimson);
  animation:bpulse 2.5s ease infinite;flex-shrink:0;
}
@keyframes bpulse{0%{box-shadow:0 0 0 0 rgba(201,64,64,.6)}70%{box-shadow:0 0 0 8px rgba(201,64,64,0)}100%{box-shadow:0 0 0 0 rgba(201,64,64,0)}}
.dist-hero h1{
  font-family:var(--font-display);font-size:clamp(38px,4.5vw,64px);
  font-weight:800;line-height:1.05;letter-spacing:-1.5px;color:var(--text-dark);margin-bottom:20px;
}
.dist-hero h1 em{font-style:normal;color:var(--crimson);}
.dist-hero-sub{font-size:15px;color:var(--text-muted);line-height:1.8;max-width:420px;margin-bottom:36px;}
 
/* Perks pills */
.dist-perks{display:flex;flex-direction:column;gap:12px;}
.dist-perk{
  display:flex;align-items:center;gap:14px;
  background:#fff;border:1px solid var(--linen-dd);
  border-radius:var(--radius-md);padding:14px 18px;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
  transition:background .25s,border-color .25s,transform .25s,box-shadow .25s;
}
.dist-perk:hover{background:rgba(201,64,64,0.04);border-color:rgba(201,64,64,0.28);transform:translateX(5px);box-shadow:0 6px 20px rgba(139,32,32,0.10);}
.dist-perk-icon{
  width:40px;height:40px;border-radius:10px;
  background:rgba(201,64,64,0.10);color:#2c1a1a;
  display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;
}
.dist-perk-text h4{font-size:13.5px;font-weight:600;color:var(--text-dark);margin-bottom:2px;}
.dist-perk-text p{font-size:12px;color:var(--text-muted);line-height:1.45;}
 
/* ── STATS ROW ── */
.dist-stats-row{
  display:grid;grid-template-columns:repeat(3,1fr);
  background:#fff;border:1px solid var(--linen-dd);
  border-radius:var(--radius-lg);margin-top:32px;overflow:hidden;
  box-shadow:0 4px 20px rgba(0,0,0,0.06);
}
.dist-stat{padding:20px 18px;text-align:center;border-right:1px solid var(--linen-dd);}
.dist-stat:last-child{border-right:none;}
.dist-stat-num{font-family:var(--font-display);font-size:28px;font-weight:800;color:var(--crimson);line-height:1;}
.dist-stat-lbl{font-size:10px;font-weight:500;color:var(--text-muted);letter-spacing:0.5px;margin-top:4px;text-transform:uppercase;}
 
/* ── FORM SECTION ── */
.dist-form-section{
  background:#fafafa;padding:48px 28px 100px;
}
 
/* Step wizard header */
.dist-steps-wrap{
  max-width:760px;margin:0 auto;
  padding:48px 0 0;
}
.dist-steps{
  display:flex;align-items:center;margin-bottom:48px;
  position:relative;
}
.dist-steps::before{
  content:'';position:absolute;top:20px;left:20px;right:20px;height:1px;
  background:var(--linen-dd);z-index:0;
}
.dist-step-item{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  flex:1;position:relative;z-index:1;
}
.dist-step-num{
  width:40px;height:40px;border-radius:50%;
  background:var(--linen-dd);border:2px solid var(--linen-dd);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:13px;font-weight:700;
  color:var(--text-light);transition:all .35s ease;
}
.dist-step-item.active .dist-step-num{
  background:var(--crimson);border-color:var(--crimson);color:#fff;
  box-shadow:0 0 0 4px rgba(220,20,60,0.18);
}
.dist-step-item.done .dist-step-num{
  background:var(--sage-dark);border-color:var(--sage-dark);color:#fff;
}
.dist-step-label{font-size:11px;font-weight:600;color:var(--text-light);letter-spacing:0.3px;white-space:nowrap;}
.dist-step-item.active .dist-step-label{color:var(--sage-dark);}
.dist-step-item.done .dist-step-label{color:var(--sage-dark);}
 
/* Form card */
.dist-form-card{
  background:var(--bg-white);border-radius:var(--radius-xl);
  border:1px solid var(--linen-dd);
  box-shadow:0 8px 48px rgba(139,32,32,0.08);
  overflow:hidden;
}
.dist-form-card-header{
  background:linear-gradient(135deg,var(--bg-dark),var(--sage-deep));
  padding:28px 40px;display:flex;align-items:center;gap:16px;
}
.dist-form-card-header-icon{
  width:48px;height:48px;border-radius:12px;
  background:rgba(255,255,255,0.12);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:20px;flex-shrink:0;
}
.dist-form-card-header h2{
  font-family:var(--font-display);font-size:20px;font-weight:700;
  color:#fff;letter-spacing:-0.3px;
}
.dist-form-card-header p{font-size:12px;color:rgba(255,255,255,0.55);margin-top:2px;}
 
.dist-form-body{padding:40px;}
 
/* Form UI */
.form-section-label{
  font-family:var(--font-body);font-size:10px;font-weight:600;
  letter-spacing:2.5px;text-transform:uppercase;color:var(--text-muted);
  margin:0 0 20px;display:flex;align-items:center;gap:12px;
}
.form-section-label::after{content:'';flex:1;height:1px;background:var(--linen-dd);}
 
.frow{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.frow.thirds{grid-template-columns:1fr 1fr 1fr;}
.frow.full{grid-template-columns:1fr;}
.fg{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;}
.fg label{
  font-family:var(--font-body);font-size:11px;font-weight:600;
  letter-spacing:0.5px;text-transform:uppercase;color:var(--text-muted);
}
.fg label .req{color:var(--crimson);}
.fg label .opt{
  font-size:9px;font-weight:500;color:var(--text-light);
  background:var(--linen-dd);padding:2px 7px;border-radius:100px;
  letter-spacing:0.2px;text-transform:none;margin-left:5px;vertical-align:middle;
}
.fg input,.fg select,.fg textarea{
  width:100%;font-family:var(--font-body);font-size:14px;color:var(--text-dark);
  background:var(--linen);border:1.5px solid var(--linen-dd);
  border-radius:var(--radius-md);padding:12px 16px;outline:none;
  transition:border-color .2s,box-shadow .2s;
}
.fg input:focus,.fg select:focus,.fg textarea:focus{
  border-color:var(--crimson);box-shadow:0 0 0 3px rgba(220,20,60,0.12);
}
.fg input::placeholder,.fg textarea::placeholder{color:var(--text-light);}
.fg select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A7272' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;}
.fg textarea{min-height:90px;resize:vertical;}
.fg input.invalid,.fg select.invalid,.fg textarea.invalid{
  border-color:#E24B4A!important;box-shadow:0 0 0 3px rgba(226,75,74,0.12)!important;
  animation:fshake .35s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes fshake{0%,100%{transform:translateX(0)}20%{transform:translateX(-4px)}40%{transform:translateX(4px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}
.err-msg{font-size:11px;color:#E24B4A;margin-top:3px;opacity:0;transition:opacity .2s;height:0;overflow:hidden;}
.fg input.invalid~.err-msg,.fg select.invalid~.err-msg,.fg textarea.invalid~.err-msg{opacity:1;height:auto;}
 
/* Upload zone */
.upload-zone{
  border:2px dashed var(--linen-dd);border-radius:var(--radius-md);
  padding:28px 20px;text-align:center;cursor:pointer;
  transition:border-color .25s,background .25s;background:var(--linen);
  position:relative;
}
.upload-zone:hover,.upload-zone.drag-over{
  border-color:rgba(201,64,64,0.45);background:rgba(201,64,64,0.04);
}
.upload-zone input[type="file"]{
  position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;
}
.upload-icon{
  width:44px;height:44px;border-radius:12px;
  background:rgba(201,64,64,0.10);color:var(--sage-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:18px;margin:0 auto 12px;
}
.upload-zone h4{font-size:13.5px;font-weight:600;color:var(--text-dark);margin-bottom:5px;}
.upload-zone p{font-size:12px;color:var(--text-muted);}
.upload-zone .upload-types{
  display:flex;justify-content:center;gap:6px;margin-top:10px;flex-wrap:wrap;
}
.upload-types span{
  font-size:10px;font-weight:600;color:var(--sage-dark);
  background:rgba(201,64,64,0.08);border:1px solid rgba(201,64,64,0.18);
  padding:3px 9px;border-radius:100px;
}
.upload-preview{
  display:none;align-items:center;gap:12px;
  background:rgba(201,64,64,0.06);border:1px solid rgba(201,64,64,0.20);
  border-radius:var(--radius-md);padding:12px 16px;margin-top:10px;
}
.upload-preview.show{display:flex;}
.upload-preview-icon{font-size:20px;color:var(--sage-dark);flex-shrink:0;}
.upload-preview-name{font-size:13px;font-weight:500;color:var(--text-dark);flex:1;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.upload-preview-remove{background:none;border:none;color:var(--text-muted);cursor:pointer;
  font-size:16px;padding:4px;border-radius:50%;transition:color .2s,background .2s;}
.upload-preview-remove:hover{color:#E24B4A;background:rgba(226,75,74,0.1);}
 
/* Capacity slider */
.capacity-slider-wrap{padding:8px 0;}
.capacity-display{
  display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px;
}
.capacity-val{font-family:var(--font-display);font-size:28px;font-weight:800;color:var(--crimson);}
.capacity-unit{font-size:12px;color:var(--text-muted);margin-left:4px;}
.capacity-range{
  display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;
}
.cap-pill{
  font-size:11px;font-weight:600;cursor:pointer;
  border:1.5px solid var(--linen-dd);border-radius:100px;
  padding:6px 14px;color:var(--text-muted);background:var(--linen);
  transition:all .2s;
}
.cap-pill:hover{border-color:rgba(201,64,64,0.40);color:var(--sage-dark);}
.cap-pill.active{background:var(--crimson);color:#fff;border-color:var(--crimson);}
.fg input[type=range]{
  -webkit-appearance:none;appearance:none;
  background:transparent;padding:0;border:none;box-shadow:none;
}
.fg input[type=range]::-webkit-slider-runnable-track{
  background:var(--linen-dd);height:6px;border-radius:3px;
}
.fg input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;width:20px;height:20px;border-radius:50%;
  background:var(--crimson);margin-top:-7px;cursor:pointer;
  box-shadow:0 2px 8px rgba(201,64,64,0.35);transition:transform .2s;
}
.fg input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.15);}
.fg input[type=range]:focus{border:none;box-shadow:none;}
.slider-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--text-light);margin-top:6px;}
 
/* Category checkboxes */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.cat-item{
  border:1.5px solid var(--linen-dd);border-radius:var(--radius-md);
  padding:14px 12px;cursor:pointer;transition:all .2s;
  display:flex;align-items:center;gap:10px;
  background:var(--linen);
}
.cat-item:hover{border-color:rgba(201,64,64,0.40);background:rgba(201,64,64,0.04);}
.cat-item.selected{
  border-color:var(--crimson);background:rgba(220,20,60,0.06);
}
.cat-item-check{
  width:20px;height:20px;border-radius:5px;
  border:1.5px solid var(--linen-dd);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  transition:all .2s;
}
.cat-item.selected .cat-item-check{
  background:var(--crimson);border-color:var(--crimson);
}
.cat-item.selected .cat-item-check::after{
  content:'✓';font-size:11px;color:#fff;font-weight:700;
}
.cat-item-icon{font-size:18px;flex-shrink:0;}
.cat-item-label{font-size:12.5px;font-weight:600;color:var(--text-dark);line-height:1.3;}
 
/* Region select with map feel */
.region-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:4px;}
.region-btn{
  border:1.5px solid var(--linen-dd);border-radius:var(--radius-md);
  padding:10px 14px;cursor:pointer;font-family:var(--font-body);
  font-size:12.5px;font-weight:500;color:var(--text-body);
  background:var(--linen);text-align:left;
  display:flex;align-items:center;gap:8px;
  transition:all .2s;
}
.region-btn:hover{border-color:rgba(201,64,64,0.40);color:var(--sage-dark);}
.region-btn.selected{border-color:var(--crimson);color:var(--sage-dark);background:rgba(220,20,60,0.06);}
.region-btn i{font-size:12px;color:var(--sage);flex-shrink:0;}
.region-btn.selected i{color:var(--crimson);}
 
/* Form navigation */
.form-nav{
  display:flex;justify-content:space-between;align-items:center;
  padding:24px 40px;border-top:1px solid var(--linen-dd);
  background:var(--linen);
}
.btn-back{
  display:inline-flex;align-items:center;gap:8px;
  background:transparent;border:1.5px solid var(--linen-dd);
  color:var(--text-muted);font-family:var(--font-body);
  font-size:13.5px;font-weight:500;padding:12px 22px;
  border-radius:var(--radius-md);cursor:pointer;
  transition:all .2s;
}
.btn-back:hover{border-color:var(--text-muted);color:var(--text-dark);}
.btn-next{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--crimson);color:#fff;font-family:var(--font-body);
  font-size:13.5px;font-weight:600;padding:12px 28px;
  border-radius:var(--radius-md);border:none;cursor:pointer;
  box-shadow:0 4px 16px rgba(220,20,60,0.30);
  transition:background .25s,transform .2s,box-shadow .25s;
}
.btn-next:hover{background:var(--sage-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(139,32,32,0.35);}
.step-progress{font-size:12px;font-weight:500;color:var(--text-muted);}
 
/* Steps hidden by default */
.form-step{display:none;}
.form-step.active{display:block;}
 
/* ── SUCCESS STATE ── */
.dist-success{
  display:none;text-align:center;padding:64px 40px;
}
.dist-success.show{display:block;}
.dist-success-icon{
  width:80px;height:80px;border-radius:50%;
  background:rgba(201,64,64,0.10);margin:0 auto 24px;
  display:flex;align-items:center;justify-content:center;
  font-size:32px;color:var(--sage-dark);
}
.dist-success h3{
  font-family:var(--font-display);font-size:26px;font-weight:800;
  color:var(--text-dark);margin-bottom:12px;letter-spacing:-0.5px;
}
.dist-success p{font-size:15px;color:var(--text-muted);line-height:1.75;max-width:420px;margin:0 auto 32px;}
.dist-success-meta{
  display:flex;justify-content:center;gap:12px;flex-wrap:wrap;
}
.dist-success-meta span{
  font-size:12px;font-weight:500;color:var(--sage-dark);
  background:rgba(201,64,64,0.08);border:1px solid rgba(201,64,64,0.20);
  padding:8px 18px;border-radius:100px;
  display:flex;align-items:center;gap:6px;
}
@media (max-width: 480px) {
  .fg label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }
  .fg label .opt {
    margin-left: 0;
    flex-shrink: 0;
  }
}
 
/* ── Distributor Form Hero Image ── */
.dfh-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto 40px;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(139,32,32,0.10),
    0 24px 64px rgba(0,0,0,0.18);
}

.dfh-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.03);
  transition: transform 9s ease;
  display: block;
}
.dfh-wrap:hover .dfh-img { transform: scale(1.07); }

.dfh-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,3,3,0.80) 0%, rgba(10,3,3,0.35) 65%, rgba(10,3,3,0.55) 100%),
    linear-gradient(to top, rgba(10,3,3,0.90) 0%, transparent 55%);
  z-index: 1;
}

.dfh-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 40px;
  z-index: 2;
}

.dfh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 10px;
}

.dfh-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  animation: bpulse 2.5s ease infinite;
  flex-shrink: 0;
}

.dfh-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.6vw, 24px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.4px;
  max-width: 520px;
  margin-bottom: 22px;
}
.dfh-title em {
  font-style: normal;
  color: var(--sage-light);
}

/* Stats pill */
.dfh-stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  padding: 12px 20px;
  gap: 0;
}
.dfh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 18px;
}
.dfh-stat:first-child { padding-left: 0; }
.dfh-stat:last-child  { padding-right: 0; }

.dfh-stat-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.dfh-stat-lbl {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-top: 2px;
}
.dfh-stat-sep {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
}

/* Top-right badge */
.dfh-badge {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(220,20,60,0.80);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 8px 14px;
  border-radius: 100px;
}
.dfh-badge i { font-size: 12px; }

/* Tablet */
@media (max-width: 768px) {
  .dfh-wrap {
    height: 280px;
    border-radius: 20px;
    margin-top: 0;
    margin-bottom: 32px;
  }
  .dfh-content { padding: 26px 24px; }
  .dfh-title { font-size: 16px; margin-bottom: 16px; }
  .dfh-stats { padding: 10px 14px; }
  .dfh-stat  { padding: 0 12px; }
  .dfh-stat-num { font-size: 17px; }
  .dfh-stat-lbl { font-size: 8.5px; }
  .dfh-badge { font-size: 10px; padding: 6px 12px; top: 14px; right: 14px; }
}

/* Mobile */
@media (max-width: 480px) {
  .dfh-wrap {
    height: 260px;
    border-radius: 16px;
    margin-top: 0;
    margin-bottom: 24px;
  }
  .dfh-content  { padding: 20px 18px; }
  .dfh-eyebrow  { display: none; }
  .dfh-title    { font-size: 14.5px; margin-bottom: 14px; max-width: 100%; }
  .dfh-stats    { padding: 9px 12px; }
  .dfh-stat     { padding: 0 10px; }
  .dfh-stat-num { font-size: 15px; }
  .dfh-stat-lbl { font-size: 8px; }
  .dfh-stat-sep { height: 24px; }
  .dfh-badge    { font-size: 9.5px; padding: 5px 10px; top: 12px; right: 12px; }
}

/* ── WHY DIST SECTION ── */
.why-dist-section{
  background: #ffffff;
  border-top: 1px solid var(--linen-dd);
  padding: 80px 28px;
}
.why-dist-inner{max-width:1180px;margin:0 auto;}
.why-dist-header{text-align:center;margin-bottom:56px;}
.why-dist-eyebrow{
  font-size:10px;font-weight:600;letter-spacing:3px;text-transform:uppercase;
  color:var(--sage-dark);margin-bottom:14px;
  display:flex;align-items:center;justify-content:center;gap:10px;
}
.why-dist-eyebrow::before,.why-dist-eyebrow::after{content:'';width:24px;height:1.5px;background:var(--sage);}
.why-dist-title{
  font-family:var(--font-display);font-size:clamp(26px,3.5vw,42px);
  font-weight:700;color:var(--text-dark);letter-spacing:-0.8px;line-height:1.15;
}
.why-dist-title em{font-style:normal;color:var(--crimson);font-weight:800;}
.why-dist-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.why-dist-card{
  background:var(--bg-white);border:1px solid var(--linen-dd);
  border-radius:var(--radius-lg);padding:32px 28px;
  transition:transform .3s,box-shadow .3s;
}

.why-dist-card:hover{transform:translateY(-5px);box-shadow:0 16px 48px rgba(139,32,32,0.09);}
.wdc-num{font-family:var(--font-display);font-size:11px;font-weight:700;
  letter-spacing:2px;color:var(--text-light);margin-bottom:16px;}
.wdc-icon{
  width:44px;height:44px;border-radius:10px;
  background:rgba(201,64,64,0.10);color:var(--sage-dark);
  display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:16px;
}
.wdc-title{font-size:15px;font-weight:700;color:var(--text-dark);margin-bottom:8px;letter-spacing:-0.2px;}
.wdc-desc{font-size:13.5px;color:var(--text-muted);line-height:1.7;}
 
/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .dist-hero-inner{gap:48px;}
  .dist-stats-row{grid-template-columns:1fr;}
}
@media(max-width:768px){
  .dist-hero{padding:80px 20px 60px;}
  .dist-hero-inner{grid-template-columns:1fr;gap:48px;}
  .dist-stats-row{grid-template-columns:repeat(3,1fr);}
  .dist-form-section{padding:32px 20px 80px;}
  .dist-form-body,.form-nav{padding:28px 20px;}
  .frow,.frow.thirds{grid-template-columns:1fr;}
  .cat-grid{grid-template-columns:1fr 1fr;}
  .why-dist-grid{grid-template-columns:1fr;}
}
@media(max-width:480px){
  .dist-steps::before{display:none;}
  .dist-step-label{display:none;}
  .dist-stats-row{grid-template-columns:1fr 1fr;border-radius:var(--radius-md);}
  .dist-stat:nth-child(3){grid-column:1/-1;border-right:none;border-top:1px solid rgba(201,64,64,0.15);}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .region-grid{grid-template-columns:repeat(2,1fr);}
  .dist-form-card-header{padding:22px 20px;}
  .dist-success{padding:40px 20px;}
}

/* ════════════════════════════════════════
   CATEGORY TABS
════════════════════════════════════════ */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.cat-tab {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(201, 64, 64, 0.22);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cat-tab:hover {
  border-color: rgb(201, 64, 64);
  color: rgb(201, 64, 64);
  background: rgba(201, 64, 64, 0.05);
}
.cat-tab.active {
  background: rgb(201, 64, 64);
  border-color: rgb(201, 64, 64);
  color: #fff;
}

/* ════════════════════════════════════════
   CATEGORY GROUP HEADER
════════════════════════════════════════ */
.cat-group {
  margin-bottom: 60px;
}
.cat-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linen-dd, #e8e0d8);
}
.cat-group-label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cat-group-emoji {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.cat-group-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin-bottom: 3px;
  line-height: 1.2;
}
.cat-group-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: 0.4px;
}

/* ─── Scroll Arrow Buttons ─── */
.cat-scroll-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cat-scroll-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 64, 64, 0.3);
  background: transparent;
  color: rgb(201, 64, 64);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.cat-scroll-btn:hover {
  background: rgb(201, 64, 64);
  color: #fff;
  border-color: rgb(201, 64, 64);
  transform: scale(1.08);
}
.cat-scroll-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  transform: none;
}

/* ════════════════════════════════════════
   HORIZONTAL PRODUCT ROW
════════════════════════════════════════ */
.prod-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Right fade peek — hints more cards exist */
  padding-right: 48px;
  padding-bottom: 6px;
}
.prod-row::-webkit-scrollbar { display: none; }

/* ════════════════════════════════════════
   COMPACT PRODUCT CARD
════════════════════════════════════════ */
.prod-row-card {
  min-width: 224px;
  max-width: 224px;
  background: #f5f4f4;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  border: none;
  box-shadow: none;
  transition: transform 0.25s cubic-bezier(.215,.61,.355,1);
}
.prod-row-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}
.prod-row-card:active {
  transform: translateY(-2px);
}

/* Badge */
.prc-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--sage, #5a7a5a);
  color: #fff;
  pointer-events: none;
}
.prc-badge.new    { background: var(--earth, #8b6f47); }
.prc-badge.export { background: rgb(201, 64, 64); }

/* Coming-soon products (artwork not ready yet) */
.prod-row-card.prc-pending .prc-name,
.prod-row-card.prc-pending .prc-cat { opacity: 0.65; }
.prod-row-card.prc-pending .prc-link { opacity: 0.4; pointer-events: none; }

/* Image */
.prc-img-wrap {
  height: 210px;
  overflow: hidden;
  background: #f5f4f4;
  position: relative;
}
.prc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.04);
  transition: filter 0.55s ease, transform 0.5s ease;
  will-change: filter, transform;
  display: block;
}
.prc-img-wrap img.img-loaded {
  filter: blur(0);
  transform: scale(1);
}
.prod-row-card:hover .prc-img-wrap img.img-loaded {
  transform: scale(1.07);
}

/* Card body */
.prc-body {
  padding: 10px 14px 12px;
}
.prc-cat {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #2c1a1a;
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.prc-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #2c1a1a;
  line-height: 1.3;
  margin-bottom: 11px;
  letter-spacing: -0.2px;
}
.prc-link {
  font-size: 11px;
  font-weight: 600;
  color: #2c1a1a;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  transition: gap 0.2s ease, color 0.2s ease;
}
.prod-row-card:hover .prc-link,
.prod-row-card:hover .prc-link i {
  gap: 9px;
  color: rgb(201, 64, 64) !important;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 768px) {
  .cat-tabs { gap: 6px; margin-top: 24px; }
  .cat-tab  { font-size: 11.5px; padding: 8px 14px; }

  /* Hide arrows on mobile — use touch swipe instead */
  .cat-scroll-nav { display: none; }

  .cat-group        { margin-bottom: 44px; }
  .cat-group-header { margin-bottom: 14px; padding-bottom: 14px; }
  .cat-group-emoji  { font-size: 20px; }
  .cat-group-label  { gap: 10px; }

  .prod-row         { gap: 12px; padding-right: 24px; }
  .prod-row-card    { min-width: 172px; max-width: 172px; }
  .prc-img-wrap     { height: 170px; }
  .prc-name         { font-size: 12.5px; }
  .prc-body         { padding: 8px 12px 10px; }
}

.cat-group-emoji svg {
  animation: cupBounce 3s ease-in-out infinite;
}

.cat-group-emoji svg path:first-child {
  animation: steamRise 2s ease-in-out infinite;
}

@keyframes cupBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes steamRise {
  0%, 100% { stroke-opacity: 1; transform: translateY(0); }
  50% { stroke-opacity: 0.6; transform: translateY(-2px); }
}

.wiggle {
  animation: wiggle 0.4s ease-in-out;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}

/* Home Featured Products CTA — fixes ghost button on white background */
.featured-cta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.featured-cta--below{
  margin-top: 22px;
  justify-content: flex-start; 
  
}

.btn-ghost--light{
  color:#1a1a1a;
  border-color:#1a1a1a;
  border-width: 1.5px;
  background: transparent;
  border-radius: 100px;
  font-weight: 600;
}

.btn-ghost--light:hover{
  background: #2c1a1a;
  border-color: #ab8d6b;
  color: #ffffff;
}
#featured-products{
  background:  #FAFAFA;
}

@media (max-width: 600px){
  .featured-cta{
    flex-wrap: nowrap;         
    justify-content: flex-start; 
  }

  .featured-cta a{
    flex: 1 1 0;                
    justify-content: center;    
    padding: 12px 14px;         
    white-space: nowrap;      
  }
}
/* Distributor step progress — mobile fix */
@media (max-width: 480px){
  .form-nav{
    flex-wrap: wrap;
    gap: 10px;
  }

  .step-progress{
    order: -1;           
    flex: 0 0 100%;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.2px;
    opacity: 0.85;
  }

  .btn-back,
  .btn-next{
    flex: 1 1 0;            
    justify-content: center;
    padding: 12px 14px;     
    white-space: nowrap;
  }
}

/* HOMEPAGE ABOUT */
  .ha-section {
    padding: 100px 0;
    background: #f3f0ec;
    border-top: 1px solid var(--linen-dd);
    position: relative;
    overflow: hidden;
  }
 .ha-section::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,140,100,0.06) 0%, transparent 65%);
  pointer-events: none;
}
  .ha-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
  }
  .ha-body p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.82;
    margin-bottom: 18px;
  }
  .ha-quote {
    position: relative;
    margin: 36px 0;
    padding: 26px 30px 26px 42px;
    background: #fff;
    border-left: 3px solid #DC143C;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 0 4px 20px rgba(139,32,32,0.07);
  }
  .ha-quote::before {
    content: '\201C';
    position: absolute;
    top: 8px; left: 12px;
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: rgba(220,20,60,0.15);
    line-height: 1;
  }
  .ha-quote p {
    font-family: var(--font-display);
    font-size: 16px !important;
    font-weight: 500;
    font-style: italic;
    color: var(--text-body) !important;
    line-height: 1.7;
    margin-bottom: 10px !important;
    position: relative;
    z-index: 1;
  }
  .ha-quote cite {
    display: block;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-top: 6px;
  }
  .ha-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #DC143C;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1.5px solid rgba(220,20,60,0.30);
    padding-bottom: 2px;
    transition: gap 0.25s ease, border-color 0.25s ease;
  }
  .ha-link:hover {
    gap: 14px;
    border-color: #DC143C;
  }
  .ha-right-card {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  }
  .ha-right-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,20,60,0.18) 0%, transparent 65%);
    pointer-events: none;
  }
  .ha-right-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
  }
  .ha-big-year {
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    color: #ffffff;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
  }
  .ha-big-year-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.50);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
  }
  .ha-divider {
    width: 40px;
    height: 1px;
    background: rgba(220,20,60,0.40);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
  }
  .ha-stat-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
  }
  .ha-stat-row {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .ha-stat-icon {
    width: 36px; height: 36px;
    background: rgba(220,20,60,0.16);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-light);
    font-size: 13px;
    flex-shrink: 0;
  }
  .ha-stat-num {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
  }
  .ha-stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.42);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.3px;
  }
  .ha-cert-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 36px;
    position: relative;
    z-index: 1;
  }
  .ha-cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.50);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 6px 12px;
    border-radius: 100px;
  }
  .ha-cert-pill i { color: #C9A961; font-size: 9px; }

  @media (max-width: 960px) {
    .ha-grid { grid-template-columns: 1fr; gap: 48px; }
    .ha-big-year { font-size: 72px; }
    .ha-right-card { padding: 36px 28px; }
  }
  @media (max-width: 480px) {
    .ha-section { padding: 72px 0; }
    .ha-big-year { font-size: 60px; }
    .ha-quote { padding: 20px 20px 20px 34px; }
    .ha-quote p { font-size: 14.5px !important; }
  }

  /* Floating message drop down icons */
  .custom-select-wrap {
  position: relative;
}
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-light);
  background: var(--linen);
  border: 1.5px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.custom-select-trigger.has-value {
  color: var(--text-dark);
}
.custom-select-trigger:focus,
.custom-select-trigger.open {
  border-color: rgb(201,64,64);
  box-shadow: 0 0 0 3px rgba(201,64,64,0.14);
  outline: none;
}
.custom-select-trigger.invalid {
  border-color: #E24B4A !important;
  box-shadow: 0 0 0 3px rgba(226,75,74,0.12) !important;
  animation: fshake .35s cubic-bezier(.36,.07,.19,.97) both;
}
.cst-arrow {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}
.custom-select-trigger.open .cst-arrow {
  transform: rotate(180deg);
}
.cst-selected-icon {
  width: 26px; height: 26px;
  background: rgba(201,64,64,0.10);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  font-size: 11px;
  flex-shrink: 0;
  margin-right: 10px;
}
.cst-label-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.custom-select-dropdown {
  position: static;
  top: unset; left: unset; right: unset;
  background: var(--bg-white);
  border: 1.5px solid var(--linen-dd);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.215,0.61,0.355,1),
              border-color 0.2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.custom-select-dropdown.open {
  max-height: 320px;
  overflow-y: auto;
}
.custom-select-trigger {
  /* merge top+bottom radius when dropdown is open */
  transition: border-color .2s, box-shadow .2s, border-radius .15s;
}
.custom-select-trigger.open {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom-color: var(--linen-dd);
}
.csd-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background .18s;
  border-bottom: 1px solid var(--linen-dd);
}
.csd-option:last-child { border-bottom: none; }
.csd-option:hover {
  background: rgba(201,64,64,0.06);
}
.csd-option.selected {
  background: rgba(201,64,64,0.08);
}
.csd-icon {
  width: 30px; height: 30px;
  background: rgba(201,64,64,0.10);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  font-size: 12px;
  flex-shrink: 0;
}
.csd-option.selected .csd-icon {
  background: rgba(201,64,64,0.18);
  color: #DC143C;
}
.csd-option span {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-body);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   COOKIE CONSENT BANNER — WHITE THEME
═══════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #ffffff;
  border-top: 2px solid rgba(220, 20, 60, 0.18);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.08), 0 -1px 8px rgba(0, 0, 0, 0.05);
  padding: 20px 24px;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.cookie-banner.cookie-visible {
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(220, 20, 60, 0.06);
  border: 1px solid rgba(220, 20, 60, 0.15);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.04);
}
.cookie-spin-icon {
  animation: cookieSpin 10s linear infinite;
  transform-origin: center center;
  display: block;
}
@keyframes cookieSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.cookie-text {
  flex: 1;
  min-width: 220px;
}
.cookie-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2C1A1A;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.cookie-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #8A7272;
  margin: 0;
  line-height: 1.55;
}
.cookie-text p a {
  color: #DC143C;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.cookie-text p a:hover {
  color: #8B2020;
}
.cookie-text p strong {
  color: #2C1A1A;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #DC143C;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.cookie-btn-accept:hover {
  background: #8B2020;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(220, 20, 60, 0.25);
}
.cookie-btn-accept:active {
  transform: translateY(0);
}
.cookie-btn-decline {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #8A7272;
  background: transparent;
  border: 1px solid #EDE0E0;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.cookie-btn-decline:hover {
  color: #2C1A1A;
  border-color: #B5A0A0;
  background: #FBF5F5;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .cookie-banner {
    padding: 16px 16px 20px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 19px;
    border-radius: 10px;
  }
  .cookie-text h4 {
    font-size: 13px;
  }
  .cookie-text p {
    font-size: 12.5px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-btn-accept {
    flex: 1;
    padding: 13px 16px;
    font-size: 13px;
    text-align: center;
  }
  .cookie-btn-decline {
    padding: 12px 14px;
    font-size: 12px;
  }
}

/* ─── HERO WHITE ABSTRACT DECO (mobile only) ─── */
.hero-white-deco {
  display: none;
}

@media (max-width: 768px) {
  .hero-white-deco {
    display: block;
    position: absolute;
    top: -50px;
    right: -50px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.05);
    z-index: 1;
    pointer-events: none;

    /* ── Reveal: fades + rises in, then loops ── */
    opacity: 0;
    will-change: transform, opacity;
    animation:
      decoReveal  0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both,
      decoFloat   7s ease-in-out                       0.8s infinite;

    contain: layout style paint;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .hero-white-deco::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 28px rgba(0,0,0,0.07);

    opacity: 0;
    will-change: transform, opacity;
    animation:
      decoReveal  0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both,
      decoFloat2  9s ease-in-out                       1.0s infinite;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .hero-white-deco::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(220,20,60,0.12);
    background: rgba(255,255,255,0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);

    opacity: 0;
    will-change: transform, opacity;
    animation:
      decoReveal  0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
      decoFloat3  6s ease-in-out                       1.2s infinite;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* ── Reveal: slide up + fade in (compositor-only) ── */
  @keyframes decoReveal {
    from {
      opacity: 0;
      transform: translate3d(0, 24px, 0) scale(0.92);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  /* ── Idle floats (unchanged) ── */
  @keyframes decoFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%       { transform: translate3d(-10px, 12px, 0) scale(1.03); }
    66%       { transform: translate3d(6px, -8px, 0) scale(0.97); }
  }

  @keyframes decoFloat2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    40%       { transform: translate3d(12px, -14px, 0) scale(1.05); }
    70%       { transform: translate3d(-8px, 8px, 0) scale(0.96); }
  }

  @keyframes decoFloat3 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    50%       { transform: translate3d(-6px, 10px, 0) scale(1.08) rotate(8deg); }
  }
}

/* ── Reduced-motion: skip reveal + freeze floats ── */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .hero-white-deco,
  .hero-white-deco::before,
  .hero-white-deco::after {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ─── LOGO TURNS WHITE WHEN MOBILE NAV IS OPEN ─── */
body:has(.nav-mobile.open) #navbar:not(.scrolled) .brand-top {
  color: #ffffff;
}

body:has(.nav-mobile.open) #navbar:not(.scrolled) .brand-main {
  color: rgba(255, 255, 255, 0.55);
}

body:has(.nav-mobile.open) #navbar:not(.scrolled) .brand-divider {
  background: rgba(255, 255, 255, 0.14);
}

body:has(.nav-mobile.open) #navbar:not(.scrolled) .nav-hamburger span {
  background: #ffffff;
}
.logo-mark svg {
    width: 25px;
    height: 25px;
  }
/* ─── Nav logo size mobile─── */
@media (max-width: 768px) {
  .logo-mark svg {
    width: 25px;
    height: 25px;
  }
}

/* ─── PREMIUM NAVBAR EDGES ─── */

/* Better depth shadow on all scrolled states */
#navbar.scrolled {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 8px 32px rgba(0,0,0,0.40),
    0 2px 8px rgba(220,20,60,0.12),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Crimson gradient accent at the bottom edge */
#navbar.scrolled::before,
body.no-hero #navbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 20, 60, 0.80) 30%,
    #DC143C 50%,
    rgba(220, 20, 60, 0.80) 70%,
    transparent
  );
  pointer-events: none;
  z-index: 2;
}

/* Mobile: floating pill with rounded bottom corners */
@media (max-width: 768px) {
  #navbar.scrolled,
  body.no-hero #navbar {
    left: 10px;
    right: 10px;
    border-radius: 0 0 22px 22px;
    border-bottom: 1px solid rgba(220, 20, 60, 0.18);
    transition: background 0.4s ease, box-shadow 0.4s ease,
                left 0.4s ease, right 0.4s ease,
                border-radius 0.4s ease, border-bottom-color 0.4s ease;
  }
}

/* ═══════════════════════════════════════
   MOBILE PRODUCT PEEK — phone only
═══════════════════════════════════════ */

/* Hidden on desktop */
.hero-peek {
  display: none;
}

@media (max-width: 768px) {


  .hero-peek {
    display: block;
    position: absolute;
    top: 62px;              
    right: -42px;         
    width: 220px;
    height: 220px;
    z-index: 3;
    pointer-events: none;

   
    animation: peekSlideIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.45s;
    opacity: 0;
    will-change: transform, opacity;
  }

  /* ── The product PNG ── */
  .hero-peek-img {
    width: 80%;
    height: 80%;
    margin-top: 20px; 
    margin-left: -6px;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter:
      drop-shadow(-8px 14px 28px rgba(0, 0, 0, 0.18))
      drop-shadow(-2px  4px  8px rgba(0, 0, 0, 0.10));
    transform-origin: top right;
    animation: peekFloat 5.5s ease-in-out 1.6s infinite both;
  }

  /* ── Shadow disabled at top — no ground needed ── */
  .hero-peek-shadow {
    display: none;
  }

  /* ── Entrance: slides in from right ── */
  @keyframes peekSlideIn {
    from {
      opacity: 0;
      transform: translateX(36px) rotate(6deg) scale(0.86);
    }
    to {
      opacity: 1;
      transform: translateX(0px) rotate(3deg) scale(1);
    }
  }

  /* ── Perpetual idle float ── */
  @keyframes peekFloat {
    0%, 100% { transform: translateY(0px)   rotate(3deg) scale(1);    }
    45%       { transform: translateY(-8px)  rotate(2deg) scale(1.02); }
    75%       { transform: translateY(-4px)  rotate(4deg) scale(0.99); }
  }
}

@media (max-width: 480px) {
  .hero-peek {
    width: 180px;
    height: 180px;
    top: 180px;   /* clears the full headline */
    right: -56px;
  }
  .hero-peek-img {
    margin-top: 10px;
  }
}
/* ── Respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-peek,
  .hero-peek-img {
    animation: none !important;
    opacity: 1 !important;
    transform: translateX(0) rotate(-3deg) !important;
  }
}
/* ─── FEATURED BADGE SLIDING PILL ─── */
.feat-badge-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(14,5,2,0.07);
  border-radius: 99px;
  padding: 3px;
  position: relative;
  margin-bottom: 14px;
  gap: 0;
}
.feat-badge-pill {
  position: absolute;
  top: 3px; bottom: 3px; left: 3px;
  right: auto;
  width: calc(50% - 3px);
  border-radius: 99px;
  background: #0e0502;
  pointer-events: none;
  will-change: transform;
  animation: featPillMove 3.2s cubic-bezier(0.34, 1.45, 0.64, 1) infinite;
}
.feat-badge-word {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  position: relative; z-index: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex: 1; text-align: center;
}
.feat-badge-word--a { animation: featColorA 3.2s ease infinite; }
.feat-badge-word--b { animation: featColorB 3.2s ease infinite; }

@keyframes featPillMove {
  0%, 38%  { transform: translateX(0); }
  50%, 88% { transform: translateX(100%); }
  100%     { transform: translateX(0); }
}
@keyframes featColorA {
  0%, 38%  { color: #fff; }
  50%, 88% { color: var(--text-muted); }
  100%     { color: #fff; }
}
@keyframes featColorB {
  0%, 38%  { color: var(--text-muted); }
  50%, 88% { color: #fff; }
  100%     { color: var(--text-muted); }
}

/* ─── HERO MOBILE ACCENT SHAPE ─── */
.hero-mobile-accent {
  display: none;
}

@media (max-width: 768px) {
  .hero-mobile-accent {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    opacity: 0;
    position: relative;
    animation: accentReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  }

  .hero-mobile-accent::before {
    content: '';
    width: 28px;
    height: 3px;
    border-radius: 99px;
    background: #DC143C;
    flex-shrink: 0;
    will-change: transform;
    animation: poleHit 2.2s linear 1.3s infinite;
  }

  .hero-mobile-accent::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #191010;
    flex-shrink: 0;
    will-change: transform;
    animation: ballRoll 2.2s linear 1.3s infinite;
  }
}

.accent-impact {
  display: none;
}

@media (max-width: 768px) {
  .accent-impact {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
    transform: scale(0);
    transform-origin: center;
    animation: impactBurst 2.2s linear 1.3s infinite;
  }

 /* primary slash */
  .accent-impact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #DC143C 35%, #DC143C 65%, transparent 100%);
    transform: translate(-50%, -50%) rotate(-22deg);
  }

  /* secondary slash — offset, thinner, dimmer */
  .accent-impact::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(220,20,60,0.45) 40%, transparent 100%);
    transform: translate(-50%, calc(-50% - 5px)) rotate(-22deg);
  }
}

@keyframes accentReveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes poleHit {
  0%   { transform: translateX(0);    }
  8%   { transform: translateX(-4px); }
  18%  { transform: translateX(9px);  }
  28%  { transform: translateX(0);    }
  100% { transform: translateX(0);    }
}

@keyframes ballRoll {
  0%   { transform: translateX(0);    }
  18%  { transform: translateX(0);    }
  20%  { transform: translateX(6px);  }
  52%  { transform: translateX(28px); }
  80%  { transform: translateX(2px);  }
  85%  { transform: translateX(0);    }
  100% { transform: translateX(0);    }
}

@keyframes impactBurst {
  0%   { opacity: 0; transform: scale(0);   }
  17%  { opacity: 0; transform: scale(0);   }
  19%  { opacity: 1; transform: scale(1);   }
  27%  { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(0);   }
}

@media (max-width: 768px) {
  .hero-layout { padding-top: 90px !important; }
}
/* ── Section wrapper ── */
.dist-agreement-section {
  position: relative;
  background: #f7f2f2;
  padding: 96px 28px 112px;
  overflow: hidden;
  border-top: 1px solid var(--linen-dd);
}
 
/* Dot-grid background texture */
.dist-agreement-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(44,26,26,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}
 
/* Top-right ambient glow */
.dist-agreement-section::after {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,20,60,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
 
.dist-agreement-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
 
/* ── Section header ── */
.dag-header {
  text-align: center;
  margin-bottom: 56px;
}
.dag-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220,20,60,0.07);
  border: 1px solid rgba(220,20,60,0.22);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 22px;
}
.dag-eyebrow-pill .dag-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #DC143C;
  animation: dag-pulse 2.6s ease infinite;
  flex-shrink: 0;
}
@keyframes dag-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(220,20,60,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(220,20,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,20,60,0); }
}
.dag-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.9px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.dag-title em {
  font-style: normal;
  color: #DC143C;
}
.dag-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Product & Packaging side by side — all screen sizes ── */
.dag-product-line {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
 
/* ── Document card shell ── */
.dag-document {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(139,32,32,0.12);
  box-shadow:
    0 0 0 1px rgba(220,20,60,0.04),
    0 12px 48px rgba(139,32,32,0.09),
    0 4px 16px rgba(0,0,0,0.05);
  overflow: hidden;
}
 
/* ── Document letterhead ── */
.dag-letterhead {
  background: linear-gradient(135deg, #1a0808 0%, #3a0f0f 50%, #2c1a1a 100%);
  padding: 40px 52px 36px;
  position: relative;
  overflow: hidden;
}
.dag-letterhead::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.dag-letterhead::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,20,60,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.dag-lh-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dag-lh-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dag-lh-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #DC143C;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(220,20,60,0.45);
}
.dag-lh-logo svg {
  width: 28px; height: 28px;
}
.dag-lh-names {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dag-lh-top {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1;
}
.dag-lh-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.dag-lh-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.dag-lh-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(220,20,60,0.22);
  border: 1px solid rgba(220,20,60,0.35);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.dag-lh-badge i { font-size: 11px; color: #DC143C; }
.dag-lh-doc-id {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.30);
  letter-spacing: 1px;
}
 
/* ── Document body ── */
.dag-body {
  padding: 0 52px 52px;
}
 
/* ── Agreement preamble ── */
.dag-preamble {
  background: #fdf8f8;
  border-left: 3px solid #DC143C;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 36px 0 40px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.dag-preamble strong { color: var(--text-dark); font-weight: 600; }
 
/* ── Section divider label ── */
.dag-clause-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 16px;
}
.dag-clause-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #DC143C;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(220,20,60,0.30);
}
.dag-clause-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.dag-clause-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--linen-dd), transparent);
}
 
/* ── Clause card ── */
.dag-clause-card {
  background: #fdfafa;
  border: 1px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.dag-clause-card:hover {
  border-color: rgba(220,20,60,0.22);
  box-shadow: 0 4px 18px rgba(139,32,32,0.06);
}
 
/* ── Pricing table ── */
.dag-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.dag-price-row {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  gap: 4px;
}
.dag-price-row.highlight {
  background: rgba(220,20,60,0.04);
  border-color: rgba(220,20,60,0.22);
}
.dag-price-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.dag-price-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.dag-price-value span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.dag-price-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
 
/* ── MOP table ── */
.dag-mop-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13.5px;
}
.dag-mop-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--linen-dd);
}
.dag-mop-table th:last-child {
  text-align: right;
}
.dag-mop-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--linen-dd);
  color: var(--text-body);
  font-weight: 500;
}
.dag-mop-table tr:last-child td { border-bottom: none; }
.dag-mop-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
}
 
/* ── Bullet list inside clauses ── */
.dag-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.dag-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  flex-wrap: wrap;
}
.dag-list li strong {
  display: inline;
  font-weight: 700;
  color: var(--text-dark);
}

 
/* ── Territory input inline ── */
.dag-territory-field {
  display: inline-block;
  border: none;
  border-bottom: 1.5px solid var(--linen-dd);
  background: transparent;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-dark);
  width: 240px;
  padding: 4px 6px;
  outline: none;
  transition: border-color 0.2s;
}
.dag-territory-field:focus {
  border-bottom-color: #DC143C;
}
.dag-territory-field::placeholder { color: var(--text-light); font-style: italic; }
 
/* ── Warning callout ── */
.dag-warning {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(220,20,60,0.04);
  border: 1px solid rgba(220,20,60,0.18);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}
.dag-warning i {
  color: #DC143C;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
 
/* ── Clause body text ── */
.dag-clause-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.dag-clause-text strong { color: var(--text-dark); font-weight: 600; }
 
/* ═══════════════════════════════════════════
   FORM SECTION
═══════════════════════════════════════════ */
.dag-form-section {
  margin-top: 48px;
  border-top: 2px solid var(--linen-dd);
  padding-top: 40px;
}
.dag-form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.dag-form-section-title i {
  width: 38px; height: 38px;
  background: rgba(220,20,60,0.08);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  font-size: 16px;
  flex-shrink: 0;
}
 
/* Form grid */
.dag-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.dag-form-grid.single { grid-template-columns: 1fr; }
.dag-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dag-form-group label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dag-form-group label .req { color: #DC143C; }
.dag-form-group input,
.dag-form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--linen);
  border: 1.5px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dag-form-group input:focus,
.dag-form-group textarea:focus {
  border-color: #DC143C;
  box-shadow: 0 0 0 3px rgba(220,20,60,0.12);
}
.dag-form-group input::placeholder,
.dag-form-group textarea::placeholder { color: var(--text-light); }
.dag-form-group textarea { min-height: 80px; resize: vertical; }
.dag-form-group input.dag-invalid,
.dag-form-group textarea.dag-invalid {
  border-color: #E24B4A !important;
  box-shadow: 0 0 0 3px rgba(226,75,74,0.12) !important;
  animation: dag-shake 0.35s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes dag-shake {
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-5px)}
  40%{transform:translateX(5px)}
  60%{transform:translateX(-3px)}
  80%{transform:translateX(3px)}
}
.dag-field-error {
  font-size: 11px;
  color: #E24B4A;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}
.dag-form-group.has-error .dag-field-error { height: auto; opacity: 1; }
 
/* ═══════════════════════════════════════════
   SIGNATURE AREA
═══════════════════════════════════════════ */
.dag-sig-section {
  margin-top: 40px;
  border-top: 1px solid var(--linen-dd);
  padding-top: 36px;
}
.dag-sig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
.dag-sig-block {
  background: #fdfafa;
  border: 1px solid var(--linen-dd);
  border-radius: var(--radius-md);
  padding: 24px;
}
.dag-sig-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.dag-sig-name-input {
  width: 100%;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-dark);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--linen-dd);
  padding: 6px 0 8px;
  outline: none;
  letter-spacing: 0.5px;
  transition: border-color 0.2s;
}
.dag-sig-name-input:focus {
  border-bottom-color: #DC143C;
}
.dag-sig-name-input::placeholder {
  color: rgba(139,114,114,0.45);
  font-style: italic;
}
/* Live signature preview */
.dag-sig-preview {
  margin-top: 14px;
  min-height: 56px;
  border-bottom: 1.5px solid var(--linen-dd);
  display: flex;
  align-items: flex-end;
  padding-bottom: 6px;
}
.dag-sig-rendered {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 28px;
  color: var(--text-dark);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
  line-height: 1.2;
}
.dag-sig-rendered.visible { opacity: 1; }
 
.dag-sig-date {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dag-sig-date label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dag-sig-date input[type="date"] {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dark);
  background: var(--linen);
  border: 1.5px solid var(--linen-dd);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.dag-sig-date input[type="date"]:focus {
  border-color: #DC143C;
}
 
/* Ritwand side — prefilled look */
.dag-sig-block.dag-sig-ritwand .dag-sig-rendered {
  opacity: 1;
  color: var(--sage-dark);
}
.dag-sig-block.dag-sig-ritwand .dag-sig-name-input {
  color: var(--sage-dark);
}
 
/* ═══════════════════════════════════════════
   CONSENT + ACTION BUTTONS
═══════════════════════════════════════════ */
.dag-consent-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(220,20,60,0.04);
  border: 1px solid rgba(220,20,60,0.15);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 36px;
  cursor: pointer;
}
.dag-consent-checkbox {
  width: 20px; height: 20px;
  accent-color: #DC143C;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}
.dag-consent-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
.dag-consent-text strong { color: var(--text-dark); }
.dag-consent-text a { color: var(--sage-dark); font-weight: 600; text-decoration: underline; }
.dag-consent-error {
  font-size: 11px;
  color: #E24B4A;
  margin-top: 6px;
  display: none;
}
.dag-consent-error.show { display: block; }
 
/* Action buttons row */
.dag-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.dag-btn-submit {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #DC143C;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(220,20,60,0.30);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.dag-btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.dag-btn-submit:hover {
  background: #8B2020;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,32,32,0.38);
}
.dag-btn-submit:active { transform: translateY(0); }
 
/* Ghost action buttons */
.dag-btn-ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--linen-dd);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.dag-btn-ghost-action:hover {
  background: var(--linen);
  border-color: rgba(44,26,26,0.28);
  color: var(--text-dark);
  transform: translateY(-1px);
}
.dag-btn-ghost-action i { font-size: 14px; }
 
/* Submit sent state */
.dag-btn-submit .dag-btn-text,
.dag-btn-submit .dag-btn-sending,
.dag-btn-submit .dag-btn-sent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dag-btn-submit .dag-btn-sending,
.dag-btn-submit .dag-btn-sent {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  border-radius: inherit;
}
.dag-btn-submit .dag-btn-sending {
  background: #8B2020;
}
.dag-btn-submit .dag-btn-sent {
  background: #166534;
}
.dag-btn-submit.dag-sending,
.dag-btn-submit.dag-sent {
  pointer-events: none;
  cursor: default;
}
.dag-btn-submit.dag-sending {
  background: #8B2020;
}
.dag-btn-submit.dag-sent {
  background: #166534;
}
.dag-btn-submit.dag-sending .dag-btn-text,
.dag-btn-submit.dag-sent .dag-btn-text {
  opacity: 0;
  transform: translateY(-12px);
}
.dag-btn-submit.dag-sending .dag-btn-sending,
.dag-btn-submit.dag-sent .dag-btn-sent {
  opacity: 1;
  transform: translateY(0);
}
 
/* ── Success banner ── */
.dag-success-banner {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(22,101,52,0.08);
  border: 1px solid rgba(22,101,52,0.25);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-top: 24px;
}
.dag-success-banner.show { display: flex; }
.dag-success-banner i { color: #166534; font-size: 22px; flex-shrink: 0; }
.dag-success-banner p { font-size: 14px; color: #166534; font-weight: 500; line-height: 1.6; }
.dag-success-banner strong { font-weight: 700; }
 
/* ── Document footer ── */
.dag-doc-footer {
  margin-top: 48px;
  padding: 22px 28px;
  background: #fdfafa;
  border-top: 1px solid var(--linen-dd);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dag-footer-left {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}
.dag-footer-left strong { color: var(--text-dark); font-weight: 600; }
.dag-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dag-cert-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--sage-dark);
  background: rgba(139,32,32,0.07);
  border: 1px solid rgba(139,32,32,0.16);
  padding: 4px 10px;
  border-radius: 100px;
}
.dag-cert-pill-sm i { font-size: 9px; }
 
/* ── Responsive ── */
@media (max-width: 768px) {
  .dist-agreement-section { padding: 56px 16px 72px; }

  /* Section header */
  .dag-header { margin-bottom: 36px; }
  .dag-title { font-size: clamp(22px, 6vw, 30px); letter-spacing: -0.4px; }
  .dag-subtitle { font-size: 14px; }

  /* Document card */
  .dag-document { border-radius: 16px; }

/* Letterhead */
  .dag-letterhead { padding: 20px 16px 18px; }
  .dag-lh-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .dag-lh-brand { gap: 10px; flex-shrink: 1; min-width: 0; }
  .dag-lh-logo { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }
  .dag-lh-logo svg { width: 20px; height: 20px; }
  .dag-lh-top { font-size: 13px; }
  .dag-lh-sub { font-size: 8px; letter-spacing: 1px; }
  .dag-lh-meta {
    align-items: flex-end;
    gap: 5px;
    width: auto;
    flex-shrink: 0;
  }
  .dag-lh-badge { font-size: 8px; padding: 4px 10px; }
  .dag-lh-doc-id { font-size: 8px; }

  /* Document body */
  .dag-body { padding: 0 18px 32px; }

  /* Preamble */
  .dag-preamble { font-size: 13.5px; padding: 16px 18px; margin: 24px 0 28px; }

  /* Clause labels */
  .dag-clause-label { margin: 28px 0 12px; gap: 10px; }
  .dag-clause-num { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
  .dag-clause-title { font-size: 12px; letter-spacing: 0.8px; }

/* Clause cards */
  .dag-clause-card { padding: 18px 16px; margin-bottom: 6px; }
  .dag-clause-text { font-size: 13px; line-height: 1.65; }
  .dag-clause-text .dag-product-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
  }

 /* Price grid — keep side by side */
  .dag-price-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .dag-price-row { padding: 14px 16px; }
  .dag-price-label { font-size: 9.5px; }
  .dag-price-value { font-size: 20px; }
  .dag-price-value span { font-size: 12px; }
  .dag-price-sub { font-size: 10.5px; }

  /* MOP table */
  .dag-mop-table { font-size: 12.5px; }
  .dag-mop-table th { font-size: 9px; padding-bottom: 8px; }
  .dag-mop-table td { padding: 9px 0; font-size: 12.5px; }

  /* Warning */
  .dag-warning { font-size: 12.5px; padding: 12px 14px; gap: 10px; }
  .dag-warning i { font-size: 13px; }

  /* Bullet list */
  .dag-list li { font-size: 13px; gap: 8px; }
  .dag-list li::before { width: 6px; height: 6px; margin-top: 6px; }

  /* Territory inline input */
  .dag-territory-field { width: 100%; display: block; margin-top: 8px; font-size: 13px; }

  /* Form section */
  .dag-form-section { margin-top: 32px; padding-top: 28px; }
  .dag-form-section-title { font-size: 15px; gap: 10px; margin-bottom: 20px; }
  .dag-form-section-title i {
    width: 32px; height: 32px; font-size: 13px; border-radius: 8px;
  }
  .dag-form-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .dag-form-group label { font-size: 9.5px; }
  .dag-form-group input,
  .dag-form-group textarea {
    font-size: 14px; padding: 11px 14px;
    border-radius: 10px;
  }
  .dag-form-group textarea { min-height: 72px; }

  /* Signature section */
  .dag-sig-section { margin-top: 28px; padding-top: 24px; }
  .dag-sig-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .dag-sig-block { padding: 18px 16px; border-radius: 10px; }
  .dag-sig-role { font-size: 9px; margin-bottom: 10px; }
  .dag-sig-name-input { font-size: 15px; padding: 5px 0 7px; }
  .dag-sig-preview { min-height: 44px; }
  .dag-sig-rendered { font-size: 22px; }
  .dag-sig-date label { font-size: 9px; }
  .dag-sig-date input[type="date"] { font-size: 12px; padding: 7px 10px; }

  /* Consent row */
  .dag-consent-row { padding: 14px 16px; gap: 12px; margin-top: 24px; border-radius: 10px; }
  .dag-consent-text { font-size: 12.5px; line-height: 1.6; }
  .dag-consent-checkbox { width: 18px; height: 18px; }

  /* Action buttons */
  .dag-actions { flex-direction: column; gap: 10px; margin-top: 24px; }
  .dag-btn-submit { min-width: unset; font-size: 13.5px; padding: 14px 20px; border-radius: 10px; }
  .dag-btn-ghost-action { font-size: 12.5px; padding: 12px 18px; border-radius: 10px; justify-content: center; }

  /* Success banner */
  .dag-success-banner { padding: 14px 16px; border-radius: 10px; }
  .dag-success-banner p { font-size: 13px; }

  /* Document footer */
  .dag-doc-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 18px; }
  .dag-footer-left { font-size: 10.5px; line-height: 1.65; }
  .dag-footer-right { gap: 6px; flex-wrap: wrap; }
  .dag-cert-pill-sm { font-size: 9px; padding: 3px 8px; }
}

@media (max-width: 480px) {
  .dist-agreement-section { padding: 48px 12px 64px; }

  .dag-header { margin-bottom: 28px; }
  .dag-eyebrow-pill { font-size: 8.5px; padding: 6px 14px; }
  .dag-title { font-size: 21px; }
  .dag-subtitle { font-size: 13px; }
  .dag-document { border-radius: 14px; }
  .dag-letterhead { padding: 18px 16px 18px; }
  .dag-lh-top { font-size: 15px; }
  .dag-body { padding: 0 14px 24px; }
  .dag-preamble { font-size: 12.5px; padding: 14px 14px; margin: 20px 0 22px; }
  .dag-clause-label { margin: 22px 0 10px; }
  .dag-clause-card { padding: 14px 12px; }
  .dag-price-value { font-size: 18px; }
  .dag-mop-table td,
  .dag-mop-table th { padding: 8px 0; }
  .dag-clause-text:not(.dag-product-line) { display: flex; flex-direction: column; gap: 8px; }
  .dag-form-group input,
  .dag-form-group textarea { padding: 12px 13px; font-size: 16px; } 
  .dag-sig-rendered { font-size: 20px; }
  .dag-btn-submit,
  .dag-btn-ghost-action { width: 100%; }
}
 
/* ── Print styles ── */
@media print {
  .dist-agreement-section::before,
  .dist-agreement-section::after { display: none; }
  .dag-actions { display: none; }
  .dag-document {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ── MOP TABLE MOBILE FIX ── */
@media (max-width: 768px) {
  .dag-mop-table {
    table-layout: fixed;
    width: 100%;
  }
  .dag-mop-table th:first-child,
  .dag-mop-table td:first-child {
    width: 65%;
    padding-right: 8px;
  }
  .dag-mop-table th:last-child,
  .dag-mop-table td:last-child {
    width: 35%;
    text-align: right;
  }
}

@media (max-width: 480px) {
  .dag-mop-table th:first-child,
  .dag-mop-table td:first-child {
    width: 60%;
    font-size: 12px;
  }
  .dag-mop-table th:last-child,
  .dag-mop-table td:last-child {
    width: 40%;
    font-size: 13px;
  }
}