/* puntocrochet.com — Adriana Laura Méndez, Maestra Artesana
   Tejido metálico / punto peruano. Estilo: calidez artesanal + joyería de autor. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@400;500;600&display=swap');

:root {
  --bg: #faf6f0;
  --bg-card: #ffffff;
  --bg-dark: #221d19;
  --text: #2b2521;
  --text-soft: #6b5f54;
  --text-on-dark: #f3ece1;
  --text-on-dark-soft: #c9bcaa;
  --copper: #a8672e;
  --copper-dark: #8a5324;
  --gold: #c9a227;
  --line: #e6dbc9;
  --line-dark: #3a332c;
  --radius: 2px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
a { color: var(--copper-dark); text-decoration: none; }
a:hover { color: var(--copper); }
img { max-width: 100%; display: block; }
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 .8em;
  display: block;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-soft); }
.section--card { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,246,240,.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; flex-wrap: wrap; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.logo span { color: var(--copper); }
nav.main-nav { display: flex; gap: 28px; }
nav.main-nav a {
  font-size: .92rem; color: var(--text); font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--copper-dark); border-color: var(--copper); }
.nav-toggle { display: none; }
@media (max-width: 780px) {
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 10px; }
  nav.main-nav { width: 100%; gap: 16px 20px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
  nav.main-nav a { font-size: .85rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  font-family: 'Jost', sans-serif; font-weight: 600; font-size: .95rem;
  letter-spacing: .03em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--copper); color: #fff; }
.btn--primary:hover { background: var(--copper-dark); color: #fff; }
.btn--outline { border-color: var(--copper); color: var(--copper-dark); background: transparent; }
.btn--outline:hover { background: var(--copper); color: #fff; }
.btn--ghost-dark { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--ghost-dark:hover { background: var(--gold); color: var(--bg-dark); }

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 56px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.hero img { border-radius: var(--radius); }
.hero .lede { font-size: 1.15rem; color: var(--text-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- 3 caminos / grid cards ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; height: 100%;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-soft); flex-grow: 1; }
.card .btn { margin-top: 12px; align-self: flex-start; }

/* ---------- image + text split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: initial; }
  .split { grid-template-columns: 1fr; }
}
.split-media img { border-radius: var(--radius); width: 100%; }
.media-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-row img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; width: 100%; height: 100%; }
@media (max-width: 560px) { .media-row { grid-template-columns: repeat(2, 1fr) !important; } }

/* ---------- ficha tecnica / autora ---------- */
.pieza {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  padding: 48px 0; border-bottom: 1px solid var(--line-dark);
}
.pieza:last-child { border-bottom: none; }
.pieza img { border-radius: var(--radius); }
.ficha { list-style: none; margin: 20px 0; padding: 0; font-size: .95rem; color: var(--text-on-dark-soft); }
.ficha li { padding: 8px 0; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; }
.ficha li span:first-child { color: var(--gold); font-weight: 500; }
@media (max-width: 860px) { .pieza { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 780px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }
.post-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 22px 24px; }
.post-card .eyebrow { margin-bottom: .5em; }
.post-meta { font-size: .82rem; color: var(--text-soft); margin-bottom: .3em; }
article.post-content { max-width: 74ch; margin: 0 auto; }
article.post-content img { border-radius: var(--radius); margin: 1.4em 0; }
article.post-content h2 { margin-top: 1.4em; }
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 1.6em 0; }
@media (max-width: 700px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
.step-grid figure { margin: 0; }
.step-grid img { border-radius: var(--radius); aspect-ratio: 1/1; object-fit: cover; }
.step-grid figcaption { font-size: .78rem; color: var(--text-soft); margin-top: 6px; text-align: center; }

/* ---------- misc ---------- */
.callout {
  background: #f3e9da; border-left: 3px solid var(--copper);
  padding: 22px 26px; border-radius: var(--radius); margin: 1.6em 0;
}
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; margin: 28px 0; }
.stat-row .stat b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--copper); }
.stat-row .stat span { font-size: .85rem; color: var(--text-soft); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 4px 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); }
.timeline .yr { font-weight: 600; color: var(--copper-dark); margin-right: 10px; }
.badge { display: inline-block; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; background: #f3e9da; color: var(--copper-dark); padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.center { text-align: center; }
.section-head { max-width: 68ch; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--bg-dark); color: var(--text-on-dark-soft); padding: 56px 0 28px; }
footer.site-footer h4 { color: var(--text-on-dark); font-size: 1.1rem; margin-bottom: .8em; }
footer.site-footer a { color: var(--text-on-dark-soft); }
footer.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- breadcrumb ---------- */
.crumb { font-size: .82rem; color: var(--text-soft); margin-bottom: 18px; }
.crumb a { color: var(--text-soft); }
