/* =========================================================
   HERNÁN VARGAS — LANDING PAGE
   Mobile-first, sobria, B2B, orientada a confianza y conversión.
   ========================================================= */

:root {
  --navy: #0B2B49;
  --navy-2: #123D60;
  --ink: #11263B;
  --teal: #0B7C86;
  --teal-2: #5AB8BE;
  --teal-soft: #EAF5F6;
  --sky: #F4F9FB;
  --line: #D6E5EB;
  --white: #FFFFFF;
  --muted: #5E6F7E;
  --shadow: 0 16px 40px rgba(11,43,73,.10);
  --shadow-sm: 0 8px 24px rgba(11,43,73,.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}
.narrow { width: min(calc(100% - 32px), 860px); margin-inline: auto; }

h1, h2, h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.45rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
strong { color: inherit; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow-light { color: #AEE4E7; }

.lead {
  max-width: 760px;
  font-size: clamp(1.07rem, 2vw, 1.28rem);
  color: #2C4357;
}
.big-copy { font-size: clamp(1.18rem, 2vw, 1.48rem); }
.big-copy.light { color: #EAF3F8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(11,124,134,.25); outline-offset: 3px; }

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #086873);
  box-shadow: 0 12px 28px rgba(11,124,134,.24);
}
.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}
.btn-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(0,0,0,.13);
}
.btn-ghost {
  color: var(--navy);
  border-color: #B9CBD6;
  background: rgba(255,255,255,.72);
}
.btn-lg { min-height: 56px; padding: 16px 26px; }
.btn-sm { min-height: 42px; padding: 10px 16px; }

.text-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214,229,235,.8);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--navy);
  font-family: Georgia, serif;
  font-weight: 700;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: var(--navy); font-size: 1.05rem; }
.brand-copy small { color: var(--muted); font-size: .75rem; }

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.main-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  display: none;
  padding: 20px 16px 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.main-nav.open { display: grid; gap: 8px; }
.main-nav > a:not(.btn) {
  padding: 12px 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 56px;
  background:
    radial-gradient(circle at 85% 10%, rgba(90,184,190,.19), transparent 28%),
    linear-gradient(180deg, #F8FCFD 0%, #FFFFFF 86%);
}
.hero:after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -180px; bottom: -260px;
  border: 80px solid rgba(11,124,134,.06);
  border-radius: 50%;
}
.hero-grid { display: grid; gap: 34px; position: relative; z-index: 2; }
.hero-copy { max-width: 800px; }
.signature-line {
  margin: 26px 0 0;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.microtrust {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: .92rem;
}
.microtrust span {
  position: relative;
  padding-left: 20px;
}
.microtrust span:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.hero-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.hero-panel-label {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.metric {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.metric:last-child { border-bottom: 0; }
.metric strong { display: block; color: var(--navy); font-size: 1.08rem; }
.metric span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 74px 0; }
.section-light { background: var(--sky); }
.section-ink { background: var(--navy); color: #DDEAF1; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-accent {
  background: linear-gradient(180deg, #F0F8F9 0%, #E8F4F5 100%);
}
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.question-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 28px 0 30px;
}
.question-grid span {
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 750;
}
.statement {
  margin: 34px 0 0;
  padding: 28px;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.28rem, 2.3vw, 1.72rem);
  box-shadow: var(--shadow-sm);
}

.method-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 30px;
  font-weight: 850;
}
.method-line span {
  padding: 10px 14px;
  color: var(--navy);
  background: var(--teal-soft);
  border-radius: 999px;
}
.method-line i { color: var(--teal); font-style: normal; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pillar { padding: 24px; }
.pillar .num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 34px;
  border-radius: 12px;
  color: #fff;
  background: var(--navy);
  font-size: .78rem;
  font-weight: 900;
}
.pillar p { color: var(--muted); }

.tag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.tag-grid span {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #F4FAFC;
  background: rgba(255,255,255,.07);
  font-weight: 700;
  text-align: center;
}
.legal-note {
  margin-top: 22px;
  color: #AFC7D4;
  font-size: .9rem;
}

