/* 亿乐福官网 — 明亮清爽家政风 */
:root {
  --ink: #1c2b33;
  --deep: #2a6f7a;
  --forest: #3a8f9a;
  --leaf: #2f9aa6;
  --mist: #e4f4f6;
  --stone: #f3f8f9;
  --paper: #fbfcfc;
  --gold: #e08a5a;
  --gold-soft: #f0b08a;
  --accent: #2f9aa6;
  --muted: #667884;
  --line: rgba(42, 111, 122, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(42, 111, 122, 0.12);
  --radius: 4px;
  --nav-h: 72px;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", "HarmonyOS Sans", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", "HarmonyOS Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ylf-site {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--deep);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.ylf-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ylf-container--narrow {
  width: min(820px, calc(100% - 40px));
}

/* ---------- Header ---------- */
.ylf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}

.ylf-header.is-solid,
.ylf-header.is-inner {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(42, 111, 122, 0.08);
  border-bottom: 1px solid var(--line);
}

.ylf-header.is-solid .ylf-brand,
.ylf-header.is-inner .ylf-brand {
  color: var(--ink);
}

.ylf-header.is-solid .ylf-brand__tag,
.ylf-header.is-inner .ylf-brand__tag {
  color: var(--accent);
}

.ylf-header.is-solid .ylf-nav a,
.ylf-header.is-inner .ylf-nav a {
  color: rgba(28, 43, 51, 0.62);
}

.ylf-header.is-solid .ylf-nav a:hover,
.ylf-header.is-solid .ylf-nav a.is-active,
.ylf-header.is-inner .ylf-nav a:hover,
.ylf-header.is-inner .ylf-nav a.is-active {
  color: var(--ink);
}

.ylf-header.is-solid .ylf-header__cta,
.ylf-header.is-inner .ylf-header__cta {
  border-color: rgba(47, 154, 166, 0.35);
  color: var(--accent);
}

.ylf-header.is-solid .ylf-header__cta:hover,
.ylf-header.is-inner .ylf-header__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.ylf-header.is-solid .ylf-burger span,
.ylf-header.is-inner .ylf-burger span {
  background: var(--ink);
}

.ylf-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ylf-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--white);
  min-width: 0;
}

.ylf-brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.ylf-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ylf-brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.ylf-brand__tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  text-transform: uppercase;
  opacity: 0.9;
}

.ylf-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.ylf-footer__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: transparent;
}

.ylf-footer__logo span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.ylf-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ylf-nav a {
  position: relative;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

.ylf-nav a:hover,
.ylf-nav a.is-active {
  color: var(--white);
}

.ylf-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
}

.ylf-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(184, 149, 106, 0.55);
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.ylf-contact-side {
  background: linear-gradient(160deg, #eaf7f8 0%, #f8efe8 100%);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 36px 32px;
  min-height: 280px;
}

.ylf-contact-side h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 16px;
  color: var(--ink);
}

.ylf-contact-side p {
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.8;
}

.ylf-header__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.ylf-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.ylf-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.ylf-burger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.ylf-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.ylf-burger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero / Carousel ---------- */
.ylf-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 920px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.ylf-hero__slides {
  position: absolute;
  inset: 0;
}

.ylf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}

.ylf-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.ylf-slide__media {
  position: absolute;
  inset: 0;
}

.ylf-slide__media img,
.ylf-slide__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s linear;
}

.ylf-slide.is-active .ylf-slide__media img,
.ylf-slide.is-active .ylf-slide__media video {
  transform: scale(1);
}

.ylf-slide__fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(47, 154, 166, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(224, 138, 90, 0.18), transparent 45%),
    linear-gradient(135deg, #7eb8c0 0%, #4f9aa5 45%, #e8f6f7 100%);
}

.ylf-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(28, 43, 51, 0.55) 0%, rgba(28, 43, 51, 0.28) 48%, rgba(28, 43, 51, 0.12) 100%),
    linear-gradient(180deg, rgba(28, 43, 51, 0.2) 0%, transparent 30%, rgba(28, 43, 51, 0.35) 100%);
  pointer-events: none;
}

.ylf-hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 88px;
}

