/* =========================================================
   VALLE STUDIO — Components
   =========================================================
   Navbar, hero, marquee, section-head, bento, tools,
   proceso, stats, testimonial, faq, cta, footer
   ========================================================= */

/* ==================== NAVBAR ==================== */
.nav {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: relative;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
@media (max-width: 768px) { .nav-inner { height: 60px; } }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo img { flex-shrink: 0; }

/* Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--ink);
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) { .mobile-menu-btn { display: flex; } }

/* Nav links */
.nav-links {
  display: none;
  gap: 36px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Mobile nav overlay */
@media (max-width: 899px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--paper);
    border-left: 2px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 55;
    overflow-y: auto;
  }
  .nav-links--open { display: flex; transform: translateX(0); }
  .nav-links a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--ink);
    font-size: 14px;
  }
  .nav-links .nav-cta { margin-top: 24px; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,.5);
    z-index: 54;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .nav-backdrop--visible { opacity: 1; pointer-events: auto; }
}

.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; background: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper-bright);
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.nav-cta svg { transition: transform .25s; }
.nav-cta:hover svg { transform: translateX(3px); }
@media (max-width: 899px) { .nav-cta:not(.nav-links .nav-cta) { display: none; } }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 40px 0 64px;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  min-height: calc(100dvh - 80px);
  display: flex;
  align-items: center;
}
@media (min-width: 768px) { .hero { padding: 48px 0 80px; min-height: calc(100dvh - 80px); } }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(155, 61, 46, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(10, 10, 10, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: multiply;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper-bright);
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--d-lg);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 28px 0 32px;
  padding-bottom: 0.05em;
}
.hero-title .line { display: block; overflow: visible; }
.hero-title .line-accent { font-style: italic; font-weight: 500; color: var(--accent); }

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-tagline em {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-sub {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 26px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper-bright);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .3s ease;
  z-index: 0;
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { border-color: var(--accent); }
.btn-primary:hover svg { transform: translateX(4px); transition: transform .25s; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper-bright); }

.btn-accent { background: var(--accent); color: var(--paper-bright); border-color: var(--accent); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }

.hero-side {
  background: var(--ink);
  color: var(--paper-bright);
  border: 2px solid var(--ink);
  padding: 28px;
  position: relative;
}
@media (min-width: 1024px) { .hero-side { padding: 32px; } }
.hero-side::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 36px; height: 36px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.hero-side-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-side-metric { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.hero-side-metric .num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper-bright);
}
.hero-side-metric .unit {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
}
.hero-side-desc {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper-dim);
  margin-bottom: 24px;
}
.hero-side-desc em { color: var(--accent); font-style: italic; }
.hero-side-rows { display: flex; flex-direction: column; gap: 14px; }
.hero-side-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
}
.hero-side-row .lbl { color: var(--paper-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-side-row .val { color: var(--paper-bright); font-weight: 700; }
.hero-side-row .val.pos::before { content: '↑ '; color: #4ade80; }

/* ==================== MARQUEE / TRUST STRIP ==================== */
.marquee {
  background: var(--ink);
  color: var(--paper-bright);
  border-bottom: 2px solid var(--ink);
  padding: 28px 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 8px;
}
.marquee-sub {
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--paper-dim);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll-x 28s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
  color: var(--paper-bright);
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-item::after {
  content: '×';
  color: var(--accent);
  font-size: 24px;
  font-style: normal;
}

/* ==================== CAPABILITIES GRID ==================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
@media (min-width: 768px) {
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
}

/* ==================== SECTION HEADER ==================== */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1.5px solid var(--ink);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1.5fr; gap: 64px; }
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--h2);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding-bottom: 0.05em;
}
.section-head h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.section-head p {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}

/* ==================== BENTO — QUÉ HACEMOS ==================== */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  gap: 1.5px;
}
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
  .bento .bento-1 { grid-column: span 2; grid-row: span 2; }
  .bento .bento-2 { grid-row: span 2; }
}

.bento-cell {
  background: var(--paper);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background .25s;
}
.bento-cell:hover { background: var(--paper-bright); }
@media (min-width: 768px) { .bento-cell { padding: 40px; min-height: 320px; } }

