:root {
  --bg: #0A0E1A;
  --bg-soft: #0D1220;
  --surface: #131A2E;
  --surface-2: #1A2340;
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --text: #F1F3FA;
  --text-soft: #A6AEC9;
  --text-dim: #6E76A0;

  --violet: #8B7CFF;
  --violet-deep: #6D5DFC;
  --magenta: #E84FD9;
  --cyan: #2FE0DF;
  --coral: #FF8A5C;

  --gradient: linear-gradient(135deg, #6D5DFC 0%, #C64FFF 48%, #FF8A5C 100%);
  --gradient-text: linear-gradient(90deg, #8B7CFF, #E84FD9 55%, #FF8A5C);

  --radius: 18px;
  --maxw: 1120px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Sora', 'Manrope', sans-serif; color: var(--text); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--magenta); color: #fff; }

.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- BACKGROUND FX ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .38; }
.glow-1 { width: 520px; height: 520px; background: var(--violet-deep); top: -200px; right: -140px; }
.glow-2 { width: 560px; height: 560px; background: var(--magenta); top: 32%; left: -260px; opacity: .22; }
.glow-3 { width: 480px; height: 480px; background: var(--coral); bottom: -220px; right: 10%; opacity: .18; }

/* ---------- PROGRESS BAR ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--gradient); z-index: 999; transition: width .1s linear; box-shadow: 0 0 12px rgba(139,124,255,.8); }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 20px 0; transition: all .3s var(--ease); }
.nav.scrolled { padding: 12px 0; background: rgba(10,14,26,0.72); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: .5px; }
.nav-logo span { color: var(--magenta); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--text-soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-link::after { content: ""; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--gradient); transition: width .25s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { background: var(--gradient); color: #fff !important; padding: 9px 18px !important; border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(232,79,217,.6); }
.nav-cta::after { display: none; }
.nav-cta:hover { filter: brightness(1.1); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s var(--ease); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 150px 28px 80px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
  position: relative;
}
.hero-eyebrow { color: var(--coral); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.hero-name { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -.5px; margin-bottom: 18px; }
.hero-role { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; color: var(--text-soft); margin-bottom: 18px; min-height: 32px; }
.role-prefix { margin-right: 8px; }
.role-rotator { color: var(--text); font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cursor { color: var(--magenta); font-weight: 400; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-lead { font-size: 16.5px; color: var(--text-soft); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 46px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 14.5px; transition: all .25s var(--ease); border: 2px solid transparent; background: transparent; cursor: pointer; font-family: inherit; text-decoration: none; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 26px -10px rgba(139,124,255,.65); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 30px -10px rgba(232,79,217,.7); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--violet); transform: translateY(-2px); background: rgba(139,124,255,.08); }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }

.hero-stats { display: flex; gap: 34px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 12.5px; color: var(--text-dim); font-weight: 600; max-width: 110px; }

.hero-photo { position: relative; justify-self: center; }
.photo-cutout { width: min(440px, 85vw); transform: rotate(-3deg); filter: drop-shadow(0 30px 45px rgba(0,0,0,.55)); }
.photo-cutout img { width: 100%; display: block; }
.photo-badge { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); border-radius: 999px; padding: 9px 16px; font-size: 12px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 7px; white-space: nowrap; z-index: 2; }
.photo-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #35E67B; box-shadow: 0 0 0 3px rgba(53,230,123,.25); flex-shrink: 0; }

.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--gradient); animation: cue 1.6s ease infinite; }
@keyframes cue { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }

/* ---------- SECTIONS ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 28px; position: relative; }
.section-alt { max-width: none; background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.tag { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--coral); background: rgba(255,138,92,0.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.tag-light { color: var(--cyan); background: rgba(47,224,223,0.1); }

.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -.3px; }
.section-sub { margin-top: 12px; color: var(--text-soft); font-size: 15.5px; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; gap: 22px; max-width: 780px; }
.about-text { font-size: 16.5px; color: var(--text-soft); line-height: 1.7; }

/* ---------- FLOATING PHOTOS ---------- */
.floater { position: absolute; width: 240px; border-radius: 10px; box-shadow: 0 30px 60px -18px rgba(0,0,0,.6); transition: transform .35s var(--ease), box-shadow .35s var(--ease); z-index: 3; }
.floater img { width: 100%; display: block; border-radius: 10px; }
.floater:hover { transform: rotate(0deg) scale(1.05) !important; box-shadow: 0 30px 70px -14px rgba(139,124,255,.55); z-index: 4; }

/* each section reserves a gutter (left or right) so text/grids never run under the photo, at any width */
@media (min-width: 1181px) {
  #sobre .section-head, #sobre .about-grid { margin-left: 320px; }
  #experiencia .section-head, #experiencia .timeline { margin-right: 300px; }
  #skills .section-head, #skills .skills-grid { margin-left: 300px; }
  #certificacoes .section-head, #certificacoes .cert-columns { margin-right: 280px; }
}

.floater-designer { width: 280px; left: 10px; top: 60px; --rot: -6deg; }
.floater-montanhista { width: 250px; right: 10px; top: 20px; --rot: 5deg; }
.floater-palestrante { width: 230px; left: 10px; top: 20px; --rot: -4deg; }
.floater-pixel { width: 220px; right: 10px; top: 10px; --rot: 4deg; }

@media (max-width: 1180px) {
  .floater {
    position: static;
    display: block;
    width: min(260px, 70vw);
    margin: 8px auto 32px;
  }
  .floater-designer { --rot: -3deg; }
  .floater-montanhista { --rot: 3deg; }
  .floater-palestrante { --rot: -3deg; }
  .floater-pixel { --rot: 3deg; }
}

/* ---------- TABS ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; background: var(--surface); padding: 6px; border-radius: 999px; border: 1px solid var(--line); width: fit-content; }
.tab { padding: 11px 20px; border-radius: 999px; border: none; background: transparent; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--text-soft); cursor: pointer; transition: all .25s var(--ease); }
.tab:hover { color: var(--text); }
.tab.active { background: var(--gradient); color: #fff; box-shadow: 0 6px 16px -6px rgba(139,124,255,.6); }

.tab-panel { display: none; animation: fadein .4s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.panel-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.5); }
.panel-copy h3 { font-size: 21px; margin-bottom: 12px; }
.panel-copy p { color: var(--text-soft); font-size: 15px; margin-bottom: 16px; }
.panel-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.panel-list li { font-size: 14.5px; color: var(--text); padding-left: 22px; position: relative; }
.panel-list li::before { content: "→"; position: absolute; left: 0; color: var(--magenta); font-weight: 800; }
.panel-link { font-weight: 700; color: var(--text); font-size: 14.5px; border-bottom: 2px solid var(--magenta); padding-bottom: 2px; }
.panel-tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; }
.chip { background: var(--surface-2); border: 1px solid var(--line); color: var(--text-soft); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; height: fit-content; }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--magenta), transparent); }
.tl-item { position: relative; padding-bottom: 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -30px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gradient); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--magenta), 0 0 14px rgba(232,79,217,.6); }
.tl-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.tl-top h3 { font-size: 18px; }
.tl-date { font-size: 12.5px; font-weight: 700; color: var(--text-soft); background: var(--surface); border: 1px solid var(--line-soft); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.tl-company { color: var(--coral); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.tl-desc { color: var(--text-soft); font-size: 15px; max-width: 680px; }

/* ---------- SKILLS ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.skill-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .25s var(--ease); }
.skill-card:hover { border-color: rgba(139,124,255,.4); }
.skill-card h4 { font-size: 15px; margin-bottom: 20px; }
.bar { margin-bottom: 16px; }
.bar:last-child { margin-bottom: 0; }
.bar-name { font-size: 12.5px; font-weight: 700; color: var(--text-soft); margin-bottom: 7px; }
.bar-track { height: 6px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 4px; background: var(--gradient); transition: width 1.1s var(--ease); }

/* ---------- PROJECTS ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.project-card { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; min-height: 130px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; overflow: visible; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.project-card:hover { border-color: rgba(139,124,255,.5); transform: translateY(-5px); box-shadow: 0 26px 55px -22px rgba(139,124,255,.5); z-index: 5; }
.project-logo { display: inline-flex; align-items: center; justify-content: center; transition: opacity .25s var(--ease); }
.project-card:hover .project-logo { opacity: .12; }

.project-logo--text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.2px; color: var(--text-dim); }

.project-logo--img img { height: 30px; width: auto; filter: grayscale(1) opacity(.6); transition: filter .3s var(--ease); }
.project-card:hover .project-logo--img img { filter: grayscale(0) opacity(1); }

.project-logo--brand { filter: grayscale(1) opacity(.6); transition: filter .3s var(--ease); }
.project-card:hover .project-logo--brand { filter: grayscale(0) opacity(1); }
.pai-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #F0B429, #C8920F); color: #0D1929; font-weight: 900; font-size: 15px; margin-right: 9px; flex-shrink: 0; }
.pai-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 19px; color: #fff; }
.pai-text em { font-style: normal; color: #F0B429; }
.weprint-mark { width: 26px; height: 26px; margin-right: 9px; object-fit: contain; vertical-align: middle; }

.project-tooltip { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid rgba(139,124,255,.45); box-shadow: 0 26px 55px -18px rgba(0,0,0,.65); opacity: 0; transform: translateY(6px) scale(.97); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.project-card:hover .project-tooltip { opacity: 1; transform: translateY(0) scale(1); }
.project-desc { font-size: 12.5px; color: var(--text); line-height: 1.5; }
.project-link { font-size: 12px; font-weight: 700; color: var(--cyan); }

/* ---------- CERTIFICATIONS ---------- */
.cert-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cert-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.cert-col h4 { font-size: 15px; margin-bottom: 18px; }
.cert-list { display: flex; flex-direction: column; gap: 13px; }
.cert-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--line-soft); }
.cert-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cert-info { display: flex; flex-direction: column; }
.cert-list li strong { color: var(--text); font-weight: 700; }
.cert-list li span { color: var(--text-dim); font-size: 12.5px; margin-top: 2px; }
.cert-list.progress li strong::before { content: "●  "; color: var(--cyan); font-size: 10px; }
.cert-view { flex-shrink: 0; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 12px; font-weight: 700; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); font-family: inherit; }
.cert-view:hover { background: var(--gradient); border-color: transparent; transform: translateY(-1px); }

