/* ===================================================================
   SPI — Sweet Potato International
   Earthy, Agricultural Corporate (Organic B2B) design system.
   =================================================================== */

:root {
  /* palette */
  --orange: #F15A24;
  --orange-dark: #D64A18;
  --maroon: #6B232D;
  --maroon-dark: #54181F;
  --terracotta: #C86432;
  --cream: #FBF5EE;
  --cream-soft: #FDF8F3;
  --white: #FFFFFF;
  --text: #3D3028;
  --text-soft: #4A3E3D;
  --text-body: #5C4F47;
  --text-muted: #6B6058;
  --taupe: #8C827A;
  --green: #487A2B;
  --border: #F2E7DA;
  --border-soft: #EFE1D2;
  --tile: #F3E7DA;
  --peach: #FDF0E7;
  --peach-chip: #FFCBA4;

  --header-h: 76px;
  --max: 1240px;
  --font-head: 'Alexandria', 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: clamp(16px, 4vw, 24px); }

/* language visibility: default document lang is ar; toggled via html[data-lang] */
[data-en] { display: none; }
html[data-lang="en"] [data-ar] { display: none; }
html[data-lang="en"] [data-en] { display: inline; }
html[data-lang="en"] [data-en].block { display: block; }
[data-ar].block, [data-ar].flex { display: block; }
html[data-lang="en"] [data-en].flex { display: flex; }

/* =========================== buttons ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 700; padding: 15px 28px; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 14px 28px -14px rgba(241,90,36,.85); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-dark); color: var(--white); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: var(--white); color: var(--maroon); }
.btn-outline { background: var(--white); color: var(--maroon); border: 1.5px solid var(--border-soft); }
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-outline-dark { background: transparent; color: var(--peach-chip); border: 1.5px solid rgba(255,203,164,.6); }
.btn-outline-dark:hover { background: rgba(255,203,164,.14); }
.btn-white { background: var(--white); color: var(--maroon); }
.btn-white:hover { background: var(--cream); color: var(--terracotta); }

/* ============================ header ============================= */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--maroon); color: var(--white);
  box-shadow: 0 10px 28px -20px rgba(43,26,20,.75); font-family: var(--font-body); }
.site-header .bar { max-width: var(--max); margin: 0 auto; padding: 12px clamp(14px,4vw,24px);
  display: flex; align-items: center; gap: 10px 16px; }
.site-header .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white);
  flex: 0 0 auto; transition: opacity .25s ease; }
.site-header .brand:hover { opacity: .82; }
.site-header .brand img { height: 40px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px 4px; flex-wrap: wrap;
  flex: 1 1 auto; min-width: 0; margin-inline-start: auto; }
.site-nav a { text-decoration: none; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 500;
  padding: 9px 12px; border-radius: 999px; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.site-nav a:hover { background: rgba(255,255,255,.14); color: var(--white); }
.site-nav a.active { color: var(--white); background: rgba(255,255,255,.16); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-inline-start: auto; }
.lang-btn { background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: var(--white); font-size: 13px;
  font-weight: 600; letter-spacing: .02em; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s ease; }
.lang-btn:hover { background: rgba(255,255,255,.12); }
.header-cta { background: var(--orange); color: var(--white); font-size: 14px; font-weight: 700; padding: 11px 20px;
  border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(241,90,36,.9); text-decoration: none; transition: background .2s ease; }
.header-cta:hover { background: var(--orange-dark); color: var(--white); }
.burger { display: none; width: 46px; height: 44px; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: transparent; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; cursor: pointer; padding: 0; flex: 0 0 auto; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .26s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer { display: none; grid-template-columns: 1fr; gap: 4px; max-height: 0; overflow: hidden; opacity: 0; padding: 0 clamp(14px,4vw,24px);
  transition: max-height .34s ease, opacity .24s ease, padding .34s ease; border-top: 1px solid transparent; }
.drawer.open { max-height: 600px; opacity: 1; padding: 6px clamp(14px,4vw,24px) 18px; border-top: 1px solid rgba(255,255,255,.16); }
.drawer a, .drawer button { text-decoration: none; display: block; width: 100%; text-align: start; color: rgba(255,255,255,.82);
  background: transparent; border: none; font-size: 16px; font-weight: 500; padding: 14px 16px; border-radius: 16px; font-family: inherit; cursor: pointer; }
.drawer a.active { color: var(--white); background: rgba(255,255,255,.16); font-weight: 700; }
.drawer .drawer-cta { background: var(--orange); color: var(--white); font-weight: 700; text-align: center; border-radius: 16px; margin-top: 2px; padding: 15px 18px; }
.drawer .drawer-lang { margin-top: 6px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 16px; font-size: 15px; font-weight: 600; }

@media (max-width: 940px) {
  .site-nav, .lang-btn, .header-cta { display: none; }
  .burger { display: flex; }
  .drawer { display: grid; }
}

/* ============================ footer ============================= */
.site-footer { font-family: var(--font-body); }
.footer-help { background: var(--cream); padding: clamp(32px,7vw,56px) clamp(16px,4vw,24px); }
.footer-help-card { max-width: var(--max); margin: 0 auto; background: var(--maroon); border-radius: 36px;
  padding: clamp(26px,6vw,48px) clamp(18px,5vw,56px); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr));
  gap: clamp(22px,4.5vw,32px); align-items: center; box-shadow: 0 30px 60px -34px rgba(107,35,45,.6); }
.footer-help-card .eyebrow { color: #F5B49A; font-size: 26px; font-family: var(--font-head); line-height: 1; }
.footer-help-card h3 { margin: 20px 0 8px; font-size: clamp(19px,5.4vw,30px); line-height: 1.34; font-weight: 800; color: var(--white); }
.footer-help-card p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 46ch; }
.footer-help-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-help-actions .btn-primary { box-shadow: 0 14px 28px -18px rgba(0,0,0,.6); }
.footer-help-actions span { font-size: 13.5px; color: rgba(255,255,255,.7); }

.footer-main { background: var(--orange); color: var(--white); padding: clamp(32px,7vw,56px) clamp(16px,4vw,24px) clamp(32px,7vw,28px); }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: clamp(22px,4.5vw,40px); }
.footer-cols img.footer-logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer-cols p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; max-width: 40ch; color: rgba(255,255,255,.92); }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.footer-cols a { color: var(--white); }
.footer-cols a:hover { text-decoration: underline; color: var(--white); }
.footer-bottom { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.28);
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.88); }

