/* ============================================================
   NEVENKA — CSS Design System & Layout
   ============================================================ */

:root {
  /* Primarios */
  --green: #068940;
  --navy: #262F4D;
  --white: #FFFFFF;
  
  /* Secundarios */
  --green-2: #31B081;
  --mint: #AEE5D0;
  --celeste: #3FC7F4;
  --ink: #404040;
  --gray: #808080;
  
  /* Neutros de soporte */
  --paper: #F4F6F5;
  --line: #E4E8E6;
  --line-2: #D6DCD9;

  /* Typography */
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  /* Layout Constants */
  --maxw: 1160px;
  --gut: 24px;
}

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

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

body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* ================= LAYOUT UTILITIES ================= */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.band {
  padding: 80px 0;
}

.band--paper {
  background: var(--paper);
}

.band--white {
  background: var(--white);
}

.band--navy {
  background: var(--navy);
  color: var(--white);
}

.band--green {
  background: var(--green);
  color: var(--white);
}

/* ================= TYPOGRAPHY ================= */
.kicker-mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--celeste);
  margin-bottom: 20px;
  display: inline-block;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
  display: inline-block;
}

.band--navy .kicker {
  color: var(--celeste);
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.sec-num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--green);
  flex-shrink: 0;
  position: relative;
  top: 4px;
}

.band--navy .sec-num {
  color: var(--celeste);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  color: inherit;
}

h3 {
  font-size: clamp(18px, 3vw, 22px);
}

.lead {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  max-width: 75ch;
}

.band--navy .lead {
  color: rgba(255, 255, 255, 0.85);
}

.mt-s {
  margin-top: 12px;
}

.mt-m {
  margin-top: 40px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(6, 137, 64, 0.3);
}

.btn-primary:hover {
  background: var(--green-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 176, 129, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-whatsapp-alt {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-alt:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ================= HEADER ================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.header-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 22px;
  width: auto;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  opacity: 0.75;
}

.nav-menu a:hover {
  opacity: 1;
  color: var(--green);
}

.nav-menu .nav-contact-btn {
  display: none; /* Only visible on mobile menu */
}

.header-cta {
  background: var(--green);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(6, 137, 64, 0.2);
}

.header-cta:hover {
  background: var(--green-2);
  box-shadow: 0 6px 15px rgba(49, 176, 129, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}

/* ================= HERO ================= */
.hero-section {
  position: relative;
  background: var(--navy);
  color: var(--white);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(6, 137, 64, 0.28) 0%, transparent 60%);
  pointer-events: none;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M3 7 L17 22 L3 37' stroke='%23ffffff' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3Cpath d='M25 7 L39 22 L25 37' stroke='%23ffffff' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: slidePattern 24s linear infinite;
  pointer-events: none;
}

@keyframes slidePattern {
  from { background-position: 0 0; }
  to { background-position: 88px 0; }
}

.hero-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
}

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

.hero-title {
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-microcopy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mint);
  opacity: 0.8;
  letter-spacing: 0.02em;
}

/* Interactive 3D Visual Area */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.dashboard-3d {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1/1;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -12deg));
  transition: transform 0.1s ease-out;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.visual-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.globe-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Glassmorphism Floating Cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  width: auto;
  min-width: 180px;
  transition: all 0.3s ease;
}

.float-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.card-icon {
  width: 36px;
  height: 36px;
  background: rgba(63, 199, 244, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--celeste);
}

.card-icon .ico-svg {
  width: 24px;
  height: 24px;
}

.card-icon .ico {
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--celeste);
  letter-spacing: 0.1em;
}

.card-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.card-1 {
  top: 15%;
  left: -15%;
  transform: translateZ(60px);
}

.card-2 {
  bottom: 15%;
  left: -10%;
  transform: translateZ(80px);
}

.card-3 {
  top: 8%;
  right: -15%;
  transform: translateZ(40px);
  color: var(--mint);
}

.card-3 .card-icon {
  background: rgba(174, 229, 208, 0.15);
  color: var(--mint);
}

.card-3 .card-label {
  color: var(--mint);
}

.card-4 {
  bottom: 22%;
  right: -12%;
  transform: translateZ(50px);
}

/* ================= PROBLEMA / DOLOR ================= */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(38, 47, 77, 0.06);
  border-color: var(--line-2);
}

.problem-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
}

.problem-card h3 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}

.problem-card p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.problem-footer {
  text-align: center;
}

.note {
  display: inline-block;
  background: var(--mint);
  border-left: 4px solid var(--green);
  padding: 16px 24px;
  border-radius: 0 4px 4px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
  max-width: 800px;
  text-align: left;
}

