/* ═══════════════════════════════════════════════════
   ALEJANDRO GIL — CONSULTOR DE NEGOCIOS
   Global Stylesheet · 2026
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --ink:         #0d1117;
  --ink2:        #1a2535;
  --ink3:        #111923;
  --amber:       #e8791a;
  --amber-l:     #f5a54a;
  --amber-gl:    rgba(232,121,26,0.15);
  --white:       #ffffff;
  --mist:        #b8c1ce;
  --cream:       #f0ebe3;
  --green:       #2ecc71;
  --fd: 'Playfair Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  background: var(--ink);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,121,26,0.12);
  z-index: 9000;
  display: flex;
  align-items: center;
  padding: 0 4%;
  gap: 1.2rem;
  transition: box-shadow .3s;
}
.nav.shadow { box-shadow: 0 4px 24px rgba(0,0,0,.4); }

.nav-brand {
  font-family: var(--fd);
  font-size: 1.05rem;
  color: var(--amber);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
  list-style: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .85rem;
  color: var(--mist);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  border-radius: 5px;
  white-space: nowrap;
  transition: all .2s;
  letter-spacing: .02em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
  background: var(--amber-gl);
}
.nav-links .nav-cta a {
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  padding: .42rem 1.1rem;
}
.nav-links .nav-cta a:hover {
  background: var(--amber-l);
  color: var(--ink);
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(13,17,23,0.98);
  border-bottom: 1px solid rgba(232,121,26,0.15);
  z-index: 8999;
  padding: 1rem 4%;
  flex-direction: column;
  gap: .4rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  color: var(--mist);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all .2s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--amber); background: var(--amber-gl); }
.nav-drawer .drawer-cta {
  margin-top: .4rem;
  background: var(--amber);
  color: var(--ink) !important;
  font-weight: 700;
  justify-content: center;
}

/* ── UTILS ─────────────────────────────────────── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .8rem;
}
.h2 {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}
.h2 em { color: var(--amber); font-style: normal; }
.lead {
  font-size: 1rem;
  color: var(--mist);
  max-width: 600px;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .lead { margin: 0 auto; }

/* ── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.9rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all .25s;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
}
.btn-amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(232,121,26,.3);
}
.btn-amber:hover {
  background: var(--amber-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(232,121,26,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

.btn-cluster {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── CARDS ─────────────────────────────────────── */
.card {
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover {
  border-color: rgba(232,121,26,.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.card-icon {
  width: 50px; height: 50px;
  background: var(--amber-gl);
  border: 1px solid rgba(232,121,26,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--amber);
  margin-bottom: 1.3rem;
}

/* Tag chips */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag {
  padding: .22rem .65rem;
  background: rgba(232,121,26,.09);
  border: 1px solid rgba(232,121,26,.2);
  border-radius: 50px;
  font-size: .7rem;
  color: var(--amber-l);
  font-weight: 600;
}

/* ── REVEAL ANIMATION ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── DIVIDER LINE ──────────────────────────────── */
.amber-line {
  width: 56px; height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin: 1rem 0;
}
.amber-line.center { margin: 1rem auto; }

/* ── WHATSAPP FLOAT ────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  z-index: 8000;
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  transition: transform .3s, background .3s;
  animation: wapulse 2.5s ease-in-out infinite;
}
.wa-float:hover { background: #128c7e; transform: scale(1.1); }
@keyframes wapulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  50%      { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

/* ── FOOTER ────────────────────────────────────── */
.footer {
  background: var(--ink3);
  border-top: 1px solid rgba(232,121,26,.12);
  padding: 2.5rem 5%;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--fd);
  font-size: 1rem;
  color: var(--amber);
}
.footer-brand p { font-family: var(--fb); font-size: .78rem; color: var(--mist); margin-top: .25rem; }
.social-links { display: flex; gap: .7rem; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 7px;
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--mist);
  font-size: .95rem;
  text-decoration: none;
  transition: all .22s;
}
.social-links a:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.footer-copy { font-size: .75rem; color: var(--mist); opacity: .5; }

/* ── SKILL BARS ────────────────────────────────── */
.skill-bar-wrap { margin-bottom: 1.2rem; }
.skill-bar-wrap label { display: block; font-size: .86rem; color: var(--white); margin-bottom: .45rem; font-weight: 500; }
.skill-bar { height: 6px; background: rgba(255,255,255,.07); border-radius: 3px; overflow: hidden; }
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-l));
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ── CRISIS BANNER ─────────────────────────────── */
.crisis-strip {
  background: linear-gradient(90deg, #1a0800, var(--ink2), #001408);
  border-top: 1px solid rgba(232,121,26,.2);
  border-bottom: 1px solid rgba(232,121,26,.2);
  padding: 1rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.crisis-strip::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232,121,26,.06), transparent);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { left: 150%; } }