/* ============================= layout ============================ */
.section { padding: clamp(32px,7vw,80px) clamp(16px,4vw,24px); }
.section-tight-b { padding-bottom: clamp(20px,4vw,24px); }
.eyebrow { font-family: var(--font-head); font-size: 26px; color: var(--terracotta); line-height: 1; }
.eyebrow-lg { font-size: clamp(19px,5.4vw,30px); }
.eyebrow-white { color: #F5B49A; }
.eyebrow-peach { color: var(--peach-chip); }
h2.h-section { margin: 20px 0 14px; font-size: clamp(25px,5.4vw,40px); line-height: 1.34; font-weight: 800; color: var(--maroon); text-wrap: pretty; }
.lede { font-size: 18px; line-height: 1.75; color: var(--text-soft); font-weight: 600; }
.body-text { font-size: 16px; line-height: 1.8; color: var(--text-body); }

.grid { display: grid; gap: 20px; }
.grid-auto-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.grid-auto-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-auto-fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* card corner-curve utilities (asymmetric per design decisions) */
.curve-tr-bl-80 { border-radius: 0 80px 0 80px; }
.curve-tr-50 { border-radius: 0 50px 0 0; }
.curve-arch { border-radius: 300px 300px 32px 32px; }
.curve-arch-rev { border-radius: 32px 32px 240px 240px; }
.curve-20 { border-radius: 20px; }

.card {
  background: var(--white); border-radius: 0 80px 0 80px; padding: 28px 26px;
  box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 26px 50px -44px rgba(61,48,40,.4);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(61,48,40,.35); }
.card-flat { border-radius: 24px; padding: 26px; border: 1.5px solid var(--border); background: var(--white); box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: none; }
.card-plain { border-radius: 24px; padding: 26px; background: var(--white); box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 26px 50px -42px rgba(61,48,40,.4); }

.icon-badge { width: 46px; height: 46px; border-radius: 14px; background: var(--peach); display: flex; align-items: center;
  justify-content: center; flex: 0 0 auto; }
.icon-badge svg { stroke: var(--terracotta); }
.icon-badge.on-dark { background: rgba(255,255,255,.14); border: 1px solid rgba(255,203,164,.4); }
.icon-badge.on-dark svg { stroke: var(--peach-chip); }
.icon-badge.sm { width: 34px; height: 34px; border-radius: 10px; }
.check-dot { flex: 0 0 auto; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--peach);
  display: flex; align-items: center; justify-content: center; }
.check-dot svg { stroke: var(--orange); }
.check-dot.green { background: #EAF1E3; }
.check-dot.green svg { stroke: var(--green); }

.point-row { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(61,48,40,.05); transition: transform .3s ease, box-shadow .3s ease; }
.point-row:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(61,48,40,.25); }
.point-row span.txt { font-size: 15px; line-height: 1.65; color: var(--text-soft); }

.stat-chip { background: var(--peach); border: 1px solid #F3DCC9; border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 700; color: var(--terracotta); }

.tile-photo { border-radius: 0 80px 0 80px; overflow: hidden; background: var(--tile); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================= hero (home) ============================= */
.hero { position: relative; width: 100%; overflow: hidden; min-height: calc(100dvh - var(--header-h)); background: var(--text);
  display: flex; align-items: center; justify-content: center; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1); pointer-events: none;
  transition: opacity 1200ms cubic-bezier(.4,0,.2,1), transform 6500ms cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.hero-slide.active { opacity: 1; transform: scale(1.06); pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,26,20,.34) 0%, rgba(43,26,20,.52) 50%, rgba(43,26,20,.72) 100%); pointer-events: none; }
.hero-content { position: relative; padding: clamp(28px,4.5vh,72px) clamp(24px,5vw,72px) clamp(64px,9vh,104px); width: 100%;
  max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-content .eyebrow { font-size: clamp(14px,1.15vw,17px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--peach-chip); line-height: 1.4; }
.hero-content h1 { margin: clamp(14px,2.4vh,26px) 0 clamp(14px,2.4vh,24px); font-size: clamp(32px,4.6vw,58px); line-height: 1.18; letter-spacing: -.015em; font-weight: 800; color: var(--white); text-wrap: balance; max-width: 22ch; }
.hero-content .sub1 { margin: 0 0 clamp(10px,1.6vh,16px); font-size: clamp(16px,1.7vw,19px); line-height: 1.8; color: #F6E8DC; max-width: 54ch; text-wrap: pretty; }
.hero-content .sub2 { margin: 0 0 clamp(20px,3.4vh,34px); font-size: clamp(14px,1.45vw,16px); line-height: 1.85; color: #E0CDBE; max-width: 58ch; text-wrap: pretty; }
.hero-content .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-badge { margin-top: clamp(14px,2.2vh,22px); display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.96);
  border-radius: 999px; padding: 12px 20px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.5); }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.hero-badge span.txt { font-size: 14px; font-weight: 600; color: var(--text); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: none;
  cursor: pointer; background: rgba(255,255,255,.88); color: var(--maroon); font-size: 20px; font-weight: 700; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); transition: background .3s ease, opacity .3s ease; opacity: .85; z-index: 2; }
.hero-arrow:hover { background: var(--white); opacity: 1; }
.hero-arrow.prev { inset-inline-start: 20px; }
.hero-arrow.next { inset-inline-end: 20px; }
.hero-dots { position: absolute; inset-inline: 0; bottom: clamp(18px,3vh,30px); display: flex; gap: 9px; justify-content: center; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px; cursor: pointer; background: rgba(255,255,255,.75);
  box-shadow: 0 2px 6px rgba(61,48,40,.35); transition: width .42s cubic-bezier(.4,0,.2,1), background .42s ease; }
.hero-dots button.active { width: 30px; background: var(--orange); }
@media (max-width: 720px) { .hero-arrow { display: none; } }

/* ============================= misc sections ============================= */
.band-maroon { background: var(--maroon); color: var(--white); }
.band-cream { background: var(--cream-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-dark { background: var(--text); }
.closing-card { max-width: var(--max); margin: 0 auto; background: var(--text); border-radius: 36px; padding: clamp(26px,6vw,66px) clamp(18px,5vw,56px);
  text-align: center; box-shadow: 0 34px 70px -44px rgba(61,48,40,.6); }

.knowledge-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,203,164,.35); border-radius: 0 80px 0 80px; padding: 24px 22px;
  transition: transform .35s ease, background .35s ease, border-color .35s ease; }