.ylf-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold-soft);
  opacity: 0;
  transform: translateY(20px);
  animation: ylfRise 0.9s var(--ease) 0.2s forwards;
}

.ylf-hero__title {
  margin: 0 0 18px;
  max-width: 14em;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(24px);
  animation: ylfRise 1s var(--ease) 0.35s forwards;
}

.ylf-hero__desc {
  margin: 0 0 32px;
  max-width: 28em;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(24px);
  animation: ylfRise 1s var(--ease) 0.5s forwards;
}

.ylf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px);
  animation: ylfRise 1s var(--ease) 0.65s forwards;
}

.ylf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-size: 14px;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.ylf-btn:hover {
  transform: translateY(-2px);
}

.ylf-btn--gold {
  background: var(--gold);
  color: #fff;
}

.ylf-btn--gold:hover {
  background: #d47848;
}

.ylf-btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.ylf-btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.ylf-btn--dark {
  background: var(--accent);
  color: var(--white);
}

.ylf-btn--dark:hover {
  background: #268a95;
}

.ylf-btn--line {
  border-color: rgba(47, 154, 166, 0.45);
  color: var(--accent);
  background: transparent;
}

.ylf-btn--line:hover {
  background: var(--accent);
  color: var(--white);
}

.ylf-hero__controls {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 28px;
}

.ylf-hero__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ylf-dots {
  display: flex;
  gap: 10px;
}

.ylf-dots button {
  width: 28px;
  height: 2px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.ylf-dots button.is-active {
  width: 44px;
  background: var(--gold);
}

.ylf-hero__hint {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes ylfRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Sections ---------- */
.ylf-section {
  padding: 96px 0;
}

.ylf-section--stone {
  background: var(--stone);
}

.ylf-section--deep {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(224, 138, 90, 0.12), transparent 42%),
    linear-gradient(180deg, #eef8f9 0%, #e4f4f6 100%);
  color: var(--ink);
}

.ylf-section__head {
  margin-bottom: 48px;
  max-width: 640px;
}

.ylf-section__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--accent);
}

.ylf-section--deep .ylf-section__eyebrow {
  color: var(--gold);
}

.ylf-section__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: var(--ink);
}

.ylf-section__desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.ylf-section--deep .ylf-section__desc {
  color: var(--muted);
}

.ylf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ylf-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ylf-service {
  position: relative;
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.ylf-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.ylf-service__num {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.ylf-service__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ylf-service__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ylf-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.ylf-feature__visual {
  position: relative;
  min-height: 420px;
  background-color: #0d2a22;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ylf-feature__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(22, 74, 60, 0.35), rgba(7, 21, 18, 0.45));
  pointer-events: none;
}

.ylf-feature__visual::after {
  content: "YILEFU";
  position: absolute;
  right: -10px;
  bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ylf-feature__panel {
  position: relative;
  color: inherit;
}

.ylf-section--deep .ylf-feature__panel {
  color: var(--white);
}

.ylf-feature__panel strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
}

.ylf-feature__panel span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.ylf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.ylf-step {
  padding: 28px 22px;
  border-top: 1px solid var(--line);
}

.ylf-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 13px;
}

.ylf-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.ylf-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ylf-news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.ylf-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.ylf-news-card__cover {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #0d2a22, #2a7a62 60%, #b8956a);
  overflow: hidden;
}

.ylf-news-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ylf-news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.ylf-news-card__meta {
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.ylf-news-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.ylf-news-card__summary {
  margin: 0 0 20px;
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.ylf-news-card__link {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--forest);
}

.ylf-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px;
  background:
    radial-gradient(circle at 90% 20%, rgba(224, 138, 90, 0.18), transparent 40%),
    linear-gradient(120deg, #dff3f5 0%, #cfecef 55%, #f8efe8 100%);
  color: var(--ink);
  border: 1px solid var(--line);
}

.ylf-cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.08em;
}

.ylf-cta-band p {
  margin: 0;
  color: var(--muted);
}

.ylf-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Page hero (inner) ---------- */
.ylf-page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(224, 138, 90, 0.14), transparent 40%),
    linear-gradient(135deg, #f7fcfc 0%, #e7f5f7 55%, #f4fafb 100%);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.ylf-page-hero__title {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.1em;
  color: var(--ink);
}

