/* ──────────────────────────────────────────────────────────
   NODO — Premium Quiet Luxury Travel Curation
   Design System: Dark Charcoal + Cream + Terracotta
   ────────────────────────────────────────────────────────── */

/* ─── RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── NODO Brand Palette ── */
  --brick-dust: #a85539;
  --seashell: #f8f0eb;
  --sand-rose: #ddbea9;
  --blue-horizon: #96a2ae;
  --graphite: #3f3a37;

  /* ── Derived tokens ── */
  --bg: var(--graphite);
  --bg-light: #4a4340;
  --bg-dark: #332e2b;
  --cream: var(--seashell);
  --cream-dim: var(--sand-rose);
  --terracotta: var(--brick-dust);
  --terra-light: #c06a4e;
  --terra-dim: #8a4a34;
  --line: rgba(248, 240, 235, 0.12);
  --line-strong: rgba(248, 240, 235, 0.22);

  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Gotham', 'Montserrat', sans-serif;

  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── FILM GRAIN ─────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  /* Static — no animation. Any position-shift keyframe on a fixed
     full-bleed element causes subpixel flicker on fine borders. */
}

/* ─── LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--cream-dim);
  max-width: 500px;
  line-height: 1.75;
}

.body-text {
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.85;
  margin-bottom: 24px;
}

.body-text em,
.section-title em,
.hero-title em {
  font-style: italic;
  color: var(--terracotta);
}

.divider-line {
  width: 40px;
  height: 1px;
  background: var(--line-strong);
  margin: 32px 0;
}

/* ─── SCROLL REVEAL ANIMATIONS ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--terracotta);
  transition: background 0.3s var(--ease-silk), color 0.3s, border-color 0.3s, transform 0.3s var(--ease-silk);
}

.btn-primary:hover {
  background: transparent;
  color: var(--terracotta);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: var(--cream-dim);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-silk);
}

.btn-ghost:hover {
  border-color: var(--cream-dim);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  transition: background 0.4s var(--ease-silk), padding 0.4s;
}

.nav.scrolled {
  background: rgba(63, 58, 55, 0.94);
  backdrop-filter: blur(14px);
  padding: 18px 48px;
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: 1.5rem;
  letter-spacing: 0.28em;
  color: var(--cream);
  transition: color 0.3s;
}

.nav-logo:hover {
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 240, 235, 0.85);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-cta {
  padding: 11px 26px;
  background: var(--terracotta) !important;
  border: 1px solid var(--terracotta) !important;
  color: var(--cream) !important;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  transition: opacity 0.3s !important;
}

.nav-cta:hover {
  opacity: 0.85 !important;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transition: transform 8s var(--ease-silk);
  filter: brightness(0.75) contrast(1.0) saturate(0.9) sepia(0.1);
}

.hero:hover .hero-img {
  transform: scale(1.0);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(40, 30, 25, 0.97) 0%,
      rgba(40, 30, 25, 0.65) 40%,
      rgba(40, 30, 25, 0.45) 70%,
      rgba(40, 30, 25, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 900px;
}

.hero-content .eyebrow {
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.02;
  color: var(--cream);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--cream-dim));
  animation: scroll-line 2.2s var(--ease-silk) infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ─── HOOK SECTION (THE INTERNET PROBLEM) ────────────────── */
.hook {
  position: relative;
  padding: 160px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.hook-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hook-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  filter: blur(2px) grayscale(20%);
  mix-blend-mode: screen;
}

.hook-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      var(--bg) 0%,
      transparent 20%,
      transparent 80%,
      var(--bg) 100%);
}

.relative-z {
  position: relative;
  z-index: 1;
}

.hook-layout {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 120px;
  align-items: start;
}

.hook-header {
  max-width: 400px;
}

.hook-header .section-title {
  margin-top: 24px;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 500;
}

.hook-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.hook-text-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hook-text-column .hook-p {
  color: var(--cream);
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 300;
}



.hook-points-column {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hook-num {
  display: block;
  font-family: var(--font-head);
  font-size: 4.2rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hook-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--cream-dim);
  text-transform: uppercase;
  font-weight: 400;
}

