/* =========================================================
   Cabral Cáceres Remates — landing
   ========================================================= */
:root {
  --bordo: #47180E;
  --bordo-oscuro: #2E0F09;
  --bordo-medio: #6B2A1C;
  --crema: #CEC09B;
  --crema-claro: #F3ECDD;
  --madera: #C9A57A;
  --dorado: #B8893B;
  --tinta: #2A1A14;

  --papel: #FAF6EE;
  --madera-oscura: #A97E4E;
  --texto-suave: #5A4134;

  --f-slab: "Alfa Slab One", Georgia, serif;
  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;

  --radius: 14px;
  --header-h: 68px;
  --shadow: 0 10px 30px rgba(46, 15, 9, .18);
  --wood: repeating-linear-gradient(90deg,
            rgba(110, 69, 32, .0) 0 38px,
            rgba(110, 69, 32, .10) 38px 40px,
            rgba(110, 69, 32, .0) 40px 120px,
            rgba(46, 15, 9, .22) 120px 122px),
          repeating-linear-gradient(90deg,
            rgba(255, 240, 210, .0) 0 7px,
            rgba(255, 240, 210, .10) 7px 9px,
            rgba(110, 69, 32, .06) 9px 13px,
            rgba(255, 240, 210, .0) 13px 23px),
          repeating-linear-gradient(88deg,
            rgba(110, 69, 32, .0) 0 51px,
            rgba(110, 69, 32, .08) 51px 54px),
          var(--madera);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema-claro);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h2 { font-family: var(--f-slab); font-weight: 400; font-size: clamp(2rem, 5.4vw, 3.1rem); color: var(--bordo); letter-spacing: .01em; }
h3 { font-weight: 800; font-size: 1.15rem; }
p { margin: 0; }
button { font: inherit; }

.container { width: min(1180px, 100%); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 28px; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; border-radius: 6px; }
.section--bordo :focus-visible, .hero :focus-visible, .header :focus-visible, .footer :focus-visible, .cta :focus-visible { outline-color: var(--crema); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--crema); color: var(--bordo); padding: 10px 16px; border-radius: 8px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

.muted { opacity: .75; }
.center { text-align: center; margin-top: 40px; }
.script { font-family: var(--f-script); font-size: 1.35em; font-weight: 400; color: var(--crema); }
.script--bordo { color: var(--bordo); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-sans); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { padding: .55em 1.05em; font-size: .85rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--cream { background: var(--crema); color: var(--bordo); box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.btn--cream:hover { background: var(--crema-claro); }
.btn--outline { border-color: var(--crema); color: var(--crema); background: transparent; }
.btn--outline:hover { background: rgba(206,192,155,.14); }
.btn--bordo { background: var(--bordo); color: var(--crema-claro); box-shadow: 0 5px 0 var(--bordo-oscuro); }
.btn--bordo:hover { background: var(--bordo-medio); }
.btn--bordo:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bordo);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: rgba(71, 24, 14, .84);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--crema); }
.brand__logo { height: 44px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--f-slab); font-weight: 400; font-size: 1.05rem; letter-spacing: .02em; }
.brand__text span { font-size: .68rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  color: var(--crema); text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--dorado);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.burger { display: none; }

@media (max-width: 879px) {
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; border-radius: 8px;
  }
  .burger span { display: block; height: 2.5px; background: var(--crema); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bordo-oscuro); padding: 8px 16px 20px;
    border-top: 1px solid rgba(206,192,155,.2);
    box-shadow: 0 16px 30px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(206,192,155,.14); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  color: var(--crema);
  background:
    radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(20, 5, 2, .55) 100%),
    repeating-linear-gradient(97deg, rgba(255,255,255,0) 0 22px, rgba(255,220,180,.025) 22px 24px, rgba(255,255,255,0) 24px 61px, rgba(0,0,0,.05) 61px 63px),
    var(--bordo);
  overflow: hidden;
  padding: 40px 0 56px;
}
.hero.is-shaking { animation: shake .28s steps(1, end); }
@keyframes shake {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-6px, 4px); }
  50%  { transform: translate(5px, -3px); }
  75%  { transform: translate(-3px, -2px); }
  100% { transform: translate(0, 0); }
}
.hero__inner { display: grid; gap: 28px; align-items: center; }
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__logo { height: 110px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.kicker { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--madera); margin-bottom: 12px; }
.hero h1 {
  font-family: var(--f-slab); font-weight: 400;
  font-size: clamp(2.45rem, 8.2vw, 4.7rem);
  color: var(--crema-claro);
  text-shadow: 0 4px 0 rgba(0,0,0,.25);
  max-width: 12ch;
}
.hero__slogan { font-family: var(--f-script); font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.2; color: var(--crema); margin-top: 10px; transform: rotate(-3deg); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .hero__copy { text-align: left; align-items: flex-start; }
  .hero__logo { height: 130px; }
  .hero__ctas { justify-content: flex-start; }
}

