/* ═══════════════════════════════════════════════
   VitalCapitalDigital — main.css
   Paleta: Teal profesional + Crema + Dorado acento
════════════════════════════════════════════════ */

:root {
  --slate:       #0D2137;
  --navy:        #143350;
  --teal:        #0E7C6B;
  --teal-lt:     #12A98F;
  --teal-pale:   #E4F4F0;
  --gold:        #B07D2E;
  --gold-lt:     #C8923A;
  --cream:       #F5F1EB;
  --cream-dark:  #EDE7DC;
  --white:       #FDFCFA;
  --border:      #DDD8D0;
  --text:        #0D2137;
  --muted:       #4A6070;
  --light-muted: #8099A8;
  --danger:      #C0392B;
  --success:     #0E7C6B;
  --warn:        #D4862A;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  18px;

  --shadow-card: 0 1px 3px rgba(13,33,55,0.08), 0 4px 16px rgba(13,33,55,0.05);
  --shadow-lift: 0 4px 20px rgba(13,33,55,0.12);

  --max-width: 1080px;
  --nav-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad { padding: 5rem 0; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--teal-lt); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--teal);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--teal-pale); }

/* ── Navbar ── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,252,250,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.logo-vital   { color: var(--gold-lt); }
.logo-capital { color: var(--slate); }
.logo-digital { color: var(--teal); }
.logo--footer .logo-capital { color: var(--white); }
.logo--footer .logo-vital   { color: var(--gold-lt); }
.logo--footer .logo-digital { color: var(--teal-lt); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links li a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links li a:hover { color: var(--teal); background: var(--teal-pale); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-md) !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--teal-lt) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Section headers ── */
.section-kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.75;
}
.section-header { margin-bottom: 3rem; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: var(--white);
  overflow: hidden;
}
.hero-bg-accent {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--teal-pale);
  opacity: 0.6;
  pointer-events: none;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.kicker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-lt);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--slate);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--teal);
}
.hero-body {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--light-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
}
.trust-icon {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--teal-lt);
  opacity: 0.7;
}
.trust-sep { color: var(--border); font-size: 0.9rem; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--slate);
  padding: 2rem 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal-lt);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  letter-spacing: 0.3px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ── Services ── */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 0.5px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.service-card--primary { border-top: 3px solid var(--teal); }
.service-card--secondary { border-top: 3px solid var(--gold-lt); }

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.si-ti { background: var(--teal-pale); color: var(--teal); }
.si-cyber { background: #FEF0E2; color: var(--gold-lt); }

.service-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--teal-pale);
  color: var(--teal);
}
.service-tag--cyber {
  background: #FEF0E2;
  color: var(--gold-lt);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
  margin-bottom: 1.5rem;
}
.service-features li {
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.service-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.service-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}
.service-link:hover { gap: 8px; }

/* ── Platform section ── */
.platform-section { background: var(--white); }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.platform-body {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.platform-list { display: flex; flex-direction: column; gap: 1rem; }
.platform-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.pl-icon {
  color: var(--teal);
  font-size: 0.55rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}
.platform-list strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 0.15rem;
}
.platform-list span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