.bento-cell.dark { background: var(--ink); color: var(--paper-bright); }
.bento-cell.dark:hover { background: #161616; }
.bento-cell.accent { background: var(--accent); color: var(--paper-bright); }
.bento-cell.accent .bento-icon { background: var(--ink); color: var(--accent); }
.bento-cell.accent .bento-meta { color: rgba(255,255,255,0.7); }

.bento-icon {
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: var(--paper-bright);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.bento-cell.dark .bento-icon { background: var(--paper-bright); color: var(--ink); }

.bento-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.bento-cell.dark .bento-num { color: var(--accent); }

.bento-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  padding-bottom: 0.05em;
}
.bento-cell.dark .bento-title { color: var(--paper-bright); }
.bento-cell.accent .bento-title { color: var(--paper-bright); }

.bento-desc {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: auto;
  padding-bottom: 24px;
}
.bento-cell.dark .bento-desc { color: var(--paper-dim); }
.bento-cell.accent .bento-desc { color: rgba(255,255,255,0.85); }

.bento-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.bento-chip {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper-bright);
}
.bento-cell.dark .bento-chip { border-color: var(--paper-bright); color: var(--paper-bright); background: transparent; }
.bento-cell.accent .bento-chip { border-color: var(--paper-bright); color: var(--paper-bright); background: transparent; }

.bento-visual {
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  font-family: var(--mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bv-row { display: flex; justify-content: space-between; align-items: center; color: var(--paper-dim); }
.bv-bar {
  width: 140px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.bv-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--accent);
  animation: bar-fill 3s ease-in-out infinite;
}
.bv-bar.b1::after { width: 78%; animation-delay: 0s; }
.bv-bar.b2::after { width: 92%; animation-delay: .4s; }
.bv-bar.b3::after { width: 64%; animation-delay: .8s; }
.bv-bar.b4::after { width: 88%; animation-delay: 1.2s; }

/* ==================== TOOLS SECTION ==================== */
.tools {
  background: var(--ink);
  color: var(--paper-bright);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.tools .section-head { border-color: var(--paper-bright); }
.tools .section-head h2 { color: var(--paper-bright); }
.tools .section-head p { color: var(--paper-dim); }
.tools .eyebrow { color: var(--accent); }
.tools .eyebrow::before { background: var(--accent); }

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1.5px solid var(--paper-bright);
}
@media (min-width: 768px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card {
  background: transparent;
  padding: 32px;
  border-right: 1.5px solid var(--paper-bright);
  border-bottom: 1.5px solid var(--paper-bright);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .25s;
  color: var(--paper-bright);
}
.tool-card:last-child { border-right: none; }
@media (max-width: 767px) { .tool-card:last-child { border-bottom: none; } }
.tool-card:hover { background: rgba(255,255,255,0.04); }

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--paper-bright);
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 24px;
}
.tool-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--paper-bright);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.tool-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
  padding-bottom: 0.05em;
}
.tool-desc {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper-dim);
  margin-bottom: 24px;
  flex-grow: 1;
}
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.tool-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--paper-dim);
  color: var(--paper-dim);
}
.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-top: 1.5px solid var(--paper-bright);
  color: var(--paper-bright);
  transition: color .2s, padding .2s;
}
.tool-link:hover { color: var(--accent); padding-left: 8px; }
.tool-link svg { transition: transform .2s; }
.tool-link:hover svg { transform: translateX(4px); }

/* ==================== PROCESO ==================== */
.proceso-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1.5px solid var(--ink);
  border-bottom: none;
}
@media (min-width: 768px) { .proceso-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proceso-grid { grid-template-columns: repeat(4, 1fr); } }

.step {
  padding: 36px 28px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  background: var(--paper);
  transition: background .25s;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--paper-bright); }