.progress-courses { display: flex; flex-direction: column; gap: 18px; }
.progress-course { padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.progress-course:last-child { border-bottom: none; padding-bottom: 0; }
.progress-course-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.progress-course-name { font-weight: 700; color: var(--text); font-size: 14px; }
.progress-course-provider { color: var(--text-dim); font-size: 12px; margin-bottom: 9px; }
.progress-status { flex-shrink: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.progress-status.nao_iniciado { color: var(--text-dim); background: var(--surface-2); }
.progress-status.em_andamento { color: var(--cyan); background: rgba(47,224,223,.1); }
.progress-status.concluido { color: #35E67B; background: rgba(53,230,123,.1); }
.progress-course .bar-track { height: 5px; }
.progress-updated { margin-top: 18px; font-size: 11.5px; color: var(--text-dim); text-align: right; }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(6,8,16,0.88); backdrop-filter: blur(6px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 40px 20px; }
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 720px; width: 100%; text-align: center; animation: fadein .3s var(--ease); }
.lightbox-inner img { width: 100%; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); border: 1px solid var(--line); }
.lightbox-title { margin-top: 16px; color: var(--text-soft); font-size: 14px; font-weight: 700; }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; transition: all .2s var(--ease); }
.lightbox-close:hover { background: var(--gradient); border-color: transparent; }