/* Experience */
.experience-grid { display: grid; gap: 28px; }
.profile-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #E9F3F8;
  box-shadow: var(--shadow);
}
.profile-card h3 { color: #fff; }
.profile-monogram {
  width: 86px; height: 86px;
  display: grid; place-items: center;
  margin-bottom: 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}
.credential {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.credential strong { color: #fff; }
.credential span { color: #BFD0DB; font-size: .92rem; }
.profile-card .text-link { display: inline-block; margin-top: 22px; color: #AEE4E7; }

/* Differentiator */
.discipline-grid {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}
.discipline-grid > div {
  display: grid;
  gap: 3px;
  padding: 18px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(11,124,134,.12);
  border-radius: var(--radius-sm);
}
.discipline-grid span { color: var(--muted); }
.disclaimer {
  padding-top: 18px;
  border-top: 1px solid rgba(11,124,134,.18);
  color: var(--muted);
  font-size: .95rem;
}

/* Process */
.process { display: grid; gap: 14px; }
.process-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  font-size: 1.08rem;
}
.step-label {
  margin: 0 0 5px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.process-card h3 { margin-bottom: 8px; }
.fine { color: var(--muted); font-size: .92rem; }

/* Cases */
.case-grid { display: grid; gap: 16px; }
.case-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.case-number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.case-block {
  margin-top: 18px;
}
.case-block > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}
.case-block p { color: var(--muted); }
.case-result {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
}
.case-result span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.case-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .9rem;
}

/* Philosophy */
.callout {
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid rgba(174,228,231,.28);
  border-radius: var(--radius-sm);
  color: #fff;
  background: rgba(255,255,255,.08);
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

/* Risk */
.risk-grid { display: grid; gap: 26px; }
.risk-box {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--sky);
  border: 1px solid var(--line);
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

/* Confidentiality */
.confidentiality-grid { display: grid; gap: 28px; align-items: center; }
.document-preview {
  display: block;
  max-width: 520px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
}
.document-preview img {
  width: 100%;
  height: auto;
}

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: clip;
}
.faq-item summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.45rem;
}
.faq-item[open] summary:after { content: "–"; }
.faq-item p {
  padding: 0 20px 20px;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  padding: 82px 0;
  color: #EAF4F8;
  text-align: center;
  background:
    radial-gradient(circle at 75% 20%, rgba(90,184,190,.2), transparent 30%),
    linear-gradient(135deg, #0B2B49 0%, #0D3C5E 100%);
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 720px; margin-inline: auto; }
.final-note {
  margin-top: 16px !important;
  color: #B8CFDA;
  font-size: .88rem;
}

/* Footer */
.site-footer {
  padding: 52px 0 92px;
  color: #CFDDE5;
  background: #071F35;
}
.site-footer h2 { color: #fff; font-size: 2rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-tagline { color: #AEE4E7; font-family: Georgia, serif; font-size: 1.1rem; }
.footer-links { display: grid; gap: 11px; align-content: start; }
.footer-links a { color: #DDEAF1; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.11);
  color: #93ACBA;
  font-size: .82rem;
}

.mobile-sticky-cta {
  position: fixed;
  z-index: 95;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: block;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media (min-width: 640px) {
  .question-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .tag-grid { grid-template-columns: repeat(2, 1fr); }
  .discipline-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 920px) {
  .site-header { position: sticky; }
  .menu-toggle { display: none; }
  .main-nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .main-nav > a:not(.btn) {
    padding: 10px 0;
    font-size: .9rem;
  }

  .hero { padding: 96px 0 76px; }
  .hero-grid {
    grid-template-columns: 1.55fr .75fr;
    gap: 54px;
    align-items: center;
  }
  .hero-panel { padding: 30px; }

  .section { padding: 96px 0; }
  .pillars { grid-template-columns: repeat(5, 1fr); }
  .tag-grid { grid-template-columns: repeat(3, 1fr); }
  .experience-grid { grid-template-columns: 1.35fr .65fr; align-items: start; gap: 64px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-card:last-child { grid-column: 1 / -1; }
  .risk-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
  .confidentiality-grid { grid-template-columns: 1fr .82fr; gap: 70px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-bottom { grid-template-columns: .6fr 1.4fr; }
  .mobile-sticky-cta { display: none; }
  .site-footer { padding-bottom: 54px; }
}


/* Added assets: real photo + secondary support brand */
.profile-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  margin: 0 0 22px;
  border-radius: 22px;
  border: 3px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 36px rgba(0,0,0,.18);
  background: #dfe6eb;
}

.support-brand {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.support-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #AEE4E7;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.support-logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 14px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.support-brand p {
  margin-top: 12px;
  margin-bottom: 0;
  color: #BFD0DB;
  font-size: .9rem;
}
.footer-endorsement {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.footer-endorsement img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 4px;
}
.footer-endorsement span {
  color: #DDEAF1;
  font-size: .9rem;
  font-weight: 700;
}
