:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #5f6368;
  --accent: #8c6d46;
  --border: #e5e2dc;
  --whatsapp: #1f7a4c;
  --whatsapp-hover: #175d39;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-weight: 700; letter-spacing: 0.14em; font-size: 1rem; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.9rem; }
.nav-links a:hover { color: var(--accent); }

.btn-outline {
  border: 1px solid var(--ink);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.btn-outline:hover { background: var(--ink); color: var(--surface); }

.breadcrumb { padding: 20px 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.badge {
  background: rgba(26, 26, 26, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}

.badge.accent { background: var(--accent); }

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.detail-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 6px 0; }

.price-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 24px;
  border-radius: 6px;
  min-width: 280px;
}

.price-row { margin-bottom: 10px; }
.price-row:last-child { margin-bottom: 0; padding-top: 10px; border-top: 1px solid var(--border); }
.price-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; }
.price-value { font-size: 1.35rem; font-weight: 700; }
.price-sub { font-size: 0.82rem; color: var(--muted); }

/* Galería sin recorte */
.gallery-main {
  width: 100%;
  height: 480px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #141414;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.thumb-btn {
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  height: 82px;
  cursor: pointer;
  padding: 0;
  background: #141414;
}

.thumb-btn.active { border-color: var(--accent); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.detail-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 44px;
  align-items: start;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 28px;
}

.content-block h2 { font-size: 1.55rem; margin-bottom: 16px; }
.content-block p { margin-bottom: 14px; color: #333; }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.specs-table td { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.specs-table td:first-child { color: var(--muted); width: 44%; }
.specs-table td:last-child { font-weight: 500; }

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.idea-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 20px;
}

.idea-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.idea-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0; }

.disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f5f2eb;
  border-left: 3px solid var(--accent);
  font-size: 0.84rem;
  color: var(--muted);
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  position: sticky;
  top: 96px;
}

.sidebar-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.sidebar-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }

.contact-actions { display: flex; flex-direction: column; gap: 12px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-primary:hover { background: var(--accent); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: #fff;
  padding: 13px 22px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
}

.btn-whatsapp:hover { background: var(--whatsapp-hover); }

.arqmex-banner {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.arqmex-banner span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; }
.arqmex-banner h4 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 6px 0 8px; }

.site-footer {
  background: var(--ink);
  color: #d6d3cd;
  padding: 48px 0;
  margin-top: 64px;
  font-size: 0.88rem;
}

.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-grid strong { color: #fff; letter-spacing: 0.12em; }

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; }
  .gallery-main { height: 300px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .nav-links a:not(.btn-outline) { display: none; }
}
