:root {
  --navy: #10283a;
  --navy-2: #173a4e;
  --teal: #2d716a;
  --teal-dark: #205a55;
  --sage: #dceae5;
  --sage-2: #eef5f2;
  --gold: #d3a25a;
  --gold-dark: #b7833f;
  --ivory: #f7f2e9;
  --ivory-2: #fbf9f4;
  --white: #ffffff;
  --ink: #1e2b33;
  --muted: #68747b;
  --line: #dfe5e7;
  --shadow-sm: 0 10px 35px rgba(16, 40, 58, .08);
  --shadow-md: 0 24px 70px rgba(16, 40, 58, .14);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 40px;
  --container: 1240px;
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.8rem, 5.4vw, 5.7rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.3vw, 3.45rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.65vw, 1.65rem); font-weight: 750; }
p { color: var(--muted); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 48px), 920px); }
.section { padding: 112px 0; position: relative; overflow: hidden; }
.section-sm { padding: 72px 0; position: relative; overflow: hidden; }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory-2); }
.section-soft { background: var(--sage-2); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }
.section-dark p { opacity: .78; }
.section-gold { background: var(--gold); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,40,58,.08);
  transition: box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 40px rgba(16,40,58,.08); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 330px; max-height: 64px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.nav-cta) {
  position: relative;
  color: #31434f;
  font-size: .94rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 30px 0 28px;
}
.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 2px;
  background: var(--gold);
  transition: right .25s ease;
}
.nav-links > a:hover::after,
.nav-links > a.active::after { right: 0; }
.nav-links > a.active { color: var(--navy); }
.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  position: relative;
}
.mobile-toggle::before,
.mobile-toggle::after,
.mobile-toggle span {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s ease, top .25s ease, opacity .25s ease;
}
.mobile-toggle::before { top: 14px; }
.mobile-toggle span { top: 21px; }
.mobile-toggle::after { top: 28px; }
.mobile-toggle[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span { opacity: 0; }
.mobile-toggle[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 12px 28px rgba(211,162,90,.26); }
.btn-primary:hover { background: #deb06d; box-shadow: 0 16px 34px rgba(211,162,90,.32); }
.btn-dark { background: var(--navy); color: var(--white); box-shadow: 0 12px 30px rgba(16,40,58,.2); }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { color: var(--navy); border-color: rgba(16,40,58,.24); background: rgba(255,255,255,.7); }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,.82); color: var(--navy); border-color: rgba(16,40,58,.16); box-shadow: 0 10px 24px rgba(16,40,58,.08); }
.btn-ghost:hover { background: #fff; border-color: rgba(16,40,58,.34); box-shadow: 0 14px 30px rgba(16,40,58,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nav-cta { min-height: 44px; padding-inline: 20px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.section-dark .eyebrow { color: #b7d4cc; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.24rem); line-height: 1.9; }
.kicker { color: var(--gold-dark); font-weight: 800; letter-spacing: .06em; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 54px;
}
.section-head.center { display: block; text-align: center; max-width: 820px; margin: 0 auto 58px; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin-bottom: 0; }
.title-line { width: 72px; height: 4px; background: var(--gold); margin: 24px 0; }

/* Home hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero-grid { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1.02fr .98fr; }
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 82px clamp(32px, 6vw, 86px) 96px max(24px, calc((100vw - var(--container))/2));
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -100px -180px auto;
  width: 380px;
  height: 380px;
  background: url('../img/paw-pattern.svg') center/cover no-repeat;
  opacity: .55;
}
.hero .eyebrow { color: #c3ddd5; }
.hero h1 { color: var(--white); max-width: 760px; margin-bottom: 24px; }
.hero h1 span { color: var(--gold); }
.hero .lead { max-width: 680px; color: rgba(255,255,255,.76); margin-bottom: 36px; }
.hero-media { position: relative; min-height: 650px; overflow: hidden; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16,40,58,.34) 0%, rgba(16,40,58,.02) 45%), linear-gradient(0deg, rgba(16,40,58,.3), transparent 45%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-badge {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 8%;
  width: 220px;
  padding: 24px 26px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow-md);
}
.hero-badge .formula { font-size: 2.25rem; color: var(--navy); font-weight: 900; line-height: 1; }
.hero-badge b { display: block; color: var(--navy); margin-top: 10px; }
.hero-badge span { color: var(--muted); font-size: .88rem; }
.hero-corner {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 90px;
  background: linear-gradient(90deg, var(--navy), transparent);
  z-index: 2;
}
.hero-points { display: flex; flex-wrap: wrap; gap: 22px 28px; margin-top: 34px; }
.hero-point { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.84); font-size: .92rem; font-weight: 700; }
.hero-point::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(211,162,90,.15); }

.stat-strip { position: relative; z-index: 3; margin-top: -1px; background: var(--white); box-shadow: 0 -12px 50px rgba(16,40,58,.08); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 28px 30px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; color: var(--navy); font-size: 1.75rem; line-height: 1.15; }
.stat-item span { color: var(--muted); font-size: .9rem; }

/* Media and split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.contain { background: var(--ivory); padding: 40px; box-shadow: none; }
.split-media.contain img { object-fit: contain; }
.media-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(16,40,58,.9);
  color: #fff;
  padding: 12px 18px;
  font-weight: 750;
  font-size: .88rem;
  border-left: 4px solid var(--gold);
}
.text-block h2 { margin-bottom: 24px; }
.text-block .lead { margin-bottom: 24px; }
.text-block ul { margin: 0 0 28px; padding: 0; list-style: none; }
.text-block li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); color: #42515a; }
.text-block li::before { content: ""; position: absolute; left: 0; top: 20px; width: 11px; height: 11px; border: 2px solid var(--gold); border-radius: 50%; }

.image-frame { position: relative; }
.image-frame::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -24px;
  width: 58%;
  height: 55%;
  border: 2px solid var(--gold);
  z-index: 0;
}
.image-frame > * { position: relative; z-index: 1; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.card {
  position: relative;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: #cbd6d9; }
.card h3 { margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.card-no { color: var(--gold-dark); font-size: .82rem; font-weight: 900; letter-spacing: .12em; margin-bottom: 22px; }
.card-tag { display: inline-flex; margin-top: 18px; padding: 7px 12px; border-radius: 999px; background: var(--sage-2); color: var(--teal-dark); font-size: .82rem; font-weight: 800; }
.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--sage-2);
  color: var(--teal-dark);
  font-size: 1.55rem;
  font-weight: 900;
}

.mode-card {
  position: relative;
  min-height: 360px;
  padding: 46px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.mode-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 42px solid rgba(255,255,255,.08);
  z-index: -1;
}
.mode-card.a { background: var(--navy); }
.mode-card.b { background: var(--teal); }
.mode-card h3, .mode-card p { color: var(--white); }
.mode-card h3 { font-size: clamp(1.8rem,2.4vw,2.45rem); margin-bottom: 20px; }
.mode-card p { max-width: 520px; opacity: .78; }
.mode-label { color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .16em; margin-bottom: 48px; }
.mode-card .number { position: absolute; right: 34px; top: 26px; font-size: 7rem; font-weight: 900; color: rgba(255,255,255,.07); line-height: 1; }

.delivery-card { padding: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
.delivery-card:hover { transform: none; box-shadow: none; }
.delivery-top { display: grid; grid-template-columns: 88px 1fr; gap: 22px; padding: 32px 0; align-items: start; }
.delivery-number { font-size: 2rem; font-weight: 900; color: var(--gold-dark); }
.delivery-card h3 { margin-bottom: 10px; }

.solution-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.solution-card { background: var(--white); padding: 40px 34px; min-height: 330px; position: relative; }
.solution-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: transparent; transition: background .2s ease; }
.solution-card:hover::before { background: var(--gold); }
.solution-code { color: var(--gold-dark); font-size: .85rem; font-weight: 900; letter-spacing: .14em; margin-bottom: 20px; }
.solution-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.solution-card p { margin-bottom: 18px; }
.solution-card .best-for { border-top: 1px solid var(--line); padding-top: 15px; color: var(--teal-dark); font-weight: 800; font-size: .88rem; }

/* Professional banner */
.brand-banner { position: relative; min-height: 520px; overflow: hidden; background: var(--navy); }
.brand-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.brand-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,40,58,.97) 0%, rgba(16,40,58,.88) 42%, rgba(16,40,58,.3) 73%, rgba(16,40,58,.12) 100%); }
.brand-banner-content { position: relative; z-index: 2; max-width: 720px; padding: 110px 0; }
.brand-banner h2 { color: #fff; margin-bottom: 22px; }
.brand-banner p { color: rgba(255,255,255,.76); }
.brand-banner .eyebrow { color: #c3ddd5; }

/* Product categories */
.category-list { display: grid; gap: 22px; }
.category-row {
  display: grid;
  grid-template-columns: 120px minmax(240px,.75fr) 1.35fr;
  gap: 34px;
  align-items: center;
  padding: 30px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.category-row:hover { border-color: #c8d4d6; transform: translateX(4px); box-shadow: var(--shadow-sm); }
.category-index { font-size: 2.4rem; font-weight: 900; color: #d8e1e3; }
.category-row h3 { margin: 0; }
.category-items { display: flex; flex-wrap: wrap; gap: 10px; }
.category-items span { padding: 8px 13px; background: var(--sage-2); color: var(--teal-dark); border-radius: 999px; font-size: .88rem; font-weight: 750; }
.category-row.liquid .category-items span { background: #f3eadc; color: #7c5929; }

.format-pair { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.format-card {
  min-height: 430px;
  padding: 48px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.format-card.powder { background: var(--navy); }
.format-card.liquid { background: var(--ivory); border: 1px solid #eadfce; }
.format-card.powder h3, .format-card.powder p { color: #fff; }
.format-card.powder p { opacity: .75; }
.format-card h3 { font-size: clamp(2rem,3vw,3rem); }
.format-card .big-word { position: absolute; right: -10px; bottom: -25px; font-size: clamp(5rem,10vw,9rem); font-weight: 900; color: rgba(255,255,255,.05); line-height: 1; }
.format-card.liquid .big-word { color: rgba(16,40,58,.05); }
.format-card .mini-list { display: grid; gap: 10px; margin-top: 30px; }
.format-card .mini-list span { color: inherit; font-weight: 700; }
.format-card .mini-list span::before { content: "•"; color: var(--gold); margin-right: 10px; }

/* Process */
.process-list { counter-reset: step; position: relative; }
.process-list::before { content: ""; position: absolute; left: 37px; top: 40px; bottom: 40px; width: 1px; background: #cad5d8; }
.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 0 0 42px;
  position: relative;
}
.process-item:last-child { padding-bottom: 0; }
.process-step {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--navy);
  font-weight: 900;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(16,40,58,.08);
}
.process-content { padding: 10px 0 36px; border-bottom: 1px solid var(--line); }
.process-content h3 { margin-bottom: 10px; }
.process-content p { margin-bottom: 0; }

/* Matrix table */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.matrix { width: 100%; border-collapse: collapse; min-width: 900px; }
.matrix th, .matrix td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix th { background: var(--navy); color: #fff; font-size: .9rem; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover { background: var(--ivory-2); }
.matrix .solution { color: var(--gold-dark); font-weight: 900; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.12rem;
}
.faq-question span:last-child { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.faq-question span:last-child::before,
.faq-question span:last-child::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: var(--navy); transition: transform .22s ease; }
.faq-question span:last-child::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] span:last-child::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { margin: -4px 56px 28px 0; }

/* Page hero */
.page-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.page-hero-grid { min-height: 540px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.page-hero-copy { padding: 92px 70px 92px 0; display: flex; justify-content: center; flex-direction: column; position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.7rem,4.7vw,5rem); margin-bottom: 22px; }
.page-hero .lead { color: rgba(255,255,255,.76); max-width: 680px; }
.page-hero .eyebrow { color: #bcd6cf; }
.page-hero-media { position: relative; overflow: hidden; min-height: 540px; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--navy) 0%,rgba(16,40,58,.25) 42%,rgba(16,40,58,.08)); }
.page-hero-media.product { padding: 40px 0 40px 40px; background: #e9f0ed; }
.page-hero-media.product img { object-fit: contain; position: relative; z-index: 1; }
.page-hero-media.product::after { background: linear-gradient(90deg,var(--navy) 0%,rgba(16,40,58,.02) 20%); }
.page-hero-note { display: inline-flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.page-hero-note span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .86rem; font-weight: 700; }

/* About values */
.value-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-item { padding: 40px; background: #fff; }
.value-item .value-no { color: var(--gold-dark); font-weight: 900; font-size: .8rem; letter-spacing: .14em; }
.value-item h3 { margin: 18px 0 12px; }

.company-data { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid var(--line); }
.company-data > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.company-data > div:nth-child(odd) { padding-right: 30px; }
.company-data > div:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.company-data dt { font-weight: 800; color: var(--navy); }
.company-data dd { margin: 0; color: var(--muted); }

/* Notice */
.notice {
  padding: 28px 32px;
  border-left: 5px solid var(--gold);
  background: var(--ivory);
  color: #43515a;
}
.notice strong { color: var(--navy); display: block; margin-bottom: 6px; }
.notice-dark { background: rgba(255,255,255,.08); border-left-color: var(--gold); color: rgba(255,255,255,.75); }
.notice-dark strong { color: #fff; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.contact-panel { background: var(--navy); color: #fff; padding: 42px; border-radius: var(--radius); }
.contact-panel h2, .contact-panel p { color: #fff; }
.contact-panel p { opacity: .75; }
.contact-detail { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-detail:last-child { border-bottom: 0; }
.contact-detail span { font-size: .78rem; color: #bcd2da; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail b { font-size: 1rem; }
.prepare-list { margin: 28px 0 0; padding: 0; list-style: none; }
.prepare-list li { position: relative; padding: 10px 0 10px 24px; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.12); }
.prepare-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }

.form-card { padding: 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-intro { margin-bottom: 34px; }
.form-section { padding: 30px 0; border-top: 1px solid var(--line); }
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section h3 { margin-bottom: 22px; font-size: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .9rem; font-weight: 800; }
.field label .optional { color: #95a0a5; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d7dfe2;
  background: #fbfcfc;
  color: var(--ink);
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45,113,106,.12); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 14px 0; align-items: start; color: #55636b; font-size: .9rem; }
.checkbox input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--teal); }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.form-note { font-size: .86rem; color: #7b878d; }
.form-status { margin-top: 16px; font-weight: 700; }

/* CTA */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 58px 64px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -70px; top: -90px; width: 330px; height: 330px; border: 68px solid rgba(255,255,255,.05); border-radius: 50%; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { margin-bottom: 0; opacity: .74; max-width: 720px; }
.cta-band > * { position: relative; z-index: 1; }

/* Footer */
.site-footer { background: #0b1d2a; color: #fff; padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .7fr 1fr; gap: 56px; padding-bottom: 56px; }
.footer-brand img { width: 330px; max-width: 100%; margin-bottom: 22px; }
.site-footer p { color: rgba(255,255,255,.62); font-size: .92rem; }
.footer-title { color: #fff; font-weight: 850; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .78rem; }
.mobile-cta { display: none; }

/* Breadcrumb */
.breadcrumb { padding: 15px 0; background: #f6f8f8; border-bottom: 1px solid var(--line); }
.breadcrumb .container { display: flex; gap: 9px; align-items: center; color: #728087; font-size: .82rem; }
.breadcrumb a:hover { color: var(--navy); }

/* Privacy */
.legal h2 { font-size: 1.6rem; margin-top: 42px; }
.legal p, .legal li { color: #536168; }
.legal ul { padding-left: 22px; }

/* Success and 404 */
.state-page { min-height: 72vh; display: grid; place-items: center; padding: 90px 24px; background: var(--ivory-2); }
.state-card { max-width: 720px; text-align: center; padding: 58px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.state-icon { width: 80px; height: 80px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: var(--sage-2); color: var(--teal); font-size: 2rem; font-weight: 900; }

/* Reveals */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1180px) {
  :root { --header-h: 76px; }
  .brand img { width: 270px; }
  .nav-links { gap: 17px; }
  .nav-links > a:not(.nav-cta) { font-size: .87rem; }
  .nav-cta { padding-inline: 16px; }
  .hero-copy { padding-right: 48px; }
  .section { padding: 94px 0; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .7fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  .mobile-toggle { display: block; z-index: 1002; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 120px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a:not(.nav-cta) { padding: 17px 6px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 610px; padding: 80px 7vw; }
  .hero-media { min-height: 580px; }
  .hero-corner { display: none; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .format-pair, .contact-layout { grid-template-columns: 1fr; gap: 54px; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 500px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .solution-grid { grid-template-columns: repeat(2,1fr); }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-copy { padding: 84px 0 68px; }
  .page-hero-media { min-height: 430px; }
  .page-hero-media::after { background: linear-gradient(0deg,var(--navy) 0%,rgba(16,40,58,.08) 32%); }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  .container, .container.narrow { width: min(calc(100% - 32px), var(--container)); }
  body { font-size: 15px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 52px 0; }
  .brand img { width: 235px; }
  h1 { font-size: clamp(2.4rem,12vw,3.8rem); }
  h2 { font-size: clamp(1.85rem,9vw,2.65rem); }
  .hero { min-height: auto; }
  .hero-copy { min-height: 570px; padding: 70px 24px; }
  .hero-media { min-height: 460px; }
  .hero-media img { object-position: 58% center; }
  .hero-badge { width: 190px; right: 18px; bottom: 18px; padding: 20px; }
  .hero-badge .formula { font-size: 1.8rem; }
  .hero-points { gap: 16px; }
  .stat-item { padding: 22px 20px; }
  .stat-item strong { font-size: 1.45rem; }
  .section-head { display: block; margin-bottom: 38px; }
  .section-head > * + * { margin-top: 18px; }
  .grid-2, .grid-3, .grid-4, .value-list, .solution-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 320px; padding: 34px; }
  .mode-label { margin-bottom: 36px; }
  .category-row { grid-template-columns: 58px 1fr; gap: 18px; padding: 26px 22px; }
  .category-index { font-size: 1.7rem; }
  .category-items { grid-column: 2; }
  .page-hero { min-height: 460px; }
  .page-hero-grid { min-height: 460px; }
  .page-hero-copy { padding: 70px 0 56px; }
  .page-hero-media { min-height: 360px; }
  .company-data { grid-template-columns: 1fr; }
  .company-data > div { grid-template-columns: 110px 1fr; }
  .company-data > div:nth-child(odd), .company-data > div:nth-child(even) { padding-inline: 0; border-left: 0; }
  .delivery-top { grid-template-columns: 55px 1fr; }
  .process-list::before { left: 27px; }
  .process-item { grid-template-columns: 56px 1fr; gap: 18px; }
  .process-step { width: 56px; height: 56px; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .contact-panel { padding: 32px 24px; }
  .cta-band { grid-template-columns: 1fr; padding: 42px 28px; gap: 30px; border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 86px; }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(16,40,58,.12);
  }
  .mobile-cta a { min-height: 58px; display: grid; place-items: center; font-weight: 850; }
  .mobile-cta a:last-child { background: var(--gold); color: var(--navy); }
  .state-card { padding: 40px 24px; }
  .brand-banner { min-height: 600px; }
  .brand-banner::after { background: linear-gradient(0deg,rgba(16,40,58,.98) 0%,rgba(16,40,58,.9) 55%,rgba(16,40,58,.25) 100%); }
  .brand-banner-content { padding: 290px 0 72px; }
}

@media (max-width: 420px) {
  .brand img { width: 205px; }
  .hero-copy { padding-inline: 18px; }
  .btn { width: 100%; }
  .btn-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: 0; }
  .category-row { grid-template-columns: 1fr; }
  .category-items { grid-column: auto; }
  .footer-brand img { width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   HONGJI 2026 redesign overrides
   ========================================================= */
:root {
  --navy: #315852;
  --navy-2: #416c65;
  --teal: #6f9f96;
  --teal-dark: #3f7169;
  --sage: #dfece6;
  --sage-2: #f1f6f3;
  --gold: #e1b85a;
  --gold-dark: #a77b2f;
  --ivory: #f5efe4;
  --ivory-2: #fbf8f1;
  --ink: #283633;
  --muted: #687772;
  --line: #dce6e1;
  --shadow-sm: 0 14px 40px rgba(49,88,82,.10);
  --shadow-md: 0 28px 80px rgba(49,88,82,.16);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
}

body { background: #fdfdfb; }
.ui-icon { width: 28px; height: 28px; display: block; overflow: visible; }

/* Brand lockup: provided logo + balanced Chinese/English name */
.brand { gap: 15px; min-width: 390px; }
.brand .brand-mark {
  width: 80px;
  height: 58px;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(49,88,82,.10);
}
.brand-copy { display: grid; width: 276px; line-height: 1; }
.brand-copy strong {
  color: var(--navy);
  font-size: 1.13rem;
  letter-spacing: .16em;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}
.brand-copy span {
  margin-top: 9px;
  color: #72807c;
  font-family: Arial, sans-serif;
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .13em;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}
.site-header { background: rgba(255,255,253,.96); }

/* Mobile/tablet navigation becomes a touch-first drawer, not a cramped dropdown */
.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 998;
  background: rgba(31,58,53,.34);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* More dimensional cards and sections */
.interactive-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.interactive-card:hover { transform: translateY(-7px); box-shadow: 0 20px 48px rgba(49,88,82,.13); border-color: rgba(92,137,127,.48); }
.interactive-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 8%, rgba(111,159,150,.08), transparent 28%);
}
.tone-1 { --tone: #edf5ef; --tone-ink:#527d6b; }
.tone-2 { --tone: #f8f0df; --tone-ink:#9c7837; }
.tone-3 { --tone: #edf2f6; --tone-ink:#55778d; }
.tone-4 { --tone: #f4ece8; --tone-ink:#8f695c; }
.tone-1 .icon-box,.tone-2 .icon-box,.tone-3 .icon-box,.tone-4 .icon-box { background: var(--tone); color: var(--tone-ink); }

/* Home hero */
.hero { background: linear-gradient(135deg,#294c47 0%,#315852 56%,#3f6b63 100%); }
.hero-media::before { background: linear-gradient(90deg,rgba(41,76,71,.48),rgba(41,76,71,.02) 54%),linear-gradient(0deg,rgba(41,76,71,.28),transparent 48%); }
.hero-copy::before { opacity: .28; }
.hero h1 { max-width: 720px; }
.hero-points { margin-top: 30px; }

/* Four key figures become designed cards with icons */
.stat-strip { padding: 30px 0; background: #f8fbf9; box-shadow: none; }
.stat-grid { gap: 16px; }
.stat-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line) !important;
  border-radius: 18px;
  background: #fff;
}
.stat-icon { grid-row: 1 / 3; width: 54px; height: 54px; display: grid; place-items:center; border-radius: 16px; background: var(--sage-2); color: var(--teal-dark); }
.stat-item strong { font-size: 1.7rem; }

/* Product system */
.split-media.contain { background: linear-gradient(145deg,#fbfcf8,#e8f0ec); }

/* Photo-backed formula mode cards */
.mode-card.photo-card { min-height: 410px; display:flex; flex-direction:column; justify-content:flex-end; background: #315852; }
.mode-card.photo-card .mode-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-3; }
.mode-card.photo-card::before { content:""; position:absolute; inset:0; z-index:-2; background: linear-gradient(0deg,rgba(34,68,62,.96) 0%,rgba(34,68,62,.78) 48%,rgba(34,68,62,.22) 100%); }
.mode-card.photo-card.b::before { background: linear-gradient(0deg,rgba(67,107,99,.97) 0%,rgba(67,107,99,.76) 48%,rgba(67,107,99,.18) 100%); }
.mode-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:17px; color:#fff; background:rgba(255,255,255,.17); backdrop-filter:blur(8px); margin-bottom:18px; }
.mode-card .number { z-index:-1; }

/* Delivery and solution icons */
.delivery-card { border: 1px solid var(--line); border-radius: 18px; background:#fff; padding:0 26px; margin-bottom:18px; }
.delivery-card:hover { transform: translateY(-5px); box-shadow:var(--shadow-sm); }
.delivery-top { grid-template-columns: 62px 64px 1fr; align-items:center; }
.delivery-icon,.solution-icon,.value-icon,.format-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:16px; background:var(--sage-2); color:var(--teal-dark); }
.solution-grid { gap:18px; background:transparent; border:0; }
.solution-card { border:1px solid var(--line); border-radius:20px; min-height:350px; box-shadow:0 8px 26px rgba(49,88,82,.05); }
.solution-card::before { height:4px; width:auto; inset:0 0 auto; background:var(--sage); }
.solution-card:hover::before { background:var(--gold); }
.solution-icon { margin-bottom:20px; }

/* Formula direction cards with pet imagery */
.category-list { gap: 18px; }
.category-row.formula-row {
  grid-template-columns: 74px 180px minmax(235px,.75fr) 1.25fr;
  gap: 24px;
  border-radius: 18px;
  padding: 18px 24px;
  overflow: hidden;
}
.category-row.formula-row:hover { transform: translateY(-4px); }
.category-media { height:110px; border-radius:14px; overflow:hidden; }
.category-media img { width:100%; height:100%; object-fit:cover; }

/* Simple process and general icon cards */
.card .icon-box { transition: transform .25s ease; }
.card:hover .icon-box { transform: translateY(-3px) scale(1.04); }
.icon-box .ui-icon { width:30px; height:30px; }

/* Page hero images */
.page-hero { background: linear-gradient(135deg,#294c47,#3c6860); }
.page-hero-media.hero-photo img,.page-hero-media img { object-position:center; }
.page-hero-media.hero-photo::after { background: linear-gradient(90deg,var(--navy) 0%,rgba(49,88,82,.38) 44%,rgba(49,88,82,.08)); }
.formulas-hero-media { background:#edf4f0; }
.formulas-hero-media img { object-fit:cover !important; }

/* Pain point section */
.pain-point-grid { display:grid; grid-template-columns:180px 1fr; gap:72px; align-items:start; max-width:1040px; }
.pain-point-mark { width:150px; height:150px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--gold-dark); font-size:5rem; font-weight:900; box-shadow:var(--shadow-sm); border:1px solid var(--line); }
.pain-point-section .text-block { max-width:780px; }

/* About / HUOBAN */
.brand-intent { padding:20px 24px; margin-top:24px; border-left:4px solid var(--gold); background:var(--ivory-2); color:#55645f; }
.value-list { gap:18px; background:transparent; border:0; }
.value-item { border:1px solid var(--line); border-radius:20px; }
.value-icon { margin-bottom:18px; }
.service-scope h2,.service-scope h3 { color:var(--navy); }
.service-scope p { color:var(--muted); opacity:1; }
.huoban-grid { display:grid; grid-template-columns:.72fr 1.28fr; gap:78px; align-items:center; }
.huoban-logo-card { min-height:390px; border-radius:30px; background:linear-gradient(145deg,#fff,#f4efe6); border:1px solid #eee3d2; display:grid; place-items:center; padding:42px; text-align:center; box-shadow:var(--shadow-sm); }
.huoban-logo-card img { width:min(360px,90%); }
.huoban-logo-card span { color:#5f5043; font-weight:850; }
.huoban-logo-card b { display:inline-block; transition:transform .2s ease; }
.huoban-logo-card:hover b { transform:translateX(5px); }

/* Formulas page readability */
.format-card { border:1px solid var(--line); background:linear-gradient(145deg,#fff,#f0f5f2) !important; color:var(--ink); }
.format-card.powder h3,.format-card.powder p { color:var(--navy); opacity:1; }
.format-card .big-word { color:rgba(49,88,82,.06) !important; }
.format-icon { margin-bottom:22px; }
.oral-formulas h2,.oral-formulas h3 { color:var(--navy); }
.oral-formulas p { color:var(--muted); opacity:1; }
.oral-formula-list { list-style:none !important; padding:0 !important; display:grid; gap:14px; }
.oral-formula-list li { display:flex; align-items:center; gap:13px; padding:16px 18px !important; border:1px solid var(--line) !important; border-radius:14px; background:#fff; }
.oral-formula-list li::before { display:none !important; }
.small-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:#f5eddf; color:var(--gold-dark); }
.small-icon .ui-icon { width:22px; height:22px; }

/* Eight-step process: designed two-column timeline on desktop */
.process-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.process-list::before { display:none; }
.process-item { grid-template-columns:82px 1fr; gap:20px; padding:26px; border:1px solid var(--line); border-radius:20px; background:#fff; }
.process-step { width:72px; height:72px; border-radius:20px; display:flex; flex-direction:column; gap:2px; background:var(--sage-2); border:0; color:var(--teal-dark); box-shadow:none; }
.process-step .ui-icon { width:24px; height:24px; }
.step-no { font-size:.72rem; letter-spacing:.12em; }
.process-content { padding:0; border:0; }
.process-content p { margin:0; }

/* FAQ cards */
.faq-cards { border:0; display:grid; gap:14px; }
.faq-cards .faq-item { border:1px solid var(--line); border-radius:16px; background:#fff; overflow:hidden; transition:box-shadow .25s ease,border-color .25s ease,transform .25s ease; }
.faq-cards .faq-item:hover { border-color:#bcd1ca; box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.faq-cards .faq-item.open { border-color:#a9c7bd; background:#f7fbf8; }
.faq-cards .faq-question { padding:22px 24px; transition:background .22s ease,color .22s ease; }
.faq-cards .faq-question:hover { background:#f3f8f5; }
.faq-cards .faq-item.open .faq-question { color:var(--teal-dark); }
.faq-cards .faq-answer p { margin:0; padding:0 64px 24px 24px; }

/* Contact panel and form */
.contact-panel.light-panel { background:linear-gradient(150deg,#f8fbf9,#e9f2ed); color:var(--ink); border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.contact-panel.light-panel h2 { color:var(--navy); }
.contact-panel.light-panel p { color:var(--muted); opacity:1; }
.contact-panel.light-panel .eyebrow { color:var(--teal-dark); }
.contact-panel.light-panel .prepare-list li { color:#55645f; border-color:#d7e3de; display:grid; grid-template-columns:34px 1fr; align-items:center; padding-left:0; }
.contact-panel.light-panel .prepare-list li::before { display:none; }
.prepare-icon { width:30px; height:30px; display:grid; place-items:center; color:var(--teal-dark); }
.prepare-icon .ui-icon { width:21px; height:21px; }
.contact-panel.light-panel .contact-detail { border-color:#d7e3de; }
.contact-panel.light-panel .contact-detail span { color:#75837e; }
.contact-panel.light-panel .contact-detail b { color:var(--navy); }
.interactive-form .form-section { position:relative; padding:34px 0; }
.interactive-form .form-section::before { content:""; position:absolute; left:-18px; top:38px; width:5px; height:28px; border-radius:9px; background:var(--sage); transition:background .2s ease,height .2s ease; }
.interactive-form .form-section:focus-within::before { background:var(--gold); height:45px; }
.field input:hover,.field select:hover,.field textarea:hover { border-color:#b7cbc4; }

/* Shared page-ending CTA: light, inviting and interactive */
.section-sm { background:#fbf8f1; }
.cta-band {
  grid-template-columns:minmax(0,1fr) 270px auto;
  padding:52px 58px;
  background:linear-gradient(135deg,#ffffff 0%,#edf5f0 64%,#f8f1df 100%);
  border:1px solid #dbe7e1;
  box-shadow:var(--shadow-sm);
}
.cta-band::after { width:260px; height:260px; border:48px solid rgba(111,159,150,.10); }
.cta-band h2 { color:var(--navy); }
.cta-band p { color:var(--muted); opacity:1; }
.cta-visual { height:135px; display:grid; place-items:center; transition:transform .3s ease; }
.cta-visual img { max-height:150px; width:100%; object-fit:contain; }
.cta-band:hover .cta-visual { transform:translateY(-4px); }
.cta-band .btn span { transition:transform .2s ease; }
.cta-band .btn:hover span { transform:translateX(4px); }

/* Footer retains authority without black/blue heaviness */
.site-footer { background:#243f3b; }
.footer-brand { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.footer-brand img { width:86px; margin:0; border-radius:10px; }
.footer-brand-copy { display:grid; gap:8px; }
.footer-brand-copy strong { color:#fff; letter-spacing:.08em; }
.footer-brand-copy span { color:rgba(255,255,255,.58); font-size:.7rem; letter-spacing:.1em; }

@media (max-width: 1180px) {
  .brand { min-width:330px; }
  .brand .brand-mark { width:66px; height:52px; }
  .brand-copy { width:232px; }
  .brand-copy strong { font-size:.98rem; }
  .brand-copy span { font-size:.61rem; }
  .cta-band { grid-template-columns:1fr 220px; }
  .cta-band .btn-row { grid-column:1 / -1; }
}

@media (max-width: 1020px) {
  .brand { min-width:auto; }
  .nav-links {
    inset:var(--header-h) 0 0 auto;
    width:min(88vw,430px);
    padding:26px 22px 110px;
    background:#fbfdfb;
    box-shadow:-22px 0 70px rgba(31,58,53,.18);
  }
  .nav-links > a:not(.nav-cta) {
    margin-bottom:10px;
    padding:17px 18px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    font-size:1.03rem;
    transition:transform .2s ease,border-color .2s ease,background .2s ease;
  }
  .nav-links > a:not(.nav-cta):active { transform:scale(.985); }
  .nav-links > a.active { background:var(--sage-2); border-color:#b7d0c7; }
  .nav-cta { min-height:54px; }
  .category-row.formula-row { grid-template-columns:64px 150px 1fr; }
  .category-row.formula-row .category-items { grid-column:3; }
  .huoban-grid,.pain-point-grid { grid-template-columns:1fr; gap:42px; }
  .pain-point-mark { width:110px; height:110px; font-size:3.6rem; }
  .cta-band { grid-template-columns:1fr 200px; }
}

@media (max-width: 760px) {
  .brand .brand-mark { width:58px; height:46px; }
  .brand-copy { width:190px; }
  .brand-copy strong { font-size:.82rem; letter-spacing:.1em; }
  .brand-copy span { font-size:.52rem; letter-spacing:.08em; }
  .nav-links { width:100%; }
  .stat-grid { grid-template-columns:1fr 1fr; }
  .stat-item { grid-template-columns:48px 1fr; padding:20px 16px; }
  .stat-icon { width:48px; height:48px; }
  .category-row.formula-row { grid-template-columns:54px 1fr; }
  .category-row.formula-row .category-media { grid-column:2; height:150px; }
  .category-row.formula-row h3,.category-row.formula-row .category-items { grid-column:2; }
  .solution-grid { gap:14px; }
  .delivery-top { grid-template-columns:45px 54px 1fr; gap:14px; }
  .delivery-icon { width:50px; height:50px; }
  .process-list { grid-template-columns:1fr; }
  .process-item { grid-template-columns:66px 1fr; padding:22px 18px; }
  .process-step { width:60px; height:60px; }
  .huoban-logo-card { min-height:300px; }
  .cta-band { grid-template-columns:1fr; padding:38px 26px; }
  .cta-visual { height:120px; order:2; }
  .cta-band .btn-row { grid-column:auto; order:3; }
  .cta-copy { order:1; }
  .faq-cards .faq-answer p { padding:0 24px 22px; }
}

@media (max-width: 520px) {
  .brand-copy { display:none; }
  .brand .brand-mark { width:70px; height:50px; }
  .stat-grid { grid-template-columns:1fr; }
  .stat-item { border-bottom:1px solid var(--line) !important; }
  .page-hero-copy { padding-top:58px; }
  .delivery-top { grid-template-columns:42px 1fr; }
  .delivery-icon { grid-column:2; margin-bottom:4px; }
  .category-row.formula-row { grid-template-columns:1fr; }
  .category-row.formula-row .category-index,.category-row.formula-row .category-media,.category-row.formula-row h3,.category-row.formula-row .category-items { grid-column:auto; }
}

/* Final typography and inline SVG refinements */
.hero h1, .page-hero h1 {
  font-size: clamp(3rem, 3.8vw, 3.55rem);
  text-wrap: balance;
}
.ui-icon use { pointer-events: none; }
@media (max-width: 760px) {
  .hero h1, .page-hero h1 { font-size: clamp(2.55rem, 11vw, 3.25rem); }
}

/* Prevent the closed off-canvas navigation from creating horizontal page scroll. */
html, body { max-width: 100%; overflow-x: hidden; }

/* =========================================================
   HONGJI V4 second revision — light heroes, unique imagery,
   inline card icons, improved media crops and back-to-top.
   ========================================================= */

/* Corporate lockup: Chinese and English remain complete, aligned lines. */
.brand-copy {
  width: 252px;
  min-width: 252px;
  gap: 0;
  line-height: 1;
}
.brand-copy strong {
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}
.brand-copy span {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .006em;
  text-align: left;
  white-space: nowrap;
}
.footer-brand-copy { width: 252px; }
.footer-brand-copy strong {
  display:block;
  width:100%;
  font-size:1rem;
  font-weight:650;
  letter-spacing:.18em;
  text-align:justify;
  text-align-last:justify;
  white-space:nowrap;
}
.footer-brand-copy span {
  display:block;
  width:100%;
  font-size:.93rem;
  font-weight:500;
  letter-spacing:.006em;
  white-space:nowrap;
}

/* Every top hero uses a light copy panel and an independent right-side image. */
.hero,
.page-hero {
  background: linear-gradient(135deg,#fbfaf5 0%,#f1f6f2 72%,#eaf1ed 100%);
  color: var(--ink);
}
.hero-grid,
.page-hero-grid { background: transparent; }
.hero-copy,
.page-hero-copy { background: transparent; }
.hero-copy::before { opacity:.1; filter:saturate(.55); }
.hero .eyebrow,
.page-hero .eyebrow { color: var(--teal-dark); }
.hero h1,
.page-hero h1 { color: var(--navy); }
.hero h1 span { color: var(--gold-dark); }
.hero .lead,
.page-hero .lead { color: var(--muted); }
.hero-point { color:#566762; }
.hero-point::before { box-shadow:0 0 0 5px rgba(111,159,150,.13); }
.hero-media,
.page-hero-media {
  background:#eef3ef;
  border-left:1px solid rgba(111,159,150,.18);
}
.hero-media::before,
.page-hero-media::after,
.page-hero-media.hero-photo::after,
.page-hero-media.product::after { background:linear-gradient(90deg,rgba(241,246,242,.42),rgba(241,246,242,0) 28%); }
.page-hero-note span {
  color:#4c625c;
  border-color:#cddbd5;
  background:rgba(255,255,255,.7);
}
.hero-media img,
.page-hero-media img { object-position:center; }
.hero-media.v4-hero-media img { object-position:50% 43%; }
.page-hero-media.product {
  padding:30px;
  background:linear-gradient(145deg,#fff,#eef3ef);
}
.page-hero-media.product img { object-fit:contain; }

/* Inline icon + label/title pattern across all framed cards. */
.card-kicker,
.card-title-inline,
.mode-kicker,
.value-kicker,
.solution-kicker,
.format-kicker {
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:18px;
}
.card-kicker .icon-box,
.card-title-inline .icon-box,
.mode-kicker .mode-icon,
.value-kicker .value-icon,
.solution-kicker .solution-icon,
.format-kicker .format-icon { margin:0; flex:0 0 auto; }
.card-title-inline h3 { margin:0; }
.card-kicker .card-no,
.mode-kicker .mode-label,
.value-kicker .value-no,
.solution-kicker .solution-code,
.format-kicker .eyebrow { margin:0; }
.format-kicker .eyebrow::before { display:none; }
.mode-kicker .mode-icon,
.value-kicker .value-icon,
.solution-kicker .solution-icon,
.format-kicker .format-icon,
.card-kicker .icon-box,
.card-title-inline .icon-box {
  width:48px;
  height:48px;
  border-radius:14px;
}
.mode-kicker .mode-icon { color:#fff; background:rgba(255,255,255,.17); }
.value-kicker .value-icon,
.solution-kicker .solution-icon,
.format-kicker .format-icon { color:var(--teal-dark); background:var(--sage-2); }
.value-item h3 { margin-top:8px; }

/* Product containers and framed photographs fill the intended frame cleanly. */
.image-frame,
.split-media.fill-media { padding:0 !important; overflow:hidden; }
.image-frame img,
.split-media.fill-media img { width:100%; height:100%; object-fit:cover; object-position:center; }
.split-media.contain img[src*="product-system-real"],
.page-hero-media img[src*="product-system-real"] { object-fit:contain; padding:14px; }

/* Formula mode photos: retain complete animal subjects and avoid clipped heads. */
.mode-card.photo-card .mode-bg {
  object-position:center 38%;
  transform:scale(1.001);
}
.mode-card.photo-card:nth-child(2) .mode-bg { object-position:center 36%; }

/* Home built-for-brands section is bright rather than visually heavy. */
.brand-banner {
  background:#edf3ef;
  min-height:530px;
}
.brand-banner::after {
  background:linear-gradient(90deg,rgba(250,249,244,.98) 0%,rgba(250,249,244,.92) 48%,rgba(250,249,244,.2) 79%,rgba(250,249,244,.05) 100%);
}
.brand-banner-content { max-width:720px; }
.brand-banner h2 { color:var(--navy); }
.brand-banner p { color:var(--muted); }
.brand-banner .eyebrow { color:var(--teal-dark); }
.brand-banner .btn-ghost { background: rgba(255,255,255,.92); color: var(--navy); border-color: rgba(16,40,58,.14); }
.brand-banner .btn-ghost:hover { background:#fff; border-color: rgba(16,40,58,.3); }

.brand-banner img { object-position:54% 54%; }

/* Formula direction cards: larger, centered, clearly visible pet photographs. */
.category-row.formula-row {
  grid-template-columns:64px 190px minmax(200px,.85fr) minmax(280px,1.15fr);
  min-height:196px;
}
.category-row.formula-row .category-media {
  height:150px;
  background:linear-gradient(145deg,#fff,#edf3ef);
  border:1px solid var(--line);
  border-radius:17px;
  overflow:hidden;
}
.category-row.formula-row .category-media img {
  width:100%;
  height:100%;
  padding:4px;
  object-fit:contain;
  object-position:center;
  transform:none;
}
.category-row.formula-row:hover .category-media img { transform:scale(1.025); }

/* OEM pain point: a real person crop with a designed question mark. */
.pain-point-mark.person-question {
  position:relative;
  width:180px;
  height:180px;
  padding:0;
  overflow:hidden;
  background:#fff;
}
.pain-point-mark.person-question img { width:100%; height:100%; object-fit:cover; object-position:72% center; }
.pain-point-mark.person-question span {
  position:absolute;
  right:9px;
  top:4px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--gold);
  color:#fff;
  font-size:2.5rem;
  line-height:1;
  box-shadow:0 10px 24px rgba(49,88,82,.18);
}

/* About positioning and service imagery are larger and centered. */
.about-positioning-media,
.service-scope .split-media { min-height:520px; }
.about-positioning-media img,
.service-scope .split-media img { object-position:center; }

/* FAQ visual question motif remains decorative, not embedded text in the photo. */
.faq-question-visual::before {
  content:none;
  position:absolute;
  z-index:2;
  right:6%;
  top:7%;
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:rgba(167,123,47,.88);
  font-size:3.6rem;
  font-weight:900;
  box-shadow:0 18px 38px rgba(49,88,82,.18);
}

/* End-of-page project CTA uses the same light dog-and-cat visual on all pages. */
.cta-band {
  grid-template-columns:minmax(0,1fr) 310px auto;
  background:linear-gradient(135deg,#fff 0%,#eff6f1 70%,#f8f1df 100%);
}
.cta-visual {
  height:175px;
  border-radius:20px;
  overflow:hidden;
  background:#edf3ef;
}
.cta-visual img {
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center 36%;
}

/* Desktop back-to-top control. */
.back-to-top {
  position:fixed;
  z-index:900;
  right:28px;
  bottom:28px;
  width:52px;
  height:52px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--navy);
  box-shadow:0 14px 34px rgba(31,58,53,.28);
  font:700 1.65rem/1 Arial,sans-serif;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:opacity .22s ease,visibility .22s ease,transform .22s ease,background .22s ease;
}
.back-to-top.visible { opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover { background:var(--teal-dark); transform:translateY(-3px); }
.back-to-top:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }

@media (max-width:1180px) {
  .brand-copy { width:224px; min-width:224px; }
  .brand-copy strong { font-size:.91rem; }
  .brand-copy span { font-size:.82rem; }
  .footer-brand-copy { width:224px; }
  .footer-brand-copy strong { font-size:.91rem; }
  .footer-brand-copy span { font-size:.82rem; }
  .cta-band { grid-template-columns:1fr 250px; }
}

@media (max-width:1020px) {
  .hero-grid,
  .page-hero-grid { grid-template-columns:1fr; }
  .hero-copy { min-height:auto; padding-block:76px; }
  .hero-media { min-height:500px; border-left:0; border-top:1px solid var(--line); }
  .page-hero-copy { padding:76px 0 62px; }
  .page-hero-media { min-height:430px; border-left:0; border-top:1px solid var(--line); }
  .page-hero-media::after,
  .hero-media::before { background:linear-gradient(0deg,rgba(241,246,242,.18),rgba(241,246,242,0) 30%); }
  .category-row.formula-row { grid-template-columns:64px 170px 1fr; }
  .category-row.formula-row .category-items { grid-column:3; }
}

@media (max-width:760px) {
  .brand-copy { width:194px; min-width:194px; }
  .brand-copy strong { font-size:.78rem; letter-spacing:.15em; }
  .brand-copy span { font-size:.71rem; }
  .footer-brand-copy { width:220px; }
  .footer-brand-copy strong { font-size:.88rem; }
  .footer-brand-copy span { font-size:.79rem; }
  .hero-copy { padding:62px 24px 66px; }
  .hero-media { min-height:430px; }
  .page-hero-copy { padding:60px 0 52px; }
  .page-hero-media { min-height:365px; }
  .category-row.formula-row { grid-template-columns:54px 1fr; }
  .category-row.formula-row .category-media { grid-column:2; height:190px; }
  .category-row.formula-row h3,
  .category-row.formula-row .category-items { grid-column:2; }
  .pain-point-mark.person-question { width:140px; height:140px; }
  .cta-band { grid-template-columns:1fr; }
  .cta-visual { height:220px; }
  .back-to-top { display:none; }
}

@media (max-width:520px) {
  .brand-copy { display:none; }
  .category-row.formula-row { grid-template-columns:1fr; }
  .category-row.formula-row .category-media,
  .category-row.formula-row h3,
  .category-row.formula-row .category-items { grid-column:auto; }
  .category-row.formula-row .category-media { height:210px; }
  .card-title-inline,.card-kicker,.mode-kicker,.value-kicker,.solution-kicker,.format-kicker { align-items:center; }
}

/* About-page image fitting requested in the second review. */
.about-positioning-media { padding:0 !important; min-height:540px; background:#f4efe7 !important; }
.about-positioning-media img { width:100%; height:100%; padding:0; object-fit:contain !important; object-position:center !important; }
.service-scope .split-media { padding:0 !important; min-height:520px; background:#f8f6ef !important; }
.service-scope .split-media img { width:100%; height:100%; padding:0; object-fit:cover !important; object-position:center !important; }

/* V4 final QA: ensure full-frame media truly fills its card when the adjacent column is taller. */
.split-media.fill-media { position:relative; }
.split-media.fill-media > img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.pain-point-mark.person-question img[src*="v4-confused-person"] { object-position:center 46%; }

/* =========================================================
   V5.1 — Unified blended hero system
   One continuous banner: left copy + right visual + soft fade.
   ========================================================= */
@media (min-width: 1021px) {
  .hero,
  .page-hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 20%, rgba(255,255,255,.95), rgba(255,255,255,0) 34%),
      linear-gradient(105deg, #fbfaf5 0%, #f7f5ee 43%, #eef4ef 100%);
    color: var(--navy);
  }

  .hero-grid {
    min-height: 468px;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    position: relative;
  }

  .hero-copy {
    min-height: 468px;
    padding-top: 60px;
    padding-bottom: 64px;
    padding-right: clamp(84px, 8vw, 150px);
    background: linear-gradient(90deg,
      rgba(251,250,245,1) 0%,
      rgba(251,250,245,.98) 68%,
      rgba(251,250,245,.76) 84%,
      rgba(251,250,245,0) 100%);
  }

  .hero-copy::after,
  .page-hero-copy::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: -190px;
    bottom: 0;
    width: 260px;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(251,250,245,.98) 0%,
      rgba(251,250,245,.72) 36%,
      rgba(251,250,245,.25) 70%,
      rgba(251,250,245,0) 100%);
  }

  .hero-media {
    min-height: 468px;
    border: 0;
    background: transparent;
  }

  .hero-media::before {
    background: linear-gradient(90deg,
      rgba(251,250,245,.98) 0%,
      rgba(251,250,245,.70) 11%,
      rgba(251,250,245,.22) 25%,
      rgba(251,250,245,0) 43%);
  }

  .hero-media img {
    object-fit: cover;
    object-position: 58% 46%;
    filter: saturate(.93) contrast(.98) brightness(1.02);
  }

  .hero-media img[src*="v4-home-hero-boy"] {
    object-position: 62% 48%;
  }

  .hero-corner { display: none; }

  .page-hero {
    min-height: 430px;
  }

  .page-hero > .container.page-hero-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: max(24px, calc((100vw - var(--container)) / 2));
    min-height: 430px;
    grid-template-columns: minmax(0, 47%) minmax(0, 53%);
    position: relative;
  }

  .page-hero-copy {
    min-height: 430px;
    padding: 56px clamp(76px, 7vw, 132px) 60px 0;
    background: linear-gradient(90deg,
      rgba(251,250,245,1) 0%,
      rgba(251,250,245,.98) 66%,
      rgba(251,250,245,.76) 84%,
      rgba(251,250,245,0) 100%);
  }

  .page-hero h1 {
    font-size: clamp(2.3rem, 3.35vw, 3.85rem);
    line-height: 1.06;
    max-width: 680px;
  }

  .page-hero-media {
    min-height: 430px;
    border: 0;
    background: transparent;
  }

  .page-hero-media::after,
  .page-hero-media.hero-photo::after {
    background: linear-gradient(90deg,
      rgba(251,250,245,.98) 0%,
      rgba(251,250,245,.68) 11%,
      rgba(251,250,245,.20) 25%,
      rgba(251,250,245,0) 43%);
  }

  .page-hero-media img {
    object-fit: cover;
    object-position: 57% center;
    filter: saturate(.93) contrast(.98) brightness(1.02);
  }

  .page-hero-media.product {
    padding: 22px 42px 22px 18px;
    background: linear-gradient(90deg, rgba(251,250,245,.32), rgba(244,247,244,.86));
  }

  .page-hero-media.product::after {
    background: linear-gradient(90deg,
      rgba(251,250,245,.98) 0%,
      rgba(251,250,245,.68) 12%,
      rgba(251,250,245,.18) 28%,
      rgba(251,250,245,0) 46%);
  }

  .page-hero-media.product img {
    object-fit: contain;
    object-position: center;
    padding: 0;
    filter: saturate(.92) contrast(.98) brightness(1.02);
  }

  .page-hero-note span {
    background: rgba(255,255,255,.74);
    border-color: rgba(49,88,82,.18);
    box-shadow: 0 6px 20px rgba(31,58,53,.04);
  }

  .breadcrumb {
    background: #fff;
  }
}

@media (max-width: 1020px) {
  .hero,
  .page-hero {
    background: linear-gradient(180deg,#fbfaf5 0%,#f3f7f3 100%);
  }

  .hero-copy,
  .page-hero-copy {
    background: transparent;
  }

  .hero-media,
  .page-hero-media {
    border: 0;
    position: relative;
  }

  .hero-media::before,
  .page-hero-media::after,
  .page-hero-media.hero-photo::after,
  .page-hero-media.product::after {
    background: linear-gradient(180deg,
      rgba(251,250,245,.94) 0%,
      rgba(251,250,245,.38) 16%,
      rgba(251,250,245,0) 38%);
  }
}

@media (min-width: 1021px) {
  .hero-copy > *,
  .page-hero-copy > * { position: relative; z-index: 2; }
  .hero-copy::after,
  .page-hero-copy::after { z-index: 1; }
}


@media (min-width: 1021px) {
  body.page-about .page-hero h1 {
    font-size: clamp(2.2rem, 3.15vw, 3.55rem);
    max-width: 620px;
    letter-spacing: -0.02em;
  }

  body.page-about .page-hero-copy {
    padding-right: clamp(68px, 6vw, 112px);
  }
}

/* =========================================================
   V5.2 — Confirmed visual refinements
   Full-frame imagery, stronger hero typography and poster hero.
   ========================================================= */

/* Home hero title: exactly two strong lines on desktop. */
.page-home .hero h1 {
  font-size: clamp(3.1rem, 4.15vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: none;
}
.page-home .hero-title-line,
.page-home .hero-title-accent {
  display: block;
}
.page-home .hero-title-line { color: var(--navy); }
.page-home .hero-title-accent { color: var(--gold-dark); margin-top: .08em; }

/* Clear cooperation: the image is the full rounded visual, not an image inside a card. */
.home-clear-media {
  min-height: 520px;
  padding: 0 !important;
  background: linear-gradient(145deg,#eef4f1,#f6efe4) !important;
  box-shadow: var(--shadow-sm);
}
.home-clear-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center 52%;
  display: block;
}

/* Formula direction rows: wide photographs fill the complete photo frame. */
.category-row.formula-row {
  grid-template-columns: 64px 230px minmax(210px,.82fr) minmax(280px,1.18fr);
  min-height: 196px;
}
.category-row.formula-row .category-media {
  height: 152px;
  padding: 0;
  background: #edf3ef;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31,58,53,.08);
}
.category-row.formula-row .category-media img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center;
}

/* About hero: two natural lines. */
body.page-about .page-hero h1 {
  font-size: clamp(2.25rem, 3.05vw, 3.55rem);
  line-height: 1.08;
  max-width: 680px;
  letter-spacing: -.025em;
}
body.page-about .about-title-line {
  display: block;
  white-space: nowrap;
}
body.page-about .page-hero > .container.page-hero-grid {
  grid-template-columns: minmax(0, 51%) minmax(0, 49%);
}
body.page-about .page-hero-copy {
  padding-right: clamp(58px, 5vw, 96px);
}

/* Fill the whole media card instead of leaving a blank lower panel. */
.about-positioning-media,
.why-six .split-media {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  min-height: 520px;
  background: #f1eee7 !important;
}
.about-positioning-media img,
.why-six .split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center 46% !important;
  display: block;
}
.why-six .split-media img { object-position: center 48% !important; }

/* OEM pain-point portrait is large enough to balance the heading. */
.pain-point-grid {
  grid-template-columns: 270px minmax(0,1fr);
  gap: 72px;
  align-items: center;
  max-width: 1120px;
}
.pain-point-mark.person-question {
  width: 260px;
  height: 260px;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}
.pain-point-mark.person-question img {
  object-position: center 45% !important;
}

/* Formula page hero — option B: designed product-poster visual. */
.formulas-hero-media {
  position: relative;
  isolation: isolate;
  padding: 28px 34px 18px !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(226,184,107,.30) 0 12%, transparent 12.5%),
    radial-gradient(circle at 20% 82%, rgba(112,160,151,.24) 0 20%, transparent 20.5%),
    linear-gradient(135deg,#edf6f1 0%,#f8f3e8 54%,#e6f0ed 100%) !important;
  overflow: hidden;
}
.formulas-hero-media::before {
  content:"";
  position:absolute;
  z-index:0;
  width:72%;
  height:78%;
  left:17%;
  top:8%;
  border-radius:50% 50% 24% 24% / 58% 58% 24% 24%;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 22px 50px rgba(31,58,53,.10);
}
.formulas-hero-media::after {
  content:"";
  position:absolute;
  z-index:1;
  left:13%;
  right:10%;
  bottom:7%;
  height:16%;
  border-radius:50%;
  background:linear-gradient(180deg,rgba(211,162,90,.34),rgba(178,132,63,.13));
  filter:blur(.2px);
  box-shadow:0 18px 34px rgba(96,73,39,.13);
}
.formulas-hero-media img {
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center 56% !important;
  mix-blend-mode:multiply;
  filter:saturate(.96) contrast(1.02) brightness(1.03);
  transform:scale(1.04);
}

/* Shared CTA: full-height long rectangular image on the right. */
.cta-band {
  grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr);
  grid-template-rows: auto auto;
  gap: 22px 46px;
  min-height: 300px;
  padding: 44px 48px 44px 56px;
}
.cta-band .cta-copy { grid-column:1; grid-row:1; align-self:end; }
.cta-band > .btn-row { grid-column:1; grid-row:2; align-self:start; }
.cta-visual {
  grid-column:2;
  grid-row:1 / span 2;
  align-self:stretch;
  width:100%;
  height:auto;
  min-height:220px;
  border-radius:24px;
  overflow:hidden;
  background:#edf3ef;
  box-shadow:0 14px 32px rgba(31,58,53,.10);
}
.cta-visual img {
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center 40%;
}
.cta-band::after { right:-100px; top:-120px; }

@media (max-width: 1180px) and (min-width: 1021px) {
  .page-home .hero h1 { font-size: clamp(2.75rem,4vw,4rem); }
  .category-row.formula-row { grid-template-columns:58px 205px minmax(190px,.8fr) minmax(240px,1.2fr); }
  .cta-band { grid-template-columns:minmax(0,1fr) minmax(330px,.9fr); }
}

@media (max-width: 1020px) {
  .page-home .hero-title-line,
  .page-home .hero-title-accent,
  body.page-about .about-title-line { white-space: normal; }
  body.page-about .page-hero > .container.page-hero-grid { grid-template-columns:1fr; }
  .pain-point-grid { grid-template-columns:220px minmax(0,1fr); gap:42px; }
  .pain-point-mark.person-question { width:210px; height:210px; }
  .cta-band {
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    padding:42px;
  }
  .cta-band .cta-copy { grid-column:1; grid-row:1; }
  .cta-visual { grid-column:1; grid-row:2; min-height:300px; }
  .cta-band > .btn-row { grid-column:1; grid-row:3; }
}

@media (max-width: 760px) {
  .page-home .hero h1 { font-size:clamp(2.5rem,11vw,3.5rem); }
  .pain-point-grid { grid-template-columns:1fr; }
  .pain-point-mark.person-question { width:100%; height:280px; border-radius:24px; }
  .category-row.formula-row { grid-template-columns:54px 1fr; }
  .category-row.formula-row .category-media { grid-column:2; height:220px; }
  .cta-band { padding:30px 24px; }
  .cta-visual { min-height:240px; }
}

@media (min-width: 1021px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0,52%) minmax(0,48%);
  }
  .page-home .hero-copy {
    padding-right: clamp(48px,4vw,78px);
  }
  .page-home .hero h1 {
    font-size: clamp(3.05rem,3.7vw,4.25rem);
  }
}

.formulas-hero-media::after { top:auto; }


/* =========================================================
   V5.3 — User confirmed final refinements
   ========================================================= */

/* Header / footer logo: use the supplied transparent mark more naturally. */
.brand .brand-mark {
  width: 102px;
  height: 66px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.footer-brand img {
  width: 102px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}
@media (max-width: 1080px) {
  .brand .brand-mark { width: 88px; height: 58px; }
}
@media (max-width: 760px) {
  .brand .brand-mark { width: 74px; height: 50px; }
  .footer-brand img { width: 90px; }
}

/* Home hero title: keep exactly two rows on desktop and reduce accidental third-line wrapping. */
.page-home .hero h1 {
  font-size: clamp(2.9rem, 3.42vw, 4.05rem);
  line-height: 1.03;
}
@media (min-width: 1021px) {
  .page-home .hero-title-line,
  .page-home .hero-title-accent { white-space: nowrap; }
}

/* Formula direction cards: show more top area so pet heads are not cropped. */
.category-row.formula-row { min-height: 204px; }
.category-row.formula-row .category-media { height: 160px; }
.category-row.formula-row .category-media img {
  object-position: center 28% !important;
}
.category-row.formula-row .category-media img[src*="formula-4"],
.category-row.formula-row .category-media img[src*="formula-5"] {
  object-position: center 32% !important;
}
.category-row.formula-row .category-media img[src*="formula-6"] {
  object-position: center 34% !important;
}

/* Oral liquid formulas: replace the problematic left visual with a full-bleed rectangular photo card. */
.oral-liquid-media {
  min-height: 500px;
  border-radius: 28px;
  background: #eef4f1;
}
.oral-liquid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center 46% !important;
}

@media (max-width: 760px) {
  .category-row.formula-row .category-media { height: 210px; }
  .oral-liquid-media { min-height: 360px; }
}


/* =========================================================
   V6.1 — Mobile navigation and layout refinements
   ========================================================= */

/* Short company name shown only on compact mobile headers. */
.mobile-company-name { display: none; }

@media (max-width: 1020px) {
  body.nav-open { overflow: hidden; }

  /* Full-screen overlay menu: all options remain together in one panel. */
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 0;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(10px, 1.8vh, 18px);
    padding: clamp(34px, 7vh, 68px) 24px calc(34px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #173733 0%, #10283a 100%);
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity .24s ease, visibility .24s ease;
    z-index: 1001;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-links > a:not(.nav-cta) {
    width: auto;
    min-width: min(78vw, 320px);
    margin: 0;
    padding: 7px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255,255,255,.94);
    font-size: clamp(1.12rem, 4.4vw, 1.45rem);
    font-weight: 650;
    line-height: 1.45;
    text-align: center;
    letter-spacing: .05em;
  }

  .nav-links > a:not(.nav-cta):hover,
  .nav-links > a:not(.nav-cta):focus-visible,
  .nav-links > a.active {
    color: var(--gold);
    background: transparent;
    border-color: transparent;
  }

  .nav-links .nav-cta {
    width: min(72vw, 290px);
    min-height: 52px;
    margin: 10px 0 0;
    border: 1px solid rgba(255,255,255,.85);
    background: transparent;
    color: #fff;
    box-shadow: none;
  }

  .nav-links .nav-cta:hover,
  .nav-links .nav-cta:focus-visible {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
  }

  .nav-backdrop { display: none; }

  body.nav-open .mobile-cta,
  body.nav-open .back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 760px) {
  .nav-wrap { gap: 12px; }
  .brand { min-width: 0; gap: 10px; }
  .mobile-toggle { flex: 0 0 48px; width: 48px; height: 48px; }

  /* Delivery cards: remove the accidental implicit third column that stacked one character per line. */
  .delivery-card {
    width: 100%;
    margin-bottom: 16px;
    padding: 0 22px;
    border-radius: 20px;
  }

  .delivery-top {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas:
      "number icon"
      "content content";
    column-gap: 14px;
    row-gap: 16px;
    align-items: center;
    width: 100%;
    padding: 24px 0 26px;
  }

  .delivery-number {
    grid-area: number;
    align-self: center;
    font-size: 2rem;
    line-height: 1;
  }

  .delivery-icon {
    grid-area: icon;
    justify-self: start;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .delivery-top > div:last-child {
    grid-area: content;
    min-width: 0;
    width: 100%;
  }

  .delivery-top h3 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 6.5vw, 1.8rem);
    line-height: 1.28;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .delivery-top p {
    width: 100%;
    margin: 0;
    font-size: 1rem;
    line-height: 1.85;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  /* Mobile back-to-top button sits above the fixed contact bar. */
  .back-to-top {
    display: grid !important;
    right: 16px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    z-index: 1000;
    font-size: 1.45rem;
  }
}

@media (max-width: 520px) {
  :root { --header-h: 78px; }
  .site-header { height: var(--header-h); }
  .brand .brand-mark {
    flex: 0 0 auto;
    width: 82px;
    height: 54px;
  }
  .mobile-company-name {
    display: block;
    max-width: 112px;
    color: var(--navy);
    font-size: .88rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .delivery-card { padding-inline: 18px; }
  .delivery-top {
    grid-template-columns: 50px minmax(0, 1fr);
    padding-block: 22px 24px;
  }
  .delivery-icon { width: 48px; height: 48px; }
}

@media (max-height: 650px) and (max-width: 1020px) {
  .nav-links {
    gap: 6px;
    padding-top: 20px;
  }
  .nav-links > a:not(.nav-cta) {
    padding-block: 4px;
    font-size: 1.05rem;
  }
  .nav-links .nav-cta {
    min-height: 46px;
    margin-top: 4px;
  }
}
