/* ── SYNKAI · styles.css ─────────────────────────────────────
   Sistema de diseño: Synkai v2.0
   synkai.cloud · info@synkai.cloud
──────────────────────────────────────────────────────────── */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bosque:    #0B1F1A;
  --teal:      #1D9E75;
  --teal-clr:  #5DCAA5;
  --menta:     #E1F5EE;
  --blanco:    #F5F5F3;
  --gray-mid:  #7A9E94;
  --gray-lite: #C4DDD6;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --r: 6px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--blanco);
  color: var(--bosque);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(11,31,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(93,202,165,0.12);
  transition: box-shadow 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark { width: 32px; height: 32px; }
.nav-wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem; color: var(--blanco); letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--gray-lite); font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal-clr); }
.nav-cta {
  background: var(--teal); color: var(--blanco) !important;
  padding: 8px 20px; border-radius: var(--r);
  font-weight: 500 !important; font-size: 0.875rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-clr) !important; color: var(--bosque) !important; }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; background: var(--bosque);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 5% 80px; position: relative; overflow: hidden;
}
#flow-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.35; pointer-events: none;
}
.hero-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-clr);
  margin-bottom: 32px; position: relative; z-index: 2;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29,158,117,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(29,158,117,0); }
}
.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1.05;
  color: var(--blanco); max-width: 820px;
  position: relative; z-index: 2; margin-bottom: 28px;
}
.hero-headline em { font-style: italic; color: var(--teal-clr); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--gray-lite);
  max-width: 520px; line-height: 1.65; font-weight: 300;
  position: relative; z-index: 2; margin-bottom: 48px;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.btn-primary {
  background: var(--teal); color: var(--blanco);
  padding: 14px 32px; border-radius: var(--r);
  font-size: 1rem; font-weight: 500; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s var(--ease-out);
  font-family: 'DM Sans', system-ui, sans-serif; display: inline-block;
}
.btn-primary:hover { background: var(--teal-clr); color: var(--bosque); transform: translateY(-2px); }
.btn-ghost {
  color: var(--gray-lite); font-size: 0.95rem; font-weight: 400;
  display: flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--blanco); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(3px); }
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 5%;
  display: flex; align-items: center; gap: 8px;
  color: var(--gray-mid); font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase; z-index: 2;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--teal);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; inset: 0; background: var(--teal-clr);
  animation: scroll-travel 1.6s ease-in-out infinite;
}
@keyframes scroll-travel {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── STATS BAR ───────────────────────────────────────────── */
#stats {
  background: var(--teal); padding: 36px 5%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
}
.stat-item { padding: 0 32px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }
.stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--blanco); line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); font-weight: 400; line-height: 1.4; }

/* ── SECTION COMMONS ─────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15;
  color: var(--bosque); max-width: 640px; margin-bottom: 20px;
}
.section-title.light { color: var(--blanco); }
.section-body { font-size: 1.05rem; color: #4A6A62; line-height: 1.7; max-width: 560px; font-weight: 300; }
.section-body.light { color: var(--gray-lite); }

/* ── SERVICES ────────────────────────────────────────────── */
#services { padding: 100px 5%; background: var(--blanco); }
.services-header { margin-bottom: 64px; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--gray-lite);
  border: 2px solid var(--gray-lite);
  border-radius: calc(var(--r) + 2px); overflow: hidden;
}
.service-card {
  background: var(--blanco); padding: 48px 44px;
  position: relative; overflow: hidden; cursor: default;
  transition: background 0.3s var(--ease-out);
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover { background: var(--menta); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 44px; height: 44px; margin-bottom: 28px; color: var(--teal); }
.service-number {
  position: absolute; top: 36px; right: 36px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 4rem; color: rgba(29,158,117,0.08); line-height: 1; transition: color 0.3s;
}
.service-card:hover .service-number { color: rgba(29,158,117,0.14); }
.service-name { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.4rem; color: var(--bosque); margin-bottom: 14px; }
.service-desc { font-size: 0.95rem; color: #5A7A72; line-height: 1.65; font-weight: 300; margin-bottom: 24px; }
.service-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal);
  border: 1px solid var(--teal); padding: 4px 10px; border-radius: 100px;
}

/* ── VALUE LADDER ────────────────────────────────────────── */
#ladder { background: var(--bosque); padding: 100px 5%; position: relative; overflow: hidden; }
#ladder::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 80px;
  background: var(--blanco); clip-path: ellipse(55% 100% at 50% 0%);
}
.ladder-header { margin-bottom: 64px; position: relative; z-index: 1; }
.ladder-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.ladder-grid::before {
  content: ''; position: absolute; top: 52px;
  left: calc(33.33% + 12px); right: calc(33.33% + 12px); height: 1px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-clr) 100%); z-index: 0;
}
.ladder-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(93,202,165,0.18);
  border-radius: calc(var(--r) * 2); padding: 40px 32px; position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.ladder-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(93,202,165,0.4); transform: translateY(-4px); }