.copper {
  color: var(--terracotta) !important;
}

.italic {
  font-style: italic;
}


/* ─── CONTRAST SECTION (REFACTORED SPREAD LAyOUT) ─── */
.contrast {
  position: relative;
  padding: 270px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-dark);
  /* Base fallback */
}

/* 1. Underlying immersive image layer */
.contrast-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contrast-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(6px) brightness(0.9);
  transform: scale(1.05);
  /* prevent blurred edges from bleeding white */
}

/* 2. Text backdrop layer (Universal safe darkening) */
.contrast-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(28, 26, 25, 0.65);
}

.contrast .container {
  position: relative;
  z-index: 1;
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contrast-block .section-title {
  margin-top: 12px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  /* Extra safety for legibility */
}

.contrast-block .body-text {
  max-width: 500px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contrast-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  text-transform: uppercase;
  font-style: auto;
  opacity: 0.8;
  z-index: 1;

}

/* ─── PRICING ────────────────────────────────────────────── */
.pricing {
  padding: 80px 0 140px 0;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1px;
  row-gap: 0;
  background: var(--line);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  padding: 0 36px;
  transition: background 0.4s var(--ease-silk);
  position: relative;
}

.pricing-card:hover {
  background: var(--bg-light);
}

.pricing-card--featured {
  background: #3d2a22;
}

.pricing-card--featured:hover {
  background: #4A3229;
}

.pricing-card--bespoke {
  background: var(--bg);
  border-left: 1px solid var(--line-strong);
}

.card-featured-label {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.card-tier {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-transform: uppercase;
  /* Row 1: top padding acts as the card's top margin */
  padding-top: 48px;
  align-self: start;
}

.card-target {
  font-size: 0.78rem;
  color: rgba(248, 240, 235, 0.7);
  font-style: italic;
  line-height: 1.55;
  opacity: 0.85;
  /* Row 2: target always starts at top, row height = tallest target */
  align-self: start;
  padding-top: 16px;
  padding-bottom: 20px;
}

.pricing-card[data-tier="essential"] .card-target {
  color: rgba(255, 255, 255, 0.75) !important;
  opacity: 1 !important;
}

.card-price {
  /* Row 3: price anchors to the bottom of its row so all prices sit at the same baseline */
  align-self: end;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  padding-bottom: 20px;
}

.price-top {
  font-size: 0.75rem;
  color: var(--terra-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  min-height: 1.25em;
  /* Ensures empty spans take up the exact same vertical space */
  opacity: 0.8;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-amount {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: 5rem;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 0.85;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
}

.price-note {
  display: block;
  font-size: 0.7rem;
  color: var(--cream-dim);
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.card-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  margin-bottom: 32px;
  /* Enforces a minimum gap before the CTA button */
}

.card-features li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.card-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--terracotta);
  font-size: 1.1rem;
}

.card-cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--graphite);
  /* Row 6: CTA anchors to bottom, bottom padding = card's bottom margin */
  margin-top: auto;
  margin-bottom: 48px;
  transition: opacity 0.3s;
}

.card-cta:hover {
  opacity: 0.85;
}

.pricing-card--featured .card-cta {
  background: var(--terracotta);
  color: var(--cream);
}

.pricing-footer {
  margin-top: 60px;
  text-align: left;
}

.pricing-footer p {
  font-size: 0.85rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

.pricing-disclaimer {
  font-size: 0.7rem;
  color: var(--cream-dim);
  margin-top: 24px;
}

/* ─── PROCESS / THE CLOCK ────────────────────────────────── */
.process {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.timeline-line {
  position: absolute;
  top: 24px;
  /* Centers roughly on the 3rem step-num font */
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 0;
  position: relative;
  z-index: 1;
}

.step-num {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: 3rem;
  color: var(--terracotta);
  line-height: 1;
  opacity: 0.5;
  background: var(--bg);
  padding-right: 24px;
  /* Creates negative space before the line starts again */
}

.step-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.step-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.8;
}

/* ─── DELIVERABLES ───────────────────────────────────────── */
.deliverables {
  position: relative;
  padding: 140px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.deliverables-bg {
  position: absolute;
  inset: 0;
}

.deliverables-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.13);
  transform-origin: center center;
  filter: blur(2px) brightness(0.65) saturate(0.8);
}

