/* ==========================================================================
   GRUPO NOVARIS — BESPOKE EDITORIAL DIGITAL EXPERIENCE
   Design System: "La trayectoria de una idea"
   Agency-Grade Corporate Experience
   ========================================================================== */

:root {
  /* Chromatic Palette */
  --bg-deep: #030712;
  --bg-surface: #070d1e;
  --bg-elevated: #0d1630;
  --bg-card: rgba(13, 22, 48, 0.6);
  --bg-card-hover: rgba(20, 34, 74, 0.75);

  /* Primary Brand Spectrum (from Novaris ribbon) */
  --novaris-cyan: #38bdf8;
  --novaris-azure: #0284c7;
  --novaris-cobalt: #0052ff;
  --novaris-electric: #2563eb;
  --novaris-violet: #9333ea;
  --novaris-magenta: #c084fc;

  /* Neutrals & Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Accents & Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(56, 189, 248, 0.35);
  --glow-primary: rgba(0, 82, 255, 0.35);

  /* Typography (Inspired by Samsung Sharp Sans / Samsung One geometric precision) */
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1360px;
  --container-padding: clamp(1.25rem, 4vw, 3.5rem);
  --section-spacing: clamp(5rem, 10vw, 9rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Motion & Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-editorial: 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Accessibility: Focus visible */
:focus-visible {
  outline: 2px solid var(--novaris-cyan);
  outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
.font-display {
  font-family: var(--font-display);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--novaris-cyan) 80%, var(--novaris-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-azure {
  background: linear-gradient(135deg, var(--novaris-cyan) 0%, var(--novaris-cobalt) 60%, var(--novaris-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--novaris-cyan);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--novaris-cyan), var(--novaris-magenta));
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  position: relative;
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

/* Background Atmosphere Gradients */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

/* Canvas Trajectory Background */
#trajectory-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* --------------------------------------------------------------------------
   BUTTONS & CTA
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--novaris-cobalt), #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 82, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d68fe, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 82, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-medium);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--novaris-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--novaris-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.btn-ghost:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--novaris-cyan);
  color: #ffffff;
}

.btn-header {
  padding: 0.45rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  background: rgba(0, 82, 255, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.btn-header:hover {
  background: rgba(0, 82, 255, 0.3);
  border-color: var(--novaris-cyan);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.25);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--transition-smooth);
}

.header.scrolled {
  padding: 0.85rem 0;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 110;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  transition: all var(--transition-fast);
}

.header.scrolled .logo-img {
  height: 40px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--novaris-cyan), var(--novaris-magenta));
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger button */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: all var(--transition-fast);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(7, 13, 30, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid var(--border-subtle);
  z-index: 105;
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-editorial);
}

.mobile-nav-drawer.is-open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--section-spacing) + 2rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero-glow-1 {
  top: 15%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.35) 0%, transparent 70%);
}

.hero-glow-2 {
  bottom: 10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.25) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
}

.hero-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffffff;
  margin-bottom: 1.75rem;
}

.hero-brand-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--novaris-cyan);
  box-shadow: 0 0 10px var(--novaris-cyan);
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}

.hero-lead {
  font-size: clamp(1.125rem, 1.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.hero-direct-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-direct-badge svg {
  width: 16px;
  height: 16px;
  color: #25d366;
}

/* Hero Visual Art piece */
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(56, 189, 248, 0.4) 50%, rgba(192, 132, 252, 0.2) 100%);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.8);
}

.hero-visual-inner {
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
}

.hero-mesh-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-editorial);
}

.hero-visual-frame:hover .hero-mesh-img {
  transform: scale(1.05);
}

.hero-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.4) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-visual-stat {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-visual-sub {
  font-size: 0.8125rem;
  color: var(--novaris-cyan);
}

/* --------------------------------------------------------------------------
   SECTION 2: EL ENFOQUE
   -------------------------------------------------------------------------- */
.enfoque-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.enfoque-manifesto {
  position: sticky;
  top: 6rem;
}

.enfoque-title {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  margin-bottom: 2rem;
}

.enfoque-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.enfoque-body p + p {
  margin-top: 1.5rem;
}

/* Asymmetric 4 Capabilities Matrix */
.capacities-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.capacity-item {
  position: relative;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.capacity-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--novaris-cyan);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.capacity-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateX(6px);
}

.capacity-item:hover::before {
  opacity: 1;
}