.knowledge-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); border-color: rgba(255,203,164,.6); }
.knowledge-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--peach-chip); }
.knowledge-card p { font-size: 15px; line-height: 1.7; color: #F6E8DC; }

.mach-line { display: flex; gap: 14px; align-items: flex-start; border-inline-start: 3px solid var(--orange); padding: 4px 16px; }

.split-panel { max-width: var(--max); margin: 0 auto; background: var(--white); border-radius: 36px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 30px 60px -44px rgba(61,48,40,.45); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); }
.split-panel .text-side { padding: clamp(26px,6vw,48px) clamp(18px,5vw,44px); }
.split-panel .photo-side { background: var(--tile); min-height: clamp(220px,46vw,520px); border-radius: 0 80px 0 80px; overflow: hidden; }
.split-panel .photo-side img { width: 100%; height: 100%; object-fit: cover; }

.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--peach); color: var(--terracotta); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; }
.badge-pill-solid { display: inline-flex; align-items: center; background: var(--maroon); color: var(--white); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 800; letter-spacing: .06em; }

/* ============================= flesh cards ============================= */
.flesh-card { background: var(--white); border-radius: 0 80px 0 80px; padding: 18px; box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 26px 50px -40px rgba(61,48,40,.4);
  transition: transform .35s ease, box-shadow .35s ease; }
.flesh-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(61,48,40,.35); }
.flesh-card .photo { border-radius: 0 80px 0 80px; overflow: hidden; height: 250px; background: var(--tile); }
.flesh-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flesh-card .row { display: flex; align-items: center; gap: 10px; margin: 18px 4px 0; }
.flesh-card .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(61,48,40,.15); flex: 0 0 auto; }
.flesh-card .name { font-size: 21px; font-weight: 800; color: var(--text); }
.flesh-card p { margin: 10px 4px 6px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ============================= facts / process ============================= */
.fact-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 24px; padding: 26px; }
.fact-card .big { font-family: var(--font-head); font-size: clamp(19px,5.4vw,30px); font-weight: 800; color: var(--orange); line-height: 1.2; }
.fact-card .label { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--text-body); }

.step-card { background: var(--white); border-radius: 24px; padding: 26px; box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 26px 50px -42px rgba(61,48,40,.4); }
.step-card .n { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--terracotta); }
.step-card h3 { margin: 16px 0 8px; font-size: 20px; font-weight: 800; color: var(--text); }
.step-card p { font-size: 15px; line-height: 1.7; color: var(--text-body); }

.tech-card { background: var(--white); border-radius: 28px; padding: clamp(20px,5vw,30px); box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 26px 50px -42px rgba(61,48,40,.4); }
.tech-card .kicker { font-family: var(--font-head); font-size: 24px; color: var(--terracotta); }
.tech-card h3 { margin: 18px 0 10px; font-size: 21px; font-weight: 800; color: var(--text); }
.tech-card p { font-size: 15.5px; line-height: 1.7; color: var(--text-body); }