.ylf-page-hero__desc {
  margin: 0;
  max-width: 28em;
  color: var(--muted);
}

.ylf-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.ylf-breadcrumb a:hover {
  color: var(--accent);
}

/* ---------- About / content blocks ---------- */
.ylf-prose {
  font-size: 16px;
  color: var(--muted);
}

.ylf-prose p {
  margin: 0 0 1.1em;
}

.ylf-prose h3 {
  margin: 1.6em 0 0.7em;
  color: var(--deep);
  font-size: 20px;
  letter-spacing: 0.06em;
}

.ylf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.ylf-stat {
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.ylf-stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--forest);
  letter-spacing: 0.06em;
}

.ylf-stat span {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.ylf-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ylf-contact-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
}

.ylf-contact-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.ylf-contact-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.ylf-contact-card a {
  color: var(--forest);
}

.ylf-phone {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--deep);
}

/* ---------- News list / detail ---------- */
.ylf-news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ylf-article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px clamp(24px, 4vw, 48px);
}

.ylf-article__meta {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.ylf-article__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.ylf-article__cover {
  margin: 0 0 28px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--stone);
}

.ylf-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ylf-article__body {
  font-size: 16px;
  line-height: 1.9;
  color: #3d4f48;
}

.ylf-article__body p {
  margin: 0 0 1.1em;
}

.ylf-article__body img {
  margin: 1em 0;
}

.ylf-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.ylf-pager a {
  color: var(--forest);
}

.ylf-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.ylf-pagination li {
  list-style: none;
}

.ylf-pagination a,
.ylf-pagination span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
}

.ylf-pagination .active span {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.ylf-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed var(--line);
}

/* ---------- Footer ---------- */
.ylf-footer {
  background:
    linear-gradient(180deg, #f7fbfc 0%, #eef5f7 100%);
  color: var(--muted);
  padding: 56px 0 0;
  border-top: 1px solid var(--line);
}

.ylf-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2fr);
  gap: 48px 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.ylf-footer__brand {
  max-width: 320px;
}

.ylf-footer__slogan {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--deep);
  font-weight: 500;
}

.ylf-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ylf-footer__tags li {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.ylf-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.ylf-footer__col h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.ylf-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ylf-footer__col li + li {
  margin-top: 10px;
}

.ylf-footer__col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.ylf-footer__col a:hover,
.ylf-footer__link:hover,
.ylf-footer__phone:hover {
  color: var(--accent);
}

.ylf-footer__phone {
  display: inline-block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.3;
}

.ylf-footer__hours {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.ylf-footer__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent);
}

.ylf-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 18px 0 24px;
  font-size: 12px;
  color: rgba(102, 120, 132, 0.92);
}

.ylf-footer__bottom a {
  color: inherit;
}

.ylf-footer__bottom a:hover {
  color: var(--accent);
}

/* ---------- Reveal motion ---------- */
.ylf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.ylf-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile drawer ---------- */
.ylf-drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.ylf-drawer-mask.is-open {
  opacity: 1;
  visibility: visible;
}

.ylf-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(320px, 86vw);
  height: 100%;
  padding: 88px 28px 40px;
  background: var(--ink);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.ylf-drawer.is-open {
  transform: translateX(0);
}

.ylf-drawer a {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.1em;
}

.ylf-drawer a.is-active,
.ylf-drawer a:hover {
  color: var(--gold-soft);
}

/* ---------- Extra components ---------- */
.ylf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.ylf-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.ylf-tabs button:hover,
.ylf-tabs button.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.ylf-product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.ylf-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ylf-product-card__cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.ylf-product-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.ylf-product-card:hover .ylf-product-card__cover img {
  transform: scale(1.05);
}

.ylf-product-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ylf-product-card__cate {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.ylf-product-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.ylf-product-card__summary {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.ylf-product-card__link {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--leaf);
}

.ylf-detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.ylf-detail-hero__cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.ylf-detail-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ylf-detail-hero__cate {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 10px;
}

.ylf-detail-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  color: var(--ink);
}

.ylf-detail-hero__summary {
  color: var(--muted);
  margin: 0 0 24px;
}

.ylf-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.ylf-points li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--deep);
  border-bottom: 1px solid var(--line);
}

