/* Early Data — visual layer modeled on fliiholistic.com
   Loaded after early-brand.css. Remove the <link> to revert. */

:root {
  --flii-bg: #eeefeb;
  --flii-bg-deep: #e6e7e2;
  --flii-cream: #f4f1ea;
  --flii-sand: #e8dfd2;
  --flii-brown: #5c4636;
  --flii-brown-hover: #4a382b;
  --flii-on-brown: #f7f3ee;
  --flii-ink: #111111;
  --flii-ink-soft: #3a3a3a;
  --flii-line: rgba(0, 0, 0, 0.14);
  --flii-veil: linear-gradient(
    180deg,
    rgba(28, 26, 24, 0.34) 0%,
    rgba(22, 20, 18, 0.46) 48%,
    rgba(16, 14, 12, 0.62) 100%
  );

  --surface: var(--flii-cream);
  --surface-page: var(--flii-bg);
  --surface-elevated: var(--flii-bg-deep);
  --border: var(--flii-line);
  --border-soft: rgba(0, 0, 0, 0.1);
  --ink: var(--flii-ink-soft);
  --ink-soft: var(--flii-ink-soft);
  --ink-muted: #6b655f;
  --ink-heading: var(--flii-brown);
  --ink-warm: var(--flii-brown);

  --radius: 14px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --font-body: "Raleway", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-heading: var(--font-body);
  --font: var(--font-body);

  --header-h: 72px;
}

body {
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--flii-ink);
  background: var(--flii-bg);
  font-variant-numeric: lining-nums;
}

::selection {
  background: var(--flii-sand);
  color: var(--flii-ink);
}

/* —— Header —— */
.site-header {
  background: rgba(238, 239, 235, 0.94);
  border-bottom: 0;
}

.nav {
  gap: 2px;
}

.nav a,
.nav a:hover,
.nav a.is-active {
  background: transparent;
  border-radius: 0;
}

.nav a {
  position: relative;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flii-ink);
}

.nav a:hover {
  color: var(--flii-brown);
}

.nav a.is-active {
  color: var(--flii-ink);
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.lang-switch__btn,
.login-switch__btn {
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  font-size: 10.9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flii-ink-soft);
}

.login-switch__btn:hover,
.login-switch.is-open .login-switch__btn,
.lang-switch__btn:hover,
.lang-switch.is-open .lang-switch__btn,
.page-ai .login-switch__btn:hover,
.page-ai .login-switch.is-open .login-switch__btn {
  background: transparent;
  border-color: var(--flii-brown);
  color: var(--flii-brown);
}

.login-switch__menu,
.lang-switch__menu {
  background: var(--flii-cream);
  border: 1px solid var(--flii-line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(47, 40, 36, 0.1);
}

/* —— Buttons: pill, letter-spaced —— */
.btn,
.page-ai .hero--minimal .hero-cta,
.page-shelf .hero--minimal .hero-cta {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header__actions .site-header__cta {
  padding: 8px 18px;
  font-size: 11px;
}

.btn--primary {
  background: var(--flii-brown);
  border-color: var(--flii-brown);
  color: var(--flii-on-brown);
}

.btn--primary:hover {
  background: var(--flii-brown-hover);
  border-color: var(--flii-brown-hover);
  color: var(--flii-on-brown);
}

.page-shelf .btn--primary,
.page-shelf .site-header__cta,
.page-shelf .hero--minimal .hero-cta,
.page-shelf .shelf-contact-cta {
  background: #1880e0;
  border-color: #1880e0;
  color: #fff;
}

.page-shelf .btn--primary:hover,
.page-shelf .site-header__cta:hover,
.page-shelf .hero--minimal .hero-cta:hover,
.page-shelf .shelf-contact-cta:hover {
  background: #146fc4;
  border-color: #146fc4;
  color: #fff;
}

.btn--ghost,
.btn--outline,
.btn--muted {
  background: transparent;
  border-color: var(--flii-brown);
  color: var(--flii-brown);
}

.btn--ghost:hover,
.btn--outline:hover,
.btn--muted:hover {
  background: var(--flii-brown);
  border-color: var(--flii-brown);
  color: var(--flii-on-brown);
}

/* —— Hero: rounded photo card with warm veil (fliiholistic signature) —— */
.hero.hero--minimal {
  --hero-photo: url("../assets/heroes/hero-home.jpg");
  position: relative;
  isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 13vw, 150px) clamp(1.5rem, 5vw, 4rem) clamp(72px, 9vw, 110px);
  border: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--flii-sand) var(--hero-photo) center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.hero.hero--minimal::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--flii-veil);
  opacity: 1;
}

