/* Yaveon 365 for Food & Beverage: dedicated layout for solution.html?slug=yaveon.
   Content and layout sourced directly from the 28 template images in yaveon_FoodandBeverage.
   Design system follows Balas Technologies: Arial typography, curated palette, Phosphor icons. */

.yvn {
  --yvn-navy: #0a2940;
  --yvn-blue: #008fca;
  --yvn-cyan: #22c55e;
  --yvn-accent: #10b981;
  --yvn-highlight: #14b8a6;
  --yvn-dark: #061f30;
  --yvn-dark-card: #0d2b45;
  --yvn-light: #f4f8fa;
  --yvn-line: #dbe5ea;
  --yvn-line-dark: #1b3d58;
  --yvn-muted: #617381;
  --yvn-muted-light: #94a8b8;
  --yvn-white: #ffffff;
  font-family: Arial, sans-serif !important;
  color: var(--yvn-navy);
  background: var(--yvn-white);
  font-size: 15px;
  line-height: 1.6;
}

.yvn *, .yvn *::before, .yvn *::after {
  box-sizing: border-box;
  font-family: Arial, sans-serif !important;
}

.yvn p {
  margin: 0;
  color: var(--yvn-muted);
}

.yvn h1, .yvn h2, .yvn h3, .yvn h4 {
  color: var(--yvn-navy);
  font-weight: 700 !important;
  letter-spacing: -0.025em;
  margin: 0;
}

.yvn h1 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.15;
}

.yvn h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
}

.yvn h3 {
  font-size: 21px;
  line-height: 1.3;
}

/* Highlighted words use the Balas primary blue on light and dark sections */
.yvn .yvn-mark {
  background: transparent;
  color: #0097d6;
  font-weight: inherit;
}

.yvn-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.yvn-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.yvn a:focus-visible, .yvn button:focus-visible {
  outline: 3px solid var(--yvn-blue);
  outline-offset: 3px;
}

/* ==========================================================================
   Hero Section (Picture 1)
   ========================================================================== */
.yvn-hero {
  padding: 42px 0 68px;
  background: linear-gradient(135deg, #061f30 0%, #0a2940 55%, #0f3d61 100%);
  color: var(--yvn-white);
  position: relative;
  overflow: hidden;
}

.yvn-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, rgba(10, 41, 64, 0) 70%);
  pointer-events: none;
}

.yvn-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--yvn-muted-light);
}

.yvn-crumbs a {
  color: var(--yvn-muted-light);
  text-decoration: none;
  transition: color 0.2s;
}

.yvn-crumbs a:hover {
  color: var(--yvn-white);
  text-decoration: underline;
}

.yvn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.yvn-hero h1 {
  color: var(--yvn-white);
  margin-bottom: 18px;
}

.yvn-hero .yvn-intro {
  font-size: 17px;
  line-height: 1.6;
  color: #c7d9e5;
  margin-bottom: 24px;
  max-width: 580px;
}

.yvn-hero-checks {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yvn-hero-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #e2edf3;
  line-height: 1.45;
}

.yvn-hero-checks .yvn-icon {
  color: #38bdf8;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.yvn-hero-checks strong {
  color: var(--yvn-white);
}

.yvn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.yvn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.yvn-btn-primary {
  background: var(--yvn-blue);
  color: var(--yvn-white);
  border-color: var(--yvn-blue);
}

.yvn-btn-primary:hover {
  background: #0077aa;
  border-color: #0077aa;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 143, 202, 0.35);
}

.yvn-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--yvn-white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.yvn-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--yvn-white);
  transform: translateY(-2px);
}

.yvn-btn-outline {
  background: transparent;
  color: var(--yvn-navy);
  border-color: var(--yvn-line);
}

.yvn-btn-outline:hover {
  border-color: var(--yvn-blue);
  color: var(--yvn-blue);
  background: #f0f8fc;
}

.yvn-hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #04121d;
}

.yvn-hero-visual img.yvn-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.yvn-award-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 41, 64, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.yvn-award-badge img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.yvn-award-text {
  font-size: 11px;
  line-height: 1.25;
  color: #f1f5f9;
}