.ylf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.ylf-slide__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(7, 21, 18, 0.45);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.ylf-slide.is-playing .ylf-slide__play {
  display: none;
}

.ylf-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.ylf-timeline li {
  position: relative;
  padding: 0 0 28px 28px;
}

.ylf-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.ylf-timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
}

.ylf-timeline span {
  color: var(--muted);
  font-size: 14px;
}

.ylf-form {
  display: grid;
  gap: 16px;
}

.ylf-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ylf-form input,
.ylf-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  font: inherit;
  color: var(--deep);
}

.ylf-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ylf-form .ylf-btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
.ylf-split,
.ylf-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.ylf-contact-split {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 56px;
}

.ylf-section__head--tight {
  margin-bottom: 24px;
}

.ylf-prose .ylf-btn {
  margin-top: 12px;
}

.ylf-stats {
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .ylf-grid-4,
  .ylf-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .ylf-grid-3,
  .ylf-news-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ylf-detail-hero,
  .ylf-feature,
  .ylf-split,
  .ylf-contact-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ylf-feature__visual {
    min-height: 260px;
  }

  .ylf-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ylf-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ylf-cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 60px;
  }

  body.ylf-site {
    overflow-x: hidden;
  }

  .ylf-nav,
  .ylf-header__cta {
    display: none;
  }

  .ylf-burger {
    display: block;
  }

  .ylf-brand__name {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .ylf-brand__logo {
    width: 36px;
    height: 36px;
  }

  .ylf-brand__tag {
    display: none;
  }

  .ylf-container,
  .ylf-container--narrow {
    width: calc(100% - 32px);
  }

  .ylf-grid-3,
  .ylf-grid-4,
  .ylf-news-list,
  .ylf-contact-grid,
  .ylf-stats,
  .ylf-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ylf-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .ylf-footer__col--contact {
    grid-column: 1 / -1;
  }

  .ylf-footer__main {
    gap: 28px;
    padding-bottom: 28px;
  }

  .ylf-footer {
    padding-top: 40px;
  }

  .ylf-footer__phone {
    font-size: 18px;
  }

  .ylf-hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
  }

  .ylf-hero__veil {
    background:
      linear-gradient(180deg, rgba(28, 43, 51, 0.35) 0%, rgba(28, 43, 51, 0.15) 35%, rgba(28, 43, 51, 0.72) 100%);
  }

  .ylf-hero__content {
    justify-content: flex-end;
    padding: calc(var(--nav-h) + 24px) 0 108px;
  }

  .ylf-hero__eyebrow {
    letter-spacing: 0.14em;
    margin-bottom: 12px;
  }

  .ylf-hero__title {
    font-size: clamp(28px, 9vw, 40px);
    letter-spacing: 0.04em;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .ylf-hero__desc {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .ylf-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .ylf-hero__actions .ylf-btn {
    width: 100%;
  }

  .ylf-hero__controls {
    bottom: 18px;
  }

  .ylf-hero__hint {
    display: none;
  }

  .ylf-section {
    padding: 56px 0;
  }

  .ylf-section__head {
    margin-bottom: 28px;
  }

  .ylf-section__title {
    font-size: clamp(24px, 7vw, 32px);
    letter-spacing: 0.04em;
  }

  .ylf-page-hero {
    padding: calc(var(--nav-h) + 36px) 0 40px;
  }

  .ylf-page-hero__title {
    font-size: clamp(26px, 8vw, 36px);
    letter-spacing: 0.04em;
  }

  .ylf-service,
  .ylf-product-card__body,
  .ylf-news-card__body,
  .ylf-contact-card {
    padding: 20px 18px;
  }

  .ylf-cta-band {
    padding: 28px 20px;
  }

  .ylf-cta-band__actions,
  .ylf-pager {
    width: 100%;
    flex-direction: column;
  }

  .ylf-cta-band__actions .ylf-btn,
  .ylf-pager .ylf-btn {
    width: 100%;
  }

  .ylf-phone {
    font-size: 24px;
    word-break: break-all;
  }

  .ylf-form .ylf-btn {
    width: 100%;
    justify-self: stretch;
  }

  /* 合作客户：手机只留 2 排，更紧凑 */
  .ylf-section--partners {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .ylf-partners-stack .ylf-partners-marquee:nth-child(n + 3) {
    display: none;
  }

  .ylf-partner {
    min-width: 140px;
    height: 58px;
    padding: 8px 12px;
    gap: 8px;
  }

  .ylf-partner__logo {
    width: 30px;
    height: 30px;
  }

  .ylf-partner__name {
    font-size: 12px;
  }

  .ylf-drawer {
    width: min(300px, 88vw);
  }

  .ylf-tabs {
    gap: 8px;
    margin-bottom: 24px;
  }

  .ylf-tabs button {
    padding: 8px 14px;
    font-size: 12px;
  }

  .ylf-detail-hero__cover {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .ylf-container,
  .ylf-container--narrow {
    width: calc(100% - 24px);
  }

  .ylf-stat {
    padding: 18px 14px;
  }

  .ylf-stat strong {
    font-size: 24px;
  }

  .ylf-article__title {
    font-size: clamp(22px, 7vw, 30px);
  }
}

/* Partners marquee — 3 rows */
.ylf-section--partners {
  background: var(--paper);
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden;
}

.ylf-section--partners .ylf-section__head {
  margin-bottom: 36px;
}

.ylf-partners-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ylf-partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ylf-partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 14px;
  animation: ylfPartnersScroll 36s linear infinite;
  will-change: transform;
}

.ylf-partners-marquee.is-reverse .ylf-partners-track {
  animation-name: ylfPartnersScrollReverse;
}

.ylf-partners-stack:hover .ylf-partners-track {
  animation-play-state: paused;
}

.ylf-partner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 168px;
  height: 72px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.ylf-partner__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.ylf-partner__name {
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@keyframes ylfPartnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ylfPartnersScrollReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ylf-partners-track {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .ylf-partners-track .ylf-partner[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 560px) {
  .ylf-partners-stack {
    gap: 8px;
  }
}

.ylf-richtext img {
  max-width: 100%;
  height: auto;
}

.ylf-richtext p {
  margin: 0 0 1em;
}

/* Title spacing for Chinese sans-serif */
.ylf-brand__name,
.ylf-hero__title,
.ylf-section__title,
.ylf-page-hero__title,
.ylf-product-card__title,
.ylf-news-card__title,
.ylf-article__title,
.ylf-detail-hero h1,
.ylf-footer__logo span,
.ylf-cta-band h2,
.ylf-contact-side h3,
.ylf-phone {
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.ylf-brand__tag,
.ylf-hero__eyebrow,
.ylf-section__eyebrow,
.ylf-product-card__cate,
.ylf-detail-hero__cate,
.ylf-breadcrumb {
  letter-spacing: 0.12em;
}

/* ========== Visual elevation v1.2 — align with hero cinematic feel ========== */

.ylf-section__head--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}

.ylf-section__head--split .ylf-section__desc {
  margin: 0;
  padding-bottom: 6px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.ylf-section__more {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* Why / values editorial cards */
.ylf-section--why {
  position: relative;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(47, 154, 166, 0.08), transparent 45%),
    var(--paper);
}

.ylf-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.ylf-why-card {
  padding: 48px 36px 44px;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background 0.4s var(--ease);
}

.ylf-why-card:last-child {
  border-right: 0;
}

.ylf-why-card:hover {
  background: rgba(47, 154, 166, 0.04);
}

.ylf-why-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.ylf-why-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.ylf-why-card__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 138, 90, 0.55), transparent);
}

.ylf-why-card__title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.ylf-why-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  max-width: 22em;
}

/* Product showcase — first card featured */
.ylf-product-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 20px;
}