.hero.hero--minimal::after {
  display: none;
}

main > .hero.hero--minimal:first-child {
  margin-top: 0;
}

@media (min-width: 1240px) {
  main > .hero.hero--minimal:first-child {
    margin-top: 8px;
  }
}

.page-ai .hero.hero--minimal {
  --hero-photo: url("../assets/heroes/hero-early-ai.jpg");
}

.page-services .hero.hero--minimal {
  --hero-photo: url("../assets/heroes/hero-services.jpg");
}

.page-services .services-hero .services-connect--hero {
  max-width: 78.125%;
}

.page-services .services-hero .services-connect--hero .enterprise-connect__diagram {
  max-width: 860px;
}

.page-shelf .hero.hero--minimal {
  --hero-photo: url("../assets/heroes/hero-early-sight.jpg");
}

.page-software .hero.hero--minimal {
  --hero-photo: url("../assets/heroes/hero-software.jpg");
}

.hero--minimal .hero__inner--minimal {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.page-ai .hero.hero--minimal h1,
.page-services .hero.hero--minimal h1,
.page-shelf .hero.hero--minimal h1 {
  margin-bottom: 12px;
  padding-bottom: 0;
}

.page-ai .hero.hero--minimal h1::after,
.page-services .hero.hero--minimal h1::after,
.page-shelf .hero.hero--minimal h1::after {
  display: none;
}

.page-ai .hero.hero--minimal .hero-subtitle,
.page-services .hero.hero--minimal .hero-subtitle,
.page-shelf .hero.hero--minimal .hero-subtitle {
  margin: 0 auto 22px;
  padding-bottom: 26px;
  position: relative;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: #fff;
}

.page-ai .hero.hero--minimal .hero-subtitle::after,
.page-services .hero.hero--minimal .hero-subtitle::after,
.page-shelf .hero.hero--minimal .hero-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}

.hero.hero--minimal h1,
html[lang="en"] .page-home .hero--minimal h1 {
  margin: 0 auto 22px;
  padding-bottom: 26px;
  position: relative;
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  white-space: normal;
  text-wrap: balance;
}

html[lang="zh-CN"] .hero.hero--minimal h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero.hero--minimal h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}

.hero--minimal .hero-intro,
.page-ai .hero--minimal .hero-intro,
.page-shelf .hero--minimal .hero-intro {
  margin: 0 auto 32px;
  max-width: 40rem;
}

.hero--minimal .hero-intro p,
.page-ai .hero--minimal .hero-intro p,
.page-shelf .hero--minimal .hero-intro p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  max-width: none;
  white-space: normal;
  text-wrap: pretty;
}

.hero--minimal .hero-intro p + p {
  margin-top: 0.6em;
}

.hero--minimal .hero__lead,
.hero--minimal .hero__lead strong {
  color: rgba(255, 255, 255, 0.92);
}

.hero--minimal .hero-cta {
  margin-left: auto;
  margin-right: auto;
}