.ladder-card.featured { background: var(--teal); border-color: var(--teal); }
.ladder-card.featured:hover { background: #18876A; }
.ladder-tier { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-clr); margin-bottom: 16px; }
.ladder-card.featured .ladder-tier { color: rgba(255,255,255,0.75); }
.ladder-price { font-family: 'DM Serif Display', Georgia, serif; font-size: 2rem; color: var(--blanco); margin-bottom: 6px; line-height: 1; }
.ladder-price-note { font-size: 0.8rem; color: var(--gray-mid); margin-bottom: 24px; }
.ladder-card.featured .ladder-price-note { color: rgba(255,255,255,0.65); }
.ladder-service { font-size: 1.05rem; font-weight: 500; color: var(--blanco); margin-bottom: 10px; }
.ladder-desc { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.6; font-weight: 300; }
.ladder-card.featured .ladder-desc { color: rgba(255,255,255,0.75); }
.ladder-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--teal-clr); color: var(--bosque);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
}

/* ── WHY NOW ─────────────────────────────────────────────── */
#why { padding: 100px 5%; background: var(--blanco); }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-right { display: flex; flex-direction: column; gap: 28px; padding-top: 12px; }
.why-point { display: flex; gap: 20px; padding: 28px; border-left: 2px solid var(--menta); transition: border-color 0.25s; }
.why-point:hover { border-left-color: var(--teal); }
.why-point-icon {
  flex-shrink: 0; width: 40px; height: 40px; background: var(--menta);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.why-point-title { font-weight: 500; font-size: 0.95rem; color: var(--bosque); margin-bottom: 6px; }
.why-point-body { font-size: 0.875rem; color: #5A7A72; line-height: 1.6; font-weight: 300; }

/* ── PROCESS ─────────────────────────────────────────────── */
#process { background: var(--menta); padding: 100px 5%; }
.process-header { margin-bottom: 64px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, var(--teal-clr), var(--teal), var(--teal-clr)); opacity: 0.4;
}
.process-step { position: relative; }
.step-index {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', Georgia, serif; font-size: 1.1rem; color: var(--teal);
  background: var(--blanco); margin-bottom: 24px; position: relative; z-index: 1;
}
.step-title { font-weight: 600; font-size: 0.95rem; color: var(--bosque); margin-bottom: 10px; }
.step-body { font-size: 0.875rem; color: #4A6A62; line-height: 1.6; font-weight: 300; }

/* ── CTA ─────────────────────────────────────────────────── */
#cta { background: var(--bosque); padding: 120px 5%; text-align: center; position: relative; overflow: hidden; }
#cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.2; pointer-events: none; }
.cta-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-title { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--blanco); line-height: 1.1; margin-bottom: 16px; }
.cta-title em { font-style: italic; color: var(--teal-clr); }
.cta-sub { font-size: 1rem; color: var(--gray-lite); font-weight: 300; line-height: 1.65; margin-bottom: 48px; }
.cta-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.cta-input {
  flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(93,202,165,0.3);
  color: var(--blanco); padding: 14px 20px; border-radius: var(--r);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
}
.cta-input::placeholder { color: var(--gray-mid); }
.cta-input:focus { border-color: var(--teal); }
.cta-submit {
  background: var(--teal); color: var(--blanco); border: none;
  padding: 14px 28px; border-radius: var(--r);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.15s var(--ease-out);
}
.cta-submit:hover { background: var(--teal-clr); color: var(--bosque); transform: translateY(-2px); }
.cta-note { margin-top: 16px; font-size: 0.78rem; color: var(--gray-mid); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #060F0C; padding: 48px 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.1rem; color: var(--blanco); display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-size: 0.82rem; color: var(--gray-mid); font-style: italic; }
.footer-right { font-size: 0.78rem; color: #3D6055; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── TOAST ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--teal); color: var(--blanco);
  padding: 14px 28px; border-radius: var(--r);
  font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  opacity: 0; z-index: 999; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid   { grid-template-columns: 1fr; }
  .ladder-grid     { grid-template-columns: 1fr; }
  .ladder-grid::before { display: none; }
  .why-layout      { grid-template-columns: 1fr; gap: 48px; }
  .process-steps   { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  #stats           { grid-template-columns: 1fr; }
  .stat-item       { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 20px 0; }
  .stat-item:last-child { border-bottom: none; }
  .nav-links       { display: none; }
  .cta-form        { flex-direction: column; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