@media (min-width: 1024px) { .step:nth-child(4n) { border-right: none; } }
@media (max-width: 1023px) and (min-width: 768px) {
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(n+3) { border-bottom: none; }
}
@media (max-width: 767px) { .step { border-right: none; } .step:last-child { border-bottom: none; } }

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: var(--paper-bright);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.step-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  opacity: 0.5;
}
.step-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  padding-bottom: 0.05em;
}
.step-desc {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==================== STATS / AUTHORITY ==================== */
.authority { background: var(--paper-bright); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1.5px solid var(--ink);
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

.stat {
  padding: 32px 24px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
}
.stat:last-child { border-right: none; }
@media (max-width: 767px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-bottom: none; }
}
@media (min-width: 768px) { .stat:last-child { border-bottom: none; } }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 0.05em;
}
.stat-num em { font-style: italic; color: var(--accent); font-weight: 500; }
.stat-lbl {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.stat-sub {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: auto;
}

/* ==================== TESTIMONIAL ==================== */
.testimonial-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .testimonial-wrap { grid-template-columns: 1fr 1.2fr; gap: 80px; } }

.testimonial-card {
  background: var(--ink);
  color: var(--paper-bright);
  padding: 40px;
  position: relative;
  border: 2px solid var(--ink);
}
@media (min-width: 768px) { .testimonial-card { padding: 56px; } }
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 0;
  left: 24px;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  font-weight: 600;
  transform: translateY(-20px);
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 40px 0 32px;
  padding-bottom: 0.05em;
}
.testimonial-quote em { font-style: italic; color: var(--accent); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.author-avatar {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--paper-bright);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.author-info .name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.author-info .role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper-dim);
  margin-top: 2px;
}

.trust-stack { display: flex; flex-direction: column; gap: 16px; }
.trust-h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 0.05em;
}
.trust-h3 em { font-style: italic; color: var(--accent); font-weight: 500; }

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1.5px solid var(--ink);
  background: var(--paper-bright);
  transition: background .2s, transform .2s;
}
.trust-item:hover { background: var(--paper); transform: translateX(4px); }
.trust-item-icon {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--paper-bright);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-item h4 {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.trust-item p {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==================== FAQ ==================== */
.faq { background: var(--paper); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  transition: background .2s;
}
.faq-item:hover { background: var(--paper-bright); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 8px;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  padding-bottom: calc(28px + 0.05em);
}
.faq-toggle {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--paper-bright);
  transition: background .2s, color .2s, transform .3s;
}
.faq-item.open .faq-toggle { background: var(--accent); border-color: var(--accent); color: var(--paper-bright); transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 8px 32px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
}
.faq-a-inner strong { color: var(--ink); font-weight: 700; }

/* ==================== FINAL CTA ==================== */
.cta-final {
  background: var(--ink);
  color: var(--paper-bright);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--ink);
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(155, 61, 46, 0.20), transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(155, 61, 46, 0.10), transparent 60%);
  pointer-events: none;
}
.cta-final > .container { position: relative; z-index: 1; }
.cta-final .eyebrow { color: var(--accent); }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; } }

.cta-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--paper-bright);
  padding-bottom: 0.05em;
}
.cta-headline em { font-style: italic; color: var(--accent); font-weight: 500; }
.cta-sub {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-dim);
  margin-bottom: 32px;
  max-width: 480px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--paper-bright);
}
.cta-input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--paper-bright);
  padding: 20px 16px;
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 14px;
  outline: none;
  width: 100%;
}
.cta-input::placeholder { color: var(--paper-dim); }
.cta-input:focus { background: rgba(155, 61, 46, 0.08); }
.cta-input:last-of-type { border-bottom: none; }
.cta-textarea { border-bottom: none; resize: vertical; min-height: 80px; }

.cta-submit {
  background: var(--paper-bright);
  color: var(--ink);
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s, color .2s;
  border: none;
}
.cta-submit:hover { background: var(--accent); color: var(--paper-bright); }
.cta-submit svg { transition: transform .2s; }
.cta-submit:hover svg { transform: translateX(4px); }

.cta-fineprint {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper-dim);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-side h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.cta-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-family: var(--mono);
  font-size: 14px;
}
.cta-contact-row:last-child { border-bottom: none; }
.cta-contact-row svg { color: var(--accent); flex-shrink: 0; }
.cta-contact-row a { color: var(--paper-bright); transition: color .2s; }
.cta-contact-row a:hover { color: var(--accent); }