.ylf-product-card {
  border: 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.ylf-product-card__cover {
  position: relative;
  aspect-ratio: 4 / 3;
}

.ylf-product-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(28, 43, 51, 0.88) 100%);
  pointer-events: none;
  transition: opacity 0.4s;
}

.ylf-product-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 26px;
  z-index: 2;
  gap: 8px;
}

.ylf-product-card__cate {
  color: var(--gold-soft);
}

.ylf-product-card__title {
  color: var(--white);
  font-size: 18px;
}

.ylf-product-card__summary {
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ylf-product-card__link {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

.ylf-product-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.ylf-product-card--featured .ylf-product-card__cover {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
}

.ylf-product-card--featured .ylf-product-card__title {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: 0.06em;
}

.ylf-product-card--featured .ylf-product-card__summary {
  -webkit-line-clamp: 3;
  font-size: 15px;
  max-width: 28em;
}

.ylf-product-card--featured .ylf-product-card__body {
  padding: 36px 36px 40px;
}

.ylf-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(28, 43, 51, 0.22);
}

.ylf-product-card:hover .ylf-product-card__cover img {
  transform: scale(1.06);
}

/* Homepage story band — full-bleed cinematic */
.ylf-section--story {
  padding: 0;
}

.ylf-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
}

.ylf-story__visual {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.ylf-story__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 40%, rgba(28, 43, 51, 0.15) 100%),
    linear-gradient(180deg, rgba(28, 43, 51, 0.15), rgba(28, 43, 51, 0.35));
}