.hero__stage-wrap { display: flex; flex-direction: column; align-items: center; }
.stage-hint { margin-top: 2px; font-size: .82rem; font-weight: 600; color: var(--madera); opacity: .9; }

/* ---------- Stage (martillo) ---------- */
.stage {
  position: relative;
  width: min(460px, 88vw);
  aspect-ratio: 1 / 1;
}
.stage .block { position: absolute; left: 4%; top: 70%; width: 46%; height: auto; overflow: visible; }
.stage .block.is-hit { animation: blockHit .3s ease-out; }
@keyframes blockHit { 0% { transform: scaleY(1); } 30% { transform: scale(1.04, .9); } 100% { transform: scale(1); } }

.gavel {
  position: absolute; left: 14.5%; top: 45%; width: 80%;
  padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 95.6% 50%;
  transform: rotate(6deg);
  transition: transform .55s cubic-bezier(.3, 1.5, .5, 1);
  filter: drop-shadow(0 10px 8px rgba(0,0,0,.35));
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.gavel:focus-visible { outline-offset: 8px; }
.gavel__inner { display: block; transform-origin: 95.6% 50%; }
.gavel svg { display: block; width: 100%; height: auto; overflow: visible; }
.gavel:hover { filter: drop-shadow(0 10px 8px rgba(0,0,0,.35)) brightness(1.08); }

.stage[data-phase="one"] .gavel { transform: rotate(24deg); transition-duration: .6s; }
.stage[data-phase="two"] .gavel { transform: rotate(46deg); transition-duration: .6s; }
.stage[data-phase="two"] .gavel__inner { animation: tremble .13s linear .55s infinite; }
.stage[data-phase="strike"] .gavel { transform: rotate(-1.5deg); transition: transform .15s cubic-bezier(.7, 0, .9, .6); }
.stage[data-phase="sold"] .gavel { transform: rotate(3deg); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tremble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(1.3deg); }
  75% { transform: rotate(-1.3deg); }
}

.fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.wave {
  position: absolute; left: 27%; top: 75%;
  width: 40%; aspect-ratio: 1; border-radius: 50%;
  border: 4px solid var(--crema);
  transform: translate(-50%, -50%) scale(.1); opacity: .9;
  animation: wave .65s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes wave { to { transform: translate(-50%, -50%) scale(2.6); opacity: 0; border-width: 1px; } }
.chip { position: absolute; width: 10px; height: 4px; border-radius: 2px; left: 0; top: 0; }

.stamp {
  position: absolute; left: 52%; top: 30%; z-index: 4;
  transform: translate(-50%, -50%) rotate(-12deg) scale(2);
  opacity: 0; pointer-events: none;
}
.stamp span {
  display: block;
  font-family: var(--f-slab); font-size: clamp(1.8rem, 7.5vw, 3rem); letter-spacing: .04em;
  color: var(--crema); background: var(--bordo);
  padding: .18em .5em .22em;
  border: 6px double var(--crema);
  border-radius: 10px;
  box-shadow: 0 0 0 4px var(--bordo), 0 14px 30px rgba(0,0,0,.45);
  white-space: nowrap;
}
.stamp.is-on { animation: stampIn .38s cubic-bezier(.5, 0, .6, 1.4) forwards; }
@keyframes stampIn {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2); }
  70% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.94); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}

