/* Tokens: cada color y fuente se declara una sola vez aquí */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --olive: #566a2b;
  --olive-deep: #36431a;
  --cream: #f7ecdb;
  --sand: #ecdcc0;
  --gold: #d3a032;
  --gold-deep: #8a6414;
  --rose: #eaa8a1;
  --ink: #2b2518;
  --wa: #1faa59;
  --wa-deep: #0f7a3c;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 1.25rem;
  --shadow: 0 10px 26px -12px rgb(43 37 24 / 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: 5.5rem;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ico { width: 1.35em; height: 1.35em; flex: none; fill: currentColor; }
svg:not(.ico):not(.leaf) { width: 100%; height: 100%; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.1rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.9rem; padding: 0 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 2.5rem; padding: 0 1rem; font-size: .95rem; }
.btn-lg { min-height: 3.4rem; padding: 0 1.7rem; font-size: 1.1rem; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow); }
.btn-wa:hover { background: var(--wa-deep); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost { border-color: currentColor; color: var(--cream); }
.btn-ghost:hover { background: rgb(247 236 219 / .12); }

/* Cabecera */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .55rem 1.1rem; background: var(--olive-deep); color: var(--cream);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-width: 0; }
.brand-mark { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); color: var(--olive-deep); display: grid; place-items: center; padding: .35rem; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name b { color: var(--gold); font-weight: 800; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--olive) 0%, transparent 60%),
    var(--olive-deep);
  color: var(--cream);
  padding: 2.4rem 1.1rem 3.2rem;
}
.hero-in { position: relative; z-index: 2; max-width: 64rem; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 9.2vw, 4.6rem); font-weight: 800; max-width: 14ch; }
.hero-sub { margin-top: 1rem; font-size: 1.2rem; font-weight: 700; max-width: 26rem; color: var(--sand); }
.hero-cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.leaf { position: absolute; z-index: 1; color: var(--olive); opacity: .75; fill: currentColor; }
.leaf-a { width: 7.5rem; height: 14rem; left: -1.8rem; bottom: -2.5rem; transform: rotate(18deg); color: var(--gold); opacity: .35; }
.leaf-b { width: 9rem; height: 16.5rem; right: -2rem; top: -2rem; transform: rotate(-24deg); }