.ylf-story__visual::after {
  content: "YILEFU";
  position: absolute;
  left: 32px;
  bottom: 24px;
  font-size: clamp(40px, 7vw, 80px);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.ylf-story__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(36px, 5vw, 72px);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(224, 138, 90, 0.16), transparent 45%),
    linear-gradient(165deg, #1c2b33 0%, #243f48 55%, #1a333a 100%);
  color: var(--white);
}

.ylf-story__panel .ylf-section__eyebrow {
  color: var(--gold-soft);
}

.ylf-story__panel .ylf-section__title {
  color: var(--white);
  margin-bottom: 18px;
}

.ylf-story__panel .ylf-section__desc {
  color: rgba(255, 255, 255, 0.72);
  max-width: 28em;
}

.ylf-story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 40px;
}

.ylf-story__stat {
  padding: 18px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ylf-story__stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--white);
}

.ylf-story__stat span {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

/* News showcase */
.ylf-section--news {
  background:
    linear-gradient(180deg, #f7fbfc 0%, var(--paper) 100%);
}

.ylf-news-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}

.ylf-news-card {
  border: 0;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.ylf-news-card__cover {
  position: relative;
}

.ylf-news-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 43, 51, 0.25));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.ylf-news-card:hover .ylf-news-card__veil {
  opacity: 1;
}

.ylf-news-card__cover img {
  transition: transform 0.7s var(--ease);
}

.ylf-news-card:hover .ylf-news-card__cover img {
  transform: scale(1.05);
}

.ylf-news-card--featured {
  grid-row: span 1;
}

.ylf-news-card--featured .ylf-news-card__cover {
  aspect-ratio: 16 / 11;
}

.ylf-news-card--featured .ylf-news-card__title {
  font-size: 24px;
  letter-spacing: 0.04em;
}

.ylf-news-card--featured .ylf-news-card__body {
  padding: 28px 28px 32px;
}

/* Full-bleed CTA */
.ylf-cta-band--full {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #1c2b33;
  color: var(--white);
}

.ylf-cta-band__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(47, 154, 166, 0.35), transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(224, 138, 90, 0.28), transparent 42%),
    linear-gradient(120deg, #1c2b33 0%, #243f48 50%, #1a333a 100%);
}

.ylf-cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.ylf-cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 88px 0;
}

.ylf-cta-band--full .ylf-section__eyebrow {
  color: var(--gold-soft);
}

.ylf-cta-band--full h2 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 40px);
}

.ylf-cta-band--full p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

/* Cinematic inner page hero */
.ylf-page-hero--cinema {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 96px;
  color: var(--white);
  background: #1c2b33;
  border-bottom: 0;
  overflow: hidden;
}

.ylf-page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: ylfHeroDrift 18s ease-in-out infinite alternate;
}

.ylf-page-hero--products .ylf-page-hero__media {
  background-image: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1800&q=80");
}

.ylf-page-hero--news .ylf-page-hero__media {
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1800&q=80");
}

.ylf-page-hero--about .ylf-page-hero__media {
  background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=80");
}

.ylf-page-hero--contact .ylf-page-hero__media {
  background-image: url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=80");
}

