* { margin:0; padding:0; box-sizing:border-box; }

:root{
    --green-dark:#1b5e20;
    --green:#2e7d32;
    --green-light:#e9f5ea;
    --text-dark:#1c2b1e;
    --text-muted:#6b756c;
  }
html { scroll-behavior: smooth; }
body { font-family:'Inter',sans-serif; color:#374151; overflow-x:hidden; }

.page-section { display:none; }
.page-section.active { display:block; }

.gradient-gold { background:linear-gradient(135deg,#C8A951,#D4BC6A); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-green { background:linear-gradient(135deg,#1B5E20,#2E7D32); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.btn-primary { background:#1B5E20; color:#fff; transition:all .3s ease; }
.btn-primary:hover { background:#0D3B12; transform:translateY(-2px); box-shadow:0 8px 25px -5px rgba(27,94,32,.35); }
.btn-gold { background:linear-gradient(135deg,#C8A951,#A68B3C); color:#fff; transition:all .3s ease; }
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 8px 25px -5px rgba(200,169,81,.4); }
.btn-outline-white { border:2px solid rgba(255,255,255,.4); color:#fff; transition:all .3s ease; }
.btn-outline-white:hover { background:#fff; color:#1B5E20; border-color:#fff; }

.section-label { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:#C8A951; margin-bottom:14px; }
.section-label::before { content:''; width:28px; height:2px; background:#C8A951; border-radius:1px; }

.hero-overlay { background:linear-gradient(135deg,rgba(10,26,13,.88) 0%,rgba(13,59,18,.75) 50%,rgba(27,94,32,.5) 100%); }

.service-card { transition:all .35s cubic-bezier(.4,0,.2,1); border:1px solid #E5E7EB; position:relative; overflow:hidden; }
.service-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:linear-gradient(90deg,#1B5E20,#C8A951); transform:scaleX(0); transform-origin:left; transition:transform .4s ease; }
.service-card:hover { transform:translateY(-6px); box-shadow:0 20px 50px -12px rgba(27,94,32,.12); border-color:rgba(27,94,32,.15); }
.service-card:hover::after { transform:scaleX(1); }

.stat-divider { position:relative; }
.stat-divider::after { content:''; position:absolute; right:0; top:15%; height:70%; width:1px; background:rgba(200,169,81,.3); }
.stat-divider:last-child::after { display:none; }
@media(max-width:768px) { .stat-divider::after { display:none; } }

.scroll-reveal { opacity:0; transform:translateY(25px); transition:all .7s cubic-bezier(.4,0,.2,1); }
.scroll-reveal.visible { opacity:1; transform:translateY(0); }

.img-zoom { overflow:hidden; }
.img-zoom img { transition:transform .6s ease; }

/* <picture> is only a format switch — it must not become a layout box.
   `display: contents` promotes its children into the parent, so <source>
   has to be hidden or it turns into a phantom 0-width flex item. Hiding it
   does not affect which source the browser picks. */
picture { display: contents; }
picture > source { display: none; }
.img-zoom:hover img { transform:scale(1.05); }
.bg-white\/95 {
    background-color: rgb(246 247 246) !important;
}
.bg-primary {
    --tw-bg-opacity: 1;
    background-color: rgb(27 94 32 / var(--tw-bg-opacity, 1)) !important;
}
.text-primary {
    --tw-text-opacity: 1;
    color: rgb(27 94 32 / var(--tw-text-opacity, 1)) !important;
}
/* `.text-primary` is !important, so it beat Tailwind's group-hover rule on the
   product-card icons. Scope the override to that case — the previous blanket
   `.text-primary:hover` also whited out the active nav link on hover, making it
   invisible against the white navbar. */
.group:hover .text-primary.group-hover\:text-white {
    color: #fff !important;
}
/* =========================================================
   NAVIGATION — MOBILE MENU, OVERLAY & HAMBURGER TOGGLE
   ========================================================= */

/* --- 1. HAMBURGER / CLOSE TOGGLE --------------------------------- */
/* One control that morphs between the two states. 44px hit target,
   compact 20px glyph so it never reads as oversized. */
.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(27, 94, 32, .14);
  border-radius: 12px;
  background: #fff;
  color: #1B5E20;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav-toggle:hover { background: #F1F7F1; border-color: rgba(27, 94, 32, .28); }
.nav-toggle:focus-visible { outline: 2px solid #C8A951; outline-offset: 2px; }
.nav-toggle:active { background: #E8F0E8; }
/* The opener is desktop-hidden by Tailwind's `lg:hidden`, but delegation.html
   also loads this file after app.min.css, which re-applies `display` above and
   brings the button back. Hide it here too so load order can't matter. */
@media (min-width: 1024px) { .nav-toggle:not(.nav-toggle--close) { display: none; } }

/* The three bars live in a fixed 20x14 box so they can never drift. */
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1),
              opacity .2s ease,
              width .3s cubic-bezier(.4, 0, .2, 1);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; width: 14px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

/* Open state: top and bottom bars cross, middle fades out. */
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1),
.nav-toggle--close .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2),
.nav-toggle--close .nav-toggle__bars span:nth-child(2) { opacity: 0; width: 20px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3),
.nav-toggle--close .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* The close control sits on the panel's dark header. */
.nav-toggle--close {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.nav-toggle--close:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .35); }
.nav-toggle--close:active { background: rgba(255, 255, 255, .26); }

/* --- 2. MOBILE MENU PANEL ---------------------------------------- */
#mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: 320px;
  max-width: 86vw;
  height: 100%;
  height: 100dvh;
  background: #fff;
  box-shadow: -18px 0 48px -20px rgba(10, 26, 13, .45);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility .38s;
  overscroll-behavior: contain;
}
#mobileMenu.active { transform: translateX(0); visibility: visible; }

/* Brand header: same green gradient used by the quote modal. */
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  padding: 18px 20px;
  background: linear-gradient(135deg, #1B5E20 0%, #0D3B12 100%);
  border-bottom: 2px solid #C8A951;
}
.mobile-menu__header img { display: block; width: auto; height: 34px; }

.mobile-menu__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 16px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(180deg, rgba(27, 94, 32, .05) 0%, rgba(255, 255, 255, 0) 180px),
    #FCFDFC;
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 2px; }

/* Hairline separators instead of gaps — reads tidier on small screens. */
.mobile-menu__nav .mobile-nav-link + .mobile-nav-link { border-top: 1px solid #EEF2EE; }

.mobile-menu__footer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #E7EDE7;
}
/* --- 3. NAVIGATION LINKS ----------------------------------------- */
.mobile-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 10px;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s ease, color .25s ease, padding-left .25s ease;
}
.mobile-nav-link i,
.mobile-nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 16px;
  text-align: center;
  color: #C8A951;
  transition: color .25s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: rgba(27, 94, 32, .06);
  color: #1B5E20;
  padding-left: 18px;
  outline: none;
}
.mobile-nav-link:hover i,
.mobile-nav-link:hover svg,
.mobile-nav-link:focus-visible i,
.mobile-nav-link:focus-visible svg { color: #1B5E20; }
.mobile-nav-link:active { background: rgba(27, 94, 32, .1); }

/* Current page */
.mobile-nav-link.active {
  background: rgba(27, 94, 32, .08);
  color: #1B5E20;
  padding-left: 18px;
}
.mobile-nav-link.active i,
.mobile-nav-link.active svg { color: #1B5E20; }
.mobile-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 3px;
  background: #C8A951;
  border-radius: 0 3px 3px 0;
}
/* The separator would double up against a highlighted row. */
.mobile-menu__nav .mobile-nav-link.active,
.mobile-menu__nav .mobile-nav-link.active + .mobile-nav-link { border-top-color: transparent; }

#mobileMenu .btn-primary {
  background: #1B5E20;
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(27, 94, 32, .6);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
#mobileMenu .btn-primary:hover { background: #0D3B12; transform: translateY(-2px); }

/* --- 4. OVERLAY --------------------------------------------------- */
#mobileOverlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 26, 13, .55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .38s ease, visibility .38s ease;
}
#mobileOverlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

/* Lock the page behind the panel. `position: fixed` is what stops iOS
   Safari scrolling the page under the overlay; the script restores the
   scroll offset on close so nothing jumps. */
body.mobile-menu-active {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

/* --- 5. SMALL SCREENS --------------------------------------------- */
@media (max-width: 400px) {
  #mobileMenu { width: 288px; }
  .mobile-nav-link { padding: 12px; font-size: 14px; }
  .mobile-menu__body { padding: 14px 12px 20px; }
}
/* Landscape phones: the panel must stay scrollable, never clipped. */
@media (max-height: 480px) {
  .mobile-menu__header { padding: 12px 16px; }
  .mobile-menu__header img { height: 28px; }
  .mobile-nav-link { padding: 10px 14px; }
  .mobile-menu__footer { margin-top: 14px; padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #mobileMenu,
  #mobileOverlay,
  .nav-toggle__bars span,
  .mobile-nav-link { transition-duration: .01ms; }
}

.process-line { position:relative; }
.process-line::after { content:''; position:absolute; top:28px; left:calc(50% + 28px); width:calc(100% - 56px); height:2px; background:linear-gradient(90deg,#C8A951,#E5E7EB); }
@media(max-width:768px) { .process-line::after { display:none; } }


/* ===== MODAL STYLES — ALL Z-INDEX IN CSS ===== */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9998;
    background: rgba(10, 26, 13, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}
.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}
.modal-wrapper.active {
    pointer-events: auto;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 2rem);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-wrapper.active .modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.modal-glow-border {
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #1B5E20, #C8A951, #1B5E20, #C8A951);
    background-size: 300% 300%;
    animation: glowShift 4s ease infinite;
    opacity: 0.7;
    filter: blur(6px);
    z-index: 0;
}
@keyframes glowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.modal-inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
}

.modal-input {
    width: 100%;
    padding: 14px 16px 14px 17px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    color: #1F2937;
    background: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.modal-down {
    width: 100%;
    padding: 14px 16px 14px 23px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    color: #1F2937;
    background: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.modal-input::placeholder { color: #9CA3AF; }
.modal-input:focus {
    border-color: #1B5E20;
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.08);
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99999;
    background: #1B5E20;
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px -5px rgba(27, 94, 32, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
/* Brand logos are sized explicitly so they never depend on a percentage
   resolving against an intrinsic width (which overflowed small screens). */
.site-logo {
    display: block;
    width: 246px;
    height: 78px;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 1023px) { .site-logo { width: 176px; height: 56px; } }
@media (max-width: 380px)  { .site-logo { width: 148px; height: 47px; } }

/* Desktop navbar: labels never wrap. Between 1024px and 1279px the logo, seven
   links and the quote button don't fit at full size, so tighten them there.
   (Mirrored by hand at the end of app.min.css; see DEPLOYMENT.md.) */
#navbar .nav-link,
#navbar .btn-primary { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
    #navbar .site-logo { width: 176px; height: 56px; }
    #navbar .justify-between { column-gap: 12px; }
    #navbar .gap-7 { column-gap: 14px; }
    #navbar .nav-link { font-size: 13px; }
    #navbar .btn-primary.px-5 { padding-left: 16px !important; padding-right: 16px !important; }
}



/* ===== Potato Page Specific Custom CSS ===== */
@keyframes float-potato { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(2deg); } }
.float-potato { animation: float-potato 5s ease-in-out infinite; }

@keyframes pulse-ring { 0% { transform: scale(0.95); opacity: 0.7; } 50% { transform: scale(1.05); opacity: 0.3; } 100% { transform: scale(0.95); opacity: 0.7; } }
.pulse-ring { animation: pulse-ring 3s ease-in-out infinite; }

.cal-bar { height: 8px; border-radius: 4px; }

.gold-divider { width: 80px; height: 3px; background: linear-gradient(90deg,#C8A951,transparent); border-radius: 2px; }

/* HERO */
  .hero {
    position: relative;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.15) 70%), image-set(url('../imgs/mix-veg.webp') type('image/webp'), url('../imgs/mix-veg.jpg') type('image/jpeg')) right center / cover no-repeat;
    padding: 108px 0 110px;
}
  .hero h1{
    color:var(--green-dark);
    font-weight:800;
    font-size:2.6rem;
    letter-spacing:0.5px;
  }
  .hero p.lead-text{
    color:var(--text-muted);
    font-size:1.05rem;
    max-width:480px;
  }
  .feature-icons{
    margin-top:40px;
  }
  .feature-icon{
    width:60px;height:60px;
    border-radius:50%;
    background:#fff;
    border:1px solid #e2e8e2;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.04);
    margin:0 auto 10px;
    font-size:1.3rem;
    color:var(--green);
  }
  .feature-item{
    text-align:center;
    max-width:110px;
  }
  .feature-item span{
    font-size:0.72rem;
    font-weight:600;
    color:var(--text-dark);
    display:block;
    line-height:1.2;
  }

  /* QUOTE CARD */
  .quote-card{
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,0.08);
    margin-top:-90px;
    position:relative;
    z-index:2;
    padding:45px 50px 40px;
  }
  .quote-title-wrap{
    text-align:center;
    margin-bottom:8px;
  }
  .quote-title-wrap h2{
    font-weight:700;
    font-size:1.6rem;
    color:var(--text-dark);
    display:inline-flex;
    align-items:center;
    gap:12px;
  }
  .quote-title-wrap h2 i{color:var(--green);}
  .quote-title-wrap .line{
    display:inline-block;
    width:60px;height:2px;
    background:var(--green);
    vertical-align:middle;
    margin:0 8px;
  }
  .quote-sub{
    text-align:center;
    color:var(--text-muted);
    font-size:0.85rem;
    margin-bottom:35px;
  }

  /*.section-label{
    font-weight:600;
    color:var(--text-dark);
    font-size:0.95rem;
    margin-bottom:18px;
    display:flex;
    align-items:center;
    gap:8px;
    text-transform:uppercase;
    letter-spacing:0.3px;
  }*/
  .section-label i{color:var(--green);}

  label.form-label{
    font-size:0.82rem;
    font-weight:500;
    color:var(--text-dark);
  }
  label.form-label .req{color:#d32f2f;}

  .form-control, .form-select{
    border-radius:8px;
    border:1px solid #dfe5df;
    padding:10px 14px;
    font-size:0.88rem;
  }
  .form-control:focus, .form-select:focus{
    border-color:var(--green);
    box-shadow:0 0 0 0.15rem rgba(46,125,50,0.15);
  }
  .input-icon-wrap{position:relative;}
  .input-icon-wrap i{
    position:absolute;
    left:14px; top:50%;
    transform:translateY(-50%);
    color:#9aa39b;
    font-size:0.85rem;
  }
  .input-icon-wrap .form-control{padding-left:38px;}

  .upload-box{
    border:2px dashed #cfd8cf;
    border-radius:10px;
    padding:22px;
    text-align:center;
    color:var(--text-muted);
    font-size:0.8rem;
    cursor:pointer;
    transition:0.2s;
  }
  .upload-box:hover{border-color:var(--green); background:#fafdf9;}
  .upload-box i{font-size:1.4rem; color:var(--green); display:block; margin-bottom:8px;}

  .security-note{
    background:var(--green-light);
    border-radius:10px;
    padding:14px 16px;
    font-size:0.78rem;
    color:var(--text-dark);
    display:flex;
    gap:10px;
    align-items:flex-start;
  }
  .security-note i{color:var(--green); margin-top:2px;}
  .security-note strong{display:block; font-size:0.82rem;}

  .btn-quote{
    background:var(--green-dark);
    color:#fff;
    border-radius:10px;
    padding:14px;
    font-weight:600;
    font-size:0.95rem;
    width:100%;
    border:none;
    transition:0.2s;
  }
  .btn-quote:hover{background:var(--green); color:#fff;}

  .form-footer-note{
    text-align:center;
    font-size:0.72rem;
    color:var(--text-muted);
    margin-top:12px;
  }

  @media (max-width:767px){
    .hero{background:linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,255,255,0.9)), image-set(url('../imgs/mix-veg.webp') type('image/webp'), url('../imgs/mix-veg.jpg') type('image/jpeg')) center/cover; padding:40px 0 100px;}
    .quote-card{padding:30px 20px;}
    .hero h1{font-size:2rem;}
  }

  /* The decorative rules either side of the quote heading pushed it past the
     viewport on the narrowest phones. */
  @media (max-width:400px){
    .quote-title-wrap h2{ flex-wrap:wrap; justify-content:center; font-size:1.35rem; gap:8px; }
    .quote-title-wrap h2 .line{ width:32px; }
    .quote-card{ padding:24px 16px; }
  }

 /* Slider CSS - No conflicts allowed */
  .hero-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  .hero-track {
    display: flex !important;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
  }
  .hero-slide {
    min-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    padding-right: 1rem;
    box-sizing: border-box !important;
  }
  .hero-dots-container {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    position: absolute;
    bottom: -10px;
    left: 0;
  }
  .hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }
  .hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
  }
  .hero-dot.active {
    background: #C8A951; /* Gold color */
    width: 32px;
    border-radius: 6px;
  }

  @media (min-width: 1280px) {
    .xl\:text-7xl {
        font-size: 3.5rem !important;
        line-height: 1;
    }
}
  /* =========================================
   EXPORT PRODUCTS SECTION — CUSTOM STYLES
========================================= */

#exportProducts {
  position: relative;
  overflow: hidden;
}
#exportProducts::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,169,81,.08), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* --- PRODUCT ROW --- */
.product-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e8eee8;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(27,94,32,0.04);
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.product-row:hover {
  border-color: rgba(27,94,32,0.18);
  box-shadow: 0 18px 45px -10px rgba(27,94,32,0.15);
  transform: translateY(-3px);
}
.product-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1B5E20, #C8A951);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.product-row:hover::before { opacity: 1; }

/* --- COL 1: INFO --- */
.product-col-info {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.product-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px -4px rgba(27,94,32,0.35);
}
.product-name {
  font-size: 1.55rem;
  font-weight: 700;
  color: #1c2b1e;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.product-detail {
  font-size: 0.9rem;
  color: #6b756c;
  line-height: 1.6;
  margin-bottom: 14px;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f7f1;
  color: #1B5E20;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #dce8dc;
}
.meta-pill i { font-size: 0.7rem; color: #C8A951; }

/* Next Button */
.btn-product-next {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #1B5E20;
  border: 2px solid #1B5E20;
  padding: 9px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-product-next i { font-size: 0.75rem; transition: transform 0.3s ease; }
.btn-product-next:hover {
  background: #1B5E20;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -5px rgba(27,94,32,0.35);
}
.btn-product-next:hover i { transform: translateX(4px); }

/* --- COL 2: IMAGE --- */
.product-col-img {
  position: relative;
  background: #f6faf6;
  display: flex;
  align-items: stretch;
}
.product-img-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.product-img-frame img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-row:hover .product-img-frame img { transform: scale(1.07); }

.product-img-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  color: #1B5E20;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-img-badge i { color: #C8A951; font-size: 0.7rem; }

/* --- COL 3: QUOTE --- */
.product-col-quote {
  padding: 24px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fbfdfb 0%, #f4f9f4 100%);
  border-left: 1px dashed #e0e8e0;
}
.quote-box {
  text-align: center;
  width: 100%;
}
.quote-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px -5px rgba(27,94,32,0.4);
}
.quote-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1c2b1e;
  margin-bottom: 6px;
}
.quote-box p {
  font-size: 0.78rem;
  color: #6b756c;
  margin-bottom: 16px;
  line-height: 1.4;
}
.btn-quote-modal {
  background: linear-gradient(135deg, #C8A951, #A68B3C);
  color: #fff;
  border: none;
  padding: 11px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 30px;
  width: 100%;
  transition: all 0.3s ease;
}
.btn-quote-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -5px rgba(200,169,81,0.45);
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  .product-row {
    grid-template-columns: 1fr 1fr;
  }
  .product-col-quote {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px dashed #e0e8e0;
  }
}
@media (max-width: 680px) {
  .product-row {
    grid-template-columns: 1fr;
  }
  .product-col-info { padding: 22px 20px; }
  .product-col-img { min-height: 200px; }
  .product-img-frame img { min-height: 200px; max-height: 240px; }
  .product-name { font-size: 1.3rem; }
  .btn-product-next, .btn-quote-modal { width:100%; justify-content:center; }
}

/* Partner logo strip — explicit box so it centres at every width. */
.partner-logo { display: block; width: 210px; height: 95px; max-width: 100%; object-fit: contain; }

/* =========================================================
   FORMS — VALIDATION, FEEDBACK & SUBMIT STATES
   ========================================================= */
.field-error {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    color: #B42318;
}
.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #D92D20 !important;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .1) !important;
}

/* Bots fill hidden inputs; people never see this one. */
.hp-field {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Submit buttons keep their footprint while the request is in flight. */
button[data-busy="true"],
.btn-quote[data-busy="true"] {
    position: relative;
    opacity: .75;
    pointer-events: none;
}
button[data-busy="true"]::after,
.btn-quote[data-busy="true"]::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: -3px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btnSpin .7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

.form-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.45;
}
.form-note--error { background: #FEF3F2; border: 1px solid #FDA29B; color: #B42318; }
.form-note--ok    { background: #ECFDF3; border: 1px solid #A6F4C5; color: #05603A; }

.toast--error { background: #B42318; box-shadow: 0 10px 30px -5px rgba(180, 35, 24, .4); }




#dlg{--navy:#0A1A0D;--green:#1B5E20;--green2:#0D3B12;--green50:#E8F5E9;--gold:#C8A951;--text:#1c2b1e;--muted:#6b756c;--line:#dce5e2;--shadow:0 20px 60px rgba(10,26,13,.13);color:var(--text);font-family:Inter,sans-serif}
#dlg *{box-sizing:border-box}
#dlg .dlg-intro{text-align:center;max-width:760px;margin:0 auto 38px}
#dlg .dlg-intro h2{font-size:clamp(26px,4vw,38px);line-height:1.15;font-weight:800;color:#111827;letter-spacing:-.02em;margin:0 0 12px}
#dlg .dlg-intro p{color:#6B7280;font-size:15px;line-height:1.7;margin:0}
#dlg .card{background:#fff;border:1px solid rgba(10,26,13,.07);border-radius:20px;box-shadow:var(--shadow);overflow:hidden}
#dlg .steps{display:grid;grid-template-columns:repeat(5,1fr);background:#fbfcfc;border-bottom:1px solid var(--line)}
#dlg .step{padding:17px 10px;text-align:center;color:#9aa6ac;font-size:11px;font-weight:800;position:relative}
#dlg .step .num{width:29px;height:29px;border-radius:50%;background:#e9efed;display:inline-grid;place-items:center;margin-right:6px;color:#65736f}
#dlg .step.active{color:var(--green)}#dlg .step.active .num{background:var(--green);color:#fff}
#dlg .step.done{color:var(--navy)}#dlg .step.done .num{background:var(--navy);color:#fff}
#dlg .step.active:after{content:"";position:absolute;bottom:0;left:15%;right:15%;height:3px;background:var(--gold);border-radius:3px 3px 0 0}
#dlg .form{padding:38px}
#dlg .panel{display:none}#dlg .panel.active{display:block;animation:dlgfade .22s ease}
@keyframes dlgfade{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}
#dlg .heading{display:flex;gap:13px;align-items:flex-start;margin-bottom:25px}
#dlg .icon{width:43px;height:43px;flex:0 0 43px;border-radius:12px;background:var(--green50);color:var(--green);display:grid;place-items:center;font-size:12px;font-weight:900}
#dlg .heading h2{margin:0;color:var(--navy);font-size:23px;font-weight:800;line-height:1.3}
#dlg .heading p{margin:3px 0 0;color:var(--muted);font-size:13px}
#dlg .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#dlg .full{grid-column:1/-1}
#dlg label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:7px}
#dlg .req{color:#d64c4c}
#dlg input:not([type=radio]):not([type=checkbox]),#dlg select,#dlg textarea{display:block;width:100%;border:1px solid #E5E7EB;border-radius:10px;padding:12px 13px;background:#fff;color:var(--text);font:inherit;font-size:14px;outline:none;transition:.18s}
#dlg input:focus,#dlg select:focus,#dlg textarea:focus{border-color:var(--green);box-shadow:0 0 0 4px rgba(27,94,32,.09)}
#dlg textarea{min-height:112px;resize:vertical}
#dlg .hint{font-size:11px;color:#7b8990;margin-top:5px}
#dlg .choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
#dlg .choice{position:relative}#dlg .choice input{position:absolute;opacity:0}
#dlg .choice label{border:1px solid var(--line);border-radius:10px;padding:12px;margin:0;cursor:pointer;height:100%;font-weight:600}
#dlg .choice input:checked+label{border-color:var(--green);background:#eef8f1;color:var(--green2)}
#dlg .choice input:focus-visible+label{box-shadow:0 0 0 4px rgba(27,94,32,.12)}
#dlg .uploads{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
#dlg .upload{border:1px dashed #c8d5d1;border-radius:12px;padding:16px;background:#fbfdfc}
#dlg .upload input[type=file]{padding:9px;background:#fff}
#dlg .file-preview{display:none;margin-top:10px;align-items:center;gap:10px}
#dlg .file-preview.show{display:flex}
#dlg .file-preview img{width:84px;height:84px;object-fit:contain;border-radius:8px;border:1px solid var(--line);background:#fff}
#dlg .file-preview .pdf-badge{width:84px;height:84px;border-radius:8px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;font-weight:900;font-size:15px;color:#d64c4c}
#dlg .file-preview span{font-size:11px;color:var(--muted);word-break:break-all}
#dlg .terms{border:1px solid #dfe8e5;background:#f7faf9;border-radius:13px;padding:18px;display:flex;gap:12px}
#dlg .terms input{width:18px;height:18px;flex:0 0 auto;accent-color:var(--green);margin-top:3px}
#dlg .terms label{font-weight:400;margin:0;color:#52616a;font-size:13px}
#dlg .nav-buttons{margin:35px -38px -38px;padding:22px 38px;background:#f7faf9;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}
#dlg .btn{border:0;border-radius:10px;padding:13px 23px;font-weight:700;font-size:13px;cursor:pointer;display:inline-block;text-decoration:none;font-family:inherit}
#dlg .next{background:var(--green);color:#fff;box-shadow:0 8px 20px rgba(27,94,32,.2)}
#dlg .next:hover{background:var(--green2)}
#dlg .back{background:#e9efed;color:var(--navy)}
#dlg .submit{background:var(--navy);color:#fff}
#dlg .submit:hover{background:var(--green2)}
#dlg .required-note{font-size:11px;color:#78858c}
#dlg #finalSubmitBtn:disabled,#dlg #previewPdfBtn:disabled{opacity:.6;cursor:wait}
#dlg .pdf-links{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}
#dlg .pdf-links a{font-size:12px;font-weight:700;color:var(--navy);text-decoration:none;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 13px}
#dlg .pdf-links a:hover{border-color:var(--green);color:var(--green2)}
#dlg .form-error{display:none;margin-top:14px;padding:12px 14px;border-radius:10px;background:#fdecec;border:1px solid #f3c1c1;color:#9b2c2c;font-size:13px}
#dlg .form-error.show{display:block}
#dlg iframe{display:block}
#dlg .success{display:none;text-align:center;padding:45px 30px}
#dlg .success.show{display:block}
#dlg .success-icon{width:65px;height:65px;margin:0 auto 15px;border-radius:50%;background:#eaf7ee;color:var(--green);display:grid;place-items:center;font-size:30px;font-weight:900}
#dlg .success h2{color:var(--navy);margin:5px 0;font-size:24px;font-weight:800}
#dlg .success p{color:var(--muted);max-width:650px;margin:10px auto 22px;font-size:14px}
#dlg .office{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:22px}
#dlg .info{background:#fff;border:1px solid var(--line);border-radius:16px;padding:23px}
#dlg .info h3{margin:0 0 7px;color:var(--navy);font-size:18px;font-weight:700}
#dlg .info p{font-size:13px;color:var(--muted);margin:7px 0;line-height:1.6}
#dlg .info .address{color:var(--text);font-weight:600}
@media(max-width:720px){
  #dlg .form{padding:23px 17px}
  #dlg .steps .step{font-size:8px;padding:12px 2px}
  #dlg .step .num{display:block;margin:0 auto 3px;width:24px;height:24px}
  #dlg .grid,#dlg .uploads,#dlg .office{grid-template-columns:1fr}
  #dlg .full{grid-column:auto}
  #dlg .choices{grid-template-columns:1fr}
  #dlg .nav-buttons{margin:28px -17px -23px;padding:18px 17px}
  #dlg .btn{padding:12px 16px}
}