.deliverables-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 12, 0.65);
}

@media (max-width: 900px) {
  .deliverables-overlay {
    background: rgba(20, 15, 12, 0.72);
  }
}

.deliverables-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.img-caption {
  margin-top: 14px;
  font-size: 0.68rem;
  color: var(--cream-dim);
  letter-spacing: 0.14em;
  font-style: italic;
  opacity: 0.55;
}

.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.deliverable-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.deliverable-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.deliverable-icon {
  color: var(--terracotta);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.deliverable-item strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.deliverable-item p {
  font-size: 0.84rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ─── EVIDENCE ───────────────────────────────────────────── */
.evidence {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 60px;
}

.evidence-card {
  background: var(--bg-dark);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.evidence-card--highlight {
  background: var(--terracotta);
}

.evidence-metric {
  color: var(--terracotta);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 24px;
}

.evidence-card--highlight .evidence-metric {
  color: #fff;
}

.evidence-label {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.evidence-desc {
  color: var(--cream-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.evidence-card--highlight .evidence-label,
.evidence-card--highlight .evidence-desc {
  color: #fff;
}

@media (max-width: 900px) {
  .evidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .evidence-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials {
  padding: 140px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 80px;
}

.testi-card {
  background: var(--bg-dark);
  padding: 36px 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    background 0.45s var(--ease-silk),
    transform 0.35s var(--ease-silk),
    box-shadow 0.35s var(--ease-silk);
  transform-style: preserve-3d;
  will-change: transform;
}

.testi-card:hover {
  background: var(--bg-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* Large decorative quote mark */
.testi-mark {
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 0.7;
  color: var(--terracotta);
  opacity: 0.12;
  user-select: none;
  margin-bottom: 16px;
  transition: opacity 0.4s var(--ease-silk), transform 0.4s var(--ease-silk);
  transform: translateY(2px);
}

.testi-card:hover .testi-mark {
  opacity: 0.32;
  transform: translateY(0);
}

/* Quote text */
.testi-quote {
  font-size: 0.88rem;
  color: var(--cream);
  line-height: 1.65;
  font-style: italic;
  font-weight: 300;
  flex: 1;
  margin-bottom: 24px;
}

/* Author footer */
.testi-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.testi-divider {
  width: 32px;
  height: 1px;
  background: var(--terracotta);
  margin-bottom: 14px;
  transition: width 0.4s var(--ease-silk);
}

.testi-card:hover .testi-divider {
  width: 56px;
}

.testi-name {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-transform: uppercase;
}

.testi-dest {
  font-size: 0.73rem;
  color: var(--terra-light);
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

/* Accent border that slides in from the left on hover */
.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--terracotta);
  transition: height 0.45s var(--ease-silk);
}

.testi-card:hover::before {
  height: 100%;
}

/* Featured / Converting Testimonial Highlight */
.testi-card--highlight {
  background: var(--bg-light);
}

.testi-card--highlight::before {
  height: 100%;
}

.testi-card--highlight .testi-mark {
  opacity: 0.25;
}

.testi-card--highlight .testi-divider {
  width: 56px;
}

/* ─── MANIFESTO ──────────────────────────────────────────── */

.manifesto {
  position: relative;
  padding: 160px 0 80px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
}

.manifesto-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.4);
  /* Scaled significantly to crop out image letterboxing/gaps */
  transform-origin: center;
  filter: brightness(0.55) saturate(0.72) hue-rotate(-8deg);
}

.manifesto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 30, 25, 0.72) 0%, rgba(40, 30, 25, 0.45) 100%);
}

.manifesto-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.manifesto-quote {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 52px;
  padding-left: 32px;
  border-left: 2px solid var(--terracotta);
}

.manifesto-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 52px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.manifesto-text p {
  font-size: 1.0rem;
  color: var(--cream-dim);
  line-height: 1.85;
}

.manifesto-signature {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 32px;
}

.signature-line {
  width: 48px;
  height: 1px;
  background: var(--terracotta);
}

.signature-name {
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  text-transform: uppercase;
}

/* ─── SOCIAL UNIVERSE ────────────────────────────────────── */
.social {
  padding: 140px 0 0;
  border-top: 1px solid var(--line);
}

.social-header {
  margin-bottom: 80px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 120px;
}

.social-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 48px 44px;
  background: var(--bg);
  transition: background 0.35s var(--ease-silk), transform 0.35s var(--ease-silk);
  position: relative;
}

.social-card:hover {
  background: var(--bg-light);
}

.social-card--contact {
  background: #3D2A22;
}

.social-card--contact:hover {
  background: #4A3229;
}

.social-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--terracotta);
  margin-top: 4px;
}

