/* Jamari Concept Store — mobile-first, minimal */

:root {
  --bg: #FAF8F5;
  --ink: #1A1A1A;
  --clay: #7D5A44;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Type ---------- */

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); }

h2 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
}

h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--clay);
  margin-top: 0.75rem;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2.25rem 0 0.5rem;
}

p, ul { max-width: 68ch; }

p + p { margin-top: 1rem; }

/* ---------- Layout ---------- */

.hero,
main section,
footer {
  padding: clamp(3.5rem, 10vw, 8rem) clamp(1.25rem, 6vw, 4rem);
}

.hero { padding-top: clamp(2rem, 6vw, 5rem); }

main section:nth-of-type(even) { padding-left: clamp(1.25rem, 12vw, 10rem); }

/* ---------- Hero ---------- */

.hero { text-align: center; }

.hero-logo {
  width: min(320px, 70vw);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero h1 { margin-bottom: 0.75rem; }

.hero-sub {
  font-size: 1.05rem;
  color: #4a4a4a;
  margin: 0 auto 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.9rem;
  border-radius: 2px;
  min-width: 16rem;
  text-align: center;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-secondary:hover { background: rgba(26, 26, 26, 0.05); }

/* ---------- Lists ---------- */

.cat-list, .brand-list {
  list-style: none;
}

.cat-list li {
  font-family: var(--serif);
  font-size: 1.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
  margin-top: 1.5rem;
}

.brand-list li {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */

#faq h3 { color: var(--clay); }

/* ---------- Visítanos / footer ---------- */

address { font-style: normal; }

.horario { margin-top: 1.25rem; }

.text-link {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover { color: var(--ink); }

footer {
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

footer h2 { font-size: 1.35rem; }

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.fine {
  font-size: 0.85rem;
  color: #6b6b6b;
}

/* ---------- Fade-in sutil ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero, main section, footer {
    animation: fadein 0.7s ease both;
  }
  @keyframes fadein {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 720px) {
  .hero-ctas { flex-direction: row; justify-content: center; }
  .btn { min-width: 0; }
  .hero { text-align: left; }
  .hero-logo { margin: 0 0 2rem; }
  .hero-sub { margin: 0 0 2rem; }
  .hero-ctas { justify-content: flex-start; }
  .hero, main section, footer {
    max-width: 60rem;
    margin: 0 auto;
  }
}
