:root {
  --paper: #f6f3ed;
  --paper-2: #eee9df;
  --ink: #181511;
  --muted: #5c554a;
  --faint: #99917f;
  --line: #dcd5c8;
  --gold: #d98e5f;
  --green: #181511;
  --blue: #eee9df;
  --clay: #a4491f;
  --white: #fbf9f5;
  --display: "Fraunces", Georgia, serif;
  --sans: "Archivo", Arial, sans-serif;
  --page: min(1320px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--gold);
  transition: top .16s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.brand img { width: 40px; height: 40px; }
.brand span, .footer-brand span { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1; letter-spacing: 0; }
.brand i, .footer-brand i { color: var(--clay); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 14px; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.menu-button { display: none; border: 0; background: transparent; }

.hero {
  width: var(--page);
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 112px) 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .62fr);
  gap: clamp(44px, 8vw, 118px);
  align-items: center;
}
.eyebrow, .section-index, .proof-card span, .story span, .capability-grid span {
  margin: 0;
  color: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 900px;
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: 104px;
  font-weight: 400;
  line-height: .9;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-lede {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.button svg { flex-shrink: 0; }
.button:active { transform: translateY(1px); }
.primary { color: var(--paper); background: var(--ink); }
.secondary { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.28); }
.button.whatsapp { color: #fff; background: #2E9C6A; }
.button.whatsapp:hover { background: #278C5E; box-shadow: 0 6px 18px rgba(46,156,106,.22); }
.button.linkedin { color: #fff; background: #3A70A6; }
.button.linkedin:hover { background: #326394; box-shadow: 0 6px 18px rgba(58,112,166,.22); }
.hero-card {
  width: min(100%, 250px);
  justify-self: end;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(20, 23, 22, .08);
}
.hero-card img {
  width: 100%;
  height: 178px;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.03);
}
.hero-card div { padding: 18px; }
.hero-card span { color: var(--clay); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero-card strong { display: block; margin-top: 6px; font-family: var(--display); font-size: 23px; font-weight: 400; line-height: 1.05; }
.hero-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.metric-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--paper);
}
.metric { min-height: 190px; padding: clamp(28px, 4vw, 54px); border-right: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; justify-content: center; }
.metric:last-child { border-right: 0; }
.metric strong { font-family: var(--display); font-size: 64px; font-weight: 400; line-height: 1; }
.metric span { max-width: 250px; margin-top: 12px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.55; }

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}
.intro, .credentials, .arc {
  display: grid;
  grid-template-columns: .36fr .94fr .7fr;
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
}
.section-head h2, .proof-card h2, .contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}
.section-head p, .copy-stack p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.copy-stack { padding-top: 48px; }
.copy-stack p:first-child { margin-top: 0; }
.profile-visual {
  grid-column: 2 / 4;
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: end;
}
.profile-visual img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.profile-visual figcaption { color: var(--muted); font-size: 13px; line-height: 1.6; }

.proof-grid {
  display: grid;
  grid-template-columns: .36fr 1.1fr .74fr;
  gap: 18px;
  align-items: stretch;
}
.proof-grid .section-index { padding-top: 8px; }
.proof-card {
  min-height: 430px;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.proof-card.large { grid-row: span 2; }
.proof-card h3, .story h3, .capability-grid h3 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}
.proof-card p, .story p, .capability-grid p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.proof-card ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.proof-card li { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.5; }
.proof-card.dark { color: var(--paper); background: var(--green); }
.proof-card.dark span { color: var(--gold); }
.proof-card.dark p, .proof-card.dark dd { color: rgba(255,255,255,.66); }
.proof-card dl { margin: 28px 0 0; display: grid; gap: 14px; }
.proof-card dl div { display: grid; grid-template-columns: 82px 1fr; gap: 18px; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
.proof-card dt { font-family: var(--display); font-size: 38px; }
.proof-card dd { margin: 0; font-size: 13px; line-height: 1.4; }
.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips b {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.stories { display: grid; grid-template-columns: .36fr 1fr; gap: clamp(30px, 6vw, 88px); }
.story-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.story { min-height: 210px; padding: 34px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
.story h3 { margin-top: 0; }
.story p { margin-top: 0; }

.trust-bar {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.trust-bar article {
  min-height: 145px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.24);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar article > span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.credential-badge { min-height: 88px; display: flex; align-items: center; }
.credential-badge img { width: 82px; height: 82px; object-fit: contain; object-position: left center; }
.credential-badge.wide-badge img { width: 150px; height: 79px; }
.credential-badge.certificate-badge img { width: 150px; height: 104px; }
.meta-credentials { grid-column: span 3; }
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badge-row img { width: 76px; height: 76px; object-fit: contain; }
.cim-row { grid-column: span 3; min-height: 125px !important; flex-direction: row !important; align-items: center; }
.cim-row .credential-badge { width: 110px; flex: 0 0 auto; }

.timeline { grid-column: 2 / 4; border-top: 1px solid var(--ink); }
.timeline article {
  min-height: 118px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 150px .8fr 1.2fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.timeline time { color: var(--clay); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.timeline h3 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.05; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.65; }
.timeline p strong { color: var(--ink); font-weight: 700; font-size: inherit; }

.capabilities { display: grid; grid-template-columns: .36fr 1fr; gap: clamp(30px, 6vw, 88px); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.capability-grid article { min-height: 300px; padding: 28px; background: var(--paper-2); border-radius: 8px; }

.contact {
  width: 100%;
  min-height: 620px;
  padding: clamp(80px, 10vw, 145px) max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 1.1fr .8fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  color: var(--paper);
  background: var(--ink);
}
.contact .eyebrow { color: var(--gold); }
.contact-links { border-top: 1px solid rgba(255,255,255,.28); }
.contact-links a { min-height: 92px; display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-links span { color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.contact-links strong { font-weight: 500; overflow-wrap: anywhere; }

.site-footer {
  min-height: 92px;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
}
.site-footer span { font-weight: 700; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand span { color: var(--ink); font-size: 22px; font-weight: 500; }
.site-footer p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 5px; }

@media (max-width: 980px) {
  :root { --page: calc(100% - 40px); }
  .hero, .intro, .credentials, .arc, .contact { grid-template-columns: 1fr; }
  .hero h1 { font-size: 72px; }
  .section-head h2, .proof-card h2, .contact h2 { font-size: 58px; }
  .hero-card { width: min(100%, 250px); justify-self: end; }
  .hero-card img { height: 178px; }
  .metric-wall, .capability-grid, .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-grid, .stories, .capabilities { grid-template-columns: 1fr; }
  .trust-bar, .timeline, .profile-visual { grid-column: auto; }
  .profile-visual { grid-template-columns: 1fr; }
  .meta-credentials, .cim-row { grid-column: span 2; }
  .timeline article { grid-template-columns: 120px 1fr; }
  .timeline p { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --page: calc(100% - 28px); }
  .site-header { min-height: 72px; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 25px; }
  .menu-button { display: block; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; }
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 34px 24px;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: auto; padding: 38px 0 50px; gap: 34px; }
  .hero h1 { margin-top: 16px; font-size: 52px; line-height: .94; }
  .hero-lede { margin-top: 24px; font-size: 16px; line-height: 1.58; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .button { min-height: 48px; padding: 0 14px; justify-content: center; text-align: center; }
  .hero-card { width: 100%; display: grid; grid-template-columns: 118px 1fr; align-items: stretch; }
  .hero-card img { height: 100%; aspect-ratio: auto; min-height: 190px; }
  .hero-card div { padding: 18px; }
  .hero-card strong { font-size: 23px; line-height: 1.05; }
  .metric-wall { grid-template-columns: repeat(2, 1fr); }
  .capability-grid, .trust-bar { grid-template-columns: 1fr; }
  .metric { min-height: 138px; padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .metric strong { font-size: 43px; }
  .section { padding: 70px 0; }
  .intro, .credentials, .arc { gap: 24px; }
  .section-head h2, .proof-card h2, .contact h2 { font-size: 46px; line-height: 1; }
  .copy-stack { padding-top: 4px; }
  .profile-visual { margin-top: 8px; gap: 12px; }
  .profile-visual figcaption { font-size: 12px; }
  .proof-card { min-height: auto; padding: 25px; }
  .proof-card h3, .story h3, .capability-grid h3 { font-size: 34px; }
  .trust-bar article { min-height: 120px; }
  .meta-credentials, .cim-row { grid-column: auto; }
  .cim-row { min-height: 140px !important; flex-direction: column !important; align-items: flex-start; }
  .badge-row { gap: 10px; }
  .badge-row img { width: 66px; height: 66px; }
  .story, .timeline article { grid-template-columns: 1fr; }
  .story { min-height: auto; gap: 14px; padding: 28px 0; }
  .timeline p { grid-column: auto; }
  .capability-grid article { min-height: auto; }
  .contact { min-height: auto; padding: 76px 20px; }
  .contact-links a { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .site-footer { grid-template-columns: 1fr; padding: 28px 20px; }
  .site-footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