.yvn-award-text strong {
  color: #fbbf24;
  display: block;
  font-size: 11.5px;
}

/* ==========================================================================
   Sticky Sub-Navigation Bar (Picture 2)
   ========================================================================== */
.yvn-nav {
  position: sticky;
  top: 77px;
  z-index: 20; /* below the sticky site header (30) so the mega menu stays on top */
  background: #0a2940;
  border-bottom: 1px solid #143a59;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.yvn-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.yvn-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--yvn-white);
  font-weight: 700;
  font-size: 14.5px;
}

.yvn-nav-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(20, 184, 166, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
}

.yvn-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yvn-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c0d3e0;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.yvn-nav-link:hover {
  color: var(--yvn-white);
  background: rgba(255, 255, 255, 0.08);
}

.yvn-nav-link.is-active {
  color: var(--yvn-white);
  background: var(--yvn-blue);
}

/* ==========================================================================
   Section Blocks Common
   ========================================================================== */
.yvn-section {
  padding: 80px 0;
  scroll-margin-top: 60px;
}

.yvn-section-tint {
  background: var(--yvn-light);
}

.yvn-dark-section {
  background: #061f30;
  color: var(--yvn-white);
}

.yvn-dark-section h2, .yvn-dark-section h3 {
  color: var(--yvn-white);
}

.yvn-dark-section p {
  color: #9cb5c7;
}

.yvn-section-head {
  margin-bottom: 40px;
}

.yvn-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yvn-blue);
  margin-bottom: 12px;
}

.yvn-dark-section .yvn-eyebrow {
  color: #38bdf8;
}

/* ==========================================================================
   Benefits Section (Picture 3)
   ========================================================================== */
.yvn-benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
}

.yvn-benefits-head h2 {
  margin-bottom: 18px;
}

.yvn-benefits-head p {
  font-size: 16px;
  line-height: 1.6;
}

.yvn-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yvn-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 26px;
  background: var(--yvn-white);
  border: 1px solid var(--yvn-line);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.yvn-benefit-card:hover {
  transform: translateY(-3px);
  border-color: #8bd0e9;
  box-shadow: 0 10px 25px rgba(10, 41, 64, 0.08);
}

.yvn-benefit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f5fb;
  color: var(--yvn-blue);
  flex-shrink: 0;
}

.yvn-benefit-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.yvn-benefit-card p {
  font-size: 14px;
  line-height: 1.55;
}

/* ==========================================================================
   Industry Segments Section (Picture 4 & Pictures 5-19)
   ========================================================================== */
.yvn-segments-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.yvn-segments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.yvn-segment-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #0d2b45;
  color: #d1e2ee;
  border: 1px solid #1a3f60;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.yvn-segment-btn:hover {
  background: #143a59;
  border-color: #38bdf8;
  color: var(--yvn-white);
  transform: translateY(-1px);
}

.yvn-segment-btn.is-active {
  background: var(--yvn-blue);
  border-color: var(--yvn-blue);
  color: var(--yvn-white);
  box-shadow: 0 4px 14px rgba(0, 143, 202, 0.35);
}

.yvn-segment-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yvn-segment-btn .yvn-icon {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.yvn-segment-btn .yvn-caret {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.yvn-segment-btn.is-active .yvn-caret {
  opacity: 1;
}

/* Active Segment Showcase */
.yvn-showcase {
  background: #0d2b45;
  border: 1px solid #1b3d58;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
  transition: opacity 0.25s ease;
}

.yvn-showcase-copy {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.yvn-showcase-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #38bdf8;
  margin-bottom: 12px;
}

.yvn-showcase h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--yvn-white);
  margin-bottom: 14px;
}

.yvn-showcase .yvn-showcase-lead {
  font-size: 15px;
  line-height: 1.55;
  color: #b8cedb;
  margin-bottom: 22px;
}

.yvn-showcase-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yvn-showcase-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #e2edf3;
}

.yvn-showcase-bullets .yvn-icon {
  color: #38bdf8;
  margin-top: 2px;
  width: 17px;
  height: 17px;
}