.quality-panel { background: var(--maroon); color: var(--cream); border-radius: 32px; padding: clamp(20px,5vw,38px); }
.quality-panel .eyebrow { color: #F0B27A; }
.quality-panel h2 { margin: 20px 0 18px; font-size: 26px; line-height: 1.3; font-weight: 800; color: var(--white); }
.quality-panel p.lede { color: #F5E3D4; font-size: 16px; font-weight: 400; }
.quality-list { display: grid; gap: 12px; margin-top: 18px; }
.quality-list .item { display: flex; gap: 12px; align-items: flex-start; }
.quality-list .bullet { width: 7px; height: 7px; border-radius: 999px; background: #F0B27A; margin-top: 9px; flex: 0 0 auto; }
.quality-list .txt { font-size: 15.5px; line-height: 1.65; color: #F7EAE0; }

/* ============================= filter chips (varieties) ============================= */
.filter-bar { max-width: var(--max); margin: 0 auto; background: var(--white); border-radius: 26px; padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 24px 46px -38px rgba(61,48,40,.4); display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; }
.filter-group { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-group .flabel { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.chip { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 9px 16px; border-radius: 999px; line-height: 1.2;
  white-space: nowrap; border: 1.5px solid var(--border-soft); background: var(--cream); color: var(--text-soft); transition: background .16s ease, color .16s ease, border-color .16s ease; }
.chip:hover { background: #F6E8DA; border-color: #DCBFA4; color: var(--maroon); }
.chip.on { border-color: var(--terracotta); background: var(--terracotta); color: var(--white); box-shadow: 0 8px 18px -12px rgba(200,100,50,.9); }
.chip.on:hover { background: #B4562A; border-color: #B4562A; color: var(--white); }
.count-label { margin-inline-start: auto; font-size: 14px; color: var(--taupe); }

/* ============================= variety cards ============================= */
.variety-card { background: var(--white); border-radius: 28px; padding: 18px; box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 26px 50px -42px rgba(61,48,40,.4);
  transition: transform .35s ease, box-shadow .35s ease; }
.variety-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(61,48,40,.35); }
.variety-card .photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--tile); }
.variety-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.variety-card .head { display: flex; align-items: center; gap: 10px; margin: 16px 4px 0; flex-wrap: wrap; }
.variety-card h3 { margin: 0; font-size: 21px; font-weight: 800; color: var(--text); }
.variety-card h3 a { color: inherit; }
.variety-card h3 a:hover { color: var(--terracotta); }
.flesh-chip { border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; }
.flesh-chip.orange { background: #FDEFE3; color: #C05616; }
.flesh-chip.white { background: #F6F2EC; color: #6B6058; }
.flesh-chip.purple { background: #F1E9F4; color: #6B3C7A; }
.variety-card .license { margin: 6px 4px 0; font-size: 13px; font-weight: 600; color: var(--taupe); }
.variety-card .note { margin: 12px 4px 14px; font-size: 15px; line-height: 1.65; color: var(--text-body); }
.variety-card .specs { display: grid; gap: 8px; margin: 0 4px 14px; }
.variety-card .specs .row { display: flex; gap: 8px; font-size: 14px; color: var(--text-soft); }
.variety-card .specs .row .k { color: var(--taupe); min-width: 74px; }
.variety-card .strengths { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 4px 16px; }
.strength-chip { background: #EEF5E8; color: #3C6622; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.variety-card .details-link { display: block; text-align: center; margin: 0 4px; background: var(--cream-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 13px 18px; font-size: 14.5px; font-weight: 700; color: var(--maroon); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.variety-card .details-link:hover { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

/* ============================= disease matrix ============================= */
.matrix-wrap { background: var(--white); border-radius: 28px; padding: 8px; box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 26px 50px -42px rgba(61,48,40,.4); overflow-x: auto; }
table.matrix { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 820px; }
table.matrix th, table.matrix td { text-align: start; }
table.matrix thead th { padding: 16px 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; border-bottom: 1.5px solid var(--border); vertical-align: bottom; }
table.matrix thead th:first-child { padding: 16px 14px; color: var(--taupe); text-transform: uppercase; }
table.matrix tbody th { padding: 14px; font-size: 15px; font-weight: 700; color: var(--text); border-bottom: 1px solid #F7EEE4; white-space: nowrap; }
table.matrix tbody td { padding: 12px; border-bottom: 1px solid #F7EEE4; }
.trait-pill { display: inline-block; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.trait-pill.na { color: #C9BEB4; font-size: 13px; background: none; padding: 0; }
.rating-HR { background: #DFEED4; color: #2F5419; }
.rating-R { background: #EEF5E8; color: #3C6622; }
.rating-MR { background: #FDF0E0; color: #9A6318; }
.rating-S { background: #FBE9E7; color: #A8382A; }
.rating-HS { background: #F6DAD6; color: #8C2A1E; }
.matrix-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.matrix-legend .item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.matrix-legend .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ============================= variety detail ============================= */
.variety-subnav { background: var(--cream-soft); border-bottom: 1px solid var(--border); padding: clamp(14px,3vw,16px) clamp(16px,4vw,24px); }
.variety-subnav .row { max-width: var(--max); margin: 0 auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.back-chip { font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--taupe); padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); white-space: nowrap; transition: color .25s ease, border-color .25s ease; }
.back-chip:hover { color: var(--terracotta); border-color: var(--orange); }
.variety-switch { text-decoration: none; font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--border); background: var(--white); color: var(--text-soft); }
.variety-switch.active { border-color: var(--maroon); background: var(--maroon); color: var(--white); }
.variety-switch:hover:not(.active) { border-color: var(--orange); color: var(--terracotta); }

.vd-hero { background: var(--maroon); color: var(--white); padding: clamp(32px,7vw,48px) clamp(16px,4vw,24px) clamp(32px,7vw,56px); }
.vd-hero .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%,320px),1fr)); align-items: center; }
.vd-hero h1 { margin: 20px 0 4px; font-size: clamp(27px,5.4vw,44px); line-height: 1.34; font-weight: 800; }
.vd-hero .latin { font-size: 17px; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.72); }
.vd-hero .chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 22px; }
.vd-hero .chip-light { background: rgba(255,255,255,.12); color: var(--white); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; }
.vd-hero p.note { margin: 0 0 24px; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.84); max-width: 54ch; }
.vd-hero .kv { display: grid; gap: 1px; background: rgba(255,255,255,.16); border-radius: 18px; overflow: hidden; max-width: 560px; }
.vd-hero .kv .r { display: flex; gap: 14px; background: var(--maroon); padding: 14px 18px; }
.vd-hero .kv .r .k { font-size: 14px; color: rgba(255,255,255,.6); min-width: 110px; }
.vd-hero .kv .r .v { font-size: 15px; font-weight: 600; }
.vd-hero .photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1/1; background: rgba(255,255,255,.08); }
.vd-hero .photo img { width: 100%; height: 100%; object-fit: cover; }

.vd-gallery-fig { margin: 0; background: var(--white); border-radius: 22px; padding: 12px; box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 22px 44px -40px rgba(61,48,40,.4); }
.vd-gallery-fig .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 1/1; background: var(--tile); }
.vd-gallery-fig .photo img { width: 100%; height: 100%; object-fit: cover; }
.vd-gallery-fig figcaption { margin: 12px 6px 4px; font-size: 14px; font-weight: 700; color: var(--text-soft); }

.res-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cream-soft);
  border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
.res-row .label { font-size: 14.5px; font-weight: 600; color: var(--text-soft); line-height: 1.4; }
.res-pill { border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.res-pill.na { background: #F3EDE6; color: var(--taupe); }

.agro-card { background: var(--white); border-radius: 20px; padding: 20px; box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 20px 40px -38px rgba(61,48,40,.4); }
.agro-card .label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.agro-card .value { margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--text); }

table.simple { width: 100%; border-collapse: collapse; min-width: 680px; }
table.simple thead th { text-align: start; padding: 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); border-bottom: 1.5px solid var(--border); }
table.simple tbody th { text-align: start; padding: 16px; font-size: 15px; font-weight: 700; color: var(--text); border-bottom: 1px solid #F7EEE4; vertical-align: top; }
table.simple tbody td { padding: 16px; font-size: 15px; line-height: 1.6; color: var(--text-body); border-bottom: 1px solid #F7EEE4; }
table.simple tbody td.rate { font-weight: 600; color: #3C6622; white-space: nowrap; }

.prot-row { background: var(--white); border-radius: 22px; padding: clamp(16px,4vw,22px) clamp(16px,4vw,24px);
  box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 22px 44px -40px rgba(61,48,40,.4); display: grid; grid-template-columns: minmax(180px,260px) 1fr; gap: 20px; align-items: start; }
.prot-row .target { font-size: 16.5px; font-weight: 800; color: var(--maroon); line-height: 1.4; }
.prot-row .action { font-size: 15.5px; line-height: 1.7; color: var(--text-body); }
.disclaimer-box { margin-top: 20px; background: #FDF0E0; border: 1px solid #F3DDBE; border-radius: 20px; padding: clamp(16px,4vw,20px) clamp(16px,4vw,24px);
  font-size: 14.5px; line-height: 1.7; color: #7A5214; }

.prev-next { background: var(--cream-soft); border-top: 1px solid var(--border); padding: clamp(32px,7vw,46px) clamp(16px,4vw,24px) clamp(32px,7vw,56px); }
.prev-next .row { max-width: var(--max); margin: 0 auto; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.pn-link { text-decoration: none; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 16px 22px;
  min-width: min(100%,220px); flex: 1 1 200px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pn-link:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 18px 34px -24px rgba(61,48,40,.5); }
.pn-link.next { text-align: end; }
.pn-link .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.pn-link .name { margin-top: 6px; font-size: 17px; font-weight: 800; color: var(--maroon); }

/* ============================= news ============================= */
.news-lead { max-width: var(--max); margin: 0 auto; background: var(--white); border-radius: 32px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 28px 54px -44px rgba(61,48,40,.45); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); }
.news-lead .photo { background: var(--tile); padding: 14px; }
.news-lead .photo .inner { width: 100%; height: clamp(220px,46vw,380px); border-radius: 26px; overflow: hidden; background: var(--tile); }
.news-lead .photo img { width: 100%; height: 100%; object-fit: cover; }
.news-lead .text { padding: clamp(26px,6vw,44px) clamp(18px,5vw,40px); }
.news-tag { background: var(--orange); color: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; }
.news-tag.soft { background: var(--peach); color: var(--terracotta); }
.news-date { font-size: 13px; color: var(--taupe); }
.news-card { background: var(--white); border-radius: 26px; padding: 18px; box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 24px 46px -40px rgba(61,48,40,.4);
  transition: transform .35s ease, box-shadow .35s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(61,48,40,.35); }
.news-card .photo { border-radius: 18px; overflow: hidden; height: 210px; background: var(--tile); display: flex; align-items: center; justify-content: center; color: var(--taupe); font-size: 13px; text-align: center; padding: 12px; }
.news-card h3 { margin: 0 4px 10px; font-size: 21px; line-height: 1.4; font-weight: 800; color: var(--text); }
.news-card p { margin: 0 4px 8px; font-size: 15px; line-height: 1.65; color: var(--text-body); }

/* ============================= machinery ============================= */
.mach-hero { position: relative; min-height: clamp(220px,46vw,520px); display: flex; align-items: center; background-size: cover; background-position: center; color: var(--white); }
.mach-hero .overlay { position: absolute; inset: 0; background: rgba(107,35,45,.55); }
.mach-hero .inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(32px,7vw,90px) clamp(16px,4vw,24px); }
.mach-hero .box { max-width: 68%; }
.mach-hero .kicker { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: #F3C9A8; }
.mach-hero h1 { margin: 0 0 22px; font-size: clamp(38px,5vw,66px); line-height: 1.34; font-weight: 800; text-wrap: pretty; }
.mach-hero p { margin: 0; max-width: 54ch; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.9); }
@media (max-width: 640px) { .mach-hero .box { max-width: 100%; } }

.mach-card { display: block; border-radius: 0 80px 0 80px; overflow: hidden; background: var(--white); border: 1px solid #E5E8DF;
  color: var(--maroon); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; cursor: pointer; }
.mach-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(61,48,40,.12); border-color: transparent; color: var(--maroon); }
.mach-card .photo { position: relative; height: 290px; overflow: hidden; background: var(--tile); background-size: cover; background-position: center; }
.mach-card .body { padding: clamp(20px,5vw,30px); }
.mach-card .stage { display: block; margin-bottom: 12px; color: #EA5B2A; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.mach-card h3 { margin: 0 0 12px; color: var(--maroon); font-size: 22px; font-weight: 700; line-height: 1.3; }
.mach-card p { margin: 0 0 22px; color: #5D6559; font-size: 14.5px; line-height: 1.75; }
.mach-card .more { display: inline-flex; align-items: center; gap: 10px; color: var(--maroon); font-size: 13px; font-weight: 700; }
.mach-card.wide { grid-column: 1 / -1; }

.mach-detail-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--maroon); font-size: 14px; font-weight: 700;
  text-decoration: none; transition: color .25s ease, gap .25s ease; background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.mach-detail-back:hover { color: var(--orange); gap: 12px; }
.mach-detail-photo { border-radius: 14px; overflow: hidden; background: var(--tile); box-shadow: 0 28px 54px -36px rgba(61,48,40,.45); }
.mach-detail-photo .inner { width: 100%; height: 420px; background-size: cover; background-position: center; }
.mach-detail-stage { display: inline-block; margin-bottom: 14px; background: var(--peach); color: #EA5B2A; border-radius: 999px; padding: 8px 15px; font-size: 12.5px; font-weight: 700; }
.mach-detail h2 { margin: 0 0 8px; color: var(--maroon); font-size: clamp(28px,3.4vw,42px); line-height: 1.34; font-weight: 800; }
.mach-detail .name { margin: 0 0 18px; color: var(--taupe); font-size: 15px; font-weight: 600; }
.mach-detail p.desc { margin: 0 0 26px; color: #5D6559; font-size: 16px; line-height: 1.8; }
.spec-row { display: flex; gap: 14px; align-items: flex-start; background: var(--cream); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }
.spec-row .tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }

.gallery-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { position: relative; flex: 0 0 auto; width: min(460px, 82%); height: clamp(220px,46vw,330px); scroll-snap-align: center; border: 0; padding: 0; margin: 0;
  border-radius: 18px; overflow: hidden; background: var(--tile); cursor: pointer; box-shadow: 0 20px 40px -32px rgba(61,48,40,.6); transition: transform .35s ease, box-shadow .35s ease; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -30px rgba(61,48,40,.6); }
.gallery-item .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gallery-item .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 16px; text-align: start; font-size: 14.5px; font-weight: 700; color: var(--white);
  background: linear-gradient(to top, rgba(61,48,40,.86), rgba(61,48,40,0)); }
.gallery-item .video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; background: rgba(107,35,45,.42); }
.gallery-item .play { width: 68px; height: 68px; border-radius: 50%; background: var(--white); color: var(--maroon); display: flex; align-items: center; justify-content: center; font-size: 22px; padding-inline-start: 4px; }
.gallery-item .pending { background: rgba(255,255,255,.92); color: var(--maroon); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; }
.gallery-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #E5E8DF; background: var(--white); color: var(--maroon); font-size: 18px;
  font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.gallery-arrow:hover { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(28,20,16,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox.hidden { display: none; }
.lightbox-close { position: absolute; top: 22px; inset-inline-end: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14);
  color: var(--white); font-size: 20px; cursor: pointer; transition: background .25s ease, transform .25s ease; }
.lightbox-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
.lightbox-inner { max-width: 1100px; width: 100%; }
.lightbox-inner img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 16px; }
.lightbox-cap { margin-top: 16px; text-align: center; color: rgba(255,255,255,.85); font-size: 15px; font-weight: 600; }

.quote-band { max-width: var(--max); margin: 0 auto; background: var(--maroon); color: var(--white); border-radius: 32px; padding: clamp(20px,5vw,44px);
  display: flex; gap: clamp(22px,4.5vw,30px); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.quote-band h2 { font-size: clamp(20px,5.4vw,32px); font-weight: 800; margin: 0 0 8px; }
.quote-band p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.8); max-width: 56ch; margin: 0; }

/* ============================= contact ============================= */
.contact-form-card { background: var(--white); border-radius: 32px; padding: clamp(20px,5vw,40px); box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 28px 56px -44px rgba(61,48,40,.45); }
.contact-form-card h1 { margin: 20px 0 10px; font-size: clamp(25px,5.4vw,40px); line-height: 1.34; font-weight: 800; color: var(--maroon); }
.contact-form-card > p { margin: 0 0 28px; font-size: 16.5px; line-height: 1.7; color: var(--text-body); max-width: 54ch; }
form.contact-form { display: grid; gap: 16px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr)); gap: 16px; }
label.field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
input, select, textarea { font-family: inherit; width: 100%; min-width: 0; box-sizing: border-box; border: 1.5px solid var(--border-soft);
  background: var(--cream-soft); border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 400; color: var(--text); }
textarea { border-radius: 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; }
input[type="tel"] { direction: ltr; }
.interest-row { display: flex; gap: 10px; flex-wrap: wrap; }
.interest-row .chip { padding: 11px 18px; }
.submit-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.submit-row button[type="submit"] { border: none; cursor: pointer; }
.reply-note { font-size: 14px; color: var(--taupe); }
.direct-card { background: var(--maroon); color: var(--white); border-radius: 28px; padding: clamp(20px,5vw,32px); }
.direct-card .eyebrow { color: #F5B49A; font-size: 25px; }
.direct-card h2 { margin: 20px 0 18px; font-size: 24px; font-weight: 800; }
.direct-card .phones { display: grid; gap: 8px; font-size: 17px; font-weight: 600; direction: ltr; }
.direct-card .phones a { color: var(--white); }
.direct-card .phones a:hover { text-decoration: underline; color: var(--white); }
.direct-card hr { border: none; height: 1px; background: rgba(255,255,255,.22); margin: 20px 0; }
.direct-card .emails { display: grid; gap: 8px; font-size: 15px; }
.direct-card .emails a { color: var(--white); }
.addr-card { background: var(--white); border-radius: 28px; padding: clamp(20px,5vw,30px); box-shadow: 0 2px 10px rgba(61,48,40,.05); }
.addr-card .lbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 12px; }
.addr-card .item .sub { font-size: 13px; font-weight: 700; color: var(--terracotta); margin-bottom: 5px; }
.addr-card .item p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-soft); max-width: 30ch; }
.addr-card .items { display: grid; gap: 16px; margin-bottom: 20px; }
.addr-map { border-radius: 18px; overflow: hidden; height: 190px; background: var(--tile); }
.addr-map img { width: 100%; height: 100%; object-fit: cover; }
.bring-card { background: var(--cream-soft); border: 1.5px solid var(--border); border-radius: 28px; padding: 28px; }
.bring-card .eyebrow { font-size: 24px; }
.bring-card ul { margin: 10px 0 0; padding-inline-start: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.6; color: var(--text-body); }
.bring-card li { list-style: disc; }

/* image placeholder (no real photo assigned yet) */
.img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--tile);
  color: var(--taupe); font-size: 12.5px; line-height: 1.5; text-align: center; padding: 14px; }

/* ============================= scroll reveal =============================
   [data-reveal] elements are visible by default so content never depends on
   JS running. JS adds .reveal-pending (opacity:0) just before observing, then
   swaps in .in to animate — a JS failure simply means no animation, not
   invisible content. */
@keyframes spiReveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
[data-reveal].reveal-pending { opacity: 0; }
[data-reveal].reveal-pending.in { animation: spiReveal 640ms cubic-bezier(.22,.61,.36,1) both; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-pending { opacity: 1; animation: none !important; }
  .hero-slide { transition: opacity 400ms ease !important; }
}

/* ============================= responsive ============================= */
@media (max-width: 720px) {
  .vd-hero .grid, .split-panel, .news-lead { grid-template-columns: 1fr; }
  .prot-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   WordPress theme additions
   Markup that the static build produced with inline styles or JavaScript
   now comes from templates, so the equivalent rules live here.
   ===================================================================== */

/* the language switch is a link to the other language, not a toggle button */
a.lang-btn { display: inline-block; text-align: center; text-decoration: none; }

/* footer bits that were inline styles in the static build */
.footer-phone { font-size: 17px; font-weight: 600; direction: ltr; }
.footer-phone + .footer-phone { margin-top: 6px; }
.footer-social { margin-top: 18px; font-size: 15px; }

/* news cards now carry real images and link through to the story */
.news-card-meta { display: flex; gap: 10px; align-items: center; margin: 16px 4px 10px; }
.news-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--terracotta); }
.news-lead .photo .inner img { width: 100%; height: 100%; object-fit: cover; }