.cta-promise {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-dim);
}
.cta-promise strong { color: var(--paper-bright); font-weight: 700; display: block; margin-bottom: 4px; }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--ink);
  color: var(--paper-bright);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 64px; } }
.footer-brand .logo { color: var(--paper-bright); margin-bottom: 20px; }
.footer-brand p {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.4;
  color: var(--paper-dim);
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-brand p em { color: var(--accent); font-style: italic; }
.footer-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 10px;
}
.footer-email {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--paper-bright);
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--paper-dim);
}
.footer-email:hover { color: var(--accent); text-decoration-color: var(--accent); }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--paper-dim);
  transition: color .2s, padding .2s;
  display: inline-block;
}
.footer-col a:hover { color: var(--paper-bright); padding-left: 4px; }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom .legal a { color: var(--paper-dim); transition: color .2s; }
.footer-bottom .legal a:hover { color: var(--paper-bright); }

/* ==================== PORTFOLIO PAGE ==================== */
.portfolio-header {
  border-bottom: 2px solid var(--ink);
  padding: 80px 0 64px;
}
@media (min-width: 768px) { .portfolio-header { padding: 120px 0 80px; } }
.portfolio-header h1 {
  font-family: var(--serif);
  font-size: var(--h1);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  padding-bottom: 0.05em;
}
.portfolio-header h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.portfolio-header p {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

.portfolio-grid {
  column-count: 2;
  column-gap: 24px;
  padding: 0;
}
@media (max-width: 767px) { .portfolio-grid { column-count: 1; } }
.portfolio-item {
  break-inside: avoid;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: opacity .3s;
}
.portfolio-item:hover { opacity: 0.92; }
.portfolio-item video, .portfolio-item iframe {
  display: block;
  width: 100%;
  border: none;
}
.portfolio-item-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 48px 20px 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-bright);
  pointer-events: none;
}

/* ==================== HERMES AGENT LEAD MAGNET ==================== */
.hermes-hero {
  background: var(--ink);
  color: var(--paper-bright);
  padding: 80px 0;
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .hermes-hero { padding: 120px 0; } }
.hermes-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 85% 20%, rgba(155,61,46,0.18), transparent 60%);
  pointer-events: none;
}
.hermes-hero > .container { position: relative; z-index: 1; }
.hermes-hero .hero-badge { background: var(--accent); border-color: var(--accent); color: var(--paper-bright); }
.hermes-hero .hero-badge .pulse { background: var(--paper-bright); }
.hermes-hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 28px 0 20px;
  padding-bottom: 0.05em;
}
.hermes-hero h1 .line-accent { font-style: italic; color: var(--accent); font-weight: 500; }
.hermes-hero .hero-sub {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--paper-dim);
  margin-bottom: 40px;
  max-width: 600px;
}
.hermes-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1.5px solid var(--paper-bright);
  max-width: 520px;
}
.hermes-input {
  flex: 1;
  min-width: 200px;
  background: transparent;
  border: none;
  padding: 18px 16px;
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 14px;
  outline: none;
}
.hermes-input::placeholder { color: var(--paper-dim); }
.hermes-input:focus { background: rgba(155,61,46,0.08); }
.hermes-submit {
  background: var(--accent);
  color: var(--paper-bright);
  padding: 18px 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  transition: background .2s;
  white-space: nowrap;
}
.hermes-submit:hover { background: var(--paper-bright); color: var(--ink); }
.hermes-disclaimer {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--paper-dim);
  margin-top: 12px;
}

.hermes-section {
  padding: 80px 0;
  border-bottom: 2px solid var(--ink);
}
@media (min-width: 768px) { .hermes-section { padding: 120px 0; } }
.hermes-section.dark { background: var(--ink); color: var(--paper-bright); }
.hermes-section.dark .section-head { border-color: var(--paper-bright); }
.hermes-section.dark .section-head h2 { color: var(--paper-bright); }
.hermes-section.dark .section-head p { color: var(--paper-dim); }

