/* ===== CUSTOM PROPERTIES ===== */
:root {
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --color-bg: #fafaf9;
  --color-bg-alt: #f3f1ee;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-light: rgba(37, 99, 235, 0.08);
  --color-border: #e5e3df;
  --color-hero-bg: #0f172a;
  --color-hero-text: #f1f5f9;
  --color-hero-accent: #60a5fa;
  --color-card-shadow: rgba(0, 0, 0, 0.06);

  --nav-height: 72px;
  --container-width: 1100px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --color-bg: #0f0f0f;
  --color-bg-alt: #1a1a1a;
  --color-surface: #222222;
  --color-text: #e8e8e8;
  --color-text-muted: #999999;
  --color-accent: #60a5fa;
  --color-accent-hover: #93c5fd;
  --color-accent-light: rgba(96, 165, 250, 0.1);
  --color-border: #333333;
  --color-card-shadow: rgba(0, 0, 0, 0.3);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-hero-text);
  font-weight: 700;
  transition: color var(--transition);
}

.nav--scrolled .nav__logo {
  color: var(--color-hero-text);
}

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.7);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav--scrolled .nav__links a {
  color: rgba(241, 245, 249, 0.7);
}

.nav__links a:hover,
.nav--scrolled .nav__links a:hover {
  color: var(--color-accent);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-hero-text);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav--scrolled .nav__toggle span {
  background: var(--color-hero-text);
}

.theme-toggle {
  background: none;
  border: 1px solid rgba(241, 245, 249, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-hero-text);
  transition: all var(--transition);
}

.nav--scrolled .theme-toggle {
  border-color: rgba(241, 245, 249, 0.2);
  color: var(--color-hero-text);
}

.theme-toggle:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero__greeting {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-hero-accent);
  margin-bottom: 20px;
  font-style: italic;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: rgba(241, 245, 249, 0.8);
  margin-bottom: 12px;
}

.hero__tagline {
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.5);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.hero__cta {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.hero__explore {
  color: rgba(241, 245, 249, 0.5);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color var(--transition);
}

.hero__explore:hover {
  color: var(--color-hero-accent);
}

.hero__explore span {
  display: inline-block;
  animation: bobDown 2s ease-in-out infinite;
}

@keyframes bobDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-height: 3rem;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-hero-accent);
  line-height: 1;
  display: inline;
}

.stat__plus {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-hero-accent);
  line-height: 1;
  display: inline;
}

.stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(241, 245, 249, 0.5);
  margin-top: 8px;
  display: block;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(241, 245, 249, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== MY STORY ===== */
.story__layout {
  max-width: 800px;
  margin: 0 auto;
}

.story__photo {
  text-align: center;
  margin-bottom: 48px;
}

.story__img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  margin: 0 auto;
  border: 4px solid var(--color-surface);
  box-shadow: 0 8px 32px var(--color-card-shadow), 0 0 0 1px var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.story__img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px var(--color-card-shadow), 0 0 0 3px var(--color-accent);
}

.story__content p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.story__content strong {
  color: var(--color-text);
  font-weight: 600;
}

.story__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.6rem) !important;
  color: var(--color-text) !important;
  font-weight: 400;
  line-height: 1.5 !important;
  margin-bottom: 28px !important;
}

.story__quote {
  margin-top: 40px;
  padding: 32px 40px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.story__quote p {
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  color: var(--color-text) !important;
  font-style: italic;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}

/* ===== CAREER ===== */
.career-intro {
  max-width: 800px;
  margin: -20px auto 48px;
  text-align: center;
}

.career-intro p {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.career-intro strong {
  color: var(--color-text);
  font-weight: 600;
}

.career-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.career-subtitle {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 72px;
  color: var(--color-text);
}

.career-subtitle:first-of-type {
  margin-top: 0;
}

.highlight {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-card-shadow);
}

.highlight__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  position: relative;
  margin-bottom: 48px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 3px solid var(--color-accent);
  z-index: 1;
}

.timeline__item:first-child .timeline__marker {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}

.timeline__date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.timeline__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 6px 0 4px;
}

.timeline__company {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.timeline__details {
  list-style: none;
  padding: 0;
}

.timeline__details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.timeline__details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.5;
}

/* ===== SKILLS ===== */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.skill-card {
  padding: 32px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-card-shadow);
  border-color: var(--color-accent);
}