/* single news story */
.news-single { max-width: 78ch; margin: 0 auto; }
.news-single .news-card-meta { margin-inline: 0; }
.news-single h1 { margin: 10px 0 18px; font-size: clamp(27px,5.4vw,44px); line-height: 1.34; font-weight: 800; color: var(--maroon); }
.news-single .hero-photo { border-radius: 28px; overflow: hidden; margin-bottom: 30px; background: var(--tile); aspect-ratio: 16 / 9; }
.news-single .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-body { font-size: 16.5px; line-height: 1.8; color: var(--text-body); }
.news-body p { margin: 0 0 18px; }
.news-body h2, .news-body h3 { margin: 28px 0 12px; color: var(--maroon); }
.news-body ul { margin: 0 0 18px; padding-inline-start: 20px; }
.news-body li { list-style: disc; margin-bottom: 8px; }
.news-body a { text-decoration: underline; }

/* certificates strip on the home page */
.cert-card { background: var(--white); border-radius: 26px; padding: 18px; text-align: center;
  box-shadow: 0 2px 10px rgba(61,48,40,.05), 0 24px 46px -40px rgba(61,48,40,.4);
  border: 1px solid var(--border); }
.cert-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--tile); margin-bottom: 16px; }
.cert-photo img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.cert-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; line-height: 1.4; color: var(--maroon); }
.cert-card p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.65; color: var(--text-body); }
.cert-dates { display: flex; gap: 6px 14px; flex-wrap: wrap; justify-content: center; font-size: 12.5px; color: var(--taupe); }