.page-ai .hero--minimal .hero__stats {
  max-width: 40rem;
  margin: 0 auto 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.page-ai .hero--minimal .hero__stat,
.page-ai .hero--minimal .hero__stat:first-child,
.page-ai .hero--minimal .hero__stat:last-child {
  align-items: center;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.page-ai .hero--minimal .hero__stat:last-child {
  border-right: none;
}

.page-ai .hero--minimal .hero__stat strong {
  font-weight: 400;
  color: #fff;
}

.page-ai .hero--minimal .hero__stat strong::after {
  left: 50%;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}

.page-ai .hero--minimal .hero__stat span {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 640px) {
  .page-ai .hero--minimal .hero__stat,
  .page-ai .hero--minimal .hero__stat:first-child,
  .page-ai .hero--minimal .hero__stat:last-child {
    padding: 0 0 18px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .page-ai .hero--minimal .hero__stat:last-child {
    border-bottom: none;
  }
}

.page-ai .hero--minimal .hero__login-hint,
.page-shelf .hero--minimal .hero__login-hint {
  color: rgba(255, 255, 255, 0.82);
}

.page-ai .hero--minimal .hero__login-hint a,
.page-ai .hero--minimal .hero__login-hint a:hover,
.page-shelf .hero--minimal .hero__login-hint a,
.page-shelf .hero--minimal .hero__login-hint a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.hero--minimal .shelf-hero__visual {
  display: none;
}

/* Home hero product entry points — frosted cream tiles on the photo */
.page-home .hero__products {
  max-width: 44rem;
  margin: 8px auto 0;
  gap: 12px;
}

.hero-product-cta,
.hero-product-cta--ai,
.hero-product-cta--data,
.hero-product-cta--sight {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 238, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  text-align: left;
}

.hero-product-cta:hover,
.hero-product-cta--ai:hover,
.hero-product-cta--data:hover,
.hero-product-cta--sight:hover {
  background: rgba(247, 243, 238, 0.97);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.hero-product-cta__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-product-cta__desc {
  color: var(--flii-ink-soft);
}

.hero-product-cta__arrow,
.hero-product-cta--ai .hero-product-cta__arrow,
.hero-product-cta--data .hero-product-cta__arrow,
.hero-product-cta--sight .hero-product-cta__arrow {
  background: transparent;
  border: 1px solid currentColor;
  font-weight: 400;
}

/* —— About: long intro reads below a title-only photo card —— */
.page-about .hero.hero--minimal {
  max-width: none;
  margin: 0;
  padding: 8px var(--space-page-x) clamp(48px, 7vw, 88px);
  border-radius: 0;
  overflow: visible;
  background: var(--flii-bg);
  color: var(--flii-ink);
  text-align: left;
}

.page-about .hero.hero--minimal::before {
  display: none;
}

.page-about .hero--minimal .hero__inner--minimal {
  max-width: var(--max);
}

.page-about .hero.hero--minimal h1,
.page-about .about-hero h1 {
  margin: 0 0 clamp(48px, 6vw, 80px);
  padding: clamp(110px, 16vw, 200px) 2rem;
  border-radius: var(--radius-xl);
  background: var(--flii-veil), url("../assets/heroes/hero-about.jpg") center 60% / cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-about .hero.hero--minimal h1::after {
  display: none;
}

.page-about .about-intro {
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
}

.page-about .about-intro p {
  margin: 0 0 1.1em;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--flii-ink-soft);
}

.page-about .about-hero,
.page-about .about-timeline {
  border-top: 0;
  border-bottom: 0;
}

.page-about .about-timeline__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  margin: 4px 0 0;
  padding: 6px 0;
  list-style: none;
}

.page-about .about-timeline__list::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 28px;
  bottom: 28px;
  left: 4px;
  width: 1px;
  background: rgba(92, 70, 54, 0.32);
}

.page-about .about-timeline__list li {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  column-gap: 1.35rem;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.page-about .about-timeline__list li::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--flii-bg);
  box-shadow: 0 0 0 2px var(--flii-brown);
}

.page-about .about-timeline__list li:nth-child(n) .about-timeline__year {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--flii-brown);
}

.page-about .about-timeline__list p {
  margin: 0;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--flii-ink-soft);
}