.social-card-icon svg {
  width: 100%;
  height: 100%;
}

.social-card-body {
  flex: 1;
}

.social-card-body h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.social-card-handle {
  display: block;
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 10px;
}

.social-card-body p {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

.social-card-arrow {
  position: absolute;
  bottom: 32px;
  right: 44px;
  color: var(--terracotta);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-silk);
}

.social-card:hover .social-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── LANGUAGE TOGGLE ────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 20px;
  border: 1px solid var(--line-strong);
}

.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  padding: 7px 12px;
  transition: color 0.25s, background 0.25s;
  line-height: 1;
}

.lang-btn:first-child {
  border-right: 1px solid var(--line-strong);
}

.lang-btn:hover {
  color: var(--cream);
}

.lang-btn--active {
  color: var(--cream);
  background: rgba(244, 239, 234, 0.06);
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-dark);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 120px;
}

.faq-left .section-header {
  margin-bottom: 40px;
}

.faq-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.9);
}

.faq-list {
  margin-top: 0;
  max-width: 100%;
  margin-inline: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.faq-question:hover {
  color: var(--terracotta);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--terracotta);
  transition: transform 0.4s ease;
  margin-left: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1), padding 0.5s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  /* arbitrary large value for smooth transition */
  padding-bottom: 32px;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--cream-dim);
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding: 52px 0;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-right {
  text-align: right;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: 1.3rem;
  letter-spacing: 0.28em;
  color: var(--cream);
  line-height: 1;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--cream-dim);
  letter-spacing: 0.1em;
  font-style: italic;
  line-height: 1;
}

.footer-left span:last-child,
.footer-right span:last-child {
  font-size: 0.7rem;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
  opacity: 0.5;
  line-height: 1.2;
}

/* ─── NAV SVG LOGO ──────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  height: 44px;
}

.nav-logo-wordmark,
.nav-logo-monogram {
  transition: opacity 0.5s var(--ease-silk), transform 0.5s var(--ease-silk);
}

.nav-logo-wordmark {
  height: 52px;
  width: auto;
  opacity: 1;
  transform: translateY(0);
}

.nav-logo-monogram {
  height: 32px;
  width: auto;
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(6px);
}

.nav.scrolled .nav-logo-wordmark {
  opacity: 0;
  transform: translateY(-6px);
}

.nav.scrolled .nav-logo-monogram {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SECTION PATTERN ACCENTS (corner/watermark) ────────── */
.section-pattern-corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section-pattern-corner img {
  width: 100%;
  height: 100%;
  filter: invert(0.92) sepia(0.08) saturate(0.5) brightness(1.2);
}

/* Top-right corner accent */
.section-pattern-corner--tr {
  top: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  opacity: 0.04;
}

/* Bottom-left corner accent */
.section-pattern-corner--bl {
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  opacity: 1;
}

/* Centered subtle watermark behind content */
.section-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

.section-watermark img {
  width: 100%;
  height: 100%;
  filter: invert(0.92) sepia(0.08) saturate(0.5) brightness(1.2);
}

/* ─── PAPER TEXTURE BACKGROUNDS ─────────────────────────── */
.paper-bg {
  position: relative;
}

