/* =============================================================
   GELA — PORTFOLIO STYLESHEET
   Font: Figtree (imported in each HTML <head>)
   Color system is defined once below as CSS variables — change
   the values here and the whole site updates.
   ============================================================= */

:root {
  /* ---- Color tokens ---- */
  --sky: #93ccea;              /* primary brand blue */
  --sky-deep: #5fa8d3;         /* darker blue for hover/emphasis */
  --navy: #16283f;             /* main text color */
  --navy-soft: #3d5470;        /* secondary text color */
  --bg: #fbfdff;               /* page background */
  --bg-tint: #eef6fb;          /* alternate section background */
  --white: #ffffff;
  --line: #d8e8f2;             /* borders / dividers */
  --shadow: 0 18px 40px -20px rgba(22, 40, 63, 0.25);

  /* ---- Type scale ---- */
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  --step-4: 2.9rem;
  --step-5: 3.8rem;

  /* ---- Spacing / shape ---- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --max-width: 1160px;
}

/* ---- Reset ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 253, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-brand span { color: var(--sky-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--navy); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--sky-deep);
  transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-links a.active {
  color: var(--navy);
  font-weight: 700;
}

.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--sky-deep);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--sky-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sky {
  background: var(--sky);
  color: var(--navy);
}

.btn-sky:hover {
  background: var(--sky-deep);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* =============================================================
   HERO (Home page)
   ============================================================= */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-weight: 600;
  color: var(--sky-deep);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, var(--step-5));
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.08;
}

.hero-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--navy-soft);
  font-weight: 500;
  margin-top: 0.9rem;
}

.hero-statement {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 1.6rem 0 1rem;
  line-height: 1.35;
  max-width: 34ch;
}

.hero-sub {
  color: var(--navy-soft);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-blob {
  position: absolute;
  width: min(420px, 90%);
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--sky), var(--bg-tint));
  border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%;
  z-index: 0;
  animation: blobFloat 9s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%; transform: translateY(0); }
  50% { border-radius: 45% 55% 42% 58% / 55% 40% 60% 45%; transform: translateY(-14px); }
}

.profile-frame {
  position: relative;
  z-index: 1;
  width: min(320px, 78%);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tint);
  color: var(--navy-soft);
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  border: 2px dashed var(--sky-deep);
}

/* =============================================================
   SECTIONS — shared
   ============================================================= */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

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

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--navy-soft);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* =============================================================
   HOME — Quick intro (split)
   ============================================================= */
.intro-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.intro-split h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
}

.intro-points { display: flex; flex-direction: column; gap: 1.5rem; }

.intro-point {
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--sky);
}

.intro-point p { color: var(--navy-soft); }

/* =============================================================
   HOME — Core strengths (asymmetric bento, not identical cards)
   ============================================================= */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.strength-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--sky);
}

.strength-card:nth-child(2) { margin-top: 1.5rem; }
.strength-card:nth-child(4) { margin-top: 1.5rem; }

.strength-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--sky-deep);
}

.strength-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.strength-card p {
  color: var(--navy-soft);
  font-size: 0.95rem;
}

/* =============================================================
   CTA band
   ============================================================= */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin: 0 clamp(1.25rem, 4vw, 2.5rem);
  max-width: calc(var(--max-width) - 2.5rem);
  margin-left: auto;
  margin-right: auto;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
}

.cta-band p {
  color: #c3dcec;
  margin: 0.9rem auto 1.8rem;
  max-width: 46ch;
}

/* =============================================================
   PORTFOLIO — Experience timeline (real sequence, so numbering
   is meaningful here)
   ============================================================= */
.timeline {
  position: relative;
  padding-left: 2.4rem;
  border-left: 2px solid var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.75rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--sky-deep);
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
}

.timeline-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.timeline-meta {
  color: var(--sky-deep);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0.3rem 0 1rem;
}

.timeline-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.timeline-card li {
  color: var(--navy-soft);
  font-size: 0.95rem;
  padding-left: 1.1rem;
  position: relative;
}

.timeline-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

