@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,500&display=swap");

:root {
  --font-manrope: "Manrope";
  --font-playfair: "Playfair Display";
  --ink: #172033;
  --navy: #111a2c;
  --cream: #f1eee7;
  --paper: #faf9f6;
  --blue: #8db6ff;
  --lime: #d8f66d;
  --muted: #687083;
  --line: rgba(23, 32, 51, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-manrope), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.site-header {
  align-items: center;
  background: rgba(250, 249, 246, .88);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 82px;
  left: 0;
  padding: 0 clamp(24px, 5vw, 76px);
  position: sticky;
  right: 0;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 20;
}
.brand { align-items: center; display: flex; gap: 12px; width: max-content; }
.brand span {
  align-items: center; background: var(--ink); border-radius: 50%; color: #fff;
  display: flex; font-size: 12px; height: 38px; justify-content: center;
  letter-spacing: -.03em; width: 38px;
}
.brand strong { font-size: 14px; letter-spacing: -.02em; }
nav { display: flex; gap: 34px; }
nav a { color: #545c6b; font-size: 13px; font-weight: 600; transition: color .2s; }
nav a:hover { color: var(--ink); }
.header-cta { font-size: 13px; font-weight: 700; justify-self: end; }
.header-cta span, .contact-strip span { color: #567cc0; margin-left: 5px; }

.hero {
  background: var(--cream); min-height: calc(100vh - 82px); overflow: hidden;
  padding: clamp(70px, 8vw, 118px) clamp(24px, 6vw, 92px) 110px;
  position: relative;
}
.hero::before {
  background-image: radial-gradient(rgba(23,32,51,.15) .7px, transparent .7px);
  background-size: 10px 10px; content: ""; height: 180px; opacity: .35;
  position: absolute; right: 2%; top: 7%; width: 190px;
}
.hero-copy { max-width: 780px; position: relative; z-index: 3; }
.eyebrow, .section-kicker {
  color: #5c6576; font-size: 11px; font-weight: 800; letter-spacing: .16em;
  margin: 0 0 28px; text-transform: uppercase;
}
.eyebrow { align-items: center; display: flex; gap: 10px; }
.eyebrow span { background: #5f88d1; border-radius: 50%; height: 8px; width: 8px; }
h1 {
  font-size: clamp(54px, 7.3vw, 112px); font-weight: 500; letter-spacing: -.075em;
  line-height: .91; margin: 0; max-width: 970px;
}
h1 em { color: #6384bf; display: block; font-family: var(--font-playfair), serif; font-weight: 500; }
.hero-intro { color: #555e6e; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.75; margin: 38px 0 0; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { align-items: center; border-radius: 999px; display: inline-flex; font-size: 13px; font-weight: 800; gap: 18px; padding: 16px 22px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #26344c; }
.button-secondary { border: 1px solid rgba(23,32,51,.25); }
.location { color: #747b88; font-size: 12px; font-weight: 650; margin: 28px 0 0; }

.portrait-area { bottom: 42px; height: 540px; position: absolute; right: clamp(-40px, 2.6vw, 42px); width: clamp(400px, 38vw, 610px); }
.portrait-ring {
  background: #aeb5bc; border: 1px solid rgba(255,255,255,.95); border-radius: 50%;
  height: clamp(390px, 35vw, 545px); overflow: hidden; position: absolute; right: 0;
  top: 0; width: clamp(390px, 35vw, 545px); z-index: 2;
}
.portrait-ring img { height: 100%; object-fit: cover; width: 100%; }
.experience-badge {
  align-items: center; background: var(--lime); border-radius: 50%; bottom: 30px;
  display: flex; gap: 9px; height: 132px; justify-content: center; left: 8px;
  position: absolute; transform: rotate(-8deg); width: 132px; z-index: 4;
}
.experience-badge strong { font-size: 36px; letter-spacing: -.06em; }
.experience-badge span { font-size: 10px; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.orbit { border: 1px solid rgba(23,32,51,.22); border-radius: 50%; position: absolute; }
.orbit-one { height: 590px; right: -20px; top: -28px; width: 590px; }
.orbit-two { height: 440px; right: 92px; top: 45px; width: 440px; }
.hero-marquee {
  align-items: center; bottom: 0; color: rgba(23,32,51,.46); display: flex;
  font-size: 11px; font-weight: 800; gap: 25px; left: 0; letter-spacing: .19em;
  padding: 24px clamp(24px, 6vw, 92px); position: absolute; width: 100%;
}
.hero-marquee i { color: #6384bf; font-style: normal; }

.impact { padding: 112px clamp(24px, 7vw, 108px) 126px; }
.section-heading { display: grid; grid-template-columns: minmax(180px, .55fr) 1fr; margin-bottom: 74px; }
.section-kicker { color: #6b7381; margin: 10px 0 0; }
.section-heading h2 { font-size: clamp(36px, 4.2vw, 66px); font-weight: 520; letter-spacing: -.055em; line-height: 1.05; margin: 0; max-width: 750px; }
.metrics { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.metrics article { border-right: 1px solid var(--line); padding: 45px 7% 8px 0; }
.metrics article + article { padding-left: 9%; }
.metrics article:last-child { border-right: 0; }
.metrics strong { display: block; font-size: clamp(42px, 5vw, 72px); font-weight: 550; letter-spacing: -.07em; }
.metrics p { color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 280px; }

.strengths { background: var(--navy); color: #f7f7f4; padding: 110px clamp(24px, 7vw, 108px) 120px; }
.section-heading.light .section-kicker { color: #91a0b9; }
.section-heading.light h2 { color: #fff; }
.strength-grid { border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: repeat(3, 1fr); }
.strength-grid article { border-right: 1px solid rgba(255,255,255,.16); min-height: 310px; padding: 34px 12% 20px 0; }
.strength-grid article + article { padding-left: 10%; }
.strength-grid article:last-child { border-right: 0; }
.strength-grid article > span { color: var(--blue); font-size: 11px; font-weight: 800; }
.strength-grid h3 { font-size: clamp(22px, 2.2vw, 31px); font-weight: 550; letter-spacing: -.04em; line-height: 1.15; margin: 58px 0 20px; }
.strength-grid p { color: #abb3c1; font-size: 13px; line-height: 1.8; margin: 0; }

.career { padding: 120px clamp(24px, 7vw, 108px) 132px; }
.career-list { border-top: 1px solid var(--line); }
.career-item {
  align-items: start; border-bottom: 1px solid var(--line); display: grid;
  gap: 4vw; grid-template-columns: .58fr .9fr 1.25fr; padding: 42px 0;
  position: relative;
}
.career-item::before {
  background: #6384bf; border-radius: 50%; content: ""; height: 7px;
  left: -18px; position: absolute; top: 49px; width: 7px;
}
.career-period { color: #6d7584; font-size: 12px; font-weight: 750; }
.career-role p { color: #6b7381; font-size: 13px; margin: 0 0 7px; }
.career-role h3 { font-size: clamp(21px, 2vw, 29px); font-weight: 600; letter-spacing: -.045em; line-height: 1.15; margin: 0; }
.career-summary > p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0 0 20px; }
.career-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.career-tags span { background: #eeece6; border-radius: 999px; color: #4f5869; font-size: 10px; font-weight: 700; padding: 8px 11px; }
.career-item.featured { background: #f1eee7; margin: 0 -28px; padding-left: 28px; padding-right: 28px; }
.career-item.featured::after {
  background: var(--lime); border-radius: 999px; color: #172033; content: "CASO DESTACADO";
  font-size: 9px; font-weight: 850; padding: 7px 10px; position: absolute; right: 28px; top: -14px;
}

.stack { background: #dce7f7; display: grid; gap: 8vw; grid-template-columns: .78fr 1.22fr; padding: 120px clamp(24px, 7vw, 108px); }
.stack-intro { position: sticky; top: 126px; align-self: start; }
.stack-intro h2 { font-size: clamp(40px, 4.8vw, 72px); font-weight: 520; letter-spacing: -.065em; line-height: 1; margin: 0 0 28px; }
.stack-intro > p:last-child { color: #5d687b; font-size: 14px; line-height: 1.8; max-width: 500px; }
.stack-groups { border-top: 1px solid rgba(23,32,51,.18); }
.stack-groups article { border-bottom: 1px solid rgba(23,32,51,.18); display: grid; grid-template-columns: 46px 1fr; padding: 34px 0; }
.stack-groups article > span { color: #6883a8; font-size: 10px; font-weight: 800; padding-top: 8px; }
.stack-groups h3 { font-size: clamp(23px, 2.3vw, 32px); font-weight: 580; letter-spacing: -.045em; margin: 0 0 22px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 2; }
.tag-cloud span { border: 1px solid rgba(23,32,51,.25); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 9px 12px; }

.credentials { background: var(--paper); display: grid; gap: 8vw; grid-template-columns: 1.15fr .85fr; padding: 115px clamp(24px, 7vw, 108px); }
.credentials > article { border-top: 1px solid var(--line); padding-top: 30px; }
.credentials .section-kicker { margin: 0 0 45px; }
.credential-row { border-bottom: 1px solid var(--line); display: grid; gap: 22px; grid-template-columns: 110px 1fr auto; padding: 22px 0; }
.credential-row span, .credential-row small { color: #767e8d; font-size: 11px; }
.credential-row strong { font-size: 15px; font-weight: 650; }
.credentials ul { columns: 2; list-style: none; margin: 0; padding: 0; }
.credentials li { color: #4f5869; font-size: 13px; margin-bottom: 15px; padding-left: 15px; position: relative; }
.credentials li::before { color: #6384bf; content: "✦"; font-size: 8px; left: 0; position: absolute; top: 4px; }
.languages { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; padding-top: 28px; }
.languages .section-kicker { flex: 0 0 100%; margin-bottom: 12px; }
.languages > span { background: #eeece6; border-radius: 999px; font-size: 11px; padding: 9px 12px; }
.languages strong { font-weight: 800; margin-left: 4px; }

.contact-strip { align-items: center; background: var(--lime); display: grid; gap: 24px; grid-template-columns: 1fr auto auto; padding: 42px clamp(24px, 7vw, 108px); }
.contact-strip p { font-size: 12px; font-weight: 800; margin: 0; text-transform: uppercase; }
.contact-strip a { font-size: clamp(19px, 2.3vw, 30px); font-weight: 550; letter-spacing: -.04em; }
.contact-strip .phone { font-size: 13px; font-weight: 750; letter-spacing: 0; }

@media (max-width: 1080px) {
  .portrait-area { opacity: .25; right: -180px; }
  .hero-copy { max-width: 820px; }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; padding: 0 20px; }
  nav { display: none; }
  .brand strong { display: none; }
  .hero { min-height: auto; padding: 58px 20px 104px; }
  h1 { font-size: clamp(50px, 15vw, 70px); }
  .hero-intro { max-width: 95%; }
  .portrait-area { bottom: 22px; height: 350px; opacity: .13; right: -160px; width: 350px; }
  .portrait-ring { height: 350px; width: 350px; }
  .experience-badge { display: none; }
  .hero-marquee { gap: 14px; overflow: hidden; padding: 20px; white-space: nowrap; }
  .hero-marquee span:nth-of-type(n+3), .hero-marquee i:nth-of-type(n+3) { display: none; }
  .impact, .strengths, .career, .stack, .credentials { padding: 82px 20px; }
  .section-heading { display: block; margin-bottom: 48px; }
  .section-heading .section-kicker { margin-bottom: 20px; }
  .metrics, .strength-grid { grid-template-columns: 1fr; }
  .metrics article, .metrics article + article, .strength-grid article, .strength-grid article + article { border-bottom: 1px solid var(--line); border-right: 0; padding: 32px 0; }
  .metrics article:last-child, .strength-grid article:last-child { border-bottom: 0; }
  .strength-grid article { border-bottom-color: rgba(255,255,255,.16); min-height: auto; }
  .strength-grid h3 { margin-top: 30px; }
  .career-item { gap: 14px; grid-template-columns: 1fr; padding: 34px 0; }
  .career-item::before { display: none; }
  .career-item.featured { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
  .career-item.featured::after { right: 12px; }
  .career-role h3 { font-size: 24px; }
  .stack { display: block; }
  .stack-intro { position: static; }
  .stack-groups { margin-top: 58px; }
  .stack-groups article { grid-template-columns: 38px 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .credential-row { grid-template-columns: 1fr; gap: 7px; }
  .credentials ul { columns: 1; }
  .contact-strip { grid-template-columns: 1fr; padding: 40px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