/* machinery single: the gallery is server rendered, so images sit in <img> */
.gallery-item .bg img { width: 100%; height: 100%; object-fit: cover; }

/* form feedback */
.form-note { margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.form-note.is-error { color: #A8382A; }
.form-note.is-ok { color: var(--green); }
.spi-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pagination */
.spi-pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.spi-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--border); color: var(--text-soft); font-weight: 700; font-size: 14px; }
.spi-pagination .page-numbers:hover { border-color: var(--orange); color: var(--terracotta); }
.spi-pagination .page-numbers.current { background: var(--maroon); border-color: var(--maroon); color: var(--white); }

/* empty states */
.spi-empty { padding: clamp(28px,6vw,56px); text-align: center; color: var(--taupe); font-size: 16px; }

/* oversized display lines that were inline styles in the static build */
.big-count { font-family: var(--font-head); font-size: clamp(29px,5.4vw,46px); font-weight: 600; color: var(--orange); line-height: 1; }
.band-sub { font-family: var(--font-head); font-size: clamp(19px,5.4vw,30px); color: var(--terracotta); margin-bottom: 18px; }

/* about page: rules for markup that the static build wrote inline */
.about-h1 { margin: 20px 0 18px; font-size: clamp(29px,5.4vw,46px); line-height: 1.34; font-weight: 800; color: var(--maroon); }
.lede-strong { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--maroon); font-weight: 600; max-width: 58ch; }
.about-figure { overflow: hidden; height: clamp(220px,46vw,500px); background: var(--tile); box-shadow: 0 40px 70px -42px rgba(61,48,40,.45); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.curve-arch-rev.about-figure { height: clamp(220px,46vw,460px); box-shadow: 0 34px 60px -40px rgba(61,48,40,.4); }

.about-band { display: flex; flex-wrap: wrap; gap: 18px; }
.about-band-item { flex: 2 1 260px; min-width: 0; border-radius: 32px; overflow: hidden; height: clamp(220px,46vw,420px); background: var(--tile); }
.about-band-item.is-wide { flex: 3 1 340px; }
.about-band-item img { width: 100%; height: 100%; object-fit: cover; }

.about-tech-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 22px; }
.about-qa-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: clamp(22px,4.5vw,40px); }
.about-qa-photo { border-radius: 32px; overflow: hidden; height: 100%; min-height: clamp(220px,46vw,380px); background: var(--tile); }
.about-qa-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-close-h2 { margin: 6px auto 14px; font-size: clamp(24px,5.4vw,38px); line-height: 1.4; font-weight: 800; color: var(--maroon); max-width: 22ch; }
.about-close-body { margin: 0 auto 28px; font-size: 18px; line-height: 1.7; color: var(--text-body); max-width: 60ch; }

