/* ==========================================================================
   FREEDOM MAXELL JEWELRY — Portafolio Corporativo
   Todo el CSS está bajo .fm para poder anexarlo al sitio sin choques.
   Paleta y tipografía tomadas de freedommaxell.com (Cormorant + Jost).
   ========================================================================== */

.fm {
  --ivory: #EFE6D2;
  --ivory-2: #E8DCC3;
  --ivory-3: #F5EEDC;
  --ink: #16110B;
  --ink-soft: #3B342A;
  --muted: #6B5F4D;
  --bronze: #6E4A05;
  --gold: #C9A45C;
  --gold-hi: #E8CF8E;
  --gold-deep: #A9822F;
  --emerald: #00261D;
  --emerald-2: #003024;
  --emerald-3: #0F6B4C;
  --line: rgba(110, 74, 5, .22);
  --line-light: rgba(232, 207, 142, .22);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;

  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
.fm *, .fm *::before, .fm *::after { box-sizing: border-box; }
:where(.fm) img { display: block; max-width: 100%; }
:where(.fm) a { color: inherit; text-decoration: none; }
:where(.fm) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.fm ::selection { background: var(--gold-hi); color: var(--ink); }

/* Grano de papel fino sobre toda la página */
.fm::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Utilidades tipográficas ---------- */
.fm-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.fm-eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .34em;
  text-transform: uppercase; color: var(--bronze); display: inline-flex; align-items: center; gap: 14px;
}
.fm-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.fm-dark .fm-eyebrow { color: var(--gold-hi); }
.fm-display {
  font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(44px, 7.4vw, 112px); margin: 0;
}
.fm-h2 {
  font-family: var(--serif); font-weight: 300; line-height: 1.05; letter-spacing: -.005em;
  font-size: clamp(36px, 5vw, 68px); margin: 18px 0 0;
}
.fm-display em, .fm-h2 em, .fm-quote em { font-style: italic; color: var(--bronze); }
.fm-dark .fm-display em, .fm-dark .fm-h2 em, .fm-dark .fm-quote em { color: var(--gold-hi); }
.fm-lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-soft); max-width: 58ch; }
.fm-dark .fm-lead { color: rgba(239, 230, 210, .78); }
.fm-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: 0; margin: 0; }
.fm-orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.fm-orn::before, .fm-orn::after { content: ""; width: 70px; height: 1px; background: currentColor; opacity: .6; }
.fm-orn svg { width: 14px; height: 14px; }