.bubble {
  position: absolute; right: -1%; top: 3%; z-index: 5;
  max-width: 50%;
  background: var(--crema-claro); color: var(--bordo);
  border: 3px solid var(--tinta); border-radius: 22px;
  padding: .55em .9em;
  font-family: var(--f-slab); font-size: clamp(1rem, 4.2vw, 1.45rem); line-height: 1.1;
  box-shadow: 5px 5px 0 var(--tinta);
  opacity: 0; transform: scale(.6) rotate(4deg); transform-origin: 20% 100%;
  transition: opacity .2s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.bubble::after {
  content: ""; position: absolute; left: 18%; bottom: -16px;
  width: 22px; height: 18px; background: var(--crema-claro);
  border-right: 3px solid var(--tinta); border-bottom: 3px solid var(--tinta);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: skewX(-25deg);
}
.bubble.is-on { opacity: 1; transform: scale(1) rotate(-3deg); }
.bubble.is-pop { animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
.bubble.is-loud { background: var(--crema); }
@keyframes pop { 0% { transform: scale(.8) rotate(-3deg); } 100% { transform: scale(1) rotate(-3deg); } }

.mute {
  position: absolute; right: 2%; bottom: 2%; z-index: 6;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(46,15,9,.6); border: 2px solid rgba(206,192,155,.5);
  font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.mute:hover { background: var(--bordo-oscuro); }

/* ---------- Cinta marquee ---------- */
.ribbon {
  background: var(--bordo-oscuro); color: var(--crema);
  border-block: 3px solid var(--dorado);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4);
}
.ribbon__track { display: inline-flex; animation: marquee 38s linear infinite; }
.ribbon__track span { font-family: var(--f-slab); font-size: 1.15rem; letter-spacing: .12em; padding-right: .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 110px 0; } }
.section--light { background: var(--crema-claro); }
.section--paper { background: var(--papel); }
.section--bordo { background: var(--bordo); color: var(--crema); }
.section--bordo h2 { color: var(--crema-claro); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bordo-medio); margin-bottom: 10px;
}
.eyebrow--cream { color: var(--madera); }
.lead { margin-top: 14px; font-size: 1.06rem; color: var(--texto-suave); }
.section--bordo .lead { color: var(--crema); }

/* ---------- Servicios ---------- */
.cards { display: grid; gap: 22px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 24px 26px;
  border-bottom: 6px solid var(--bordo);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,15,9,.22); }
.card__icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--bordo); color: var(--bordo);
  background: var(--crema-claro); margin-bottom: 6px;
}
.card__icon .ico { width: 30px; height: 30px; stroke-width: 1.5; }
.card h3 { font-family: var(--f-slab); font-weight: 400; font-size: 1.4rem; color: var(--bordo); }
.card p { color: var(--texto-suave); }
.card__script { font-family: var(--f-script); font-size: 1.7rem; color: var(--bordo-medio) !important; margin-top: auto; padding-top: 8px; transform: rotate(-3deg); transform-origin: left; }
.card__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.card__photos img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; width: 100%; height: auto; }
.card__note { font-size: .88rem; }

/* ---------- Banner (cinta bordó) ---------- */
.banner {
  display: inline-block; position: relative;
  background: var(--bordo); color: var(--crema-claro);
  font-family: var(--f-script); font-weight: 400; font-size: clamp(2.4rem, 8vw, 3.6rem);
  padding: .12em 1.1em .22em;
  clip-path: polygon(0 0, 100% 0, calc(100% - .45em) 50%, 100% 100%, 0 100%, .45em 50%);
  filter: drop-shadow(0 4px 0 var(--bordo-oscuro));
}
.banner span { display: inline-block; transform: rotate(-3deg); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 25px; width: 3px;
  background: repeating-linear-gradient(to bottom, var(--bordo) 0 10px, transparent 10px 18px);
  opacity: .5;
}
.step { position: relative; padding-left: 74px; margin-bottom: 26px; }
.step:last-child { margin-bottom: 0; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bordo); color: var(--crema);
  font-family: var(--f-slab); font-size: 1.4rem;
  box-shadow: 0 0 0 5px var(--papel), 0 0 0 7px var(--dorado);
  z-index: 1;
}
.step__body {
  background: #fff; border-radius: var(--radius); padding: 20px 22px;
  box-shadow: 0 6px 20px rgba(46,15,9,.1);
  border-left: 4px solid var(--dorado);
}
.step__ico { width: 28px; height: 28px; color: var(--bordo); margin-bottom: 6px; }
.step__body h3 { color: var(--bordo); margin-bottom: 6px; }
.step__body p { color: var(--texto-suave); font-size: .97rem; }

@media (min-width: 900px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .step { width: 50%; padding-left: 0; padding-right: 54px; margin-bottom: -10px; }
  .step:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 54px; }
  .step__num { left: auto; right: -26px; }
  .step:nth-child(even) .step__num { right: auto; left: -26px; }
  .step:nth-child(odd) .step__body { border-left: 0; border-right: 4px solid var(--dorado); text-align: right; }
  .step:nth-child(odd) .step__ico { margin-left: auto; display: block; }
}

