/* ============================================================
   Abby Tortas — hoja de estilos
   Paleta basada en el logo oficial (dorado + marrón + crema).
   Cambia los colores en :root para ajustar toda la marca.
   ============================================================ */

:root {
  --gold: #d9a21b;
  --gold-dark: #9a6f0a;
  --gold-deep: #c08f14;
  --gold-soft: #fbeab6;
  --gold-ultra: #fdf6dd;

  --ink: #3e2317;
  --muted: #8a6f5e;
  --line: #eedfc4;
  --card: #ffffff;

  --bg: #fffdf7;
  --bg-alt: #fbf3e2;

  --wa: #25d366;
  --wa-dark: #1eb257;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(88, 55, 20, 0.4);
  --shadow-lg: 0 30px 70px -30px rgba(88, 55, 20, 0.45);

  --wrap: 1160px;
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--ink);
  color: #f8ecd2;
  font-size: 0.82rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  text-align: center;
  flex-wrap: wrap;
}
.topbar p { margin: 0; }
.topbar strong { color: #ffe9a8; }
.topbar__link {
  color: #ffe9a8;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 233, 168, 0.4);
}
.topbar__link:hover { color: #fff; border-color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand__logo {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px -4px rgba(154, 111, 10, 0.5);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-title); font-size: 1.12rem; }
.brand__text small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.02em; }

.nav { display: flex; gap: 1.4rem; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #5b3d2b;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--gold-dark); border-color: var(--gold); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 4px;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.86rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 24px -12px rgba(217, 162, 27, 0.9);
}
.btn--primary:hover { background: var(--gold-deep); }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); background: #fff; }

.btn--wa { background: var(--wa); color: #06301a; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(60% 55% at 85% 15%, #fdf2cd 0%, rgba(253, 242, 205, 0) 70%),
    radial-gradient(45% 45% at 5% 80%, #fbeab6 0%, rgba(251, 234, 182, 0) 70%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-bottom: 1rem; }
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 46ch; }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }

.hero__facts {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero__facts strong { display: block; font-family: var(--font-title); font-size: 1.15rem; color: var(--ink); }

.hero__art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(86%, 380px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #fdf0c6, #f6d98e 72%);
  border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%;
  filter: blur(1px);
  opacity: 0.85;
}
.hero__logo {
  position: relative;
  width: min(360px, 84%);
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(120, 80, 20, 0.28));
}
/* ---------- Secciones ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 620px; margin-bottom: 2.2rem; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section__lead { color: var(--muted); }

/* ---------- Filtros ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #5b3d2b;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold-soft); }

/* ---------- Tarjetas ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #e6cf9b; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #fdf1c6, #f7dfa5 55%, #fbefd0);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__emoji { font-size: clamp(3rem, 8vw, 4.2rem); filter: drop-shadow(0 10px 16px rgba(120, 80, 20, 0.25)); }

.card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px -4px rgba(88, 55, 20, 0.6);
}

.card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.card__title { font-size: 1.18rem; margin-bottom: 0.45rem; }
.card__desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.1rem; }

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.card__price { font-family: var(--font-title); font-size: 1.4rem; margin: 0; }
.card__price small { display: block; font-family: var(--font-body); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

.card .btn { width: 100%; margin-top: 0.9rem; }

.empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* ---------- Pasos ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.steps__num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.06fr 0.92fr;
  gap: 2.2rem;
  align-items: center;
}

.contact__photo { margin: 0; }
.contact__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}
.contact__photo figcaption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.01em;
}

.contact__text h2 { margin-bottom: 0.6rem; }
.contact__text .btn { margin-top: 0.4rem; }

.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.contact__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: #5b3d2b;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #f8ecd2; padding: 2.6rem 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.footer__brand { display: flex; gap: 0.9rem; align-items: center; }
.footer__logo { width: 54px; height: 54px; flex: none; border-radius: 50%; }
.footer__brand strong { font-family: var(--font-title); font-size: 1.1rem; }
.footer__brand p { margin: 0; font-size: 0.85rem; color: #cbb59b; }
.footer__legal { margin: 0; font-size: 0.8rem; color: #b39c84; }

/* ---------- WhatsApp flotante ---------- */
.fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #06301a;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 32px -12px rgba(37, 211, 102, 0.85);
  z-index: 60;
  transition: transform 0.18s, background 0.18s;
}
.fab:hover { transform: scale(1.06); background: var(--wa-dark); color: #fff; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .contact { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact__photo { max-width: 340px; margin-inline: auto; }
  .contact__photo figcaption { text-align: center; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { min-height: 340px; order: -1; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .header__cta { display: none; }
  .burger { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
    display: none;
    box-shadow: var(--shadow);
  }
  .header--open .nav { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .header--open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header--open .burger span:nth-child(2) { opacity: 0; }
  .header--open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 1.8rem); }
  .hero__facts { gap: 1.25rem; }
  .hero__logo { width: min(290px, 88%); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .fab { width: 54px; height: 54px; }
}

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