/* ==========================================================================
   Crónicas de Belleza · sections.css
   Franja cobre, El origen, Regalo, Vídeos, Autora, Cierre y aviso de cookies.
   ========================================================================== */

/* ---------- Franja cobre en movimiento ---------- */
.marquee { position: relative; z-index: 2; padding: 22px 0; overflow: hidden; background: var(--copper); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee__item { font-family: var(--font-serif); font-size: 30px; font-style: italic; color: var(--paper); white-space: nowrap; }
.marquee__group .orn { width: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.skip .marquee__track { animation-duration: 40s !important; }

/* ---------- El origen ---------- */
.steps { margin-top: 60px; display: flex; flex-wrap: wrap; gap: 28px; }
.step {
  flex: 1 1 280px;
  min-width: 0;
  padding: 36px 32px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 30px 60px -40px rgba(59, 42, 32, .45);
}
.step__num { font-family: var(--font-serif); font-size: 56px; font-style: italic; line-height: 1; color: var(--gold-soft); }
.step__title { margin: 14px 0 0; font-family: var(--font-serif); font-size: 28px; font-weight: 400; }
.step__text { margin: 10px 0 0; font-size: 16px; line-height: 1.65; color: var(--text); }

/* ---------- Regalo por email ---------- */
.gift { padding: 120px 24px; overflow: hidden; }
.gift__corner { position: absolute; width: 170px; opacity: .9; }
.gift__corner--tl { left: 14px; top: 14px; }
.gift__corner--br { right: 14px; bottom: 14px; transform: rotate(180deg); }
.gift__inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.gift .eyebrow { color: var(--gold-pale); }
.gift .heading { font-size: clamp(36px, 4.8vw, 58px); line-height: 1.05; }
.gift .heading em { color: var(--rose-pale); }
.gift .lead { margin-top: 18px; line-height: 1.6; color: #E9EDDF; }

.gift__form { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.field {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 54px;
  padding: 0 24px;
  border: 1.5px solid rgba(251, 245, 236, .6);
  border-radius: 999px;
  background: rgba(251, 245, 236, .1);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
}
.field::placeholder { color: rgba(251, 245, 236, .7); }
.field:focus { outline: 2px solid var(--gold-pale); outline-offset: 2px; }
.gift__submit { background: var(--gold-pale); color: var(--night); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gift__note { margin: 14px 0 0; font-size: 13px; color: #D5DCC6; }
.gift__note a { color: var(--rose-pale); }
.gift__thanks { margin: 34px 0 0; font-family: var(--font-serif); font-size: 26px; font-style: italic; color: var(--rose-pale); }

/* ---------- Vídeos ---------- */
.videos .eyebrow { color: var(--gold-light); }
.videos .heading em { color: var(--rose); }
.videos .lead { color: #D8CBB9; }
.videos__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 60px; }
.videos__text { flex: 1 1 460px; min-width: 0; }
.videos__links { display: flex; flex-wrap: wrap; gap: 14px; }

.videos__banner {
  margin-top: 56px;
  min-height: 150px;
  aspect-ratio: 21 / 6;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(217, 184, 113, .55);
  border-radius: 22px;
  color: #B9A68C;
  font-size: 14px;
  letter-spacing: .16em;
  text-align: center;
}

.videos__grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.video {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #F4EADC;
  text-decoration: none;
  transition: transform .5s var(--ease-out);
}
.video:hover { transform: translateY(-6px); color: #F4EADC; }
.video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 184, 113, .3);
  border-radius: 14px;
  background: var(--night-soft);
}
.video__play {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  transition: transform .4s, background .4s, color .4s;
}
.video:hover .video__play { transform: scale(1.12); background: var(--gold-light); color: var(--night); }
.video__label { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .14em; color: #B9A68C; }
.video__title { font-family: var(--font-serif); font-size: 19px; line-height: 1.25; }

/* ---------- Autora ---------- */
.author__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px 90px;
}
.author__photo { position: relative; }
.arch {
  position: relative;
  width: min(380px, 84vw);
  aspect-ratio: 3 / 4;
  padding: 12px;
  border: 2px solid var(--gold);
  border-radius: 999px 999px 18px 18px;
}
.arch__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px 999px 10px 10px;
  background: var(--sand);
  color: #9A7B4F;
  font-size: 14px;
  letter-spacing: .14em;
  text-align: center;
}
.author__sprig { position: absolute; }
.author__sprig--1 { left: -46px; bottom: -30px; width: 150px; }
.author__sprig--2 { right: -40px; top: 40px; width: 110px; transform: scaleX(-1); }

.author__text { flex: 1 1 400px; min-width: 0; max-width: 540px; }
.author .heading { margin-top: 12px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; }
.author__bio { margin: 22px 0 0; font-size: 18px; line-height: 1.75; color: var(--text); }
.author__signature { margin: 26px 0 0; font-family: var(--font-serif); font-size: 30px; font-style: italic; color: var(--copper); }
.author__note { margin: 22px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Cierre ---------- */
.closing { padding: 120px 24px 110px; text-align: center; overflow: hidden; }
.closing__title {
  margin: 22px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 168px);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--copper);
}
.closing__buttons { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 70;
  width: min(380px, calc(100vw - 40px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(46, 34, 27, .55);
}
.play .cookie { animation: rise .8s ease 9.6s both; }
.cookie__title { margin: 0; font-family: var(--font-serif); font-size: 20px; color: var(--ink); }
.cookie__text { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.cookie__buttons { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