.yvn-showcase-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yvn-showcase-visual {
  position: relative;
  background: #051928;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.yvn-showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yvn-showcase-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 41, 64, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.yvn-showcase-badge img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.yvn-showcase-badge-text {
  font-size: 10.5px;
  line-height: 1.2;
  color: #f1f5f9;
}

.yvn-showcase-badge-text strong {
  color: #fbbf24;
  display: block;
}

/* ==========================================================================
   ERP Features Section (Picture 20 to 26)
   ========================================================================== */
.yvn-features {
  background: #0a2940;
  color: var(--yvn-white);
}

.yvn-features h2, .yvn-features h3 {
  color: var(--yvn-white);
}

.yvn-features-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.yvn-feature-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.yvn-feature-tab {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.yvn-feature-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--yvn-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.yvn-feature-tab.is-active {
  background: var(--yvn-white);
  color: var(--yvn-navy);
  border-color: var(--yvn-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.yvn-feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: center;
  background: #0d2b45;
  border: 1px solid #1a3f60;
  border-radius: 12px;
  padding: 44px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.yvn-feature-panel[hidden] {
  display: none;
}

.yvn-feature-info h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 14px;
}

.yvn-feature-info .yvn-feature-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: #b8cedb;
  margin-bottom: 24px;
}

.yvn-feature-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yvn-feature-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #e2edf3;
  line-height: 1.45;
}