/* =============================================================
   PORTFOLIO — Skills (pill groups, not uniform cards)
   ============================================================= */
.skills-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.skills-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.9rem 2rem;
}

.skills-group h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  background: var(--bg-tint);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--line);
}

.pill.developing {
  border: 1px dashed var(--sky-deep);
  background: var(--white);
  color: var(--navy-soft);
}

/* =============================================================
   PORTFOLIO — Education + Highlights
   ============================================================= */
.education-card {
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 560px;
}

.education-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sky-deep);
}

.education-card h3 { font-weight: 700; font-size: 1.05rem; }
.education-card p { color: var(--navy-soft); font-size: 0.92rem; }

.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
  margin-top: 1rem;
}

.highlights-list li {
  color: var(--navy-soft);
  padding-left: 1.4rem;
  position: relative;
}

.highlights-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--sky);
  transform: rotate(45deg);
}

/* =============================================================
   SERVICES page
   ============================================================= */
.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-row:first-of-type { padding-top: 0; }
.service-row:last-of-type { border-bottom: none; }

.service-index {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: 0.02em;
}

.service-row h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.3rem 0 0.6rem;
}

.service-row .addon-tag {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.service-row p.desc { color: var(--navy-soft); margin-bottom: 1.1rem; max-width: 60ch; }

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}

.service-list li {
  color: var(--navy-soft);
  font-size: 0.95rem;
  padding-left: 1.2rem;
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-deep);
}

/* Why work with me */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.why-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 0;
}

.why-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.why-item p { color: var(--navy-soft); }

/* =============================================================
   BLOG page
   ============================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--white);
  border: 1.5px dashed var(--sky-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-tint), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-body { padding: 1.5rem 1.6rem; }

.blog-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky-deep);
  margin-bottom: 0.5rem;
}

.blog-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.blog-body p { color: var(--navy-soft); font-size: 0.92rem; margin-bottom: 1.1rem; }

.blog-readmore {
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.6;
  cursor: not-allowed;
  display: inline-block;
}

.blog-note {
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.6rem;
  color: var(--navy-soft);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* =============================================================
   CONTACT page
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.contact-info > p { color: var(--navy-soft); margin-bottom: 2rem; max-width: 42ch; }

.contact-list { display: flex; flex-direction: column; gap: 1rem; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-deep);
  flex-shrink: 0;
}

.contact-list .label { font-size: 0.8rem; color: var(--navy-soft); }
.contact-list .value { font-weight: 600; font-size: 0.95rem; }
.contact-list .placeholder-tag {
  font-size: 0.72rem;
  color: var(--sky-deep);
  font-weight: 700;
  margin-left: 0.4rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}

.form-row { margin-bottom: 1.3rem; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--navy);
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--sky-deep);
  outline: none;
}

.form-row textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.8rem;
  color: var(--navy-soft);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

/* =============================================================
   CV download callout
   ============================================================= */
.cv-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  flex-wrap: wrap;
}

.cv-callout p { color: var(--navy-soft); }
.cv-callout h3 { font-weight: 700; margin-bottom: 0.3rem; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--navy);
  color: #d7e6f0;
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.9rem; color: #9fbdd1; max-width: 30ch; }

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  color: #b7d2e3;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--sky); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #8fadc2;
}

/* =============================================================
   PAGE HEADER (used on non-home pages)
   ============================================================= */
.page-header {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--navy-soft);
  margin-top: 0.7rem;
  max-width: 50ch;
}

/* =============================================================
   BACK TO TOP
   ============================================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--sky-deep); }

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .intro-split { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr 1fr; }
  .strength-card:nth-child(2), .strength-card:nth-child(4) { margin-top: 0; }
  .skills-groups { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open { max-height: 400px; }

  .nav-links a, .nav-links .nav-cta {
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after { display: none; }

  .hamburger { display: flex; }

  .strengths-grid { grid-template-columns: 1fr; }
  .timeline-card ul { grid-template-columns: 1fr; }
  .highlights-list { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .cv-callout { flex-direction: column; align-items: flex-start; }
  .education-card { flex-direction: column; align-items: flex-start; }
}