/* contact form: label above the interest chips */
.field-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }

/* archive heroes and the varieties help panel */
.archive-h1 { margin: 20px 0 14px; font-size: clamp(29px,5.4vw,46px); line-height: 1.34; font-weight: 800; max-width: 22ch; }
.archive-intro { margin: 0; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.8); max-width: 62ch; }
.matrix-note { margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: var(--taupe); max-width: 70ch; }
.matrix th a { color: inherit; }
.matrix th a:hover { color: var(--terracotta); }
.help-panel { display: flex; gap: clamp(22px,4.5vw,30px); align-items: center; justify-content: space-between;
  flex-wrap: wrap; padding: clamp(20px,5vw,44px); }
.help-panel-h2 { margin: 20px 0 8px; font-size: clamp(20px,5.4vw,32px); font-weight: 800; color: var(--maroon); }
.help-panel-body { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-body); max-width: 56ch; }

/* single variety: panel headings and the variety switcher row */
.panel-h2 { margin: 0 0 6px; font-size: clamp(20px,5.4vw,32px); font-weight: 800; color: var(--maroon); }
.variety-switcher { display: flex; gap: 10px; flex-wrap: wrap; }

/* single machine: the detail block now has its own page */
.mach-detail-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: clamp(22px,4.5vw,48px); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.gallery-kicker { display: block; margin-bottom: 10px; color: #EA5B2A; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.gallery-h3 { margin: 0; color: var(--maroon); font-size: clamp(24px,2.6vw,34px); font-weight: 800; line-height: 1.4; }

/* news archive headings */
.news-archive-h1 { margin: 20px 0 12px; font-size: clamp(29px,5.4vw,46px); line-height: 1.34; font-weight: 800; color: var(--maroon); }
.news-lead-h2 { margin: 0 0 12px; font-size: clamp(20px,5.4vw,32px); line-height: 1.34; font-weight: 800; color: var(--maroon); }
.news-lead-h2 a { color: inherit; }
.news-lead-h2 a:hover { color: var(--terracotta); }
.news-lead-body { margin: 0 0 22px; font-size: 16.5px; line-height: 1.7; color: var(--text-body); }
a.news-tag { color: var(--white); }
a.news-tag:hover { color: var(--white); opacity: .85; }
.news-single .back-chip { display: inline-block; margin-bottom: 18px; }

/* =====================================================================
   v2 header — white bar, maroon accents (replaces the maroon v1 header)
   ===================================================================== */
#site-header header {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF; color: var(--text);
  box-shadow: 0 10px 28px -22px rgba(43,26,20,.35);
  border-bottom: 1px solid rgba(107,35,45,.12);
}
.hdr-row { max-width: var(--max); margin: 0 auto; padding: 12px clamp(14px,4vw,24px); display: flex; align-items: center; gap: 10px 16px; }
.hdr-logo { display: flex; align-items: center; flex: 0 0 auto; transition: opacity .25s ease; }
.hdr-logo:hover { opacity: .82; }
.hdr-logo img { height: clamp(36px,9vw,46px); width: auto; display: block; }
.hdr-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px 4px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; margin-inline-start: auto; }
.hdr-nav a { font-size: 15px; font-weight: 500; padding: 9px 12px; border-radius: 999px; white-space: nowrap; color: rgba(61,48,40,.74); transition: background .2s ease, color .2s ease; }
.hdr-nav a:hover { background: rgba(107,35,45,.09); color: var(--maroon); }
.hdr-nav a.active { color: var(--maroon); background: rgba(107,35,45,.10); font-weight: 700; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-inline-start: auto; }

