/* ============================================================
   02 — LAYOUT — Nav, Hero, Quote Bar
   ============================================================ */

/* ============== NAV ============== */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    padding: 20px 48px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    background: rgba(251, 249, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }
  nav.scrolled { border-bottom-color: var(--line); }
  nav .logo-mini { height: 34px; width: auto; }
  nav ul { list-style: none; display: flex; gap: 40px; }
  nav a {
    color: var(--ink); text-decoration: none;
    font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
    font-weight: 400; transition: color 0.3s;
  }
  nav a:hover { color: var(--red); }
  nav .cta-nav {
    font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
    border: 1px solid var(--ink); padding: 10px 22px;
    transition: all 0.3s;
  }
  nav .cta-nav:hover { background: var(--ink); color: var(--paper); }
  @media (max-width: 820px) {
    nav { padding: 16px 20px; }
    nav ul { display: none; }
  }

/* ============== HERO ============== */
.hero {
    min-height: 100vh;
    padding: 110px 48px 60px;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 60px; align-items: center;
    position: relative;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 20% 20%, rgba(196, 18, 26, 0.05), transparent 50%),
      radial-gradient(ellipse at 80% 80%, rgba(232, 223, 209, 0.4), transparent 50%);
    pointer-events: none; z-index: 0;
  }
  .hero > * { position: relative; z-index: 1; }

  .hero-text { animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

  .hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
  .hero-eyebrow .line { width: 40px; height: 1px; background: var(--ink); opacity: 0.3; }
  .hero-eyebrow .text {
    font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
    font-weight: 500; color: var(--ink);
  }

  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(58px, 9vw, 140px);
    line-height: 0.92; letter-spacing: -0.025em;
    font-weight: 300; color: var(--ink);
  }
  .hero h1 em { font-style: italic; font-weight: 400; color: var(--red); }
  .hero h1 .block { display: block; }

  .hero-sub {
    margin-top: 40px; font-size: 17px; max-width: 480px;
    color: var(--ink-soft); line-height: 1.7;
  }
  .hero-sub strong { font-weight: 500; color: var(--ink); }

  .hero-actions { margin-top: 44px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

  .btn-primary {
    display: inline-block; background: var(--ink); color: var(--paper);
    padding: 18px 40px;
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
    text-decoration: none; font-weight: 400;
    position: relative; overflow: hidden; transition: color 0.4s;
    border: none; cursor: pointer; font-family: inherit;
  }
  .btn-primary span { position: relative; z-index: 2; }
  .btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: var(--red); transform: translateY(101%);
    transition: transform 0.4s ease;
  }
  .btn-primary:hover::before { transform: translateY(0); }

  .btn-ghost {
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--ink); padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
    background: none; border-left: none; border-right: none; border-top: none;
    cursor: pointer; font-family: inherit;
  }
  .btn-ghost:hover { color: var(--red); border-color: var(--red); }

  .hero-meta {
    margin-top: 72px; display: flex; gap: 48px;
    border-top: 1px solid var(--line); padding-top: 32px; max-width: 600px;
  }
  .hero-meta .item { display: flex; flex-direction: column; gap: 4px; }
  .hero-meta .label {
    font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  }
  .hero-meta .val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400; color: var(--ink);
  }
  .hero-meta .val em { font-style: italic; color: var(--red); }

  .hero-visual {
    position: relative; height: 85vh; min-height: 560px;
    animation: fadeIn 1.6s ease both; animation-delay: 0.3s; opacity: 0;
  }
  .hero-silhouette {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    height: 95%; width: auto; z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
  }
  .hero-frame {
    position: absolute; inset: 8% 12%;
    border: 1px solid var(--ink); opacity: 0.25; z-index: 1;
  }
  .hero-number {
    position: absolute; top: 6%; right: 8%;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px; font-style: italic; color: var(--muted);
    letter-spacing: 0.1em; z-index: 3;
  }
  .hero-number::before {
    content: ''; display: block; width: 40px; height: 1px;
    background: var(--muted); margin-bottom: 8px; opacity: 0.5;
  }
  .hero-stamp {
    position: absolute; bottom: 6%; left: 6%;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 13px; color: var(--muted);
    letter-spacing: 0.08em; z-index: 3;
    max-width: 180px; line-height: 1.4;
  }

  /* === STAMP WORKSHOP — prueba social institucional (esquina inferior derecha) === */
  .hero-stamp.hero-stamp-workshop {
    bottom: 6%; left: auto; right: 6%;
    max-width: 240px;
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 20px;
    background: rgba(251, 249, 245, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    border-left: 2px solid var(--red);
    text-decoration: none;
    color: var(--ink-soft);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    font-style: normal;
    text-align: left;
  }
  .hero-stamp.hero-stamp-workshop:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.1);
    border-left-color: var(--ink);
  }
  .hero-stamp.hero-stamp-workshop .stamp-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 500;
  }
  .hero-stamp.hero-stamp-workshop .stamp-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .hero-stamp.hero-stamp-workshop .stamp-title em {
    font-style: italic;
    color: var(--red);
  }
  .hero-stamp.hero-stamp-workshop .stamp-meta {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-top: 2px;
  }
  .hero-stamp.hero-stamp-workshop .stamp-link {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .hero-stamp.hero-stamp-workshop .stamp-link .arrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--red);
    transition: transform 0.3s ease;
  }
  .hero-stamp.hero-stamp-workshop:hover .stamp-link .arrow {
    transform: translateX(4px);
  }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 110px 20px 40px; gap: 40px; }
    .hero-visual { height: 60vh; min-height: 420px; order: -1; }
    .hero-meta { gap: 28px; flex-wrap: wrap; padding-top: 28px; margin-top: 52px; }
    .hero-stamp.hero-stamp-workshop {
      max-width: 200px;
      padding: 12px 14px;
      bottom: 4%; right: 4%;
    }
    .hero-stamp.hero-stamp-workshop .stamp-title { font-size: 16px; }
    .hero-stamp.hero-stamp-workshop .stamp-meta { font-size: 12px; }
  }
  @media (max-width: 480px) {
    .hero-stamp.hero-stamp-workshop {
      display: none;
    }
  }

/* ============== QUOTE BAR ============== */
.quote-bar {
    padding: 80px 48px;
    background: var(--ink); color: var(--paper);
    text-align: center; position: relative; overflow: hidden;
  }
  .quote-bar::before, .quote-bar::after {
    content: '"'; position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 180px; color: var(--red);
    opacity: 0.3; line-height: 1;
  }
  .quote-bar::before { top: 20px; left: 5%; }
  .quote-bar::after { bottom: -40px; right: 5%; transform: scaleX(-1); }

  .quote-bar blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 4vw, 46px);
    font-style: italic; font-weight: 300;
    line-height: 1.3; letter-spacing: -0.01em;
    max-width: 900px; margin: 0 auto;
  }
  .quote-bar cite {
    display: block; margin-top: 32px;
    font-family: 'Inter', sans-serif;
    font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--bone); font-style: normal; font-weight: 400;
  }