.capacity-index {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--novaris-cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.capacity-title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.capacity-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Integrated Areas Cloud / Grid */
.areas-wrapper {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.areas-header {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.area-pill {
  padding: 0.65rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.area-pill:hover {
  border-color: var(--novaris-cyan);
  background: rgba(56, 189, 248, 0.08);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   SECTION 3: INTENCIÓN DE BÚSQUEDA Y PROPUESTA
   -------------------------------------------------------------------------- */
.situaciones-header {
  max-width: 780px;
  margin-bottom: 4.5rem;
}

.situaciones-title {
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  margin-bottom: 1.5rem;
}

.situaciones-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.situaciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.situacion-card {
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  background: linear-gradient(180deg, rgba(13, 22, 48, 0.75) 0%, rgba(7, 13, 30, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.situacion-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.situacion-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 48px -12px rgba(0, 82, 255, 0.25);
}

.situacion-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--novaris-cyan);
  margin-bottom: 1.25rem;
}

.situacion-name {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.situacion-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.situacion-action-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #ffffff;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  transition: gap var(--transition-fast);
}

.situacion-action-anchor:hover {
  color: var(--novaris-cyan);
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   SECTION 4: EL MÉTODO
   -------------------------------------------------------------------------- */
.metodo-header {
  max-width: 820px;
  margin-bottom: 4rem;
}

.metodo-title {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  margin-bottom: 1.5rem;
}

.metodo-lead {
  font-size: 1.1875rem;
  color: var(--text-secondary);
}

.metodo-visual-interactive {
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.metodo-architecture-svg {
  width: 100%;
  height: auto;
  max-height: 420px;
}

/* 5 Stages Narrative Progression */
.stages-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.stage-step {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-smooth);
}

.stage-step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--novaris-cyan);
  transform: translateY(-4px);
}

.stage-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--novaris-cyan);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.stage-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.stage-explanation {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SECTION 5: CONVICCIÓN (STATEMENT MONUMENTAL)
   -------------------------------------------------------------------------- */
.conviccion-section {
  background: radial-gradient(circle at center, #0a1638 0%, #030712 75%);
  padding: clamp(6rem, 12vw, 11rem) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.conviccion-backdrop-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 20rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.conviccion-content {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.conviccion-quote {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 2.25rem;
}

.conviccion-reflection {
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   SECTION 6: YAMILA RIVERA (EDITORIAL SPREAD)
   -------------------------------------------------------------------------- */
.yamila-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.yamila-portrait-wrapper {
  position: relative;
}

.yamila-portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -10px rgba(0, 82, 255, 0.35), 0 0 45px rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: var(--bg-surface);
}

.yamila-portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 0 35px rgba(56, 189, 248, 0.08), inset 0 0 70px rgba(0, 82, 255, 0.12);
}

.yamila-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.yamila-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
}

.yamila-badge-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.yamila-badge-title {
  font-size: 0.8125rem;
  color: var(--novaris-cyan);
  font-weight: 500;
}

.yamila-content {
  padding-left: clamp(0rem, 2vw, 2rem);
}

.yamila-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 2rem;
  position: relative;
}

.yamila-quote::before {
  content: '“';
  position: absolute;
  top: -1.5rem;
  left: -2rem;
  font-size: 4rem;
  color: var(--novaris-cyan);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.yamila-bio {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   SECTION 7: CONFIDENCIALIDAD
   -------------------------------------------------------------------------- */
.confidencialidad-card {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 13, 30, 0.95) 0%, rgba(13, 22, 48, 0.75) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.6);
}

.confidencialidad-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.confidencialidad-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  margin-bottom: 1.5rem;
}

.confidencialidad-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
}

.confidencialidad-text p + p {
  margin-top: 1rem;
}

.confidencialidad-remate {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

.confidencialidad-remate span {
  color: var(--novaris-cyan);
}

.confidencialidad-seal-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.confidencialidad-seal-img {
  width: 260px;
  height: 260px;
  filter: drop-shadow(0 0 30px rgba(0, 82, 255, 0.3));
}

/* --------------------------------------------------------------------------
   SECTION 8: CONTACTO COMERCIAL (EXCLUSIVO WHATSAPP)
   -------------------------------------------------------------------------- */
.contacto-section {
  position: relative;
}

.contacto-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.contacto-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contacto-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.contacto-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.contacto-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.7);
  position: relative;
}

.contacto-form-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--novaris-cyan), var(--novaris-magenta), transparent);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.form-label .req {
  color: var(--novaris-cyan);
  margin-left: 0.25rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--novaris-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 16px;
  cursor: pointer;
}

.form-select option {
  background-color: var(--bg-surface);
  color: #ffffff;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit-btn {
  width: auto;
  min-width: 180px;
  padding: 0.85rem 2.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0, 82, 255, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(0, 82, 255, 0.18);
  margin: 0.5rem auto 0;
}

.form-submit-btn:hover {
  background: rgba(0, 82, 255, 0.45);
  border-color: var(--novaris-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 82, 255, 0.35);
}

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  position: relative;
  z-index: 2;
  background: #02050e;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-phrase {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--novaris-cyan);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .enfoque-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .enfoque-manifesto {
    position: static;
  }

  .situaciones-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stages-timeline {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .yamila-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .yamila-content {
    padding-left: 0;
  }

  .confidencialidad-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .confidencialidad-seal-box {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .confidencialidad-card {
    padding: 2rem 1.5rem;
  }

  .contacto-form-card {
    padding: 2rem 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   REFINED SCROLL REVEAL UTILITY
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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