:root {
  --bg: #faf6ef;
  --surface: #ffffff;
  --ink: #2a2320;
  --muted: #6f655c;
  --line: #e8dfd1;
  --gold: #9a7330;
  --gold-soft: #c9a35f;
  --gold-tint: #f3ead9;
  --wa: #1f9d55;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 35, 32, .05), 0 8px 24px rgba(42, 35, 32, .07);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
em { font-style: italic; color: var(--gold); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .6rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.muted { color: var(--muted); margin: .5rem 0 0; }

/* Logo SVG (gato) coloreado con CSS */
.brand-mark {
  display: inline-block;
  width: 44px;
  aspect-ratio: 99.66 / 71.7;
  background: var(--gold);
  -webkit-mask: url("img/logo-mark.svg") center / contain no-repeat;
          mask: url("img/logo-mark.svg") center / contain no-repeat;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 246, 239, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.nav { display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 500; font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-small {
  min-height: 38px; padding: 0 1.1rem; font-size: .88rem;
  background: var(--gold-tint); color: var(--gold); border-color: #e6d5b5;
}
.btn-small:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn:focus-visible, .nav a:focus-visible, .brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34ch; margin: 1.2rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-logo img {
  width: 100%; max-width: 420px; margin-inline: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--gold-tint), var(--shadow);
}

/* Catalog */
.catalog { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--surface); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 2.6rem; }
.section-head h2, .contact h2 { font-size: clamp(2rem, 4.5vw, 3rem); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--line); }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover figure img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.brand-tag { margin: 0 0 .2rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.55rem; }
.desc { margin: .5rem 0 1rem; font-size: .93rem; color: var(--muted); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.price-ask { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); }

/* Contact */
.contact { padding: clamp(3rem, 7vw, 5rem) 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-list { margin: 1.8rem 0 2rem; display: grid; gap: 1.1rem; }
.contact-list div { padding-left: 1rem; border-left: 2px solid var(--gold-soft); }
.contact-list dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: .15rem 0 0; font-size: 1.15rem; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; background: var(--gold-tint);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 5.5rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.footer-inner p { margin: 0; font-size: .88rem; color: var(--muted); }
.credit {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .4rem; padding: .35rem .9rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; color: var(--muted); text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.credit:hover { border-color: #001a6e; background: #fff; }
.credit:focus-visible { outline: 2px solid #001a6e; outline-offset: 3px; }
.credit img { width: 22px; height: 22px; }
.credit strong { color: #001a6e; font-weight: 600; letter-spacing: .02em; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 6px 20px rgba(31, 157, 85, .35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 820px) {
  .hero-inner, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 220px; }
  .hero-text { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .contact-info .hero-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 1rem; }
  .brand-name { font-size: 1.3rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .card-body { padding: .8rem .8rem .9rem; }
  .card h3 { font-size: 1.25rem; }
  .desc { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: .5rem; padding-top: .7rem; }
  .price { font-size: 1.4rem; }
  .btn-small { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
