/* ─────────────────────────────────────────
   ANTONIO ROMEO — Sitio web personal
   style.css — Variables y estilos globales
   ───────────────────────────────────────── */

:root {
  --cream: #F5EFE0;
  --cream-dark: #EAE0CC;
  --ink: #141210;
  --ink-soft: #2C2318;
  --earth: #8B6E4E;
  --earth-light: #B8976A;
  --rust: #7C3D1E;
  --paper: #FAF7F0;
  --text-body: #3D3025;
  --line: rgba(139, 110, 78, 0.22);
  --line-dark: rgba(139, 110, 78, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

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

/* Buttons */
.btn-primary {
  background: var(--ink); color: var(--cream);
  padding: 15px 34px; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; font-weight: 500;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--rust); transform: translateY(-2px); }

.btn-ghost {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--earth); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px; font-weight: 400;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost::after { content: '→'; font-size: 15px; }

/* Section labels */
.section-eyebrow {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--earth); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--earth); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1;
  font-weight: 700; margin-bottom: 28px; color: var(--ink);
}
.section-title em { font-style: italic; color: var(--earth); }

.section-body {
  font-family: 'EB Garamond', serif; font-size: 18px; line-height: 1.82;
  color: var(--text-body); margin-bottom: 18px;
}
.section-body em { font-style: italic; }
.section-body strong { font-weight: 500; color: var(--ink); }

.link-all {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--earth); text-decoration: none;
  display: flex; align-items: center; gap: 10px; transition: color 0.2s; flex-shrink: 0;
}
.link-all:hover { color: var(--ink); }
.link-all::after { content: '→'; font-size: 15px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(250,247,240,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-body); text-decoration: none; font-weight: 400; transition: color 0.2s;
}
.nav-links a:hover { color: var(--earth); }
.nav-cta {
  background: var(--ink) !important; color: var(--cream) !important;
  padding: 10px 22px; letter-spacing: 0.12em !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--rust) !important; }

/* ─── NEWSLETTER ─── */
.newsletter-band { background: var(--ink); padding: 72px 80px; text-align: center; }
.nl-title {
  font-family: 'Playfair Display', serif; font-size: 30px;
  font-weight: 700; color: var(--cream); margin-bottom: 10px;
}
.nl-subtitle {
  font-family: 'EB Garamond', serif; font-size: 17px; font-style: italic;
  color: rgba(245,239,224,0.55); margin-bottom: 36px;
}
.nl-form { display: flex; max-width: 440px; margin: 0 auto; }
.nl-input {
  flex: 1; padding: 15px 20px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(139,110,78,0.3); border-right: none;
  color: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 13px; outline: none;
}
.nl-input::placeholder { color: rgba(245,239,224,0.35); }
.nl-input:focus { border-color: var(--earth-light); }
.nl-btn {
  padding: 15px 28px; background: var(--earth); color: var(--cream);
  border: none; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.nl-btn:hover { background: var(--earth-light); }
.nl-note { font-size: 11px; color: rgba(245,239,224,0.3); margin-top: 14px; font-style: italic; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink); border-top: 1px solid rgba(139,110,78,0.12);
  padding: 36px 80px; display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--cream); }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,239,224,0.4); text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--earth-light); }
.footer-copy { font-size: 11px; color: rgba(245,239,224,0.25); letter-spacing: 0.04em; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  footer { flex-direction: column; gap: 20px; padding: 32px 24px; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .newsletter-band { padding: 52px 24px; }
  .nl-form { flex-direction: column; }
  .nl-input { border-right: 1px solid rgba(139,110,78,0.3); border-bottom: none; }
}