/* ---------- Galería / tabla de madera ---------- */
.board {
  background: var(--wood);
  border-radius: 12px;
  padding: 36px 20px;
  border: 10px solid var(--madera-oscura);
  box-shadow: inset 0 0 40px rgba(46,15,9,.35), 0 18px 40px rgba(46,15,9,.25);
}
.posters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
@media (min-width: 900px) { .posters { grid-template-columns: repeat(4, 1fr); gap: 30px; } .board { padding: 50px 40px; } }
.poster { position: relative; transform: rotate(var(--r, 0deg)); transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.poster::before {
  content: ""; position: absolute; top: -9px; left: 50%; z-index: 2;
  width: 20px; height: 20px; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #F7DE9E, var(--dorado) 50%, #6E4C14);
  box-shadow: 0 3px 4px rgba(0,0,0,.4);
}
.poster:hover, .poster:focus-within { transform: rotate(0) scale(1.06); z-index: 3; }
.poster__btn {
  display: block; width: 100%; padding: 6px; border: 0; background: #fff; cursor: zoom-in;
  box-shadow: 0 10px 20px rgba(46,15,9,.35);
}
.poster__btn img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 20px;
  background: rgba(30, 9, 5, .92);
  animation: fadeIn .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: min(620px, 100%); text-align: center; }
.lightbox__fig img { max-height: 82vh; width: auto; margin: 0 auto; border: 6px solid var(--crema-claro); border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__fig figcaption { color: var(--crema); font-weight: 600; margin-top: 12px; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--crema); color: var(--bordo); border: 0; font-size: 1.3rem; font-weight: 800; cursor: pointer;
}

/* ---------- Por qué ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.why li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  font-weight: 800; font-size: 1rem; color: var(--crema-claro); line-height: 1.3;
}
.why li:last-child { grid-column: 1 / -1; }
.why__ico {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--crema); color: var(--crema);
  box-shadow: 0 0 0 6px rgba(206,192,155,.12);
}
.why__ico .ico { width: 34px; height: 34px; stroke-width: 1.5; }
@media (min-width: 900px) {
  .why { grid-template-columns: repeat(5, 1fr); }
  .why li:last-child { grid-column: auto; }
}

/* ---------- CTA ---------- */
.cta {
  position: relative; color: var(--crema-claro); text-align: center;
  padding: 100px 0;
  background:
    linear-gradient(rgba(71, 24, 14, .8), rgba(71, 24, 14, .8)),
    url("assets/foto-martillo.jpg") center / cover no-repeat;
}
.cta h2 { color: var(--crema-claro); font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
.cta__sub { font-family: var(--f-script); font-size: clamp(1.8rem, 5.5vw, 2.6rem); color: var(--crema); margin-top: 8px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 56px; } }
.contact h2 { margin-bottom: 24px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list a { color: var(--bordo); font-weight: 800; text-decoration-color: rgba(71,24,14,.35); text-underline-offset: 3px; }
.contact__list a:hover { text-decoration-color: var(--bordo); }
.contact__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bordo); color: var(--crema); flex: none; }
.contact__label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bordo-medio); }
.contact__map iframe {
  display: block; width: 100%; height: 360px;
  border: 6px solid var(--crema); border-radius: 18px;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.footer { background: var(--bordo-oscuro); color: var(--crema); padding: 56px 0 90px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__logo { height: 108px; width: auto; }
.footer__slogan { font-family: var(--f-script); font-size: 1.7rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer__links a { color: var(--crema); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { font-size: .85rem; opacity: .85; margin-top: 8px; }
.footer__credit { font-size: .72rem; opacity: .7; letter-spacing: .04em; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bordo); color: var(--crema);
  border: 2px solid var(--crema);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  animation: pulse 2.4s ease-out infinite;
  transition: transform .2s ease;
}
.wa-float .ico { width: 32px; height: 32px; stroke-width: 1.6; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 0 0 rgba(206,192,155,.6); }
  70%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 0 18px rgba(206,192,155,0); }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--i, 0) * 120ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cursor martillo ---------- */
.cursor { display: none; }
html.has-gavel-cursor, html.has-gavel-cursor * { cursor: none !important; }
html.has-gavel-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 1000;
  width: 40px; height: 40px; pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
}
html.has-gavel-cursor .cursor.is-visible { opacity: 1; }
.cursor svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.cursor__g { transform-box: view-box; transform-origin: 58px 52px; transform: rotate(14deg); transition: transform .18s cubic-bezier(.3,1.5,.5,1); }
.cursor.is-hover .cursor__g { transform: rotate(24deg); }
.cursor.is-hit .cursor__g { transform: rotate(-12deg); transition: transform .07s cubic-bezier(.7,0,.9,.6); }
.toc {
  position: fixed; z-index: 999; pointer-events: none;
  font-family: var(--f-slab); font-size: .95rem; color: var(--crema-claro);
  background: var(--bordo); padding: 2px 8px; border: 3px double var(--crema); border-radius: 6px;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: toc .75s ease-out forwards;
}
@keyframes toc {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.8); }
  20% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -110%) rotate(-12deg) scale(.9); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ribbon__track { animation: none; }
  .wa-float { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .stamp.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}