/* ---------- Botones ---------- */
.fm-btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 17px 30px;
  font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  border: 1px solid var(--gold); position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.fm-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%);
  transition: transform .6s var(--ease); background: var(--ink);
}
.fm-btn:hover::before, .fm-btn:focus-visible::before { transform: translateY(0); }
.fm-btn--gold { background: linear-gradient(135deg, #B8913F, #E2C27A 48%, #A57A27); color: var(--ink); border-color: transparent; }
.fm-btn--gold:hover { color: var(--gold-hi); }
.fm-btn--ghost { color: var(--ivory); border-color: rgba(232, 207, 142, .45); }
.fm-btn--ghost::before { background: var(--gold-hi); }
.fm-btn--ghost:hover { color: var(--ink); }
.fm-btn--ink { color: var(--ink); border-color: var(--ink); }
.fm-btn--ink:hover { color: var(--ivory); }
.fm-btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.fm-btn:hover svg { transform: translateX(4px); }
.fm a:focus-visible, .fm button:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Header ---------- */
.fm-header {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .5s var(--ease), border-color .5s, padding .5s var(--ease);
  border-bottom: 1px solid transparent; padding: 22px 0;
}
.fm-header.is-solid { background: rgba(239, 230, 210, .94); backdrop-filter: blur(12px); border-color: var(--line); padding: 12px 0; }
.fm-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fm-brand { display: flex; align-items: center; gap: 14px; color: var(--ivory); transition: color .5s; }
.fm-header.is-solid .fm-brand { color: var(--ink); }
.fm-brand img { width: 46px; height: 46px; object-fit: contain; }
.fm-brand__name { font-family: var(--serif); font-size: 22px; letter-spacing: .26em; line-height: 1; font-weight: 400; }
.fm-brand__sub { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .6em; margin-top: 6px; opacity: .75; }
.fm-nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.fm-nav a {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
  color: rgba(239, 230, 210, .82); position: relative; padding: 6px 0; transition: color .4s;
}
.fm-header.is-solid .fm-nav a { color: var(--ink-soft); }
.fm-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
.fm-nav a:hover::after { transform: scaleX(1); }
.fm-header .fm-btn { padding: 12px 20px; }
.fm-header:not(.is-solid) .fm-btn--ink { color: var(--ivory); border-color: rgba(232, 207, 142, .5); }
.fm-menu-btn { display: none; width: 44px; height: 44px; color: var(--ivory); }
.fm-header.is-solid .fm-menu-btn { color: var(--ink); }
.fm-menu-btn span { display: block; width: 24px; height: 1px; background: currentColor; margin: 7px auto; transition: transform .4s var(--ease); }

/* ---------- Hero ---------- */
.fm-hero {
  min-height: 100svh; background: radial-gradient(120% 90% at 78% 30%, #0B4A37 0%, var(--emerald-2) 38%, var(--emerald) 72%, #00140F 100%);
  color: var(--ivory); position: relative; display: flex; flex-direction: column; overflow: hidden;
}
.fm-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(115deg, transparent 0 120px, rgba(232, 207, 142, .035) 120px 121px);
}
.fm-hero__grid {
  flex: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 96px);
  align-items: center; padding-top: 140px; padding-bottom: 60px; position: relative;
}
.fm-hero__meta { display: flex; gap: 28px; margin-top: 46px; flex-wrap: wrap; }
.fm-hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); color: var(--gold-hi); margin: 22px 0 0; font-weight: 300; }
.fm-hero .fm-lead { margin-top: 26px; }
.fm-hero__ctas { display: flex; gap: 16px; margin-top: 42px; flex-wrap: wrap; }
.fm-arch { position: relative; aspect-ratio: 4 / 5.2; max-height: 74vh; margin-left: auto; width: 100%; max-width: 520px; }
.fm-arch__img {
  position: absolute; inset: 0; border-radius: 999px 999px 4px 4px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.fm-arch__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.fm-arch:hover .fm-arch__img img { transform: scale(1.12); }
.fm-arch__line { position: absolute; inset: -18px -18px 18px 18px; border: 1px solid rgba(232, 207, 142, .45); border-radius: 999px 999px 4px 4px; pointer-events: none; }
.fm-arch__tag {
  position: absolute; left: -38px; bottom: 54px; background: var(--ivory); color: var(--ink); padding: 18px 22px;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.fm-arch__tag strong { display: block; font-family: var(--serif); font-size: 24px; letter-spacing: .02em; text-transform: none; font-weight: 400; font-style: italic; color: var(--bronze); margin-top: 4px; }
.fm-stat { border-left: 1px solid var(--line-light); padding-left: 18px; }
.fm-stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: 34px; color: var(--gold-hi); line-height: 1; }
.fm-stat span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(239, 230, 210, .65); }

