:root {
  --bg: #f2f3f7;
  --surface: #ffffff;
  --surface-soft: #f8f9fc;
  --text: #161a24;
  --muted: #61697a;
  --line: #dde2ee;
  --brand: #0e4aa8;
  --brand-dark: #0a3475;
  --accent: #d6a23d;
  --shadow: 0 18px 40px rgba(16, 23, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(circle at 8% 4%, #e9f0ff 0%, transparent 30%),
    radial-gradient(circle at 90% 96%, #fef4dd 0%, transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.55;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(242, 243, 247, 0.78);
  border-bottom: 1px solid rgba(221, 226, 238, 0.9);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

nav {
  display: flex;
  gap: 1.1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  margin: 0;
}

.hero {
  padding: 74px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-dark);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  margin-top: 0.65rem;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

h3 {
  font-size: 1.14rem;
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 1.08rem;
}

.tagline {
  margin: 0.8rem 0 0;
  color: var(--brand-dark);
  font-size: 1.08rem;
  font-weight: 600;
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: transparent;
  color: #fff;
}

.section {
  padding: 30px 0 52px;
}

.alt {
  background: rgba(250, 251, 255, 0.75);
  border-top: 1px solid #e7ebf4;
  border-bottom: 1px solid #e7ebf4;
}

.timeline {
  position: relative;
  margin-top: 1.3rem;
  padding: 0.4rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(var(--brand-dark), #7c8bad, var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2.2rem;
  margin-bottom: 1.2rem;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.year {
  position: absolute;
  top: 18px;
  background: var(--brand-dark);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.62rem;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(13, 27, 58, 0.28);
}

.timeline-item.left .year {
  right: -44px;
}

.timeline-item.right .year {
  left: -44px;
}

.entry {
  display: inline-block;
  max-width: 470px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(18, 24, 41, 0.08);
  text-align: left;
}

.timeline-item.left .entry {
  text-align: left;
}

.cards {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(16, 23, 44, 0.08);
}

.skill-list {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skill-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  font-weight: 600;
}

.contact .container {
  background: linear-gradient(135deg, #0e1f43, #14366a);
  border-radius: 22px;
  color: #eff3ff;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.contact p {
  margin: 0.65rem 0 0;
  color: #cfd9f8;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.contact a {
  color: #fff;
  text-underline-offset: 2px;
}

.whatsapp-bubble {
  position: fixed;
  right: 18px;
  bottom: 18px;
  height: 58px;
  padding: 0 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #1db954;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid #d8f8e5;
  box-shadow: 0 10px 26px rgba(5, 61, 26, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 12px;
    transform: none;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    padding-left: 2.6rem;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item.left .year,
  .timeline-item.right .year {
    left: -7px;
    right: auto;
  }

  .entry {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: auto;
    padding: 0.75rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero {
    padding-top: 42px;
  }

  .whatsapp-bubble {
    right: 12px;
    bottom: 12px;
    height: 54px;
    padding: 0 0.9rem;
  }
}