.sticker {
  position: absolute; z-index: 3; right: .7rem; bottom: -2.5rem;
  width: 7rem; height: 7rem; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 3px dashed var(--olive-deep); box-shadow: var(--shadow);
  transform: rotate(8deg);
}
.st-small { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.st-price { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; line-height: 1.05; }


/* Fotos del hero */
.hero-photos { position: relative; margin-top: 2rem; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: .7rem; padding-bottom: .6rem; }
.ph { display: block; width: 100%; object-fit: cover; border-radius: 1rem; border: 3px solid var(--cream); box-shadow: var(--shadow); background: var(--sand); }
.ph-1 { grid-row: 1 / 3; height: 100%; min-height: 11rem; transform: rotate(-2.5deg); }
.ph-2 { height: 5.2rem; transform: rotate(2deg); }
.ph-3 { height: 5.6rem; transform: rotate(-1.5deg); }

/* Galería */
.galeria { padding-top: 1rem; }
.gal { margin-top: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.gal li:nth-child(odd) { transform-origin: bottom left; }
.gal img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1.1rem; border: 3px solid #fffaf0; box-shadow: var(--shadow); transition: transform .25s ease; }
.gal li:hover img { transform: rotate(-1.5deg) scale(1.03); }

/* Secciones */
.sec { padding: 3.4rem 0; }
.sec h2 { font-size: clamp(1.8rem, 6.6vw, 2.8rem); font-weight: 800; color: var(--olive-deep); }
.sec-sub { margin-top: .5rem; font-weight: 600; color: #5a5037; }

.servicios { padding-top: 4.2rem; }
.menu { margin-top: 1.6rem; display: grid; gap: .8rem; }
.item {
  display: flex; align-items: center; gap: .85rem; text-decoration: none;
  background: #fffaf0; border: 2px solid var(--sand); border-radius: var(--radius);
  padding: .8rem .9rem; box-shadow: 0 6px 16px -12px rgb(43 37 24 / .5);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.item:hover { transform: translateY(-3px) rotate(-.4deg); border-color: var(--gold); box-shadow: var(--shadow); }
.chip { width: 3.3rem; height: 3.3rem; border-radius: 50%; display: grid; place-items: center; padding: .6rem; flex: none; }
.c-olive { background: var(--olive); color: var(--cream); }
.c-gold { background: var(--gold); color: var(--ink); }
.c-rose { background: var(--rose); color: var(--ink); }
.item-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.item-t strong { font-size: 1.1rem; line-height: 1.2; }
.item-t small { color: #6a5f43; font-weight: 700; }
.price {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--olive-deep); color: var(--cream);
  border-radius: 1rem; padding: .35rem .8rem; min-width: 5.6rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.1;
}
.price i { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }

.pasos { background: var(--sand); }
.steps { margin-top: 1.6rem; display: grid; gap: 1.3rem; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 1rem; }
.num { font-family: var(--font-display); font-weight: 900; font-size: 3.6rem; line-height: 1; color: var(--gold-deep); min-width: 2.4rem; }
.steps p { font-size: 1.15rem; font-weight: 600; }
.steps b { font-weight: 800; }

.donde { background: var(--olive-deep); color: var(--cream); }
.donde h2 { color: var(--cream); }
.donde-grid { display: grid; gap: 1.6rem; }
.addr { margin: 1.1rem 0 1.2rem; display: flex; gap: .6rem; align-items: flex-start; font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--cream); }
.addr .ico { margin-top: .15rem; color: var(--gold); fill: none; width: 1.7rem; height: 1.7rem; }
.addr-t { display: flex; flex-direction: column; }
.addr small { font-weight: 600; font-size: 1.05rem; color: var(--sand); }
.donde h3 { margin-top: 1.8rem; font-size: 1.3rem; color: var(--gold); }
.pay { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pay li { border: 2px solid var(--gold); border-radius: 999px; padding: .25rem .9rem; font-weight: 700; }
.pay-note { margin-top: .7rem; color: var(--sand); font-weight: 600; }
.map { border-radius: 1.5rem; overflow: hidden; border: 3px solid var(--gold); background: var(--olive); min-height: 18rem; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 18rem; border: 0; }

.ig { background: var(--rose); }
.ig-in { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.ig .btn-ghost { color: var(--ink); }
.ig .btn-ghost:hover { background: rgb(43 37 24 / .08); }

.foot { background: var(--ink); color: var(--sand); padding: 1.6rem 1.1rem; text-align: center; font-size: .92rem; }
.foot .credit { margin-top: .3rem; }
.foot a { color: var(--gold); font-weight: 700; }

.wa-float {
  position: fixed; z-index: 40; left: .8rem; right: .8rem; bottom: max(.8rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.3rem; border-radius: 999px; background: var(--wa); color: #fff;
  font-weight: 800; font-size: 1.05rem; text-decoration: none; box-shadow: 0 12px 28px -8px rgb(0 0 0 / .5);
  border: 3px solid var(--cream);
}

/* Movimiento: solo transform y opacity */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: rotate(-14deg) scale(.4); } to { opacity: 1; transform: rotate(8deg) scale(1); } }
@keyframes bob { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-6px); } }
@keyframes ping { 0% { transform: scale(1); } 6% { transform: scale(1.04); } 12% { transform: scale(1); } 100% { transform: scale(1); } }
.rise { animation: rise .7s cubic-bezier(.22, 1, .36, 1) both; }
.r2 { animation-delay: .12s; } .r3 { animation-delay: .24s; }
.pop { animation: pop .8s cubic-bezier(.22, 1.2, .36, 1) .35s both, bob 4.5s ease-in-out 1.4s infinite; }
.wa-float { animation: ping 5s ease-in-out 2s infinite; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .pop, .wa-float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .item:hover, .btn:hover { transform: none; }
}

@media (max-width: 479px) {
  .brand-mark { display: none; }
  .brand-name { font-size: 1.05rem; }
}

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .hero { padding: 4.2rem 1.1rem 5rem; }
  .hero-in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.5rem; }
  .hero-photos { margin-top: 0; gap: 1rem; padding-bottom: 0; }
  .ph-1 { min-height: 21rem; }
  .ph-2 { height: 10rem; } .ph-3 { height: 10.5rem; }
  .sticker { width: 10.5rem; height: 10.5rem; right: auto; left: -3.2rem; bottom: -1.8rem; }
  .st-small { font-size: .95rem; } .st-price { font-size: 2.3rem; }
  .gal { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .menu { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps li { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .donde-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; gap: 2.4rem; }
  .ig-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .wa-float { left: auto; right: 1.4rem; bottom: 1.4rem; padding: 0 1.4rem; }
}
