*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --negro: #0f0f0f;
  --madera: #8B6340;
  --madera-claro: #C4956A;
  --crema: #F5F0E8;
  --blanco: #FAFAF7;
  --gris: #6B6B6B;
}
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--blanco); color: var(--negro); overflow-x: hidden; }
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.9rem 2rem; display: flex; justify-content: space-between; align-items: center;
  background: rgba(15,15,15,0.92); backdrop-filter: blur(10px);
}
.nav-logo { text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-link { color: var(--crema); opacity: 0.9; text-decoration: none; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 0.3s, color 0.3s; }
.nav-link:hover { opacity: 1; color: var(--madera-claro); }
.nav-ig { color: var(--crema); opacity: 0.85; transition: opacity 0.3s; display: flex; align-items: center; }
.nav-ig:hover { opacity: 1; }
.nav-cta {
  background: var(--madera); color: var(--crema); padding: 0.6rem 1.4rem;
  text-decoration: none; font-size: 0.85rem; letter-spacing: 0.01em;
  font-weight: 600; border-radius: 999px; transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  white-space: nowrap; box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.nav-cta:hover { background: var(--madera-claro); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.22); }
@media(max-width: 640px) {
  nav { padding: 0.7rem 0.9rem; }
  .nav-logo span { font-size: 0.78rem !important; }
  .nav-right { gap: 0.6rem; }
  .nav-link { font-size: 0.68rem; letter-spacing: 0.04em; }
  .nav-ig svg { width: 18px; height: 18px; }
  .nav-cta { padding: 0.45rem 0.7rem; font-size: 0.62rem; letter-spacing: 0.02em; }
}
@media(max-width: 360px) {
  .nav-link { display: none; }
}

/* PAGE HEADER */
.page-header { padding: 9rem 2.5rem 3.5rem; text-align: center; background: var(--negro); }
.page-header .eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--madera-claro); font-weight: 700; margin-bottom: 1rem; }
.page-header h1 { font-family: 'Playfair Display', serif; color: var(--crema); font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 0.8rem; line-height: 1.25; }
.page-header .subtitle { color: rgba(245,240,232,0.65); font-weight: 300; max-width: 560px; margin: 0 auto; }
.btn-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--madera-claro); text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1.6rem; transition: color 0.3s; }
.btn-back:hover { color: var(--crema); }

/* BLOG GRID */
.blog-section { padding: 5rem 2.5rem 7rem; max-width: 1100px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media(max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--crema); padding: 2.2rem 2rem; display: flex; flex-direction: column; border-top: 3px solid var(--madera); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.10); }
.blog-card h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; line-height: 1.35; margin-bottom: 1rem; color: var(--negro); }
.blog-card p { font-size: 0.92rem; line-height: 1.7; color: var(--gris); font-weight: 300; margin-bottom: 1.6rem; flex-grow: 1; }
.blog-card .leer-mas { color: var(--madera); text-decoration: none; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s; }
.blog-card .leer-mas:hover { color: var(--madera-claro); }

/* ARTICLE CONTENT */
.article-section { padding: 5rem 2.5rem 6rem; }
.article-inner { max-width: 720px; margin: 0 auto; }
.article-inner h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--negro); margin: 2.6rem 0 1.1rem; line-height: 1.3; }
.article-inner h2:first-of-type { margin-top: 0; }
.article-inner p { font-size: 1.02rem; line-height: 1.85; color: #3d3d3d; margin-bottom: 1.4rem; font-weight: 300; }
.article-inner ul { margin: 0 0 1.4rem 1.3rem; }
.article-inner li { font-size: 1.02rem; line-height: 1.85; color: #3d3d3d; margin-bottom: 0.7rem; font-weight: 300; }
.article-inner li strong { color: var(--negro); font-weight: 700; }
.article-cta { text-align: center; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid #e5ded2; }
.article-cta p { font-size: 0.95rem; color: var(--gris); margin-bottom: 1.2rem; }
.btn-form { display: inline-flex; align-items: center; gap: 0.7rem; background: var(--madera); color: white; padding: 1rem 2.2rem; text-decoration: none; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: background 0.25s, transform 0.25s, box-shadow 0.25s; }
.btn-form:hover { background: var(--madera-claro); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* FOOTER */
footer { background: #080808; padding: 3rem 2.5rem; text-align: center; }
.footer-divider { width: 40px; height: 2px; background: var(--madera); margin: 1rem auto; }
.footer-text { font-size: 0.85rem; color: rgba(245,240,232,0.35); letter-spacing: 0.05em; }
.footer-ig { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-ig:hover { color: var(--madera-claro); }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 1.8rem; flex-wrap: wrap; margin-top: 1rem; }
.footer-link { color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.3s; }
.footer-link:hover { color: var(--madera-claro); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 1000; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; }
