:root {
  --fm-green: #53604f;
  --fm-sage: #87937e;
  --fm-rose: #b98079;
  --fm-blush: #d7bba8;
  --fm-cream: #f7f2eb;
  --fm-ink: #2f342f;
  --fm-white: #ffffff;
}

.fmseo-page {
  color: var(--fm-ink);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(18px, 4vw, 64px) 72px;
}

.fmseo-page *, .fmseo-page *::before, .fmseo-page *::after { box-sizing: border-box; }
.fmseo-page section { margin: 70px 0; }
.fmseo-page h1, .fmseo-page h2, .fmseo-page h3 { color: var(--fm-green); line-height: 1.12; margin: 0 0 20px; text-wrap: balance; }
.fmseo-page h1 { font-size: clamp(2.3rem, 6vw, 4.7rem); letter-spacing: -0.035em; }
.fmseo-page h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.02em; }
.fmseo-page h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.fmseo-page a { color: var(--fm-green); }
.fmseo-page img { border-radius: 32px; display: block; height: auto; max-width: 100%; width: 100%; }
.fmseo-page ol, .fmseo-page ul { padding-left: 1.3em; }
.fmseo-page li { margin: 0.45em 0; }

.fmseo-hero { align-items: center; display: grid; gap: clamp(28px, 6vw, 84px); grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr); margin-top: 34px !important; }
.fmseo-hero figure { margin: 0; }
.fmseo-lead { font-size: clamp(1.1rem, 2.1vw, 1.35rem); max-width: 760px; }
.fmseo-eyebrow { color: var(--fm-rose); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; margin-bottom: 14px; }

.fmseo-button { background: var(--fm-green); border: 2px solid var(--fm-green); border-radius: 999px; color: var(--fm-white) !important; display: inline-flex; font-size: 1rem; font-weight: 700; justify-content: center; padding: 14px 24px; text-decoration: none !important; transition: transform .2s ease, background .2s ease; }
.fmseo-button:hover, .fmseo-button:focus { background: var(--fm-rose); border-color: var(--fm-rose); transform: translateY(-2px); }
.fmseo-cta { margin: 28px 0 0; }
.fmseo-cta p { font-size: 0.9rem; margin: 10px 0 0; opacity: .76; }

.fmseo-trust { background: var(--fm-cream); border-radius: 22px; display: grid; gap: 10px 22px; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 30px 0 70px; padding: 22px !important; }
.fmseo-trust li { font-size: .95rem; margin: 0; padding-left: 22px; position: relative; }
.fmseo-trust li::before { color: var(--fm-rose); content: "✓"; font-weight: 800; left: 0; position: absolute; }

.fmseo-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.fmseo-card { background: var(--fm-cream); border: 1px solid rgba(83,96,79,.12); border-radius: 24px; overflow: hidden; padding: 0; }
.fmseo-card h2, .fmseo-card h3 { font-size: 1.35rem; }
.fmseo-card a { text-decoration: none; }
.fmseo-card-copy { padding: 24px 26px 26px; }
.fmseo-card-image { display: block; overflow: hidden; }
.fmseo-card img { aspect-ratio: 4 / 3; border-radius: 0; object-fit: cover; transition: transform .35s ease; }
.fmseo-catalog-card:hover img { transform: scale(1.025); }
.fmseo-measure { color: var(--fm-sage); font-size: .95rem; }
.fmseo-price { color: var(--fm-rose); font-size: 1.12rem; font-weight: 800; }
.fmseo-product-price { font-size: 1.35rem; }
.fmseo-size-card img { aspect-ratio: 1 / 1; }

.fmseo-size-guide { background: var(--fm-cream); border-radius: 30px; overflow: hidden; padding: clamp(26px, 5vw, 54px); }
.fmseo-size-guide > div:first-child { max-width: 760px; }
.fmseo-size-guide .fmseo-card { background: var(--fm-white); }
.fmseo-size-guide figure { margin: 0; }
.fmseo-size-guide img { border-radius: 22px; }

.fmseo-split { align-items: stretch; display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.fmseo-panel { background: linear-gradient(135deg, var(--fm-cream), #efe3d9); border-radius: 28px; padding: clamp(26px, 4vw, 48px); }
.fmseo-link-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.fmseo-link-grid a { border: 1px solid var(--fm-blush); border-radius: 16px; font-weight: 650; padding: 16px 18px; text-decoration: none; }
.fmseo-link-grid a:hover { background: var(--fm-cream); }

.fmseo-faq details { border-bottom: 1px solid rgba(83,96,79,.18); padding: 18px 0; }
.fmseo-faq summary { color: var(--fm-green); cursor: pointer; font-weight: 750; }
.fmseo-language { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 8px; }
.fmseo-language a { font-size: .88rem; font-weight: 700; text-decoration: none; }
.fmseo-language a.is-active { color: var(--fm-rose); }
.fmseo-template-language { margin: 18px auto 0; max-width: 1180px; padding: 0 clamp(18px, 4vw, 64px); }

@media (max-width: 820px) {
  .fmseo-page { font-size: 16px; padding-inline: 18px; }
  .fmseo-page section { margin: 48px 0; }
  .fmseo-hero, .fmseo-split { grid-template-columns: 1fr; }
  .fmseo-hero figure { grid-row: 1; }
  .fmseo-trust { grid-template-columns: 1fr 1fr; margin-bottom: 48px; }
  .fmseo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .fmseo-trust, .fmseo-link-grid { grid-template-columns: 1fr; }
  .fmseo-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .fmseo-button { transition: none; }
}
