:root {
  --navy: #0D1B2A;
  --navy-deep: #0B1420;
  --gold: #C79A47;
  --gold-soft: #e0c078;
  --ink: #eef2f8;
  --muted: #9fb0c7;
  --line: #26406b;
  --card: #10233b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.cv-eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cv-btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .2s ease;
}
.cv-btn:active { transform: scale(.98); }
.cv-btn-gold { background: var(--gold); color: var(--navy-deep); }
.cv-btn-gold:hover { background: var(--gold-soft); }
.cv-btn-ghost { border-color: var(--line); color: var(--ink); }
.cv-btn-ghost:hover { background: rgba(255,255,255,.05); }

/* Nav */
.cv-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(11,20,32,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(199,154,71,.18);
}
.cv-brand { display: flex; align-items: center; gap: 12px; }
.cv-brand .cv-laurel { width: 40px; height: 40px; object-fit: contain; }
.cv-brand span { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: .2em; font-size: 17px; text-transform: uppercase; }
.cv-nav-links { display: flex; align-items: center; gap: 22px; font-size: 13.5px; color: var(--muted); }
.cv-nav-links a:hover { color: var(--ink); }
.cv-nav-cta { background: var(--gold); color: var(--navy-deep) !important; padding: 9px 16px; border-radius: 8px; font-weight: 700; }
.cv-nav-cta:hover { background: var(--gold-soft); }

/* Hero */
.cv-hero {
  padding: 84px 28px 72px;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(199,154,71,.14), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-bottom: 1px solid rgba(199,154,71,.18);
}
.cv-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.cv-hero h1 { font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.cv-hero h1 span { color: var(--gold); }
.cv-hero-sub { color: #c7d2e0; font-size: 17px; max-width: 640px; margin: 18px auto 26px; }
.cv-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Stats */
.cv-stats {
  max-width: 1000px;
  margin: -36px auto 0;
  padding: 22px 24px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  z-index: 5;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.cv-stats > div { text-align: center; padding: 6px 4px; }
.cv-stats strong { display: block; color: var(--gold); font-size: 30px; font-weight: 800; }
.cv-stats span { color: var(--muted); font-size: 12.5px; }
.cv-stats-note { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 0 4px; }

/* Sections */
.cv-section { max-width: 1080px; margin: 0 auto; padding: 64px 28px; }
.cv-section-alt { background: linear-gradient(180deg, rgba(199,154,71,.04), transparent); max-width: none; }
.cv-section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.cv-section-head { text-align: center; margin-bottom: 34px; }
.cv-section-head h2 { font-size: 28px; font-weight: 800; line-height: 1.2; max-width: 720px; margin: 0 auto; }
.cv-section-desc { color: var(--muted); font-size: 14px; margin-top: 10px; }

.cv-grid { display: grid; gap: 16px; }
.cv-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cv-grid-4 { grid-template-columns: repeat(4, 1fr); }

.cv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}
.cv-card h3 { color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.cv-card p { color: var(--muted); font-size: 13.5px; }

/* Steps */
.cv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cv-steps li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; }
.cv-step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 800; margin-bottom: 12px; }
.cv-steps strong { display: block; margin-bottom: 6px; font-size: 15px; }
.cv-steps p { color: var(--muted); font-size: 13px; }

/* Cases */
.cv-case { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; }
.cv-case h3 { color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.cv-case p { color: var(--muted); font-size: 13px; flex: 1; }
.cv-case-metric { margin-top: 14px; color: var(--gold); font-weight: 800; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }

.cv-sectors-label { text-align: center; color: var(--gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 36px 0 14px; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cv-chips span { border: 1px solid var(--line); color: #c7d2e0; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; }

/* Deck carousel */
.cv-deck { display: flex; align-items: center; gap: 8px; }
.cv-deck-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 14px;
  padding: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cv-deck-track img {
  flex: 0 0 82%;
  max-width: 760px;
  scroll-snap-align: center;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.cv-deck-nav {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}
.cv-deck-nav:hover { background: rgba(255,255,255,.06); }
.cv-deck-actions { text-align: center; margin-top: 22px; }

/* FAQ */
.cv-faq { max-width: 780px; margin: 0 auto; }
.cv-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.cv-faq summary { cursor: pointer; padding: 14px 0; font-size: 15px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.cv-faq summary::-webkit-details-marker { display: none; }
.cv-faq summary::after { content: "+"; color: var(--gold); font-size: 20px; }
.cv-faq details[open] summary::after { content: "\2212"; }
.cv-faq details p { color: var(--muted); font-size: 14px; padding: 0 0 16px; }

/* Form */
.cv-section-form { background: linear-gradient(180deg, rgba(199,154,71,.05), transparent); max-width: none; }
.cv-form-wrap { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.cv-form-intro h2 { font-size: 26px; font-weight: 800; margin: 4px 0 12px; }
.cv-form-intro p { color: var(--muted); font-size: 14.5px; }
.cv-wa { display: inline-block; margin-top: 16px; color: var(--gold); font-weight: 600; font-size: 14px; }
.cv-wa:hover { color: var(--gold-soft); }
.cv-form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.cv-form label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.cv-form input, .cv-form select, .cv-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font: inherit;
}
.cv-form input:focus, .cv-form select:focus, .cv-form textarea:focus { outline: none; border-color: var(--gold); }
.cv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cv-form button {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 9px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.cv-form button:hover { background: var(--gold-soft); }
.cv-form button:disabled { opacity: .6; cursor: default; }
.cv-form-status { font-size: 13.5px; margin-top: 12px; min-height: 18px; }
.cv-form-status.ok { color: #7fd6b6; }
.cv-form-status.bad { color: #f0a0a0; }
.cv-form-legal { color: var(--muted); font-size: 11.5px; margin-top: 10px; }
.cv-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.cv-consent input { width: auto; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--gold); }
.cv-consent a { color: var(--gold); text-decoration: underline; }

/* Footer */
.cv-footer { border-top: 1px solid var(--line); padding: 36px 28px; text-align: center; }
.cv-footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; text-align: left; }
.cv-footer-brand img { width: 40px; }
.cv-footer-brand strong { display: block; letter-spacing: .1em; }
.cv-footer-brand span { color: var(--muted); font-size: 12px; }
.cv-footer-contact { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.cv-footer-contact a { color: var(--gold); font-size: 14px; }
.cv-footer-legal { color: var(--muted); font-size: 12px; margin-top: 6px; }
.cv-footer-legal a { color: var(--gold); text-decoration: underline; }

@media (max-width: 900px) {
  .cv-nav-links a:not(.cv-nav-cta) { display: none; }
  .cv-hero h1 { font-size: 34px; }
  .cv-stats { grid-template-columns: repeat(2, 1fr); }
  .cv-grid-3, .cv-grid-4, .cv-steps { grid-template-columns: 1fr 1fr; }
  .cv-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cv-grid-3, .cv-grid-4, .cv-steps, .cv-form-row { grid-template-columns: 1fr; }
  .cv-hero { padding: 60px 20px 60px; }
  .cv-hero h1 { font-size: 28px; }
  /* En movil las flechas laterales comprimen las diapositivas: se ocultan
     y la navegacion es por swipe (scroll-snap). El track ocupa todo el ancho. */
  .cv-deck { gap: 0; }
  .cv-deck-nav { display: none; }
  .cv-deck-track { gap: 10px; scroll-padding: 0 16px; }
  .cv-deck-track img { flex-basis: 90%; }
  .cv-brand span { font-size: 15px; letter-spacing: .15em; }
}
