.lecithin-hero {
  min-height: 80vh;
  background-image: url("../img/lecithin-water-oil-emulsion.jpg");
  background-position: center center;
}

.lecithin-hero .hero-title {
  max-width: 11ch;
}

.breadcrumb-bar .breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-bar a {
  color: #C90C0F;
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  text-decoration: underline;
}

.breadcrumb-bar .breadcrumb-item.active {
  color: #968F88;
}

.lecithin-still .home-intro-img {
  animation: none;
  transform: none;
}

.lecithin-diagram {
  background: #F7F5F3;
}

.lecithin-diagram .home-intro-img {
  object-fit: contain;
  padding: 16px;
}

.lecithin-app-media {
  height: 420px;
}

.lecithin-brand {
  background: #FFFFFF;
  border: 1px solid #E9E4DF;
  border-radius: 18px;
  padding: 32px 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lecithin-brand img {
  width: 72%;
  max-width: 180px;
  height: auto;
}

.lecithin-notes {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
  font-style: italic;
  color: #4E4945;
}

.lecithin-notes p {
  margin-bottom: 6px;
}

.lecithin-group {
  font-family: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0E0C0B;
  margin: 22px 0 12px;
}

.lecithin-points {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.lecithin-points > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: #332F2C;
}

.lecithin-points > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 7px;
  height: 12px;
  border: solid #C90C0F;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lecithin-points ul {
  list-style: disc;
  margin: 8px 0 0 18px;
  padding: 0;
  color: #4E4945;
}

.lecithin-points ul li {
  margin-bottom: 6px;
}

.fraction-hero {
  min-height: 80vh;
  background-image: url("../img/hydrolysed_lecithin_banner.jpg");
  background-position: center center;
}

.fraction-hero .hero-title {
  max-width: 13ch;
}

.hydro-hero {
  min-height: 80vh;
  background-image: url("../img/fractionated-lecithin-banner.jpg");
  background-position: center center;
}

.hydro-hero .hero-title {
  max-width: 12ch;
}

.hydro-app-card {
  background: #FFFFFF;
  border: 1px solid #E9E4DF;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms;
}

.hydro-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(30, 27, 25, 0.07), 0 12px 24px rgba(30, 27, 25, 0.06);
}

.hydro-app-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.hydro-app-card div {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hydro-app-card h3 {
  font-family: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0E0C0B;
  margin: 0 0 10px;
}

.home-section .hydro-app-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.fraction-compare {
  background: #FFFFFF;
  border: 1px solid #E9E4DF;
  border-top: 3px solid #C90C0F;
  border-radius: 18px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fraction-compare h3 {
  font-family: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #0E0C0B;
  margin: 0 0 16px;
}

.home-section p.fraction-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C90C0F;
  margin: 18px 0 10px;
}

.home-section p.fraction-ideal {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 18px;
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  color: #332F2C;
}

.fraction-table-wrap {
  overflow-x: auto;
  border: 1px solid #E9E4DF;
  border-radius: 18px;
  background: #FFFFFF;
}

.fraction-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.fraction-table th,
.fraction-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #E9E4DF;
  font-size: 15.5px;
  line-height: 1.5;
  color: #332F2C;
}

.fraction-table th {
  background: #F4F1EE;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0E0C0B;
}

.fraction-table tr:last-child td {
  border-bottom: none;
}

.fraction-table tbody tr:hover td {
  background: #FBF9F7;
}

.fraction-table .fraction-group td {
  background: #0E0C0B;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fraction-table .fraction-group:hover td {
  background: #0E0C0B;
}

.fraction-steps {
  list-style: none;
  counter-reset: frac;
  padding: 0;
  margin: 0;
}

.fraction-steps > li {
  counter-increment: frac;
  position: relative;
  padding-left: 56px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #332F2C;
}

.fraction-steps > li::before {
  content: counter(frac);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(201, 12, 15, 0.08);
  color: #C90C0F;
  font-weight: 800;
  font-size: 15px;
  line-height: 36px;
  text-align: center;
}

.fraction-steps ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #4E4945;
}

.fraction-steps ul li {
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .lecithin-hero,
  .fraction-hero,
  .hydro-hero {
    min-height: 72vh;
  }

  .hydro-app-card img {
    height: 160px;
  }

  .lecithin-app-media {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hydro-app-card {
    transition: none;
  }
}