.fm-marquee { border-top: 1px solid var(--line-light); overflow: hidden; position: relative; }
.fm-marquee__track { display: flex; width: max-content; animation: fm-marquee 48s linear infinite; }
.fm-marquee__track span {
  font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(239, 230, 210, .72);
  padding: 20px 34px; white-space: nowrap; display: inline-flex; align-items: center; gap: 68px;
}
.fm-marquee__track span::after { content: "✦"; font-style: normal; font-size: 10px; color: var(--gold); }
@keyframes fm-marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.fm-section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.fm-dark { background: var(--emerald); color: var(--ivory); }
.fm-paper { background: var(--ivory-3); }
.fm-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.fm-head .fm-lead { justify-self: end; }
.fm-center { text-align: center; }
.fm-center .fm-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* Maison */
.fm-maison { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.fm-maison__visual { position: relative; }
.fm-maison__visual .fm-frame { aspect-ratio: 4 / 5; }
.fm-maison__visual .fm-frame--sm { position: absolute; width: 46%; aspect-ratio: 1; right: -12%; bottom: -10%; border: 10px solid var(--ivory); }
.fm-frame { overflow: hidden; background: #fff; position: relative; }
.fm-frame img { width: 100%; height: 100%; object-fit: cover; }
.fm-quote { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.16; margin: 26px 0 34px; }
.fm-maison p { color: var(--ink-soft); margin: 0 0 18px; max-width: 60ch; }
.fm-sign { margin-top: 40px; display: flex; align-items: center; gap: 22px; }
.fm-sign img { width: 64px; }
.fm-sign span { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--bronze); line-height: 1.3; }
.fm-sign small { display: block; font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

/* Pilares: filosofía, misión, visión */
.fm-pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fm-pillar { padding: 54px clamp(20px, 3vw, 48px) 10px 0; border-right: 1px solid var(--line); }
.fm-pillar + .fm-pillar { padding-left: clamp(20px, 3vw, 48px); }
.fm-pillar:last-child { border-right: 0; }
.fm-pillar__num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 18px; }
.fm-pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 10px 0 18px; line-height: 1.1; }
.fm-pillar p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* Colecciones */
.fm-colls { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.fm-coll { position: relative; overflow: hidden; display: block; background: #fff; cursor: pointer; text-align: left; padding: 0; }
.fm-coll:nth-child(1) { grid-column: span 7; aspect-ratio: 7 / 6; }
.fm-coll:nth-child(2) { grid-column: span 5; aspect-ratio: 5 / 6; }
.fm-coll:nth-child(3) { grid-column: span 5; aspect-ratio: 5 / 6; }
.fm-coll:nth-child(4) { grid-column: span 7; aspect-ratio: 7 / 6; }
.fm-coll img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1.2s; }
.fm-coll::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 15, 0) 40%, rgba(0, 20, 15, .82) 100%);
  transition: opacity .8s var(--ease);
}
.fm-coll:hover img { transform: scale(1.06); }
.fm-coll__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 40px); z-index: 2; color: var(--ivory); display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.fm-coll__body small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-hi); }
.fm-coll__body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; margin: 8px 0 0; }
.fm-coll__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(232, 207, 142, .6); display: grid; place-items: center; flex: none; transition: background .5s, color .5s; }
.fm-coll:hover .fm-coll__go { background: var(--gold-hi); color: var(--ink); }
.fm-coll__go svg { width: 18px; }
.fm-coll__frame { position: absolute; inset: 14px; border: 1px solid rgba(232, 207, 142, 0); z-index: 2; transition: border-color .8s var(--ease), inset .8s var(--ease); pointer-events: none; }
.fm-coll:hover .fm-coll__frame { border-color: rgba(232, 207, 142, .55); inset: 20px; }

/* Vitrina */
.fm-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: 44px 0 64px; }
.fm-filter {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); padding: 10px 0; position: relative;
}
.fm-filter sup { font-size: 9px; color: var(--gold-deep); margin-left: 4px; letter-spacing: 0; }
.fm-filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--bronze); transform: scaleX(0); transition: transform .5s var(--ease); }
.fm-filter.is-on { color: var(--ink); }
.fm-filter.is-on::after, .fm-filter:hover::after { transform: scaleX(1); }
.fm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.4vw, 36px) clamp(14px, 1.8vw, 26px); }
.fm-card { text-align: left; padding: 0; display: block; width: 100%; }
.fm-card__img { aspect-ratio: 1; background: #fff; overflow: hidden; position: relative; }
.fm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fm-card:hover .fm-card__img img { transform: scale(1.07); }
.fm-card__img::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(169, 130, 47, 0); transition: border-color .6s var(--ease); }
.fm-card:hover .fm-card__img::after { border-color: rgba(169, 130, 47, .45); }
.fm-card__view {
  position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0; z-index: 1;
  background: var(--ivory); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; padding: 9px 16px; white-space: nowrap;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.fm-card:hover .fm-card__view, .fm-card:focus-visible .fm-card__view { opacity: 1; transform: translate(-50%, 0); }
.fm-card__ref { display: flex; justify-content: space-between; margin-top: 16px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.fm-card__ref b { color: var(--gold-deep); font-weight: 500; }
.fm-card h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; margin: 6px 0 4px; }
.fm-card p { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.fm-card.is-hidden { display: none; }
.fm-grid-note { text-align: center; margin-top: 64px; color: var(--muted); font-size: 13px; letter-spacing: .04em; }

/* Índice de categorías */
.fm-index { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(40px, 6vw, 100px); }
.fm-index__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-light); transition: padding .5s var(--ease); }
.fm-index__row:hover { padding-left: 10px; }
.fm-index__row i { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 17px; }
.fm-index__row h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); margin: 0; line-height: 1.15; }
.fm-index__row p { margin: 6px 0 0; font-size: 14px; color: rgba(239, 230, 210, .62); }
.fm-index__row span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }

/* Bespoke */
.fm-bespoke { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); }
.fm-bespoke__sticky { position: sticky; top: 120px; align-self: start; }
.fm-bespoke__sticky .fm-frame { aspect-ratio: 1; margin-top: 46px; }
.fm-steps { counter-reset: s; }
.fm-step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.fm-step:first-child { border-top: 1px solid var(--line); }
.fm-step__n { font-family: var(--serif); font-size: 54px; font-weight: 300; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--gold-deep); }
.fm-step h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 8px; line-height: 1.15; }
.fm-step p { margin: 0; color: var(--ink-soft); font-size: 15px; max-width: 52ch; }

/* Garantía */
.fm-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fm-trust__item { background: var(--ivory); padding: clamp(32px, 3.4vw, 54px); transition: background .6s var(--ease); }
.fm-trust__item:hover { background: var(--ivory-3); }
.fm-trust__item svg { width: 34px; height: 34px; color: var(--gold-deep); }
.fm-trust__item h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 22px 0 10px; line-height: 1.15; }
.fm-trust__item p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* Valores */
.fm-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 56px; }
.fm-value { flex: 1 1 0; min-width: 150px; text-align: center; padding: 34px 18px; border-left: 1px solid var(--line-light); }
.fm-value:first-child { border-left: 0; }
.fm-value b { display: block; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 30px; color: var(--gold-hi); line-height: 1.1; }
.fm-value span { display: block; margin-top: 12px; font-size: 13px; color: rgba(239, 230, 210, .66); line-height: 1.55; }

/* Privé */
.fm-prive { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.fm-tier { border: 1px solid var(--line); padding: clamp(32px, 3.4vw, 48px); position: relative; background: var(--ivory); display: flex; flex-direction: column; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.fm-tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(22, 17, 11, .45); }
.fm-tier--feature { background: var(--emerald); color: var(--ivory); border-color: transparent; }
.fm-tier small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.fm-tier--feature small { color: var(--gold-hi); }
.fm-tier h3 { font-family: var(--serif); font-weight: 300; font-size: 38px; line-height: 1.05; margin: 14px 0 18px; }
.fm-tier p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 22px; }
.fm-tier--feature p { color: rgba(239, 230, 210, .75); }
.fm-tier ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.fm-tier li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; display: flex; gap: 12px; }
.fm-tier--feature li { border-color: var(--line-light); }
.fm-tier li::before { content: "✦"; color: var(--gold); font-size: 9px; padding-top: 5px; }
.fm-allies { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; border-top: 1px solid var(--line); padding-top: 54px; }
.fm-allies__list { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-allies__list span { border: 1px solid var(--line); padding: 10px 18px; font-size: 13px; color: var(--ink-soft); border-radius: 999px; }

/* Contacto */
.fm-contact { text-align: center; position: relative; overflow: hidden; }
.fm-contact__logo { width: clamp(110px, 12vw, 160px); margin: 0 auto 30px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.fm-contact .fm-display { font-size: clamp(42px, 6.4vw, 96px); }
.fm-contact .fm-lead { margin: 26px auto 0; }
.fm-contact__ctas { display: flex; justify-content: center; gap: 16px; margin-top: 46px; flex-wrap: wrap; }
.fm-channels { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line-light); }
.fm-channel { padding: 34px 16px; border-right: 1px solid var(--line-light); transition: background .5s; }
.fm-channel:last-child { border-right: 0; }
.fm-channel:hover { background: rgba(232, 207, 142, .05); }
.fm-channel small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(239, 230, 210, .55); }
.fm-channel b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; margin-top: 8px; color: var(--gold-hi); word-break: break-word; }