.hermes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
@media (min-width: 768px) { .hermes-grid { grid-template-columns: repeat(3, 1fr); } }
.hermes-card {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.hermes-card.dark { background: var(--ink); color: var(--paper-bright); }
.hermes-card.accent { background: var(--accent); color: var(--paper-bright); }
.hermes-card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.hermes-card.dark .hermes-card-num { color: var(--accent); }
.hermes-card.accent .hermes-card-num { color: var(--paper-bright); }
.hermes-card-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  padding-bottom: 0.05em;
}
.hermes-card-desc {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
}
.hermes-card.dark .hermes-card-desc { color: var(--paper-dim); }
.hermes-card.accent .hermes-card-desc { color: rgba(255,255,255,0.85); }

.hermes-timeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.hermes-step {
  background: var(--paper);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 40px;
  align-items: start;
}
@media (min-width: 768px) { .hermes-step { grid-template-columns: 80px 1fr 1fr; } }
.hermes-step-day {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  grid-column: 1;
}
@media (min-width: 768px) { .hermes-step-day { font-size: 16px; } }
.hermes-step-content h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  padding-bottom: 0.05em;
}
.hermes-step-content p {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.hermes-step-result {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 12px;
  border: 1px solid var(--accent);
  align-self: center;
}
@media (min-width: 768px) { .hermes-step-result { grid-column: 3; } }

.hermes-bonus {
  margin-top: 2px;
  padding: 24px 32px;
  background: var(--ink);
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  border: 2px solid var(--ink);
}
.hermes-bonus strong { color: var(--accent); font-weight: 700; }

.hermes-reqs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
@media (min-width: 768px) { .hermes-reqs { grid-template-columns: 1fr 1fr; } }
.hermes-req {
  background: var(--paper);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
}
.hermes-req:last-child { border-bottom: none; }
.hermes-req-label { font-weight: 600; }
.hermes-req-value { color: var(--muted); text-align: right; }
.hermes-req-note {
  grid-column: 1 / -1;
  background: var(--paper-bright);
  padding: 24px 32px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1.5px solid var(--ink);
}

.hermes-target {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
@media (min-width: 768px) { .hermes-target { grid-template-columns: 1fr 1fr; } }
.hermes-target-col {
  padding: 40px 32px;
  background: var(--paper);
}
.hermes-target-col.dark { background: var(--ink); color: var(--paper-bright); }
.hermes-target-col h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  padding-bottom: 0.05em;
}
.hermes-target-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hermes-target-list li {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
}
.hermes-target-list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.hermes-target-list.yes li::before { content: '✅'; }
.hermes-target-list.no li::before { content: '❌'; }

.hermes-cta {
  background: var(--ink);
  color: var(--paper-bright);
  padding: 80px 0;
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .hermes-cta { padding: 120px 0; } }
.hermes-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(155,61,46,0.15), transparent 60%);
  pointer-events: none;
}
.hermes-cta > .container { position: relative; z-index: 1; }
.hermes-cta h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  padding-bottom: 0.05em;
}
.hermes-cta p {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-dim);
  margin-bottom: 32px;
  max-width: 520px;
}

.hermes-success {
  display: none;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--accent);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-bright);
  max-width: 520px;
}
.hermes-success strong { color: var(--accent); }
.hermes-download-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.hermes-download-btn:hover { background: #7a2e22; }

/* ==================== LEGAL PAGES ==================== */
.legal-page {
  padding: 80px 0;
  border-bottom: 2px solid var(--ink);
}
@media (min-width: 768px) { .legal-page { padding: 120px 0; } }
.legal-page .container {
  max-width: 800px;
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: var(--h1);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  padding-bottom: 0.05em;
}
.legal-page .legal-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-family: var(--serif);
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 0.05em;
  padding-top: 16px;
  border-top: 1.5px solid var(--rule-soft);
}
.legal-page h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 0.05em;
}
.legal-page p {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}
.legal-page p strong { color: var(--ink); font-weight: 700; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--ink); }
.legal-page ul {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-page ul li { margin-bottom: 8px; }