/* Dashboard visual */
.platform-visual {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 0.5px solid var(--border);
}
.pv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 0.5px solid var(--border);
}
.pv-label { font-size: 0.75rem; color: var(--muted); font-weight: 400; margin-bottom: 0.35rem; }
.pv-score {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.pv-score span { font-size: 1.2rem; color: var(--light-muted); }
.pv-level { font-size: 0.8rem; color: var(--muted); margin: 0.35rem 0 0.75rem; }
.pv-bar-wrap {
  height: 6px;
  background: var(--cream);
  border-radius: 3px;
  overflow: hidden;
}
.pv-bar {
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
  transition: width 1s ease;
}
.pv-domains { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.75rem; }
.pv-domain-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pv-domain-name { font-size: 0.78rem; color: var(--muted); flex: 0 0 100px; }
.pv-mini-bar-wrap {
  flex: 1;
  height: 5px;
  background: var(--cream);
  border-radius: 3px;
  overflow: hidden;
}
.pv-mini-bar { height: 100%; background: var(--teal); border-radius: 3px; }
.pv-mini-bar--warn { background: var(--gold-lt); }
.pv-mini-bar--low  { background: #E24B4A; }
.pv-pct { font-size: 0.75rem; font-weight: 500; color: var(--slate); flex: 0 0 32px; text-align: right; }
.pv-tag {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-top: 0.5px solid var(--border);
  padding-top: 0.75rem;
}

/* ── How it works ── */
.how-section { background: var(--cream); }
.phases-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.phase-card {
  flex: 1;
  background: var(--white);
  border-radius: 0;
  padding: 1.75rem 1.5rem;
  border: 0.5px solid var(--border);
  position: relative;
}
.phase-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.phase-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.phase-card:hover { background: var(--teal-pale); }

.phase-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.25;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.phase-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.6rem;
}
.phase-desc {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}
.phase-arrow {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: var(--teal);
  opacity: 0.5;
  padding: 0 0.2rem;
  margin-top: 2.5rem;
}
.how-cta-wrap { text-align: center; margin-top: 2.5rem; }

/* ── Case section ── */
.case-section { background: var(--white); }
.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 0.5px solid var(--border);
}
.case-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.case-body {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.case-metrics { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.case-metric {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.cm-before {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--light-muted);
}
.cm-arrow { color: var(--muted); font-size: 1rem; }
.cm-after {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
}
.cm-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
}
.cm-label { font-size: 0.8rem; color: var(--muted); width: 100%; margin-top: -2px; }
.case-note { font-size: 0.75rem; color: var(--light-muted); font-style: italic; }

.case-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.cv-before, .cv-after {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 0.5px solid var(--border);
  min-width: 110px;
}
.cv-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 0.5rem; }
.cv-score {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cv-score--low  { color: #E24B4A; }
.cv-score--high { color: var(--teal); }
.cv-sublabel { font-size: 0.72rem; color: var(--muted); }
.cv-sep { font-size: 1.5rem; color: var(--teal); opacity: 0.5; }

/* ── FAQ ── */
.faq-section { background: var(--cream); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.faq-item {
  background: var(--white);
  padding: 1.5rem;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.faq-a {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}

/* ── Contact ── */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--slate);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.contact-body {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-data { display: flex; flex-direction: column; gap: 1rem; }
.cd-item { display: flex; flex-direction: column; gap: 2px; }
.cd-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); }
.cd-value { font-size: 1rem; color: var(--slate); font-weight: 400; }
.cd-value:hover { color: var(--teal); }

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 0.5px solid var(--border);
}
.form-row { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 0.35rem;
  letter-spacing: 0.2px;
}
.req { color: var(--teal); }
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,124,107,0.12);
}
textarea { resize: vertical; min-height: 80px; }
.cf-turnstile { margin: 1rem 0; }

.form-success {
  background: var(--teal-pale);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  border: 0.5px solid rgba(14,124,107,0.2);
}
.success-icon {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.form-success p { font-size: 0.92rem; color: var(--muted); }
.form-error {
  background: #FEF2F2;
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 0.88rem;
  color: var(--danger);
  border: 0.5px solid rgba(192,57,43,0.2);
  margin-top: 0.75rem;
  display: none;
}
.form-error a { color: var(--teal); text-decoration: underline; }

/* ── Footer ── */
.site-footer { background: var(--slate); padding: 3rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.7;
  margin-top: 0.5rem;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--teal-lt); }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); font-weight: 300; }
.footer-marcos { color: rgba(255,255,255,0.2) !important; letter-spacing: 0.3px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .services-grid,
  .platform-grid,
  .case-card,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .phases-grid {
    flex-direction: column;
    gap: 0.5rem;
  }
  .phase-card {
    border-radius: var(--radius-lg) !important;
    border: 0.5px solid var(--border);
  }
  .phase-arrow { display: none; }

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

  .stat-divider { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .case-visual { flex-direction: column; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem; border-bottom: 0.5px solid var(--border); gap: 0.5rem; box-shadow: 0 8px 24px rgba(13,33,55,0.1); }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.65rem 0.5rem; font-size: 1rem; }
  .nav-cta { margin-left: 0 !important; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .hero { padding: 3.5rem 0 3rem; }
  .section-pad { padding: 3.5rem 0; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-ghost { align-self: flex-start; }
  .stats-grid { flex-direction: column; gap: 1.5rem; }
  .stat-item { display: flex; align-items: center; gap: 1rem; }
  .stat-num { font-size: 1.8rem; }
  .service-features { grid-template-columns: 1fr; }
  .case-card { padding: 1.5rem; }
}