.ylf-page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 43, 51, 0.78) 0%, rgba(28, 43, 51, 0.45) 55%, rgba(28, 43, 51, 0.28) 100%),
    linear-gradient(180deg, rgba(28, 43, 51, 0.35) 0%, transparent 40%, rgba(28, 43, 51, 0.55) 100%);
  pointer-events: none;
}

.ylf-page-hero__content {
  position: relative;
  z-index: 2;
}

.ylf-page-hero--cinema .ylf-breadcrumb {
  color: rgba(255, 255, 255, 0.55);
}

.ylf-page-hero--cinema .ylf-breadcrumb a:hover {
  color: var(--gold-soft);
}

.ylf-page-hero__eyebrow {
  margin: 22px 0 14px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-soft);
}

.ylf-page-hero--cinema .ylf-page-hero__title {
  color: var(--white);
  margin: 0 0 16px;
}

.ylf-page-hero--cinema .ylf-page-hero__desc {
  color: rgba(255, 255, 255, 0.72);
}

.ylf-page-hero--cinema .ylf-article__meta {
  margin-top: 18px;
  color: var(--gold-soft);
}

@keyframes ylfHeroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

/* Contact / feature polish */
.ylf-contact-card {
  position: relative;
  padding: 40px 32px;
  border: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
  box-shadow: 0 1px 0 var(--line);
  overflow: hidden;
}

.ylf-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  opacity: 0.85;
}

.ylf-contact-card__label {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}

.ylf-feature__visual {
  min-height: 460px;
}

.ylf-stat {
  background: linear-gradient(180deg, #ffffff, #f7fbfc);
  border: 0;
  box-shadow: 0 1px 0 var(--line);
}

.ylf-contact-side {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(224, 138, 90, 0.2), transparent 45%),
    linear-gradient(165deg, #1c2b33 0%, #243f48 100%);
  border: 0;
  color: var(--white);
}

.ylf-contact-side .ylf-section__eyebrow {
  color: var(--gold-soft);
}

.ylf-contact-side h3 {
  color: var(--white);
}

.ylf-contact-side p {
  color: rgba(255, 255, 255, 0.68);
}

.ylf-contact-side .ylf-btn--dark {
  background: var(--gold);
}

.ylf-contact-side .ylf-btn--dark:hover {
  background: #d47848;
}

/* Staggered reveal */
.ylf-reveal {
  transition-delay: var(--d, 0s);
}

.ylf-product-card.ylf-reveal,
.ylf-news-card.ylf-reveal,
.ylf-why-card.ylf-reveal {
  transition-duration: 0.9s;
}

/* List pages: product cards keep readable text when not overlay style */
.ylf-grid-3 > .ylf-product-card {
  background: var(--ink);
}

.ylf-grid-3 > .ylf-product-card .ylf-product-card__body {
  position: absolute;
}

.ylf-article__cover {
  border: 0;
  box-shadow: 0 24px 60px rgba(28, 43, 51, 0.12);
}

@media (max-width: 1024px) {
  .ylf-section__head--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ylf-section__head--split .ylf-section__desc {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .ylf-why-grid {
    grid-template-columns: 1fr;
  }

  .ylf-why-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 36px 8px;
  }

  .ylf-product-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .ylf-product-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .ylf-product-card--featured .ylf-product-card__cover {
    min-height: 320px;
  }

  .ylf-story {
    grid-template-columns: 1fr;
  }

  .ylf-news-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .ylf-news-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .ylf-product-showcase,
  .ylf-news-showcase {
    grid-template-columns: 1fr;
  }

  .ylf-product-card--featured,
  .ylf-news-card--featured {
    grid-column: span 1;
  }

  .ylf-product-card--featured .ylf-product-card__cover {
    min-height: 280px;
  }

  .ylf-product-card--featured .ylf-product-card__body,
  .ylf-product-card__body {
    padding: 20px 18px 22px;
  }

  .ylf-story__panel {
    padding: 48px 28px;
  }

  .ylf-story__stats {
    gap: 10px;
    margin: 28px 0 32px;
  }

  .ylf-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 64px 0;
  }

  .ylf-page-hero--cinema {
    padding: calc(var(--nav-h) + 48px) 0 56px;
  }

  .ylf-page-hero__media {
    animation: none;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ylf-page-hero__media {
    animation: none;
  }
}