.band--navy .note {
  background: rgba(63, 199, 244, 0.12);
  border-color: var(--celeste);
  color: var(--white);
}

/* ================= SPLIT SECTION (QUÉ HACE NEVENKA) ================= */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.visual-col {
  display: flex;
  justify-content: center;
}

.chevron-box {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/3;
  background: var(--green);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(6, 137, 64, 0.15);
}

.chevron-box .chevrons {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M3 7 L17 22 L3 37' stroke='%23ffffff' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3Cpath d='M25 7 L39 22 L25 37' stroke='%23ffffff' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: slidePattern 20s linear infinite;
}

.chevron-box-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chevron-box-content h3 {
  font-size: 24px;
  font-weight: 800;
}

.chevron-box-content p {
  font-size: 14px;
  opacity: 0.85;
}

/* ================= SERVICIOS ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--celeste);
  display: flex;
  align-items: center;
}

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

.service-icon .ico {
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 20px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ================= PROCESO TIMELINE ================= */
/* ================= PROCESS CIRCULAR WHEEL ================= */
.process-interactive-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
  margin-top: 60px;
}

.wheel-wrapper {
  display: block;
  position: relative;
  width: 480px;
  height: 480px;
}

.wheel-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-svg-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Polar positioning using CSS variables and transforms */
.wheel-node {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(var(--angle)) translate(220px) rotate(calc(-1 * var(--angle)));
}

.node-num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
}

.node-label-outer {
  position: absolute;
  white-space: nowrap;
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.65;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Positioning labels outside the node based on step number */
.wheel-node[data-step="1"] .node-label-outer { bottom: 58px; left: 50%; transform: translateX(-50%); }
.wheel-node[data-step="2"] .node-label-outer { bottom: 42px; left: 42px; }
.wheel-node[data-step="3"] .node-label-outer { left: 58px; top: 50%; transform: translateY(-50%); }
.wheel-node[data-step="4"] .node-label-outer { top: 42px; left: 42px; }
.wheel-node[data-step="5"] .node-label-outer { top: 58px; left: 50%; transform: translateX(-50%); }
.wheel-node[data-step="6"] .node-label-outer { top: 42px; right: 42px; }
.wheel-node[data-step="7"] .node-label-outer { right: 58px; top: 50%; transform: translateY(-50%); }
.wheel-node[data-step="8"] .node-label-outer { bottom: 42px; right: 42px; }


.wheel-node:hover, .wheel-node.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 0 15px rgba(6, 137, 64, 0.4);
  transform: rotate(var(--angle)) translate(220px) rotate(calc(-1 * var(--angle))) scale(1.12);
}

.wheel-node:hover .node-label-outer, .wheel-node.active .node-label-outer {
  opacity: 1;
  color: var(--green);
}

/* Center card inside the wheel */
.wheel-center-card {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(38, 47, 77, 0.2);
  z-index: 5;
}

.center-card-content {
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--celeste);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.step-desc {
  font-size: 13.5px;
  opacity: 0.85;
  line-height: 1.5;
}

/* Fallback list style for mobile */
.process-fallback-list {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}

.fallback-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}

.fallback-item.active {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 10px 20px rgba(38, 47, 77, 0.04);
}

.fallback-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line-2);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.fallback-item.active .fallback-num {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.fallback-text h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 700;
}

.fallback-text p {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}

.timeline-note .note {
  max-width: 100%;
}

/* ================= CATEGORÍAS ================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 16px 32px rgba(38, 47, 77, 0.05);
}

.cat-image-placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--paper) 0%, var(--line) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.cat-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M3 7 L17 22 L3 37' stroke='%23000000' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

.placeholder-text {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.category-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-info h3 {
  font-size: 17px;
  color: var(--navy);
  font-weight: 700;
}

.category-info p {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}

/* ================= POR QUÉ NEVENKA ================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.pillar:hover {
  background: var(--white);
  border-color: var(--green-2);
  transform: translateY(-2px);
}

.pillar .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
}

.pillar h3 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
}

.pillar p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}

/* ================= CONFIANZA ================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(38, 47, 77, 0.05);
}

.trust-visual-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #EEF1F0 0%, #E7ECEA 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  border-bottom: 1px solid var(--line);
}

.trust-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-info h3 {
  font-size: 17px;
  color: var(--navy);
}

.trust-info p {
  font-size: 14px;
  color: var(--ink);
}

/* ================= PREGUNTAS FRECUENTES (FAQ) ================= */
.faq-accordion {
  max-width: 840px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--line-2);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
  transition: max-height 0.5s ease-in-out, padding 0.3s ease;
}

