/* ==========================================================
   Senbonzakura — Gremio latino de Black Desert Online
   Paleta: negro, dorado, carmesí y flor de cerezo.
   ========================================================== */

:root {
  --ink: #0b0708;
  --ink-2: #120b0d;
  --panel: #171013;
  --panel-2: #1f1417;
  --line: rgba(212, 168, 74, 0.2);
  --line-strong: rgba(212, 168, 74, 0.45);
  --gold: #d4a84a;
  --gold-hi: #f1d38a;
  --crimson: #c0142f;
  --crimson-deep: #5e0717;
  --sakura: #f3a9bb;
  --miku: #39c5bb; /* guiño sutil, usar con moderación */
  --text: #f4ecdd;
  --muted: #b8aa97;

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --sans: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--crimson); color: #fff; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Tipografía base ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold));
}

h2 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); line-height: 1.1; letter-spacing: -.01em;
  margin-top: .7rem;
}

.head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.head .eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(270deg, transparent, var(--gold)); }
.head__sub { color: var(--muted); margin-top: .8rem; font-size: 1.05rem; }
.head--left { text-align: left; margin-inline: 0; }
.head--left .eyebrow::after { display: none; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; letter-spacing: .01em;
  color: #fff;
  background: linear-gradient(135deg, #d61a38 0%, var(--crimson) 45%, #8d0c22 100%);
  border: 1px solid rgba(241, 211, 138, .55);
  box-shadow: 0 10px 30px -10px rgba(192, 20, 47, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 36px -12px rgba(192, 20, 47, .9), 0 0 0 4px rgba(212, 168, 74, .12), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }

.link-arrow {
  color: var(--gold-hi); text-decoration: none; font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: #fff; border-color: var(--gold-hi); }

/* ---------- Cabecera ---------- */

.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 2rem);
  transition: background .35s var(--ease), border-color .35s, padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(11, 7, 8, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
  padding-block: .6rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(72deg); }
.brand span { font-family: var(--serif); font-weight: 800; letter-spacing: .2em; font-size: .92rem; color: var(--gold-hi); }

.nav { display: flex; gap: 1.75rem; }
.nav a {
  position: relative; text-decoration: none; font-size: .9rem; color: var(--muted); font-weight: 500;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

@media (max-width: 820px) {
  .nav { display: none; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

/* ---------- 1. Portada ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 6rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
  animation: heroZoom 22s var(--ease) both;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 7, 8, .94) 0%, rgba(11, 7, 8, .78) 32%, rgba(11, 7, 8, .25) 62%, rgba(11, 7, 8, .1) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11, 7, 8, .55) 22%, transparent 45%),
    linear-gradient(180deg, rgba(11, 7, 8, .7) 0%, transparent 18%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__kanji {
  position: absolute; right: clamp(.75rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: .25em;
  color: transparent; -webkit-text-stroke: 1px rgba(241, 211, 138, .45);
  pointer-events: none; z-index: -1;
}

.hero__inner { padding-bottom: clamp(2rem, 5vh, 3.5rem); max-width: var(--wrap); }

.hero h1 { margin: 1rem 0 1.2rem; font-family: var(--serif); line-height: 1; }
.h1__pre {
  display: block; font-size: clamp(1.05rem, .9rem + .8vw, 1.5rem); font-weight: 600;
  letter-spacing: .35em; text-transform: uppercase; color: var(--sakura);
}
.h1__name {
  display: block; margin: .35rem 0 .45rem;
  font-size: clamp(3rem, 1.6rem + 7.2vw, 7rem); font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(175deg, #fff6dd 0%, var(--gold-hi) 38%, var(--gold) 70%, #9c7426 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(192, 20, 47, .35));
}
.h1__game {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: clamp(1rem, .85rem + .7vw, 1.4rem); letter-spacing: .04em; color: var(--text);
}

.hero__lead { max-width: 560px; color: #e3d7c4; font-size: clamp(1rem, .95rem + .25vw, 1.12rem); }

.badges { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 2rem; max-width: 640px; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  background: rgba(23, 16, 19, .7); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge::before { content: "✿"; color: var(--gold); font-size: .8em; }
.badge--live { border-color: rgba(57, 197, 187, .55); color: #fff; }
.badge--live::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--miku); box-shadow: 0 0 0 0 rgba(57, 197, 187, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57, 197, 187, .6); } 70% { box-shadow: 0 0 0 9px rgba(57, 197, 187, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 197, 187, 0); } }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }

/* Pétalos */
.hero__petals, .join__petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.petal {
  position: absolute; top: -40px; width: var(--s, 14px); height: var(--s, 14px);
  background: radial-gradient(circle at 30% 30%, #ffd3dd, var(--sakura) 55%, #d9768f);
  border-radius: 80% 0 80% 0;
  opacity: .0;
  animation: fall var(--d, 14s) linear var(--delay, 0s) infinite;
}
.petal--gold { background: radial-gradient(circle at 30% 30%, #fff1c4, var(--gold-hi) 50%, var(--gold)); }
@keyframes fall {
  0% { transform: translate3d(0, -5vh, 0) rotate(0deg); opacity: 0; }
  10% { opacity: var(--o, .75); }
  90% { opacity: var(--o, .75); }
  100% { transform: translate3d(var(--x, -120px), 105vh, 0) rotate(var(--r, 540deg)); opacity: 0; }
}

/* Calpheon Ball */
.ball { border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(94, 7, 23, .55), rgba(11, 7, 8, .75) 45%, rgba(11, 7, 8, .75)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ball__inner { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 2rem; padding-block: .9rem; }
.ball__info { display: flex; flex-direction: column; gap: .1rem; margin-right: auto; }
.ball__title { font-family: var(--serif); font-weight: 800; color: var(--gold-hi); letter-spacing: .06em; }
.ball__title span { color: var(--crimson); }
.ball__date { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.ball__local { color: var(--text); }
.ball__clock { display: flex; gap: .5rem; }
.ball__clock span { display: flex; align-items: baseline; gap: .25rem; padding: .3rem .65rem; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ball__clock b { font-family: var(--serif); font-size: 1.25rem; font-variant-numeric: tabular-nums; color: #fff; min-width: 2ch; text-align: right; }
.ball__clock small { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ball__done { color: var(--gold-hi); font-weight: 500; font-size: .92rem; }
.ball__link { font-size: .85rem; color: var(--gold); text-decoration: none; white-space: nowrap; }
.ball__link:hover { color: var(--gold-hi); text-decoration: underline; }

@media (max-width: 640px) {
  .hero__bg img { object-position: 78% 40%; }
  .hero::before {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(11, 7, 8, .88) 42%, rgba(11, 7, 8, .35) 75%, rgba(11, 7, 8, .55) 100%);
  }
  .hero__kanji { top: 6.5rem; transform: none; font-size: 2rem; }
  .ball__inner { gap: .6rem 1rem; }
  .ball__info { width: 100%; }
  .ball__clock span { padding: .25rem .5rem; }
  .ball__clock b { font-size: 1.1rem; }
  .actions .btn { width: 100%; }
}

/* ---------- Secciones ---------- */

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }

/* ---------- 2. Lo que ofrecemos ---------- */

.offer {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(192, 20, 47, .12), transparent 70%),
    var(--ink);
}

.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(192, 20, 47, .55); }
.tile h3 { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; line-height: 1.25; margin-bottom: .35rem; }
.tile p { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.tile__icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: .8rem; }

/* Tarjetas sin imagen */
.tile--plain { padding: 1.4rem 1.4rem 1.5rem; }
.tile--plain::after {
  content: "✿"; position: absolute; right: -.4rem; bottom: -1.6rem;
  font-size: 5.5rem; line-height: 1; color: rgba(212, 168, 74, .05);
  transition: transform .6s var(--ease), color .4s;
}
.tile--plain:hover::after { transform: rotate(40deg); color: rgba(212, 168, 74, .1); }

/* Tarjetas con imagen */
.tile--img { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--img:hover > img { transform: scale(1.045); }
.tile--img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(11, 7, 8, .96) 0%, rgba(11, 7, 8, .72) 38%, rgba(11, 7, 8, .05) 72%);
}
.tile__body { position: relative; z-index: 2; padding: 1.5rem; max-width: 520px; }
.tile--img p { color: #d9cdb9; }
.tile--pve h3, .tile--life h3 { font-size: 1.5rem; }

/* Jefes de Gremio: el banner se muestra completo */
.tile--boss { min-height: 0; justify-content: flex-start; }
.tile--boss > img { position: relative; inset: auto; height: auto; aspect-ratio: 1983 / 793; }
.tile--boss::before { display: none; }
.tile--boss .tile__body { padding: 1.1rem 1.4rem 1.3rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; max-width: none; border-top: 1px solid var(--line); }
.tile--boss .tile__body h3 { grid-column: 2; grid-row: 1; margin: 0; }
.tile--boss .tile__body p { grid-column: 2; grid-row: 2; }
.tile--boss .tag { grid-row: 1 / 3; }

.tag {
  display: inline-block; padding: .55rem .8rem; border-radius: 10px;
  font-family: var(--serif); font-weight: 800; font-size: .85rem; line-height: 1.15; text-align: center;
  color: var(--ink); background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  max-width: 7.5rem;
}

@media (min-width: 620px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--pve, .tile--boss, .tile--life { grid-column: span 2; }
  .tile--pve, .tile--life { min-height: 380px; }
}

@media (min-width: 980px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); }
  .tile--pve { grid-column: span 2; grid-row: span 2; }
  .tile--boss { grid-column: span 2; }
  .tile--life { grid-column: span 2; grid-row: span 2; }
  .tile--vell { min-height: 0; }
}

/* ---------- 3. Comunidad ---------- */

.community { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem, 11vw, 9rem) 0; }
.community__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.community::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 7, 8, .96) 0%, rgba(11, 7, 8, .86) 38%, rgba(11, 7, 8, .3) 70%, rgba(11, 7, 8, .15) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 20%, transparent 80%, var(--ink) 100%);
}
.community__text { max-width: 560px; }
.community__text > p:not(.eyebrow) { color: #ddd1be; margin-top: 1rem; }
.community__text h2 { margin-bottom: .5rem; }

.motto {
  margin: 1.8rem 0 2rem; padding: .2rem 0 .2rem 1.2rem;
  border-left: 2px solid var(--crimson);
  font-family: var(--serif); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.3;
  color: var(--gold-hi);
}

@media (max-width: 760px) {
  .community::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 7, 8, .9) 55%, rgba(11, 7, 8, .55) 100%); }
  .community { padding-top: 14rem; }
  .community__bg { height: 60%; object-position: 70% 30%; }
}

/* ---------- 4. Normas ---------- */

.rules { background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.rules__grid { display: grid; gap: 2rem; }
.rules .head { margin-bottom: 0; }
@media (min-width: 900px) {
  .rules__grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
}

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem .25rem; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.02rem;
  transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { flex: 1; }
.accordion summary em { font-style: normal; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.accordion summary::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion summary:hover { color: var(--gold-hi); }
.accordion details > p, .accordion details > ul { padding: 0 .25rem 1.2rem; color: var(--muted); max-width: 60ch; }
.accordion details[open] > p, .accordion details[open] > ul { animation: open .35s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.servers { display: grid; gap: .45rem; }
.servers li { display: flex; gap: .8rem; align-items: baseline; }
.servers b { color: var(--text); min-width: 5.5rem; font-weight: 700; }

/* ---------- 5. Equipo ---------- */

.team { background: var(--ink-2); padding-top: clamp(3rem, 6vw, 5rem); }
.team .head { margin-bottom: 2rem; }
.ranks { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .ranks { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.rank__t {
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  padding-bottom: .7rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line);
}
.member { display: flex; gap: .85rem; padding: .85rem 0; }
.member + .member { border-top: 1px dashed rgba(212, 168, 74, .12); }
.mono {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 800; font-size: .95rem; color: var(--gold-hi);
  border: 1px solid var(--line-strong); background: rgba(192, 20, 47, .12);
}
.member__name { font-weight: 700; font-size: 1rem; }
.member__name small { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: .3rem; }
.member__role { font-size: .88rem; color: var(--muted); line-height: 1.5; margin-top: .15rem; }
.member__links { display: flex; gap: 1rem; margin-top: .35rem; }
.member__links a { font-size: .8rem; color: var(--gold); text-decoration: none; }
.member__links a:hover { color: var(--gold-hi); text-decoration: underline; }

/* ---------- 6. Reclutamiento ---------- */

.join {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    radial-gradient(55% 70% at 50% 100%, rgba(192, 20, 47, .45), transparent 70%),
    radial-gradient(40% 50% at 50% 30%, rgba(212, 168, 74, .08), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.join::before {
  content: "千本桜"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1;
  font-family: var(--serif); font-weight: 800; font-size: clamp(7rem, 22vw, 18rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 168, 74, .07);
}
.join__inner { max-width: 680px; display: flex; flex-direction: column; align-items: center; }
.join__logo { width: 84px; height: 84px; margin-bottom: 1.25rem; filter: drop-shadow(0 8px 24px rgba(212, 168, 74, .35)); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.join h2 { margin-bottom: 1rem; }
.join p:not(.eyebrow):not(.join__note) { color: #ddd1be; font-size: 1.08rem; margin-bottom: 2rem; }
.join__note { margin-top: 1.5rem; font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: #070405; padding: 2.5rem 0 2rem; }
.footer__inner { display: grid; gap: 1.5rem; }
.footer__brand { display: flex; gap: 1rem; align-items: center; }
.footer__brand img { width: 40px; height: 40px; }
.footer__name { font-weight: 700; }
.footer__motto { font-family: var(--serif); color: var(--gold); font-size: .95rem; margin-top: .2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer__links a:hover { color: var(--gold-hi); }
.footer__legal { font-size: .78rem; color: #7d7264; }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__legal { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid rgba(212, 168, 74, .1); }
}

/* ---------- Aparición al hacer scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tile.reveal { transition: opacity .8s var(--ease), transform .5s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.js .tile.reveal.is-in:hover { transform: translateY(-3px); }
.js .hero .reveal { transition-duration: 1s; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; }
.js .hero .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero .reveal:nth-child(4) { transition-delay: .24s; }
.js .hero .reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- Movimiento reducido ---------- */

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