.crisis-strip p { font-size: .9rem; color: var(--mist); position: relative; z-index:1; }
.crisis-strip strong { color: var(--amber); }

/* ── TIMELINE (experience page) ─────────────────── */
.timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.tl-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  top: 0; left: 150px;
  width: 1px; height: 100%;
  background: rgba(232,121,26,.12);
}
.tl-meta { text-align: right; padding-top: .4rem; }
.tl-period { font-size: .78rem; font-weight: 700; color: var(--amber); letter-spacing: .04em; }
.tl-company { font-size: .78rem; color: var(--mist); margin-top: .25rem; line-height: 1.4; }
.tl-body {
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  margin-left: 2rem;
  position: relative;
  transition: border-color .3s;
}
.tl-body:hover { border-color: rgba(232,121,26,.3); }
.tl-body::before {
  content: '';
  position: absolute;
  top: 18px; left: -2.4rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232,121,26,.18);
}
.tl-body h3 { font-size: .98rem; font-weight: 700; color: var(--white); margin-bottom: .7rem; }
.tl-body ul { list-style: none; }
.tl-body ul li {
  font-size: .86rem;
  color: var(--mist);
  padding: .22rem 0 .22rem 1.1rem;
  position: relative;
  line-height: 1.5;
}
.tl-body ul li::before { content: '›'; position: absolute; left: 0; color: var(--amber); font-weight: 700; }

/* ── STAT BOXES ───────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.stat-box {
  background: var(--ink3);
  border: 1px solid rgba(232,121,26,.14);
  border-radius: 10px;
  padding: 1.4rem;
  text-align: center;
  transition: border-color .3s;
}
.stat-box:hover { border-color: var(--amber); }
.stat-num { font-family: var(--fd); font-size: 2.3rem; font-weight: 900; color: var(--amber); line-height: 1; }
.stat-label { font-size: .75rem; color: var(--mist); margin-top: .35rem; line-height: 1.3; }

/* ── PROCESS STEPS ───────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--amber-gl);
  border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--amber);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step:not(:last-child) .step-num::after {
  content: '';
  position: absolute;
  top: 56px; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 2rem - 56px + 2.5rem);
  background: linear-gradient(to bottom, var(--amber), transparent);
  opacity: .25;
}
.step-text { padding-top: .7rem; }
.step-text h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.step-text p { font-size: .9rem; color: var(--mist); line-height: 1.7; }

/* ── PAIN CARDS ──────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.3rem;
}
.pain-card {
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 1.7rem;
  transition: all .3s;
}
.pain-card:hover { border-color: rgba(232,121,26,.35); transform: translateY(-3px); }
.pain-icon { font-size: 1.6rem; color: var(--amber); margin-bottom: .9rem; }
.pain-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.pain-card p { font-size: .88rem; color: var(--mist); line-height: 1.6; }
.pain-sol { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(232,121,26,.18); font-size: .8rem; color: var(--amber); font-weight: 600; display: flex; align-items: center; gap: .35rem; }

/* ── SKILL PILLS ─────────────────────────────── */
.pill-wrap { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.5rem; justify-content: center; }
.pill {
  display: flex; align-items: center; gap: .45rem;
  padding: .5rem 1.05rem;
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50px;
  font-size: .82rem;
  color: var(--mist);
  font-weight: 500;
  transition: all .22s;
}
.pill:hover { border-color: var(--amber); color: var(--white); background: var(--amber-gl); }
.pill i { color: var(--amber); font-size: .76rem; }