.page-about .about-timeline__list li:nth-child(8n + 1) p { background: linear-gradient(165deg, #fffdfb, #f8f3ec); }
.page-about .about-timeline__list li:nth-child(8n + 2) p { background: linear-gradient(165deg, #fbf7f2, #f3e7d6); }
.page-about .about-timeline__list li:nth-child(8n + 3) p { background: linear-gradient(165deg, #f8f2e8, #efe0cc); }
.page-about .about-timeline__list li:nth-child(8n + 4) p { background: linear-gradient(165deg, #f5eee2, #ead8c0); }
.page-about .about-timeline__list li:nth-child(8n + 5) p { background: linear-gradient(165deg, #f2e9da, #e4cfb2); }
.page-about .about-timeline__list li:nth-child(8n + 6) p { background: linear-gradient(165deg, #efe4d2, #dec6a6); }
.page-about .about-timeline__list li:nth-child(8n + 7) p { background: linear-gradient(165deg, #ebdfca, #d8bda0); }
.page-about .about-timeline__list li:nth-child(8n + 8) p { background: linear-gradient(165deg, #e7d9c2, #d2b496); }

@media (max-width: 720px) {
  .page-about .about-timeline__list li {
    grid-template-columns: 1fr;
    row-gap: 8px;
    align-items: start;
  }

  .page-about .about-timeline__list li::before {
    top: 8px;
    margin-top: 0;
  }
}

/* —— Contact page title (no photo hero) —— */
.page-contact .contact-hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--flii-brown);
}

/* —— Sections & headings —— */
.section,
.section--muted,
.trust-band,
.product-pillar,
.cta-band {
  background: var(--flii-bg);
  border-top: 0;
  border-bottom: 0;
}

.section__head h2,
.cta-band h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.55rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--flii-brown);
}

html[lang="en"] .page-home .section__head h2 {
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.55rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--flii-brown);
}

html[lang="zh-CN"] .section__head h2,
html[lang="zh-CN"] .cta-band h2 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.85rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.section__head p,
.section__head .section__note,
.cta-band p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--flii-ink-soft);
}

.section h2:not(.visually-hidden):not(.sr-only),
.section h3 {
  color: var(--flii-brown);
}

/* —— Cards: cream, soft-cornered, borderless —— */
.card,
.products-overview__grid > .card,
.products-overview .card--product-ai,
.products-overview .card--product-data,
.products-overview .card--product-sight,
.card--featured {
  background: var(--flii-cream);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.card:hover,
.products-overview__grid > .card:hover,
.products-overview .card--product-ai:hover,
.products-overview .card--product-data:hover,
.products-overview .card--product-sight:hover,
.card--featured:hover {
  background: #f8f5ef;
  border: 0;
  box-shadow: none;
  transform: translateY(-2px);
}

.page-ai .ai-capabilities__grid > .card--capability:nth-child(n),
.page-about .about-advantages__grid > .about-advantage:nth-child(n),
.page-shelf .shelf-modules > .shelf-module:nth-child(n),
.page-shelf .shelf-features > .shelf-feature:nth-child(n),
.page-services .services-industries__grid > .services-industry-card:nth-child(n),
.page-shelf .shelf-price-card,
.page-shelf .shelf-plan,
.page-shelf .shelf-price-card--plus,
.page-shelf .shelf-plan--plus,
.page-shelf .shelf-price-card--pro,
.page-shelf .shelf-plan--enterprise,
.page-about .about-contact__list,
.page-shelf .shelf-contact-card,
.page-contact .contact-form-wrap,
.page-contact .contact-office,
.page-services .services-pharma__capabilities > *,
.grid-3 > .card:nth-child(n),
.grid-4 > .card:nth-child(n) {
  background: var(--flii-cream);
  border-color: transparent;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.page-ai .ai-core-products__grid > .card:nth-child(2n + 1),
.page-ai .matrix-products-grid > .card:nth-child(4n + 1) {
  background: linear-gradient(160deg, #fffaf4, #f0e2cc);
}

.page-ai .ai-core-products__grid > .card:nth-child(2n),
.page-ai .matrix-products-grid > .card:nth-child(4n + 2) {
  background: linear-gradient(200deg, #f6f0e6, #dcc6a6);
}

.page-ai .matrix-products-grid > .card:nth-child(4n + 3) {
  background: linear-gradient(145deg, #fffdf8, #f3e6d4);
}

.page-ai .matrix-products-grid > .card:nth-child(4n + 4) {
  background: linear-gradient(210deg, #f4eee4, #d4c0a2);
}

.page-ai .ai-core-products__grid > .card:hover,
.page-ai .matrix-products-grid > .card:hover {
  filter: brightness(0.985);
}

.products-overview__grid > .card {
  padding: 30px 26px 26px;
}

.products-overview__grid > .card p {
  font-size: 14px;
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.card a:not(.btn) {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* —— Trust band —— */
.page-home .trust-band {
  margin-top: clamp(72px, 8vw, 112px);
  padding-top: 0;
}

.page-home .trust-band__label {
  margin: 0 auto 32px;
  max-width: 18em;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--flii-brown);
  text-wrap: balance;
}

html[lang="zh-CN"] .page-home .trust-band__label {
  max-width: none;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.85rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.trust-logos__track {
  background: var(--flii-bg);
}

.trust-logo,
.trust-logo:hover {
  background: transparent;
}

.trust-logo img {
  mix-blend-mode: multiply;
}

/* —— Platform flow —— */
.platform-flow .platform-step {
  border: 0 !important;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.platform-step--collect {
  background: linear-gradient(165deg, #fffdfb, #f8f3ec) !important;
}

.platform-step--govern {
  background: linear-gradient(165deg, #fbf6ef, #f2e6d6) !important;
}

.platform-step--store {
  background: linear-gradient(165deg, #f6eee3, #ead9c4) !important;
}

.platform-step--action {
  background: linear-gradient(165deg, #f1e5d4, #e2cdb6) !important;
}

.platform-step--featured {
  background: linear-gradient(165deg, #ebddc8, #d8c4a8) !important;
}

.platform-step--collect:hover { background: linear-gradient(165deg, #f8f3ec, #f0e6d8) !important; }
.platform-step--govern:hover { background: linear-gradient(165deg, #f4eadc, #ead8c4) !important; }
.platform-step--store:hover { background: linear-gradient(165deg, #efe4d4, #e0cdb4) !important; }
.platform-step--action:hover { background: linear-gradient(165deg, #e8d8c2, #d6c0a4) !important; }
.platform-step--featured:hover { background: linear-gradient(165deg, #e2d0b6, #ccb496) !important; }

.platform-step__index {
  display: none;
}

.platform-step__badge {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-step__title,
.platform-step strong {
  font-weight: 400;
  font-size: 1.15rem;
}

/* —— Testimonials —— */
.card--testimonial,
.testimonials-grid > .card--testimonial {
  border: 1px solid transparent;
  border-radius: 12px;
}

.testimonials-grid > .card--testimonial:nth-child(4n + 1) {
  background: linear-gradient(160deg, #fbf8f3, #f0e6d6);
  border-color: #e6d9c8;
}

.testimonials-grid > .card--testimonial:nth-child(4n + 2) {
  background: linear-gradient(200deg, #f8f4ee, #e7d9c4);
  border-color: #ddd0bc;
}

.testimonials-grid > .card--testimonial:nth-child(4n + 3) {
  background: linear-gradient(145deg, #faf7f2, #efe3d0);
  border-color: #e4d6c2;
}

.testimonials-grid > .card--testimonial:nth-child(4n + 4) {
  background: linear-gradient(185deg, #f6f2eb, #e4d4be);
  border-color: #d9cbb6;
}

.testimonials-grid > .card--testimonial:nth-child(4n + 1):hover { background: linear-gradient(160deg, #f7f2ea, #eadcc8); }
.testimonials-grid > .card--testimonial:nth-child(4n + 2):hover { background: linear-gradient(200deg, #f3eee6, #e0d0b8); }
.testimonials-grid > .card--testimonial:nth-child(4n + 3):hover { background: linear-gradient(145deg, #f5f0e8, #e8d9c2); }
.testimonials-grid > .card--testimonial:nth-child(4n + 4):hover { background: linear-gradient(185deg, #f1ebe2, #dcc9b0); }

.testimonial__quote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--flii-ink-soft);
}

.testimonial__author {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* —— Forms —— */
input,
select,
textarea {
  font-family: var(--font-body);
}

.page-contact .contact-form__field input,
.page-contact .contact-form__field select,
.page-contact .contact-form__field textarea {
  background-color: #fff;
  border: 1px solid var(--flii-line);
  border-radius: 10px;
}

.page-contact .contact-form__field input:focus,
.page-contact .contact-form__field select:focus,
.page-contact .contact-form__field textarea:focus {
  border-color: var(--flii-brown);
  outline: none;
  box-shadow: 0 0 0 3px rgba(92, 70, 54, 0.12);
}

/* —— Footer —— */
.site-footer {
  background: var(--flii-bg-deep);
  color: var(--flii-ink-soft);
  font-size: 13.6px;
  border-top: 0;
}

.site-footer h5 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flii-brown);
}

.site-footer a {
  color: var(--flii-ink-soft);
}

.site-footer a:hover {
  color: var(--flii-brown);
}

.footer-legal {
  border-top: 0 !important;
}

.page-shelf .shelf-pillar__visual {
  padding: 1.2%;
}

.page-shelf .shelf-module__visual img {
  border: 2px solid rgba(92, 70, 54, 0.45);
}

/* —— Mobile —— */
@media (max-width: 1239px) {
  .hero.hero--minimal {
    margin-left: var(--space-page-x);
    margin-right: var(--space-page-x);
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .hero.hero--minimal {
    border-radius: var(--radius-lg);
    padding: 72px 1.25rem 56px;
  }

  .page-home .hero__products {
    grid-template-columns: 1fr;
  }

  .nav a::after {
    display: none;
  }
}