.skill-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.skill-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.tools {
  text-align: center;
  padding: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.tools__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.tools__group {
  margin-bottom: 24px;
}

.tools__group:last-child {
  margin-bottom: 0;
}

.tools__group-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.tools__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tool-tag {
  padding: 8px 18px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.tool-tag:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ===== EDUCATION ===== */
.edu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.edu-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.edu-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.edu-card__year {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.edu-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.edu-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.cert-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--color-accent);
}

.cert-card__badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== PROJECTS ===== */
.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.project-card {
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-card-shadow);
}

.project-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.project-card__date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.project-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-card__tags span {
  padding: 4px 12px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ===== SIDE PROJECTS ===== */
.side-projects__intro {
  text-align: center;
  max-width: 640px;
  margin: -32px auto 48px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.side-projects__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.side-project {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: all var(--transition);
  text-decoration: none;
}

.side-project:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px var(--color-card-shadow);
  border-color: var(--color-accent);
  color: var(--color-text);
}

.side-project__emoji {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.side-project__body {
  flex: 1;
  min-width: 0;
}

.side-project__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.side-project__body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.side-project__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.side-project__tags span {
  padding: 3px 10px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.side-project__arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
  margin-top: 4px;
}

.side-project:hover .side-project__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== WORLD TRAVELLER ===== */
.travels__intro {
  text-align: center;
  max-width: 680px;
  margin: -32px auto 48px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.travels__countries {
  max-width: 900px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.country {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.country:hover {
  box-shadow: 0 8px 32px var(--color-card-shadow);
}

.country__header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px 20px;
}

.country__flag {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.country__header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.country__header p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.country__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 4px 4px;
}

.country__photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
}

.country__photos img:hover {
  transform: scale(1.03);
}

.travels__reflection {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.7;
}

/* ===== GIVING BACK ===== */
.giveback__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.giveback__content p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.giveback__content strong {
  color: var(--color-text);
  font-weight: 600;
}

.giveback__lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem) !important;
  color: var(--color-text) !important;
  font-weight: 400;
  line-height: 1.5 !important;
  margin-bottom: 24px !important;
}

.giveback__card {
  padding: 36px;
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
}

.giveback__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.giveback__card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.giveback__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent);
  transition: letter-spacing var(--transition);
}

.giveback__link:hover {
  letter-spacing: 0.03em;
}

/* ===== PASSIONS ===== */
.passions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.passion-card {
  padding: 36px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.passion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-card-shadow);
  border-color: var(--color-accent);
}

.passion-card__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1;
}

.passion-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.passion-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.passion-card p a {
  font-weight: 600;
}

.passion-card__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.passion-card__photos--wide {
  grid-template-columns: repeat(4, 1fr);
}

.passion-card__photos img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
}

.passion-card__photos img:hover {
  transform: scale(1.05);
}

.adventures__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.adventure-thumb {
  text-align: center;
}

.adventure-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: transform var(--transition);
}

.adventure-thumb:hover img {
  transform: scale(1.03);
}

.adventure-thumb span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.passion-card--pirates {
  border-color: #333;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
}

.passion-card--pirates h3 {
  color: #fff;
}

.passion-card--pirates p {
  color: rgba(255, 255, 255, 0.8);
}

.passion-card--pirates strong {
  color: #fff;
}

.passion-card--pirates:hover {
  border-color: #555;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .passion-card--pirates {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  border-color: #444;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial {
  padding: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-card-shadow);
}

.testimonial blockquote p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
}

.testimonial blockquote p::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -8px;
  line-height: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial__author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial__author span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== LANGUAGES ===== */
.languages__grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.language-card {
  text-align: center;
  padding: 32px 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  min-width: 180px;
}

.language-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--color-card-shadow);
  border-color: var(--color-accent);
}

.language-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.language-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== CONTACT ===== */
.contact__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.contact__text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-card-shadow);
  color: var(--color-text);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.contact-card:hover .contact-card__icon {
  transform: scale(1.1);
}

.contact-card__icon--email {
  background: rgba(234, 67, 53, 0.1);
  color: #ea4335;
}

.contact-card:hover .contact-card__icon--email {
  background: rgba(234, 67, 53, 0.18);
}

.contact-card__icon--whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.contact-card:hover .contact-card__icon--whatsapp {
  background: rgba(37, 211, 102, 0.18);
}

.contact-card__icon--linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.contact-card:hover .contact-card__icon--linkedin {
  background: rgba(10, 102, 194, 0.18);
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.contact-card__action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
  transition: gap var(--transition);
}