/* ── CONTACT ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1.1rem;
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  text-decoration: none; color: inherit;
  transition: all .25s;
  margin-bottom: 1rem;
}
.contact-item:hover { border-color: rgba(232,121,26,.35); transform: translateX(5px); }
.ci-icon {
  width: 42px; height: 42px;
  background: var(--amber-gl);
  border: 1px solid rgba(232,121,26,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--amber);
  flex-shrink: 0;
}
.ci-text h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mist); margin-bottom: .2rem; }
.ci-text span { font-size: .92rem; color: var(--white); font-weight: 500; }
.avail-box {
  background: rgba(46,204,113,.06);
  border: 1px solid rgba(46,204,113,.18);
  border-radius: 10px;
  padding: 1.3rem 1.5rem;
  margin-top: .5rem;
}
.avail-box h4 { font-size: .82rem; font-weight: 700; color: var(--green); margin-bottom: .7rem; display: flex; align-items: center; gap: .4rem; }
.avail-box ul { list-style: none; }
.avail-box ul li { font-size: .86rem; color: var(--mist); padding: .25rem 0 .25rem 1.2rem; position: relative; }
.avail-box ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.ch-btn {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: all .22s;
  border: 1px solid transparent;
  margin-bottom: .8rem;
}
.ch-btn.wa { background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.22); color: #25d366; }
.ch-btn.wa:hover { background: rgba(37,211,102,.18); transform: translateX(4px); }
.ch-btn.em { background: var(--amber-gl); border-color: rgba(232,121,26,.22); color: var(--amber); }
.ch-btn.em:hover { background: rgba(232,121,26,.2); transform: translateX(4px); }
.ch-btn i { font-size: 1.15rem; flex-shrink: 0; }
.ch-btn-txt span { display: block; font-size: .72rem; font-weight: 400; opacity: .7; margin-top: .1rem; }

/* ── QUOTE BLOCK ─────────────────────────────── */
.quote-block {
  background: linear-gradient(135deg, rgba(232,121,26,.09), rgba(232,121,26,.02));
  border: 1px solid rgba(232,121,26,.22);
  border-radius: 10px;
  padding: 1.8rem 2rem;
  margin-top: 2rem;
  position: relative;
}
.quote-block::before {
  content: '"';
  position: absolute; top: -10px; left: 14px;
  font-family: var(--fd);
  font-size: 5rem; color: var(--amber); opacity: .1; line-height: 1;
}
.quote-block p { font-family: var(--fd); font-size: 1.1rem; font-style: italic; color: var(--cream); line-height: 1.6; }
.quote-block cite { display: block; margin-top: .8rem; font-size: .78rem; font-style: normal; font-weight: 700; color: var(--amber); letter-spacing: .06em; }

/* ── HERO PHOTO ──────────────────────────────── */
.hero-photo { position: relative; text-align: center; }
.hero-photo::before {
  content: '';
  position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,121,26,.18), transparent 70%);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { transform: translateX(-50%) scale(1); opacity: .8; }
  50%      { transform: translateX(-50%) scale(1.12); opacity: .4; }
}
.hero-photo img {
  position: relative; z-index: 1;
  width: 280px; height: 280px;
  object-fit: cover; object-position: top;
  border-radius: 50%;
  border: 3px solid var(--amber);
  box-shadow: 0 0 0 10px rgba(232,121,26,.07), 0 28px 70px rgba(0,0,0,.5);
}
.trust-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.4rem;
  background: rgba(46,204,113,.09);
  border: 1px solid rgba(46,204,113,.28);
  padding: .45rem 1.1rem;
  border-radius: 50px;
  font-size: .78rem;
  color: var(--green);
  font-weight: 600;
}

/* ── EDUCATION GRID ──────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.edu-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 1.6rem;
  transition: border-color .3s;
}
.edu-item:hover { border-color: rgba(232,121,26,.3); }
.edu-item i { font-size: 1.7rem; color: var(--amber); flex-shrink: 0; margin-top: .2rem; }
.edu-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.edu-item p { font-size: .83rem; color: var(--mist); }
.edu-year {
  display: inline-block; margin-top: .5rem;
  padding: .15rem .6rem;
  background: var(--amber-gl);
  border: 1px solid rgba(232,121,26,.28);
  border-radius: 50px;
  font-size: .72rem; color: var(--amber); font-weight: 700;
}

/* ═══════ RESPONSIVE ═══════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tl-item { grid-template-columns: 1fr; }
  .tl-item::before { display: none; }
  .tl-meta { text-align: left; padding-top: 0; }
  .tl-body { margin-left: 0; }
  .tl-body::before { display: none; }
}

@media (max-width: 600px) {
  .hero-photo img { width: 210px; height: 210px; }
  .hero-photo::before { width: 200px; height: 200px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .btn-cluster { flex-direction: column; align-items: flex-start; }
  .wa-float { bottom: 18px; right: 18px; width: 50px; height: 50px; font-size: 1.4rem; }
}