/* ---------- CTA ---------- */
.cta-section { background: radial-gradient(circle at 20% 20%, rgba(109,93,252,.35), transparent 45%), radial-gradient(circle at 80% 80%, rgba(255,138,92,.25), transparent 45%), var(--bg-soft); padding: 110px 28px; position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 18px 0 20px; letter-spacing: -.5px; }
.cta-inner p { color: var(--text-soft); font-size: 16.5px; line-height: 1.7; margin-bottom: 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-meta { color: var(--text-dim); font-size: 13.5px; }

.footer { text-align: center; padding: 30px 28px; color: var(--text-dim); font-size: 12.5px; border-top: 1px solid var(--line-soft); }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px) rotate(var(--rot, 0deg)); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-photo { order: -1; margin-bottom: 10px; }
  .panel-grid { grid-template-columns: 1fr; padding: 28px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .cert-columns { grid-template-columns: 1fr; }
  .section { padding: 80px 24px; }
}

@media (max-width: 640px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px; background: var(--surface); flex-direction: column; align-items: flex-start; padding: 100px 30px; gap: 26px; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,.4); border-left: 1px solid var(--line); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 600; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { order: 99; }
  .hero { padding-top: 110px; padding-bottom: 60px; }
  .hero-name { font-size: 32px; }
  .hero-role { font-size: 17px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .stat-label { max-width: 90px; }
  .photo-cutout { width: min(300px, 80vw); }
  .skills-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .section-head { margin-bottom: 36px; }
  .tabs { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab { flex-shrink: 0; }
  .panel-grid { padding: 22px; gap: 26px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .cta-section { padding: 80px 20px; }
  .timeline { padding-left: 24px; }
  .tl-dot { left: -24px; }
}

@media (max-width: 380px) {
  .hero-name { font-size: 28px; }
  .stat-num { font-size: 22px; }
}