/* the v1 rule paints this for a maroon bar; on white it needs maroon ink */
.lang-btn, a.lang-btn {
  background: transparent; border: 1.5px solid rgba(107,35,45,.32); color: var(--maroon);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.lang-btn:hover, a.lang-btn:hover { background: rgba(107,35,45,.08); color: var(--maroon); }

.hdr-cta { background: var(--orange); color: var(--white); font-size: 14px; font-weight: 700; padding: 11px 20px;
  border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(241,90,36,.9); transition: background .2s ease; }
.hdr-cta:hover { background: var(--orange-dark); color: var(--white); }

.hdr-burger { width: 46px; height: 44px; display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: transparent; border: 1.5px solid rgba(107,35,45,.32); border-radius: 14px; cursor: pointer; padding: 0; flex: 0 0 auto; }
.hdr-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--maroon); transition: transform .26s ease, opacity .2s ease; }
.hdr-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr-burger.open span:nth-child(2) { opacity: 0; }
.hdr-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hdr-drawer { display: none; grid-template-columns: 1fr; gap: 4px; padding: 0 clamp(14px,4vw,24px); max-height: 0; overflow: hidden;
  opacity: 0; transition: max-height .34s ease, opacity .24s ease, padding .34s ease; border-top: 1px solid transparent; }
.hdr-drawer a, .hdr-drawer button { text-decoration: none; display: block; color: rgba(61,48,40,.8); font-size: 16px; font-weight: 500;
  padding: 14px 16px; border-radius: 16px; text-align: start; background: transparent; border: none; cursor: pointer; width: 100%; }
.hdr-drawer a.active { color: var(--maroon); background: rgba(107,35,45,.10); font-weight: 700; }
.hdr-drawer .drawer-cta { background: var(--orange); color: var(--white); font-size: 16px; font-weight: 700; padding: 15px 18px; border-radius: 16px; text-align: center; margin-top: 2px; }
.hdr-drawer .drawer-lang { margin-top: 6px; border: 1.5px solid rgba(107,35,45,.32); color: var(--maroon); font-size: 15px; font-weight: 600; padding: 13px 16px; border-radius: 16px; }
.hdr-drawer.open { max-height: 600px; opacity: 1; padding: 6px clamp(14px,4vw,24px) 18px; border-top: 1px solid rgba(107,35,45,.14); display: grid; }

@media (max-width: 939px) {
  .hdr-nav, .lang-btn, .hdr-cta.desktop-cta { display: none; }
  .hdr-burger { display: flex; }
}
@media (min-width: 940px) {
  .hdr-drawer { display: none !important; }
}

/* =====================================================================
   v2 footer — cream band, overlapping WhatsApp card, orange columns
   ===================================================================== */
.ft-top { background: #EFE3D8; padding: clamp(28px,6vw,48px) clamp(16px,4vw,24px) 0; }
.ft-top-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap;
  gap: clamp(18px,4vw,40px); align-items: center; justify-content: space-between; padding: 0 clamp(0px,3vw,56px); }
.ft-join { max-width: 62ch; font-size: clamp(19px,3.4vw,26px); line-height: 1.34; font-weight: 800; color: var(--maroon); text-wrap: pretty; }

.ft-cta-wrap { max-width: var(--max); margin: clamp(26px,5vw,40px) auto clamp(-100px,-9vw,-56px);
  padding: 0 clamp(0px,3vw,24px); position: relative; z-index: 2; }
.ft-cta { background: var(--maroon); border-radius: 22px; padding: clamp(26px,5vw,48px) clamp(20px,5vw,64px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: clamp(22px,4vw,48px); align-items: center; }
.ft-cta h3 { margin: 0 0 12px; font-family: var(--font-head); font-size: clamp(24px,4.4vw,42px); line-height: 1.16; font-weight: 800; color: var(--white); text-wrap: pretty; }
.ft-cta p { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.92); max-width: 46ch; text-wrap: pretty; }
.ft-cta-action { display: flex; justify-content: flex-end; }
.ft-wa { display: inline-flex; align-items: center; gap: 12px; background: var(--white); color: #3A1A1E;
  border-radius: 999px; padding: 16px 30px; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .25s ease; }
.ft-wa:hover { color: #3A1A1E; transform: translateY(-2px); }

.ft-main { background: var(--orange); color: var(--white); padding: clamp(136px,17vw,168px) clamp(16px,4vw,24px) clamp(24px,5vw,28px); }
.ft-cols { max-width: var(--max); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: clamp(22px,4.5vw,40px); }
.ft-logo { height: 54px; width: auto; display: block; margin-bottom: 18px; }
.ft-brand p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; max-width: 40ch; color: rgba(255,255,255,.92); }
.ft-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #3A1A1E; margin-bottom: 20px; }
.ft-links { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; }
.ft-links a { color: var(--white); }
.ft-links a:hover { color: var(--white); text-decoration: underline; }
.ft-links span { line-height: 1.6; max-width: 26ch; }
.ft-links a.ft-email { word-break: break-all; }
.ft-links a.ft-phone { font-weight: 600; direction: ltr; }

.ft-bottom { max-width: var(--max); margin: clamp(30px,6vw,48px) auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.45); display: flex; gap: 18px; flex-wrap: wrap;
  align-items: center; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.92); }
.ft-social { display: flex; gap: 22px; align-items: center; }
.ft-social a { color: var(--white); display: inline-flex; transition: opacity .2s ease; }
.ft-social a:hover { color: var(--white); opacity: .75; }

/* =====================================================================
   v2 certifications strip — name badges
   ===================================================================== */
.cert-band { background: var(--cream-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: clamp(32px,7vw,78px) 0; margin-bottom: clamp(32px,7vw,80px); }
.cert-intro { max-width: 62ch; margin-bottom: clamp(28px,5vw,48px); }
.cert-eyebrow { font-family: var(--font-head); font-size: clamp(19px,5.4vw,30px); color: var(--terracotta); line-height: 1; }
.cert-band h2 { margin: 20px 0 14px; font-size: clamp(24px,5.4vw,38px); line-height: 1.34; font-weight: 800; color: var(--maroon); }
.cert-intro p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--text-body); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); gap: 16px; }
.badge-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transition: transform .35s ease, box-shadow .35s ease; }
.badge-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(61,48,40,.35); }
/* text stands in only for a certificate with no logo uploaded yet */
.badge-card span { font-size: 13px; font-weight: 700; color: var(--maroon); line-height: 1.4; min-height: 68px; display: flex; align-items: center; }
.badge-card img { height: 68px; width: auto; max-width: 100%; object-fit: contain; }