.yvn-feature-checks .yvn-icon {
  color: #38bdf8;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

/* Feature Mockup Frame */
.yvn-window {
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #1e4566;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.yvn-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #e5edf2;
  border-bottom: 1px solid #d0dee8;
}

.yvn-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.yvn-window-title {
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

.yvn-window-body {
  position: relative;
  background: #fff;
}

.yvn-window-body img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.yvn-window-body img:hover {
  transform: scale(1.01);
}

.yvn-window-hint {
  display: block;
  text-align: right;
  padding: 6px 12px;
  font-size: 11px;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
}

/* ==========================================================================
   Product Information / Whitepaper Section (Picture 27)
   ========================================================================== */
.yvn-whitepaper-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, #061f30 0%, #0d3251 100%);
  border: 1px solid #1b4568;
  border-radius: 12px;
  padding: 48px 56px;
  color: var(--yvn-white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.yvn-whitepaper-cover {
  display: flex;
  justify-content: center;
  align-items: center;
}

.yvn-whitepaper-cover img {
  max-width: 270px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.yvn-whitepaper-cover:hover img {
  transform: translateY(-4px) rotate(-1deg);
}

.yvn-whitepaper-content h2 {
  color: var(--yvn-white);
  margin-bottom: 16px;
}

.yvn-whitepaper-content p {
  color: #c0d5e3;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ==========================================================================
   FAQ Section (Picture 28)
   ========================================================================== */
.yvn-faq {
  background: var(--yvn-light);
}

.yvn-faq-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.yvn-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.yvn-faq-item {
  background: var(--yvn-white);
  border: 1px solid var(--yvn-line);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.yvn-faq-item:hover {
  border-color: #8bd0e9;
  box-shadow: 0 4px 14px rgba(10, 41, 64, 0.05);
}

.yvn-faq-item[open] {
  border-color: var(--yvn-blue);
  box-shadow: 0 6px 18px rgba(10, 41, 64, 0.08);
}

.yvn-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--yvn-navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.yvn-faq-question::-webkit-details-marker {
  display: none;
}

.yvn-faq-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f7fb;
  color: var(--yvn-blue);
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s;
}

.yvn-faq-item[open] .yvn-faq-toggle {
  transform: rotate(180deg);
  background: var(--yvn-blue);
  color: var(--yvn-white);
}

.yvn-faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--yvn-muted);
  border-top: 1px solid #f1f5f9;
  margin-top: -4px;
  padding-top: 14px;
}

/* ==========================================================================
   Closing Banner & Related
   ========================================================================== */
.yvn-closing {
  padding: 72px 0;
  background: #061f30;
  color: var(--yvn-white);
}

.yvn-closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.yvn-closing h2 {
  color: var(--yvn-white);
  margin-bottom: 14px;
}

.yvn-closing p {
  color: #a8c1d2;
  font-size: 16px;
}

/* Image Lightbox Modal */
.yvn-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 31, 48, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.yvn-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.yvn-modal-dialog {
  position: relative;
  max-width: 1100px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.yvn-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #0a2940;
  color: #fff;
}

.yvn-modal-header h4 {
  color: #fff;
  font-size: 15px;
}

.yvn-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: background 0.2s;
}

.yvn-modal-close:hover {
  background: #ef4444;
}

.yvn-modal-body {
  padding: 16px;
  background: #f8fafc;
  max-height: 80vh;
  overflow: auto;
}

.yvn-modal-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1050px) {
  .yvn-hero-grid,
  .yvn-benefits-layout,
  .yvn-showcase,
  .yvn-feature-panel,
  .yvn-whitepaper-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .yvn-segments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .yvn-hero-visual img.yvn-hero-img {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .yvn-wrap {
    padding: 0 20px;
  }
  
  .yvn-section {
    padding: 56px 0;
  }
  
  .yvn-nav-inner {
    height: auto;
    padding: 10px 0;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .yvn-nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  
  .yvn-nav-link {
    white-space: nowrap;
    font-size: 12.5px;
    padding: 6px 10px;
  }
  
  .yvn-segments-grid {
    grid-template-columns: 1fr;
  }
  
  .yvn-showcase-copy,
  .yvn-feature-panel,
  .yvn-whitepaper-card {
    padding: 24px;
  }
  
  .yvn-closing-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

/* Chemical variant (solution-chemical.html): customer logo strip and AI image label from the mockup */
.yvn-logos {
  padding: 28px 0 32px;
  background: #222222;
  text-align: center;
}

.yvn-logos p {
  color: #e2edf3;
  font-size: 16px;
  margin-bottom: 14px;
}

.yvn-logos img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
}

.yvn-ai-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(10, 41, 64, 0.75);
  color: #e2edf3;
  font-size: 11px;
}

/* Photo hero (chemical and F&B): full-bleed stock photo under a navy overlay, Yaveon logo on the right */
/* Fills the screen below the 77px sticky site header; min-height lets it grow on short screens */
.yvn-hero-photo {
  min-height: calc(100vh - 77px);
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 48px 0;
  background: var(--yvn-dark);
}

.yvn-hero-photo > .yvn-wrap {
  width: 100%;
}

.yvn-hero-photo::before {
  inset: 0;
  top: 0;
  right: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 31, 48, 0.94) 0%, rgba(6, 31, 48, 0.82) 50%, rgba(6, 31, 48, 0.55) 100%);
}

.yvn-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yvn-hero-photo .yvn-wrap {
  position: relative;
  z-index: 2;
}

.yvn-hero-photo .yvn-hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

/* Bold, brighter copy so it stays readable over the photo */
.yvn-hero-photo h1,
.yvn-hero-photo .yvn-intro,
.yvn-hero-photo .yvn-hero-checks li {
  font-weight: 700;
  color: var(--yvn-white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* synapse-balas.css forces headings to 500 with !important */
html body .yvn-hero-photo h1 {
  font-weight: 700 !important;
}

.yvn-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.yvn-hero-logo {
  width: 100%;
  max-width: clamp(220px, 26vw, 420px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

@media (max-width: 1050px) {
  .yvn-hero-photo {
    padding: 40px 0;
  }

  .yvn-hero-photo .yvn-hero-grid {
    grid-template-columns: 1fr;
  }

  .yvn-hero-photo::before {
    background: rgba(6, 31, 48, 0.86);
  }

  .yvn-hero-brand {
    align-items: flex-start;
    order: -1;
    gap: 18px;
  }

  .yvn-hero-logo {
    max-width: 200px;
  }
}

.yvn-chemical .yvn-whitepaper-cover img {
  max-width: 320px;
}

.yvn-chemical .yvn-faq-answer a {
  color: var(--yvn-blue);
  font-weight: 700;
}
