:root {
  --bg: #f7f1e7;
  --surface: #ffffff;
  --ink: #2b221e;
  --rosa: #d46ea3;
  --chocolate: #7a4f39;
  --esmeralda: #00a9b8;
  --oro: #caa800;
  --border: #d9ccbc;
  --shadow: 0 10px 25px rgba(43, 34, 30, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { display: block; max-width: 100%; }
.container { width: min(1160px, 92%); margin: 0 auto; }

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}
.brand img { width: 56px; height: 56px; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a { text-decoration: none; color: var(--ink); font-weight: 700; }
nav a.is-active { color: var(--esmeralda); }

h1, h2, h3, h4 { margin: 0; font-family: 'Playfair Display', serif; }
p { line-height: 1.6; }
.eyebrow { letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--esmeralda); }

.hero { padding: 3rem 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .5rem 0 1rem; }

.section { padding: 2.5rem 0; }
.section-soft { background: #efe4d3; }
.section-title { margin-bottom: 1rem; }

.btn {
  display: inline-block;
  border: none;
  text-decoration: none;
  border-radius: 999px;
  background: var(--esmeralda);
  color: #fff;
  padding: .8rem 1.2rem;
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.cards-products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.product { border-top: 6px solid transparent; }
.rosa { border-top-color: var(--rosa); }
.chocolate { border-top-color: var(--chocolate); }
.esmeralda { border-top-color: var(--esmeralda); }
.cirugia { border-top-color: var(--oro); }

.product-full {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.product-full img { width: 100%; height: 280px; object-fit: contain; }

.sales-form-wrap { margin-bottom: 1rem; }
.sales-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .9rem;
  align-items: end;
}
label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; }
input, select {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: .6rem;
  padding: .6rem;
}

.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; margin-bottom: 1rem; }
.summary-grid .card p { font-size: 1.8rem; margin: .3rem 0 0; font-weight: 700; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .9rem; }
.column {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: .9rem;
  padding: .8rem;
  min-height: 220px;
}
.request-card {
  border: 1px solid var(--border);
  border-radius: .7rem;
  padding: .65rem;
  background: #fcfaf6;
  margin-top: .6rem;
}
.request-card p { margin: .3rem 0; font-size: .92rem; }
.request-actions { margin-top: .5rem; }

.footer { margin-top: 2rem; background: #2b221e; color: #fff; padding: 1.3rem 0; }
.footer-inner { display: flex; align-items: center; gap: .8rem; }
.footer img { width: 62px; height: 62px; object-fit: contain; filter: brightness(0) invert(1); }
.muted { opacity: .82; }

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .cards-products,
  .product-full,
  .sales-form,
  .summary-grid,
  .board { grid-template-columns: 1fr; }
}