/* ================= CONTACT FORM ================= */
.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 56px 48px;
  box-shadow: 0 30px 60px rgba(38, 47, 77, 0.04);
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label, .form-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy);
  background: var(--paper);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 8px rgba(6, 137, 64, 0.15);
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.radio-label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink);
}

.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--gray);
  font-family: var(--mono);
  font-size: 12px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.form-divider:not(:empty)::before {
  margin-right: 16px;
}

.form-divider:not(:empty)::after {
  margin-left: 16px;
}

/* Success Modal Overlay */
.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 47, 77, 0.96);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.success-overlay.show .success-card {
  transform: translateY(0);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--mint);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.success-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.success-card p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  height: 24px;
  margin-bottom: 18px;
}

.footer-tagline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-desc {
  font-size: 13.5px;
  opacity: 0.7;
  max-width: 38ch;
}

.footer-grid h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 24px;
}

.footer-links ul, .footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-links a {
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--celeste);
}

.footer-contact li {
  opacity: 0.8;
  line-height: 1.5;
}

.footer-contact a:hover {
  color: var(--celeste);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* ================= FLOATING ACTION BUTTONS ================= */
.floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  position: relative;
  overflow: hidden;
}

.floating-btn:hover {
  transform: scale(1.08) translateY(-4px);
}

.btn-whatsapp {
  background: #25D366;
  width: auto;
  border-radius: 28px;
  padding: 0 20px;
  gap: 10px;
}

.btn-text {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* ================= RESPONSIVE LAYOUT ================= */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 20px;
  }

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

  .visual-col {
    order: -1;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--navy);
    z-index: 99;
    transition: left 0.3s ease;
    padding: 40px;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .nav-menu a {
    color: var(--white);
    font-size: 16px;
  }

  .nav-menu .nav-contact-btn {
    display: inline-block;
    background: var(--green);
    padding: 12px 24px;
    border-radius: 4px;
    color: var(--white);
    margin-top: 20px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .nav-toggle.open .bar {
    background: var(--white);
  }

  .main-header.menu-open {
    background: var(--navy);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .main-header.menu-open .logo-positive {
    display: none;
  }

  .main-header.menu-open .logo-negative {
    display: block !important;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

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



  .contact-box {
    padding: 34px 24px;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .floating-container {
    bottom: 16px;
    right: 16px;
  }
  
  .btn-text {
    display: none;
  }

  .btn-whatsapp {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
  }
}

/* ================= ACCESSIBILITY & MOTION ================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, .floating-btn, .btn, .problem-card, .timeline-step, .faq-answer {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg-texture, .chevron-box .chevrons, .particle-animation {
    animation: none !important;
  }

  .dashboard-3d {
    transform: none !important;
  }
}

/* ================= LEGAL MODALS ================= */
.legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 47, 77, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.legal-card {
  background: rgba(38, 47, 77, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  color: var(--white);
}

.legal-overlay.show .legal-card {
  transform: translateY(0);
}

.legal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.legal-close:hover {
  opacity: 1;
}

.legal-card h3 {
  font-family: var(--sans);
  color: var(--celeste);
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}

.legal-content {
  max-height: 350px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  padding-right: 10px;
}

.legal-content::-webkit-scrollbar {
  width: 6px;
}

.legal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.legal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.legal-content h4 {
  color: var(--mint);
  margin: 18px 0 6px;
  font-size: 15px;
}

.legal-content p {
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-right: 180px; /* Evitar superposición con botones flotantes */
}

.footer-legal {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal a:hover {
  color: var(--celeste);
}

.footer-legal .separator {
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-right: 0;
  }
}

/* ================= INLINE WHATSAPP CTAS ================= */
.btn-whatsapp-inline {
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 12px 24px;
}

.btn-whatsapp-inline:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  color: var(--white);
}

.btn-whatsapp-inline svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
  display: block;
}

.sec-whatsapp-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ================= FOOTER SOCIAL BUTTONS ================= */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-social svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-social:hover {
  transform: translateY(-2px);
}

.btn-social:hover svg {
  transform: scale(1.1);
}

.btn-social-instagram:hover {
  background: var(--celeste);
  border-color: var(--celeste);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(63, 199, 244, 0.3);
}

.btn-social-facebook:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(6, 137, 64, 0.3);
}

@media (max-width: 992px) {
  .footer-socials {
    justify-content: center;
  }
}