.fm-footer { background: #00140F; color: rgba(239, 230, 210, .55); font-size: 12px; letter-spacing: .08em; padding: 30px 0; }
.fm-footer .fm-wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fm-footer em { font-family: var(--serif); font-size: 15px; color: var(--gold-hi); }

/* ---------- Lightbox ---------- */
.fm-lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility .5s; }
.fm-lb.is-open { visibility: visible; opacity: 1; }
.fm-lb__bg { position: absolute; inset: 0; background: rgba(0, 16, 12, .86); backdrop-filter: blur(6px); }
.fm-lb__box {
  position: relative; width: min(1080px, 100%); max-height: calc(100svh - 48px); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: var(--ivory);
  transform: translateY(24px) scale(.98); transition: transform .6s var(--ease);
}
.fm-lb.is-open .fm-lb__box { transform: none; }
.fm-lb__img { background: #fff; position: relative; min-height: min(560px, 70svh); }
.fm-lb__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fm-lb__info { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.fm-lb__info h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; margin: 16px 0 26px; }
.fm-lb__specs { margin: 0 0 32px; border-top: 1px solid var(--line); }
.fm-lb__specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fm-lb__specs dt { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.fm-lb__specs dd { margin: 0; text-align: right; }
.fm-lb__note { font-size: 12.5px; color: var(--muted); margin: auto 0 22px; }
.fm-lb__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; z-index: 2; border: 1px solid var(--line); }
.fm-lb__close svg { width: 16px; }
.fm-lb__nav { display: flex; gap: 10px; margin-top: 16px; }
.fm-lb__nav button { flex: 1; padding: 12px; border: 1px solid var(--line); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; transition: background .4s; }
.fm-lb__nav button:hover { background: var(--ivory-2); }

/* ---------- Revelado al hacer scroll ---------- */
.fm-js .fm-reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.fm-js .fm-reveal.is-in { opacity: 1; transform: none; }
.fm-js .fm-hero .fm-reveal { transition-duration: 1.6s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  .fm-nav { display: none; }
  .fm-menu-btn { display: block; }
  .fm-header .fm-btn { display: none; }
  .fm-nav.is-open {
    display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--emerald); z-index: -1;
    justify-content: center; align-items: center; gap: 26px;
  }
  .fm-nav.is-open a { color: var(--ivory) !important; font-size: 14px; }
  .fm-grid { grid-template-columns: repeat(3, 1fr); }
  .fm-trust, .fm-prive { grid-template-columns: repeat(2, 1fr); }
  .fm-tier--feature { grid-column: span 2; order: -1; }
  .fm-values .fm-value { flex-basis: 25%; }
}
@media (max-width: 860px) {
  .fm-hero__grid, .fm-maison, .fm-head, .fm-bespoke, .fm-allies, .fm-lb__box { grid-template-columns: 1fr; }
  .fm-hero__grid { padding-top: 120px; }
  .fm-arch { max-width: 360px; margin: 10px auto 0; }
  .fm-arch__tag { left: -14px; }
  .fm-head .fm-lead { justify-self: start; }
  .fm-pillars { grid-template-columns: 1fr; }
  .fm-pillar, .fm-pillar + .fm-pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 0; }
  .fm-coll:nth-child(n) { grid-column: span 12; aspect-ratio: 4 / 3.4; }
  .fm-grid { grid-template-columns: repeat(2, 1fr); }
  .fm-index { grid-template-columns: 1fr; }
  .fm-bespoke__sticky { position: static; }
  .fm-bespoke__sticky .fm-frame { display: none; }
  .fm-channels { grid-template-columns: repeat(2, 1fr); }
  .fm-channel:nth-child(2) { border-right: 0; }
  .fm-channel:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .fm-maison__visual { margin-right: 12%; }
  .fm-lb__img { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 560px) {
  .fm-trust, .fm-prive { grid-template-columns: 1fr; }
  .fm-tier--feature { grid-column: auto; }
  .fm-index__row { grid-template-columns: 38px 1fr; }
  .fm-index__row span { grid-column: 2; }
  .fm-step { grid-template-columns: 60px 1fr; gap: 14px; }
  .fm-step__n { font-size: 40px; }
  .fm-brand__name { font-size: 17px; letter-spacing: .2em; }
  .fm-brand img { width: 38px; height: 38px; }
  .fm-hero__meta { gap: 18px; }
  .fm-stat b { font-size: 28px; }
  .fm-values .fm-value { flex-basis: 50%; border-left: 0; border-top: 1px solid var(--line-light); }
  .fm-btn { padding: 15px 22px; letter-spacing: .2em; }
}

/* Integración en freedommaxell.com: el águila vuelve a la tienda; en el menú del celular aparece «← Tienda» */
.fm-brand, .fm-header .fm-btn, .fm-nav a { flex-shrink: 0; }
.fm-nav a, .fm-header .fm-btn, .fm-brand__name { white-space: nowrap; }
.fm-nav a.fm-nav__home { display: none; color: var(--gold-hi) !important; }
@media (max-width: 1220px) { .fm-nav.is-open a.fm-nav__home { display: block; } }