.contact-card:hover .contact-card__action {
  letter-spacing: 0.02em;
}

.contact-card--reveal {
  cursor: pointer;
}

.contact-card__hidden {
  font-style: italic;
  opacity: 0.5;
  letter-spacing: 0.04em;
}

.contact__secondary {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}

.contact__link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--color-card-shadow);
}

.contact__link svg {
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .career-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edu__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects__grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .contact__cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .country__photos {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }

  .country__photos img {
    height: 160px;
  }

  .giveback__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .passions__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 40px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 999;
  }

  .nav__links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav__links li {
    list-style: none;
  }

  .nav__links a {
    color: var(--color-hero-text) !important;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 32px;
    display: block;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav__links a:hover {
    background: rgba(96, 165, 250, 0.12);
    color: var(--color-hero-accent) !important;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__toggle.active span {
    background: var(--color-hero-text) !important;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .skills__grid {
    grid-template-columns: 1fr;
  }

  .contact__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    max-width: 320px;
  }

  .stat__number, .stat__plus {
    font-size: 1.8rem;
  }

  .section {
    padding: 72px 0;
  }

  .languages__grid {
    gap: 12px;
  }

  .language-card {
    padding: 24px 28px;
    min-width: 140px;
  }

  .country__photos img {
    height: 130px;
  }

  .passion-card__photos--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .adventures__strip {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .adventure-thumb img {
    height: 200px;
  }

  .career-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .edu-card {
    flex-direction: column;
    gap: 12px;
  }

  .edu-card__year {
    align-self: flex-start;
  }

  .country__photos {
    grid-template-columns: 1fr 1fr;
  }

  .country__photos img:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .passion-card__photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .passion-card__photos--wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== HUB HERO ===== */
.hub-hero {
  min-height: auto;
  padding: calc(var(--nav-height) + 60px) 24px 60px;
}

.hub-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.hub-hero__photo {
  flex-shrink: 0;
}

.hub-hero__img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hub-hero__text {
  text-align: left;
}

.hub-hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--color-hero-text);
}

.hub-hero__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(241, 245, 249, 0.85);
  line-height: 1.5;
  margin-bottom: 8px;
}

.hub-hero__origin {
  font-size: 0.9rem;
  color: var(--color-hero-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hub-hero__stats {
  display: flex;
  gap: 32px;
}

.hub-stat {
  text-align: center;
}

.hub-stat__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-hero-text);
  display: block;
  line-height: 1;
}

.hub-stat__plus {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-hero-accent);
}

.hub-stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(241, 245, 249, 0.5);
  display: block;
  margin-top: 4px;
}

/* ===== WORLD CARDS ===== */
.world-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.world-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.world-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.world-card--story {
  background-image: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.world-card--career {
  background-image: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
}

.world-card--adventures {
  background-image: url('img/hiking-1.jpg');
}

.world-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.world-card__content {
  position: relative;
  z-index: 1;
  padding: 28px;
  width: 100%;
}

.world-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.world-card__content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.world-card__content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.world-card__arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  transition: transform var(--transition), color var(--transition);
}

.world-card:hover .world-card__arrow {
  transform: translateX(6px);
  color: #fff;
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  padding: calc(var(--nav-height) + 48px) 24px 48px;
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.page-header__sub {
  font-size: 1.05rem;
  color: rgba(241, 245, 249, 0.6);
  font-weight: 300;
}

/* ===== NAV ACTIVE STATE ===== */
.nav--active {
  color: var(--color-hero-accent) !important;
  font-weight: 600;
}

/* ===== SPEAKING LAYOUT (story page) ===== */
.speaking__layout {
  max-width: 800px;
  margin: 0 auto;
}

.speaking__content {
  margin-bottom: 32px;
}

.speaking__content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.speaking__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.speaking__photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ===== RESPONSIVE: HUB ===== */
@media (max-width: 768px) {
  .hub-hero__content {
    flex-direction: column;
    text-align: center;
  }

  .hub-hero__text {
    text-align: center;
  }

  .hub-hero__img {
    width: 140px;
    height: 140px;
  }

  .hub-hero__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .world-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .world-card {
    min-height: 220px;
  }

  .speaking__photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hub-hero__stats {
    gap: 16px;
  }

  .hub-stat__number {
    font-size: 1.6rem;
  }

  .speaking__photos {
    grid-template-columns: 1fr;
  }
}