.paper-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('static/Fondo papel_NODO (1).png');
  background-repeat: repeat;
  background-size: 600px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.paper-bg>*:not(.section-pattern-corner) {
  position: relative;
  z-index: 1;
}

/* Base utility backgrounds */
.bg-graphite {
  background-color: var(--graphite) !important;
  background-image: none !important;
}

.bg-graphite::before,
.bg-graphite::after {
  display: none !important;
}

.paper-bg-solid {
  position: relative;
}

.paper-bg-solid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('static/Fondo papel_NODO (1).png');
  background-repeat: repeat;
  background-size: 600px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* ─── TECHNICAL OVERLAYS ─────────────────────────────────── */
.technical-grid {
  position: relative;
}

.technical-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 240, 235, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 235, 0.6) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.02;
  z-index: 0;
  pointer-events: none;
}

.tech-stamp {
  position: absolute;
  bottom: 40px;
  left: 48px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  line-height: 1.5;
  letter-spacing: 0.2em;
  color: var(--cream);
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
  text-transform: uppercase;
}

.paper-bg-solid>*:not(.section-pattern-corner):not([class*="-bg"]) {
  position: relative;
  z-index: 1;
}

/* ─── RESOURCE DECORATIVE ICONS ─────────────────────────── */
.deliverable-icon-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s var(--ease-silk);
}

.deliverable-icon-svg img {
  width: 100%;
  height: 100%;
  /* Invert the graphite SVG fill to light cream */
  filter: invert(0.92) sepia(0.08) saturate(0.5) brightness(1.2);
}

.deliverable-item:hover .deliverable-icon-svg {
  opacity: 1;
  transform: scale(1.15);
}

.deliverable-item:hover .deliverable-icon-svg img {
  filter: invert(0.65) sepia(0.5) saturate(1.8) hue-rotate(340deg) brightness(0.9);
}

/* ─── MONOGRAM DECORATIONS ──────────────────────────────── */
.hero-monogram {
  position: absolute;
  bottom: 120px;
  right: 52px;
  width: 44px;
  height: auto;
  opacity: 0.12;
  animation: monogram-float 8s ease-in-out infinite;
}

@keyframes monogram-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.manifesto-monogram {
  position: absolute;
  top: 60px;
  right: 80px;
  width: 100px;
  height: auto;
  opacity: 0.14;
  z-index: 2;
  animation: monogram-pulse 6s ease-in-out infinite;
  filter: invert(0.92) sepia(0.08) saturate(0.5) brightness(1.2);
}

@keyframes monogram-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.14;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.22;
  }
}

/* ─── FOOTER ENHANCED ───────────────────────────────────── */
.footer-logo-svg {
  width: 160px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.footer-logo-svg:hover {
  opacity: 1;
}

.footer-pattern {
  width: 100%;
  height: 40px;
  opacity: 0.12;
  background-image: url('static/patterns/Patron_azulejo 2_crema.svg');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
  margin-bottom: 0;
}

/* ─── SECTION PATTERN ACCENTS ───────────────────────────── */
.section-accent {
  position: absolute;
  opacity: 0.04;
  pointer-events: none;
}

.section-accent--left {
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: auto;
}

.section-accent--right {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: auto;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    display: none;
  }

  .process-step {
    padding: 32px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav {
    padding: 20px 24px;
  }

  .nav.scrolled {
    padding: 14px 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-logo-wordmark {
    height: 22px;
  }

  .nav-logo-monogram {
    height: 20px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero-monogram {
    display: none;
  }

  .hook-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hook-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contrast-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .pattern-divider {
    height: 40px;
  }

  .pattern-divider--tall {
    height: 50px;
  }

  .manifesto-monogram {
    display: none;
  }

  .footer {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }

  .footer-logo-svg {
    width: 100px;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .faq {
    padding: 80px 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-left {
    position: static;
  }

  .faq-left .section-header {
    margin-bottom: 0;
  }

  .faq-question {
    align-items: flex-start;
    padding: 24px 0;
  }

  .faq-icon {
    padding-top: 0.15em;
  }
}

@media (max-width: 768px) {
  .signature {
    padding: 100px 0;
  }
}